HomeSort by relevance Sort by last modified time
    Searched full:appinstancehandle (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/jni/
android_hardware_location_ContextHubService.cpp 350 int appInstanceHandle, JNIEnv *env) {
358 if (db.appInstances.count(appInstanceHandle) == 0) {
359 appInstanceHandle = generate_id();
360 if (appInstanceHandle < 0) {
362 appInstanceHandle);
369 entry.instanceId = appInstanceHandle;
373 db.appInstances[appInstanceHandle] = entry;
383 entry.hubHandle, appInstanceHandle);
385 return appInstanceHandle;
435 static int startUnloadAppTxn(uint32_t appInstanceHandle) {
    [all...]
  /frameworks/base/core/java/android/hardware/location/
ContextHubService.java 311 private int addAppInstance(int hubHandle, int appInstanceHandle, long appId, int appVersion) {
319 appInfo.setHandle(appInstanceHandle);
325 mNanoAppHash.put(appInstanceHandle, appInfo);
326 Log.d(TAG, "Added app instance " + appInstanceHandle + " with id " + appId
332 private int deleteAppInstance(int appInstanceHandle) {
333 if (mNanoAppHash.remove(appInstanceHandle) == null) {

Completed in 2477 milliseconds