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() 118 int nanoAppHandle = mNextHandle; in addNanoAppInstance() local 120 if (!mNanoAppHash.containsKey(nanoAppHandle)) { in addNanoAppInstance() 121 mNanoAppHash.put(nanoAppHandle, new NanoAppInstanceInfo( in addNanoAppInstance() 122 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId)); in addNanoAppInstance() 123 mNextHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance() 126 nanoAppHandle = (nanoAppHandle == Integer.MAX_VALUE) ? 0 : nanoAppHandle + 1; in addNanoAppInstance() 130 Log.v(TAG, "Added app instance with handle " + nanoAppHandle + " to hub " in addNanoAppInstance() 143 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in removeNanoAppInstance() local [all …]
|
D | ContextHubService.java | 204 int nanoAppHandle = mNanoAppStateManager.getNanoAppHandle( in createDefaultClientCallback() 208 message.getMessageType(), contextHubId, nanoAppHandle, in createDefaultClientCallback() 382 public int unloadNanoApp(int nanoAppHandle) throws RemoteException { 389 mNanoAppStateManager.getNanoAppInstanceInfo(nanoAppHandle); 391 Log.e(TAG, "Invalid nanoapp handle " + nanoAppHandle + " in unloadNanoApp"); 407 public NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle) throws RemoteException { 410 return mNanoAppStateManager.getNanoAppInstanceInfo(nanoAppHandle); 460 public int sendMessage(int contextHubHandle, int nanoAppHandle, ContextHubMessage msg) 480 if (nanoAppHandle == OS_APP_INSTANCE) { 487 NanoAppInstanceInfo info = getNanoAppInstanceInfo(nanoAppHandle); [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | IContextHubService.aidl | 50 int unloadNanoApp(int nanoAppHandle); in unloadNanoApp() argument 53 NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle); in getNanoAppInstanceInfo() argument 59 int sendMessage(int contextHubHandle, int nanoAppHandle, in ContextHubMessage msg); in sendMessage() argument
|
D | ContextHubManager.java | 169 int nanoAppHandle, in onMessageReceipt() argument 188 void onMessageReceipt(int hubHandle, int nanoAppHandle, ContextHubMessage message); in onMessageReceipt() argument 280 public int unloadNanoApp(int nanoAppHandle) { in unloadNanoApp() argument 282 return mService.unloadNanoApp(nanoAppHandle); in unloadNanoApp() 320 @Nullable public NanoAppInstanceInfo getNanoAppInstanceInfo(int nanoAppHandle) { in getNanoAppInstanceInfo() argument 322 return mService.getNanoAppInstanceInfo(nanoAppHandle); in getNanoAppInstanceInfo() 378 public int sendMessage(int hubHandle, int nanoAppHandle, @NonNull ContextHubMessage message) { in sendMessage() argument 380 return mService.sendMessage(hubHandle, nanoAppHandle, message); in sendMessage()
|