/hardware/qcom/sm8150/gps/geofence/ |
D | location_geofence.cpp | 42 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 43 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, 45 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids); 46 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 117 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofences() argument 120 return gGeofenceAdapter->removeGeofencesCommand(client, count, ids); in removeGeofences() 124 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofences() argument 128 return gGeofenceAdapter->modifyGeofencesCommand(client, count, ids, options); in modifyGeofences() 132 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofences() argument 135 return gGeofenceAdapter->pauseGeofencesCommand(client, count, ids); in pauseGeofences() [all …]
|
D | GeofenceAdapter.cpp | 180 uint32_t* ids) in reportResponse() argument 185 if (NULL != ids && NULL != errs) { in reportResponse() 187 idsString += std::to_string(ids[i]) + " "; in reportResponse() 200 it->second.collectiveResponseCb(count, errs, ids); in reportResponse() 224 uint32_t* ids, in addGeofencesCommand() 232 mIds(ids), in addGeofencesCommand() 278 uint32_t* ids = new uint32_t[count]; in addGeofencesCommand() local 279 if (nullptr == ids) { in addGeofencesCommand() 283 if (NULL != ids) { in addGeofencesCommand() 285 ids[i] = generateSessionId(); in addGeofencesCommand() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/location/ |
D | LocationAPIClientBase.h | 80 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 82 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 83 void locAPIModifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options); 84 void locAPIPauseGeofences(size_t count, uint32_t* ids); 85 void locAPIResumeGeofences(size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask); 97 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 100 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 318 uint32_t *ids = (uint32_t*)malloc(sizeof(uint32_t) * count); in onCollectiveResponse() local 320 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse() 322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
D | LocationAPIClientBase.cpp | 83 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 84 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 102 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 103 onCtrlCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 426 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument 444 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences() 454 void LocationAPIClientBase::locAPIRemoveGeofences(size_t count, uint32_t* ids) in locAPIRemoveGeofences() argument 464 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences() 481 size_t count, uint32_t* ids, GeofenceOption* options) in locAPIModifyGeofences() argument 491 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIModifyGeofences() [all …]
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPIClientBase.h | 80 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 82 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 83 void locAPIModifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options); 84 void locAPIPauseGeofences(size_t count, uint32_t* ids); 85 void locAPIResumeGeofences(size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask); 97 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 100 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 318 uint32_t *ids = (uint32_t*)malloc(sizeof(uint32_t) * count); in onCollectiveResponse() local 320 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse() 322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
D | LocationAPIClientBase.cpp | 83 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 84 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 102 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 103 onCtrlCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 426 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument 444 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences() 454 void LocationAPIClientBase::locAPIRemoveGeofences(size_t count, uint32_t* ids) in locAPIRemoveGeofences() argument 464 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences() 481 size_t count, uint32_t* ids, GeofenceOption* options) in locAPIModifyGeofences() argument 491 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIModifyGeofences() [all …]
|
/hardware/qcom/gps/msm8909w_3100/location/ |
D | LocationAPIClientBase.h | 124 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 162 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument 163 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 200 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 202 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 203 void locAPIModifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options); 204 void locAPIPauseGeofences(size_t count, uint32_t* ids); 205 void locAPIResumeGeofences(size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask); 212 void onCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 454 uint32_t *ids = (uint32_t*)malloc(sizeof(uint32_t) * count); in onCollectiveResponse() local [all …]
|
D | LocationAPIClientBase.cpp | 61 [this](size_t count, LocationError* errors, uint32_t* ids) { in LocationAPIControlClient() argument 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 186 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 190 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 192 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 202 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 262 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 263 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 578 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument 592 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences() [all …]
|
/hardware/qcom/sm8150/gps/location/ |
D | LocationAPIClientBase.h | 137 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 177 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 186 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 224 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 226 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 227 void locAPIModifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options); 228 void locAPIPauseGeofences(size_t count, uint32_t* ids); 229 void locAPIResumeGeofences(size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask); [all …]
|
D | LocationAPIClientBase.cpp | 61 [this](size_t count, LocationError* errors, uint32_t* ids) { in LocationAPIControlClient() argument 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 208 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 210 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 213 LocationAPIRequest* request = getRequestBySessionArrayPtr(ids); in onCtrlCollectiveResponseCb() 215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 292 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 625 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument [all …]
|
D | ILocationAPI.h | 133 virtual void removeGeofences(size_t count, uint32_t* ids) = 0; 141 virtual void modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) = 0; 149 virtual void pauseGeofences(size_t count, uint32_t* ids) = 0; 156 virtual void resumeGeofences(size_t count, uint32_t* ids) = 0;
|
D | LocationAPI.cpp | 505 uint32_t* ids = NULL; in addGeofences() local 509 ids = gData.geofenceInterface->addGeofences(this, count, options, info); in addGeofences() 516 return ids; in addGeofences() 520 LocationAPI::removeGeofences(size_t count, uint32_t* ids) in removeGeofences() argument 525 gData.geofenceInterface->removeGeofences(this, count, ids); in removeGeofences() 535 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) in modifyGeofences() argument 540 gData.geofenceInterface->modifyGeofences(this, count, ids, options); in modifyGeofences() 550 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) in pauseGeofences() argument 555 gData.geofenceInterface->pauseGeofences(this, count, ids); in pauseGeofences() 565 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/hardware/qcom/sdm845/gps/sdm845/location/ |
D | LocationAPIClientBase.h | 137 void onCtrlCollectiveResponseCb(size_t count, LocationError* errors, uint32_t* ids); 177 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 186 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* ids) { in onCollectiveResponse() argument 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 224 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 226 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 227 void locAPIModifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options); 228 void locAPIPauseGeofences(size_t count, uint32_t* ids); 229 void locAPIResumeGeofences(size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask); [all …]
|
D | LocationAPIClientBase.cpp | 61 [this](size_t count, LocationError* errors, uint32_t* ids) { in LocationAPIControlClient() argument 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 208 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 210 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb() 213 LocationAPIRequest* request = getRequestBySessionArrayPtr(ids); in onCtrlCollectiveResponseCb() 215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 292 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument 293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 625 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument [all …]
|
D | ILocationAPI.h | 133 virtual void removeGeofences(size_t count, uint32_t* ids) = 0; 141 virtual void modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) = 0; 149 virtual void pauseGeofences(size_t count, uint32_t* ids) = 0; 156 virtual void resumeGeofences(size_t count, uint32_t* ids) = 0;
|
D | LocationAPI.cpp | 440 uint32_t* ids = NULL; in addGeofences() local 444 ids = gData.geofenceInterface->addGeofences(this, count, options, info); in addGeofences() 451 return ids; in addGeofences() 455 LocationAPI::removeGeofences(size_t count, uint32_t* ids) in removeGeofences() argument 460 gData.geofenceInterface->removeGeofences(this, count, ids); in removeGeofences() 470 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) in modifyGeofences() argument 475 gData.geofenceInterface->modifyGeofences(this, count, ids, options); in modifyGeofences() 485 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) in pauseGeofences() argument 490 gData.geofenceInterface->pauseGeofences(this, count, ids); in pauseGeofences() 500 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/hardware/qcom/sdm845/gps/msm8998/android/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/qcom/sm8150/gps/android/1.1/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
D | GeofenceAPIClient.cpp | 162 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb() 191 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument 202 auto r = mGnssGeofencingCbIface->gnssGeofenceAddCb(ids[i], status); in onAddGeofencesCb() 211 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument 222 auto r = mGnssGeofencingCbIface->gnssGeofenceRemoveCb(ids[i], status); in onRemoveGeofencesCb() 231 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument 242 auto r = mGnssGeofencingCbIface->gnssGeofencePauseCb(ids[i], status); in onPauseGeofencesCb() 251 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument 262 auto r = mGnssGeofencingCbIface->gnssGeofenceResumeCb(ids[i], status); in onResumeGeofencesCb()
|
/hardware/qcom/sm8150/gps/android/1.0/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/qcom/sm8150/gps/android/2.0/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/qcom/sdm845/gps/sdm845/android/location_api/ |
D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 66 const std::vector<uint32_t>& ids); 68 const std::vector<uint32_t>& ids); 69 void getRandomIds(std::vector<uint32_t>& ids); 92 const std::vector<uint32_t>& ids = {}) { in getStateSpaces() argument 95 ids, [&status, &stateSpaces](auto rStateSpaces, auto rStatus) { in __anon4a02aa110302() 111 const std::vector<uint32_t>& ids = {}) { in getResidencyResults() argument 114 ids, [&status, &results](auto rResults, auto rStatus) { in __anon4a02aa110402() 129 void PowerStatsHidlTest::getRandomIds(std::vector<uint32_t>& ids) { in getRandomIds() argument 138 ids.push_back(stateSpace.powerEntityId); in getRandomIds() 145 std::shuffle(ids.begin(), ids.end(), gen); in getRandomIds() [all …]
|