Searched refs:appInstanceHandle (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_location_ContextHubService.cpp | 122 bool closeLoadTxn(bool success, jint *appInstanceHandle); 295 jint appInstanceHandle = INVALID_APP_ID; in handleTxnResult() local 297 if (!(closeLoadTxn(appRunningOnHub, &appInstanceHandle))) { in handleTxnResult() 320 reinterpret_cast<int8_t *>(&appInstanceHandle), in handleTxnResult() 321 sizeof(appInstanceHandle)); in handleTxnResult() 456 jint appInstanceHandle, JNIEnv *env) { in addAppInstance() argument 464 entry.instanceId = appInstanceHandle; in addAppInstance() 467 db.appInstances[appInstanceHandle] = entry; in addAppInstance() 476 const char *action = (db.appInstances.count(appInstanceHandle) == 0) ? "Added" : "Updated"; in addAppInstance() 479 entry.hubHandle, appInstanceHandle); in addAppInstance() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubService.java | 304 private int addAppInstance(int hubHandle, int appInstanceHandle, long appId, int appVersion) { in addAppInstance() argument 312 appInfo.setHandle(appInstanceHandle); in addAppInstance() 319 if (mNanoAppHash.containsKey(appInstanceHandle)) { in addAppInstance() 325 mNanoAppHash.put(appInstanceHandle, appInfo); in addAppInstance() 326 Log.d(TAG, action + " app instance " + appInstanceHandle + " with id " in addAppInstance() 332 private int deleteAppInstance(int appInstanceHandle) { in deleteAppInstance() argument 333 if (mNanoAppHash.remove(appInstanceHandle) == null) { in deleteAppInstance()
|