Home
last modified time | relevance | path

Searched defs:nanoAppId (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
DIContextHubClientCallback.aidl36 void onNanoAppAborted(long nanoAppId, int abortCode); in onNanoAppAborted()
39 void onNanoAppLoaded(long nanoAppId); in onNanoAppLoaded()
42 void onNanoAppUnloaded(long nanoAppId); in onNanoAppUnloaded()
45 void onNanoAppEnabled(long nanoAppId); in onNanoAppEnabled()
48 void onNanoAppDisabled(long nanoAppId); in onNanoAppDisabled()
DContextHubClientCallback.java66 public void onNanoAppAborted(ContextHubClient client, long nanoAppId, int abortCode) {} in onNanoAppAborted()
74 public void onNanoAppLoaded(ContextHubClient client, long nanoAppId) {} in onNanoAppLoaded()
82 public void onNanoAppUnloaded(ContextHubClient client, long nanoAppId) {} in onNanoAppUnloaded()
90 public void onNanoAppEnabled(ContextHubClient client, long nanoAppId) {} in onNanoAppEnabled()
98 public void onNanoAppDisabled(ContextHubClient client, long nanoAppId) {} in onNanoAppDisabled()
DContextHubIntentEvent.java48 long nanoAppId, NanoAppMessage nanoAppMessage, int nanoAppAbortCode) { in ContextHubIntentEvent()
64 long nanoAppId) { in ContextHubIntentEvent()
71 long nanoAppId, @NonNull NanoAppMessage nanoAppMessage) { in ContextHubIntentEvent()
77 long nanoAppId, int nanoAppAbortCode) { in ContextHubIntentEvent()
109 long nanoAppId = getLongExtraOrThrow(intent, ContextHubManager.EXTRA_NANOAPP_ID); in fromIntent() local
DIContextHubService.aidl66 int contextHubId, in PendingIntent pendingIntent, long nanoAppId); in createPendingIntentClient()
79 long nanoAppId); in unloadNanoAppFromHub()
84 long nanoAppId); in enableNanoApp()
89 long nanoAppId); in disableNanoApp()
DIContextHubCallback.aidl25 void onMessageReceipt(int hubId, int nanoAppId, in ContextHubMessage msg); in onMessageReceipt()
DNanoAppState.java33 public NanoAppState(long nanoAppId, int appVersion, boolean enabled) { in NanoAppState()
DNanoAppMessage.java44 long nanoAppId, int messageType, byte[] messageBody, boolean broadcasted) { in NanoAppMessage()
/frameworks/base/services/core/java/com/android/server/location/
DContextHubClientBroker.java115 PendingIntentRequest(PendingIntent pendingIntent, long nanoAppId) { in PendingIntentRequest()
153 long nanoAppId) { in ContextHubClientBroker()
248 /* package */ void onNanoAppLoaded(long nanoAppId) { in onNanoAppLoaded()
251 () -> createIntent(ContextHubManager.EVENT_NANOAPP_LOADED, nanoAppId), nanoAppId); in onNanoAppLoaded() local
259 /* package */ void onNanoAppUnloaded(long nanoAppId) { in onNanoAppUnloaded()
262 () -> createIntent(ContextHubManager.EVENT_NANOAPP_UNLOADED, nanoAppId), nanoAppId); in onNanoAppUnloaded() local
279 /* package */ void onNanoAppAborted(long nanoAppId, int abortCode) { in onNanoAppAborted()
293 /* package */ boolean hasPendingIntent(PendingIntent intent, long nanoAppId) { in hasPendingIntent()
352 private Intent createIntent(int eventType, long nanoAppId) { in createIntent()
375 private synchronized void sendPendingIntent(Supplier<Intent> supplier, long nanoAppId) { in sendPendingIntent()
DContextHubService.java134 public void handleAppAbort(long nanoAppId, int abortCode) { in handleAppAbort()
219 public void onNanoAppAborted(long nanoAppId, int abortCode) { in createDefaultClientCallback()
223 public void onNanoAppLoaded(long nanoAppId) { in createDefaultClientCallback()
227 public void onNanoAppUnloaded(long nanoAppId) { in createDefaultClientCallback()
231 public void onNanoAppEnabled(long nanoAppId) { in createDefaultClientCallback()
235 public void onNanoAppDisabled(long nanoAppId) { in createDefaultClientCallback()
DNanoAppStateManager.java90 synchronized int getNanoAppHandle(int contextHubId, long nanoAppId) { in getNanoAppHandle()
111 synchronized void addNanoAppInstance(int contextHubId, long nanoAppId, int nanoAppVersion) { in addNanoAppInstance()
142 synchronized void removeNanoAppInstance(int contextHubId, long nanoAppId) { in removeNanoAppInstance()
179 private void handleQueryAppEntry(int contextHubId, long nanoAppId, int nanoAppVersion) { in handleQueryAppEntry()
DContextHubClientManager.java126 ContextHubInfo contextHubInfo, PendingIntent pendingIntent, long nanoAppId) { in registerClient()
193 /* package */ void onNanoAppLoaded(int contextHubId, long nanoAppId) { in onNanoAppLoaded()
201 /* package */ void onNanoAppUnloaded(int contextHubId, long nanoAppId) { in onNanoAppUnloaded()
217 /* package */ void onNanoAppAborted(int contextHubId, long nanoAppId, int abortCode) { in onNanoAppAborted()
278 int contextHubId, PendingIntent pendingIntent, long nanoAppId) { in getClientBroker()