Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 31) sorted by relevance

12

/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.h80 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 …]
DLocationAPIClientBase.cpp83 [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 …]
DLocationAPI.cpp439 uint32_t* ids = NULL; in addGeofences() local
443 ids = gData.geofenceInterface->addGeofences(this, count, options, info); in addGeofences()
450 return ids; in addGeofences()
454 LocationAPI::removeGeofences(size_t count, uint32_t* ids) in removeGeofences() argument
459 gData.geofenceInterface->removeGeofences(this, count, ids); in removeGeofences()
469 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) in modifyGeofences() argument
474 gData.geofenceInterface->modifyGeofences(this, count, ids, options); in modifyGeofences()
484 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) in pauseGeofences() argument
489 gData.geofenceInterface->pauseGeofences(this, count, ids); in pauseGeofences()
499 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) in resumeGeofences() argument
[all …]
Dlocation_interface.h84 void (*removeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
85 void (*modifyGeofences)(LocationAPI* client, size_t count, uint32_t* ids,
87 void (*pauseGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
88 void (*resumeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
DLocationAPI.h458 uint32_t* ids; // array of ids that have breached member
645 uint32_t* ids // array of ids to be associated to the request
834 void removeGeofences(size_t count, uint32_t* ids);
842 void modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options);
850 void pauseGeofences(size_t count, uint32_t* ids);
857 void resumeGeofences(size_t count, uint32_t* ids);
/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.h124 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 …]
DLocationAPIClientBase.cpp61 [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 …]
DLocationAPI.cpp441 uint32_t* ids = NULL; in addGeofences() local
445 ids = gData.geofenceInterface->addGeofences(this, count, options, info); in addGeofences()
452 return ids; in addGeofences()
456 LocationAPI::removeGeofences(size_t count, uint32_t* ids) in removeGeofences() argument
461 gData.geofenceInterface->removeGeofences(this, count, ids); in removeGeofences()
471 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) in modifyGeofences() argument
476 gData.geofenceInterface->modifyGeofences(this, count, ids, options); in modifyGeofences()
486 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) in pauseGeofences() argument
491 gData.geofenceInterface->pauseGeofences(this, count, ids); in pauseGeofences()
501 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) in resumeGeofences() argument
[all …]
Dlocation_interface.h87 void (*removeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
88 void (*modifyGeofences)(LocationAPI* client, size_t count, uint32_t* ids,
90 void (*pauseGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
91 void (*resumeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
DLocationAPI.h489 uint32_t* ids; // array of ids that have breached member
675 uint32_t* ids // array of ids to be associated to the request
871 void removeGeofences(size_t count, uint32_t* ids);
879 void modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options);
887 void pauseGeofences(size_t count, uint32_t* ids);
894 void resumeGeofences(size_t count, uint32_t* ids);
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DGeofenceAPIClient.h62 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;
DGeofenceAPIClient.cpp160 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
189 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
200 auto r = mGnssGeofencingCbIface->gnssGeofenceAddCb(ids[i], status); in onAddGeofencesCb()
209 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
220 auto r = mGnssGeofencingCbIface->gnssGeofenceRemoveCb(ids[i], status); in onRemoveGeofencesCb()
229 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
240 auto r = mGnssGeofencingCbIface->gnssGeofencePauseCb(ids[i], status); in onPauseGeofencesCb()
249 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
260 auto r = mGnssGeofencingCbIface->gnssGeofenceResumeCb(ids[i], status); in onResumeGeofencesCb()
/hardware/qcom/gps/msm8998/android/location_api/
DGeofenceAPIClient.h62 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;
DGeofenceAPIClient.cpp159 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onAddGeofencesCb() argument
199 auto r = mGnssGeofencingCbIface->gnssGeofenceAddCb(ids[i], status); in onAddGeofencesCb()
208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onRemoveGeofencesCb() argument
219 auto r = mGnssGeofencingCbIface->gnssGeofenceRemoveCb(ids[i], status); in onRemoveGeofencesCb()
228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onPauseGeofencesCb() argument
239 auto r = mGnssGeofencingCbIface->gnssGeofencePauseCb(ids[i], status); in onPauseGeofencesCb()
248 void GeofenceAPIClient::onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) in onResumeGeofencesCb() argument
259 auto r = mGnssGeofencingCbIface->gnssGeofenceResumeCb(ids[i], status); in onResumeGeofencesCb()
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp597 [&](Status status, const hidl_vec<SecureStopId>& ids) { in TEST_F() argument
599 EXPECT_EQ(0u, ids.size()); in TEST_F()
616 [&](Status status, const hidl_vec<SecureStopId>& ids) { in TEST_F() argument
618 EXPECT_EQ(1u, ids.size()); in TEST_F()
626 [&](Status status, const hidl_vec<SecureStopId>& ids) { in TEST_F() argument
628 EXPECT_EQ(0u, ids.size()); in TEST_F()
821 [&](Status status, const hidl_vec<SecureStopId>& ids) { in TEST_F() argument
823 EXPECT_EQ(1u, ids.size()); in TEST_F()
824 ssid = ids[0]; in TEST_F()
848 [&](Status status, const hidl_vec<SecureStopId>& ids) { in TEST_F() argument
[all …]
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_iface_hidl_test.cpp203 const hidl_vec<SupplicantNetworkId>& ids) { in TEST_F() argument
205 EXPECT_EQ(0u, ids.size()); in TEST_F()
212 const hidl_vec<SupplicantNetworkId>& ids) { in TEST_F() argument
214 EXPECT_LT(0u, ids.size()); in TEST_F()
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp441 std::vector<Element> ids; in TEST_F() local
447 ids = _ids; in TEST_F()
452 EXPECT_EQ(element1, ids[0]); in TEST_F()
453 EXPECT_EQ(element2, ids[1]); in TEST_F()
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp577 uint32_t* ids = NULL; in gnssUpdateConfigCommand() local
579 ids = new uint32_t[count]; in gnssUpdateConfigCommand()
581 ids[i] = generateSessionId(); in gnssUpdateConfigCommand()
583 idsString += std::to_string(ids[i]) + " "; in gnssUpdateConfigCommand()
600 uint32_t* ids, in gnssUpdateConfigCommand()
606 mIds(ids), in gnssUpdateConfigCommand()
770 if (NULL != ids) { in gnssUpdateConfigCommand()
771 sendMsg(new MsgGnssUpdateConfig(*this, *mLocApi, config, ids, count)); in gnssUpdateConfigCommand()
776 return ids; in gnssUpdateConfigCommand()
1198 GnssAdapter::reportResponse(size_t count, LocationError* errs, uint32_t* ids) in reportResponse() argument
[all …]
DGnssAdapter.h197 void reportResponse(size_t count, LocationError* errs, uint32_t* ids);
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp602 uint32_t* ids = NULL; in gnssUpdateConfigCommand() local
604 ids = new uint32_t[count]; in gnssUpdateConfigCommand()
605 if (ids == nullptr) { in gnssUpdateConfigCommand()
610 ids[i] = generateSessionId(); in gnssUpdateConfigCommand()
612 idsString += std::to_string(ids[i]) + " "; in gnssUpdateConfigCommand()
629 uint32_t* ids, in gnssUpdateConfigCommand()
635 mIds(ids), in gnssUpdateConfigCommand()
816 if (NULL != ids) { in gnssUpdateConfigCommand()
817 sendMsg(new MsgGnssUpdateConfig(*this, *mLocApi, config, ids, count)); in gnssUpdateConfigCommand()
822 return ids; in gnssUpdateConfigCommand()
[all …]
DGnssAdapter.h210 void reportResponse(size_t count, LocationError* errs, uint32_t* ids);
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp128 auto ids = utils::getAllIds(arg.selector, utils::getType(id)); variable
129 return ids.end() != find(ids.begin(), ids.end(), id.value);
/hardware/interfaces/nfc/1.1/
Dtypes.hal99 /** list of white listed host ids, as per ETSI TS 102 622 */
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp70 const uint8_t* ids = entry.data.u8; in CameraDeviceSession() local
73 if (ids[i] == '\0') { in CameraDeviceSession()
75 const char* physicalId = reinterpret_cast<const char*>(ids+start); in CameraDeviceSession()
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal222 * Destroys knowledge of the device's ids. This prevents all device id attestation in the
224 * device ids.
228 * must never attest any device ids.

12