Searched refs:nanoAppHandle (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/ |
D | NanoAppStateManager.java | 68 synchronized NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle) { in getNanoAppInstanceInfo() argument 69 return mNanoAppHash.get(nanoAppHandle); in getNanoAppInstanceInfo() 114 int nanoAppHandle = mNextHandle; in addNanoAppInstance() local 116 if (!mNanoAppHash.containsKey(nanoAppHandle)) { in addNanoAppInstance() 117 mNanoAppHash.put(nanoAppHandle, new NanoAppInstanceInfo( in addNanoAppInstance() 118 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId)); in addNanoAppInstance() 119 mNextHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance() 122 nanoAppHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance() 126 Log.v(TAG, "Added app instance with handle " + nanoAppHandle + " to hub " in addNanoAppInstance() 139 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in removeNanoAppInstance() local [all …]
|
D | ContextHubService.java | 197 int nanoAppHandle = mNanoAppStateManager.getNanoAppHandle( in createDefaultClientCallback() 201 message.getMessageType(), contextHubId, nanoAppHandle, in createDefaultClientCallback() 375 public int unloadNanoApp(int nanoAppHandle) throws RemoteException { 382 mNanoAppStateManager.getNanoAppInstanceInfo(nanoAppHandle); 384 Log.e(TAG, "Invalid nanoapp handle " + nanoAppHandle + " in unloadNanoApp"); 400 public NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle) throws RemoteException { 403 return mNanoAppStateManager.getNanoAppInstanceInfo(nanoAppHandle); 451 public int sendMessage(int contextHubHandle, int nanoAppHandle, ContextHubMessage msg) 471 if (nanoAppHandle == OS_APP_INSTANCE) { 478 NanoAppInstanceInfo info = getNanoAppInstanceInfo(nanoAppHandle); [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | IContextHubService.aidl | 49 int unloadNanoApp(int nanoAppHandle); in unloadNanoApp() argument 52 NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle); in getNanoAppInstanceInfo() argument 58 int sendMessage(int contextHubHandle, int nanoAppHandle, in ContextHubMessage msg); in sendMessage() argument
|
D | ContextHubManager.java | 84 int nanoAppHandle, in onMessageReceipt() argument 103 void onMessageReceipt(int hubHandle, int nanoAppHandle, ContextHubMessage message); in onMessageReceipt() argument 195 public int unloadNanoApp(int nanoAppHandle) { in unloadNanoApp() argument 197 return mService.unloadNanoApp(nanoAppHandle); in unloadNanoApp() 235 @Nullable public NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle) { in getNanoAppInstanceInfo() argument 237 return mService.getNanoAppInstanceInfo(nanoAppHandle); in getNanoAppInstanceInfo() 293 public int sendMessage(int hubHandle, int nanoAppHandle, @NonNull ContextHubMessage message) { in sendMessage() argument 295 return mService.sendMessage(hubHandle, nanoAppHandle, message); in sendMessage()
|