equal
deleted
inserted
replaced
236 index = i; |
236 index = i; |
237 temp = mList[i].mHorizontalAccuracy; |
237 temp = mList[i].mHorizontalAccuracy; |
238 } |
238 } |
239 } |
239 } |
240 } |
240 } |
|
241 |
|
242 if (index != -1) |
|
243 return index; |
|
244 |
|
245 bool minSet = false; |
|
246 microSeconds = 0; |
|
247 |
|
248 for (TInt i = 0 ; i < mListSize; i++) { |
|
249 if (mList[i].mIsAvailable |
|
250 && (mList[i].mStatus != TPositionModuleStatus::EDeviceUnknown) |
|
251 && (mList[i].mStatus != TPositionModuleStatus::EDeviceError) |
|
252 && (((aBits >> i) & 1))) { |
|
253 if (!minSet || (mList[i].mTimeToFirstFix < microSeconds)) { |
|
254 index = i; |
|
255 minSet = true; |
|
256 microSeconds = mList[i].mTimeToFirstFix; |
|
257 } |
|
258 } |
|
259 } |
|
260 |
241 return index; |
261 return index; |
242 } |
262 } |
243 |
263 |
244 //private function : to update the mList array |
264 //private function : to update the mList array |
245 void CQGeoSatelliteInfoSourceS60::updateStatus(TPositionModuleInfo aModInfo, TInt aStatus) |
265 void CQGeoSatelliteInfoSourceS60::updateStatus(TPositionModuleInfo aModInfo, TInt aStatus) |