/frameworks/base/services/core/java/com/android/server/location/ |
D | NanoAppStateManager.java | 86 synchronized int getNanoAppHandle(int contextHubId, long nanoAppId) { in getNanoAppHandle() argument 88 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) { in getNanoAppHandle() 107 synchronized void addNanoAppInstance(int contextHubId, long nanoAppId, int nanoAppVersion) { in addNanoAppInstance() argument 108 removeNanoAppInstance(contextHubId, nanoAppId); in addNanoAppInstance() 118 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId)); in addNanoAppInstance() 127 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in addNanoAppInstance() 138 synchronized void removeNanoAppInstance(int contextHubId, long nanoAppId) { in removeNanoAppInstance() argument 139 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in removeNanoAppInstance() 175 private void handleQueryAppEntry(int contextHubId, long nanoAppId, int nanoAppVersion) { in handleQueryAppEntry() argument 176 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in handleQueryAppEntry() [all …]
|
D | ContextHubTransactionManager.java | 152 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) { 159 contextHubId, nanoAppId, this.getTransactionId()); 162 Long.toHexString(nanoAppId), e); 170 mNanoAppStateManager.removeNanoAppInstance(contextHubId, nanoAppId); 175 mClientManager.onNanoAppUnloaded(contextHubId, nanoAppId); 193 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) { 200 contextHubId, nanoAppId, this.getTransactionId()); 203 Long.toHexString(nanoAppId), e); 228 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) { 235 contextHubId, nanoAppId, this.getTransactionId()); [all …]
|
D | ContextHubClientBroker.java | 186 /* package */ void onNanoAppLoaded(long nanoAppId) { in onNanoAppLoaded() argument 189 mCallbackInterface.onNanoAppLoaded(nanoAppId); in onNanoAppLoaded() 202 /* package */ void onNanoAppUnloaded(long nanoAppId) { in onNanoAppUnloaded() argument 205 mCallbackInterface.onNanoAppUnloaded(nanoAppId); in onNanoAppUnloaded() 233 /* package */ void onNanoAppAborted(long nanoAppId, int abortCode) { in onNanoAppAborted() argument 236 mCallbackInterface.onNanoAppAborted(nanoAppId, abortCode); in onNanoAppAborted()
|
D | ContextHubClientManager.java | 153 /* package */ void onNanoAppLoaded(int contextHubId, long nanoAppId) { in onNanoAppLoaded() argument 154 forEachClientOfHub(contextHubId, client -> client.onNanoAppLoaded(nanoAppId)); in onNanoAppLoaded() 161 /* package */ void onNanoAppUnloaded(int contextHubId, long nanoAppId) { in onNanoAppUnloaded() argument 162 forEachClientOfHub(contextHubId, client -> client.onNanoAppUnloaded(nanoAppId)); in onNanoAppUnloaded() 177 /* package */ void onNanoAppAborted(int contextHubId, long nanoAppId, int abortCode) { in onNanoAppAborted() argument 178 forEachClientOfHub(contextHubId, client -> client.onNanoAppAborted(nanoAppId, abortCode)); in onNanoAppAborted()
|
D | ContextHubService.java | 128 public void handleAppAbort(long nanoAppId, int abortCode) { in handleAppAbort() argument 129 handleAppAbortCallback(mContextHubId, nanoAppId, abortCode); in handleAppAbort() 212 public void onNanoAppAborted(long nanoAppId, int abortCode) { in createDefaultClientCallback() argument 216 public void onNanoAppLoaded(long nanoAppId) { in createDefaultClientCallback() argument 220 public void onNanoAppUnloaded(long nanoAppId) { in createDefaultClientCallback() argument 224 public void onNanoAppEnabled(long nanoAppId) { in createDefaultClientCallback() argument 228 public void onNanoAppDisabled(long nanoAppId) { in createDefaultClientCallback() argument 389 long nanoAppId = info.getAppId(); 393 contextHubId, nanoAppId, onCompleteCallback); 573 private void handleAppAbortCallback(int contextHubId, long nanoAppId, int abortCode) { [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | IContextHubClientCallback.aidl | 36 void onNanoAppAborted(long nanoAppId, int abortCode); in onNanoAppAborted() argument 39 void onNanoAppLoaded(long nanoAppId); in onNanoAppLoaded() argument 42 void onNanoAppUnloaded(long nanoAppId); in onNanoAppUnloaded() argument 45 void onNanoAppEnabled(long nanoAppId); in onNanoAppEnabled() argument 48 void onNanoAppDisabled(long nanoAppId); in onNanoAppDisabled() argument
|
D | ContextHubClientCallback.java | 66 public void onNanoAppAborted(ContextHubClient client, long nanoAppId, int abortCode) {} in onNanoAppAborted() argument 74 public void onNanoAppLoaded(ContextHubClient client, long nanoAppId) {} in onNanoAppLoaded() argument 82 public void onNanoAppUnloaded(ContextHubClient client, long nanoAppId) {} in onNanoAppUnloaded() argument 90 public void onNanoAppEnabled(ContextHubClient client, long nanoAppId) {} in onNanoAppEnabled() argument 98 public void onNanoAppDisabled(ContextHubClient client, long nanoAppId) {} in onNanoAppDisabled() argument
|
D | ContextHubManager.java | 416 @NonNull ContextHubInfo hubInfo, long nanoAppId) { 424 mService.unloadNanoAppFromHub(hubInfo.getId(), callback, nanoAppId); 444 @NonNull ContextHubInfo hubInfo, long nanoAppId) { 452 mService.enableNanoApp(hubInfo.getId(), callback, nanoAppId); 472 @NonNull ContextHubInfo hubInfo, long nanoAppId) { 480 mService.disableNanoApp(hubInfo.getId(), callback, nanoAppId); 599 public void onNanoAppAborted(long nanoAppId, int abortCode) { 600 executor.execute(() -> callback.onNanoAppAborted(client, nanoAppId, abortCode)); 604 public void onNanoAppLoaded(long nanoAppId) { 605 executor.execute(() -> callback.onNanoAppLoaded(client, nanoAppId)); [all …]
|
D | IContextHubService.aidl | 74 long nanoAppId); in unloadNanoAppFromHub() argument 79 long nanoAppId); in enableNanoApp() argument 84 long nanoAppId); in disableNanoApp() argument
|
D | NanoAppState.java | 33 public NanoAppState(long nanoAppId, int appVersion, boolean enabled) { in NanoAppState() argument 34 mNanoAppId = nanoAppId; in NanoAppState()
|
D | NanoAppMessage.java | 38 long nanoAppId, int messageType, byte[] messageBody, boolean broadcasted) { in NanoAppMessage() argument 39 mNanoAppId = nanoAppId; in NanoAppMessage()
|
D | IContextHubCallback.aidl | 25 void onMessageReceipt(int hubId, int nanoAppId, in ContextHubMessage msg); in onMessageReceipt() argument
|