Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 25 of 49) sorted by relevance

12

/hardware/qcom/gps/msm8909w_3100/location/
DLocationAPIClientBase.cpp586 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
587 if (sessions) { in locAPIAddGeofences()
588 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
592 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
606 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
607 if (sessions == NULL) { in locAPIRemoveGeofences()
617 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
618 if (sessions[j] > 0) { in locAPIRemoveGeofences()
624 mLocationAPI->removeGeofences(j, sessions); in locAPIRemoveGeofences()
631 free(sessions); in locAPIRemoveGeofences()
[all …]
DLocationAPIClientBase.h453 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
456 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
467 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
470 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
471 mAPI.mGeofenceBiDict.rmBySession(sessions[i]); in onCollectiveResponse()
482 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
485 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
496 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
499 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
510 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
[all …]
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.cpp438 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
439 if (sessions) { in locAPIAddGeofences()
440 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
444 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
458 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
464 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
465 if (sessions[j] > 0) { in locAPIRemoveGeofences()
471 mLocationAPI->removeGeofences(j, sessions); in locAPIRemoveGeofences()
475 free(sessions); in locAPIRemoveGeofences()
485 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIModifyGeofences() local
[all …]
DLocationAPIClientBase.h317 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
320 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
330 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
333 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
334 mAPI.mGeofenceBiDict.rmBySession(sessions[i]); in onCollectiveResponse()
344 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
347 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
357 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
360 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
370 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
[all …]
/hardware/qcom/sm7150/gps/location/
DLocationAPIClientBase.cpp633 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
634 if (sessions) { in locAPIAddGeofences()
635 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
639 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
653 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
654 if (sessions == NULL) { in locAPIRemoveGeofences()
666 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
667 if (sessions[j] > 0) { in locAPIRemoveGeofences()
668 GeofenceBreachTypeMask type = mGeofenceBiDict.getExtBySession(sessions[j]); in locAPIRemoveGeofences()
669 mGeofenceBiDict.rmBySession(sessions[j]); in locAPIRemoveGeofences()
[all …]
DLocationAPIClientBase.h486 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
489 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
503 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
507 ids[i] = mRemovedGeofenceBiDict->getId(sessions[i]); in onCollectiveResponse()
524 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
527 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
538 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
541 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
552 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
555 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
/hardware/qcom/sm8150p/gps/location/
DLocationAPIClientBase.cpp633 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
634 if (sessions) { in locAPIAddGeofences()
635 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
639 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
653 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
654 if (sessions == NULL) { in locAPIRemoveGeofences()
666 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
667 if (sessions[j] > 0) { in locAPIRemoveGeofences()
668 GeofenceBreachTypeMask type = mGeofenceBiDict.getExtBySession(sessions[j]); in locAPIRemoveGeofences()
669 mGeofenceBiDict.rmBySession(sessions[j]); in locAPIRemoveGeofences()
[all …]
DLocationAPIClientBase.h486 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
489 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
503 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
507 ids[i] = mRemovedGeofenceBiDict->getId(sessions[i]); in onCollectiveResponse()
524 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
527 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
538 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
541 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
552 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
555 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
/hardware/qcom/sm8150/gps/location/
DLocationAPIClientBase.cpp654 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
655 if (sessions) { in locAPIAddGeofences()
656 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
660 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
674 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
675 if (sessions == NULL) { in locAPIRemoveGeofences()
687 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
688 if (sessions[j] > 0) { in locAPIRemoveGeofences()
689 GeofenceBreachTypeMask type = mGeofenceBiDict.getExtBySession(sessions[j]); in locAPIRemoveGeofences()
690 mGeofenceBiDict.rmBySession(sessions[j]); in locAPIRemoveGeofences()
[all …]
DLocationAPIClientBase.h491 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
494 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
508 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
512 ids[i] = mRemovedGeofenceBiDict->getId(sessions[i]); in onCollectiveResponse()
529 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
532 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
543 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
546 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
557 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
560 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
/hardware/qcom/sm7250/gps/location/
DLocationAPIClientBase.cpp662 uint32_t* sessions = mLocationAPI->addGeofences(count, options, data); in locAPIAddGeofences() local
663 if (sessions) { in locAPIAddGeofences()
664 LOC_LOGI("%s:%d] start new sessions: %p", __FUNCTION__, __LINE__, sessions); in locAPIAddGeofences()
668 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
682 uint32_t* sessions = (uint32_t*)malloc(sizeof(uint32_t) * count); in locAPIRemoveGeofences() local
683 if (sessions == NULL) { in locAPIRemoveGeofences()
695 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
696 if (sessions[j] > 0) { in locAPIRemoveGeofences()
697 GeofenceBreachTypeMask type = mGeofenceBiDict.getExtBySession(sessions[j]); in locAPIRemoveGeofences()
698 mGeofenceBiDict.rmBySession(sessions[j]); in locAPIRemoveGeofences()
[all …]
DLocationAPIClientBase.h491 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
494 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
508 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
512 ids[i] = mRemovedGeofenceBiDict->getId(sessions[i]); in onCollectiveResponse()
529 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
532 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
543 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
546 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
557 inline void onCollectiveResponse(size_t count, LocationError* errors, uint32_t* sessions) { in onCollectiveResponse() argument
560 ids[i] = mAPI.mGeofenceBiDict.getId(sessions[i]); in onCollectiveResponse()
/hardware/interfaces/drm/1.1/
DIDrmPlugin.hal40 * sessions are opened at the native security level of the device which is
150 * Return the current number of open sessions and the maximum number of
151 * sessions that may be opened simultaneosly among all DRM instances for the
156 * sessions cannot be queried.
157 * @return currentSessions the number of currently opened sessions
158 * @return maxSessions the maximum number of sessions that the device
DICryptoFactory.hal23 * crypto HAL to create crypto plugins. Crypto plugins create crypto sessions
DIDrmFactory.hal24 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/drm/1.3/
DICryptoFactory.hal22 * crypto HAL to create crypto plugins. Crypto plugins create crypto sessions
DIDrmFactory.hal23 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/drm/1.4/
DICryptoFactory.hal22 * crypto HAL to create crypto plugins. Crypto plugins create crypto sessions
DIDrmFactory.hal23 * creates drm sessions which are used to obtain keys for a crypto
DICryptoPlugin.hal24 * It allows crypto sessions to be opened and operated on, to
/hardware/interfaces/cas/1.2/
DIMediaCasService.hal26 * opens cas sessions which are used to obtain keys for a descrambler session,
DICasListener.hal33 * the number presents how many sessions are supported
DICas.hal27 * Java and native level. It is used to manage sessions, provision/refresh
/hardware/interfaces/drm/1.2/
DICryptoFactory.hal22 * crypto HAL to create crypto plugins. Crypto plugins create crypto sessions
/hardware/interfaces/cas/1.1/
DIMediaCasService.hal25 * opens cas sessions which are used to obtain keys for a descrambler session,

12