/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
H A D | ContextHubService.java | 184 mContextHubId = contextHubId; in ContextHubServiceCallback() 260 + contextHubId in createDefaultClientCallback() 273 contextHubId, in createDefaultClientCallback() local 370 int contextHubId = entry.getKey(); 381 + contextHubId + ")", e); 391 queryNanoAppsInternal(contextHubId); 847 int contextHubId, 912 contextHubId); 919 queryNanoAppsInternal(contextHubId); 1200 queryNanoAppsInternal(contextHubId); [all …]
|
H A D | NanoAppStateManager.java | 90 synchronized int getNanoAppHandle(int contextHubId, long nanoAppId) { in getNanoAppHandle() argument 112 removeNanoAppInstance(contextHubId, nanoAppId); in addNanoAppInstance() 122 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId)); in addNanoAppInstance() 131 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId) in addNanoAppInstance() 142 synchronized void removeNanoAppInstance(int contextHubId, long nanoAppId) { in removeNanoAppInstance() argument 143 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in removeNanoAppInstance() 158 contextHubId, nanoappState.getNanoAppId(), in updateCache() 166 if (info.getContexthubId() == contextHubId && in updateCache() 182 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppId); in handleQueryAppEntry() 184 addNanoAppInstance(contextHubId, nanoAppId, nanoAppVersion); in handleQueryAppEntry() [all …]
|
H A D | IContextHubWrapper.java | 426 mContextHubId = contextHubId; in ContextHubAidlCallback() 618 hub.sendMessageToHub(contextHubId, in sendMessageToContextHub() 710 hub.queryNanoapps(contextHubId); in queryNanoapps() 742 + contextHubId); in registerExistingCallback() 760 mAidlCallbackMap.put(contextHubId, new ContextHubAidlCallback(contextHubId, callback)); in registerCallback() 826 mContextHubId = contextHubId; in ContextHubWrapperHidlCallback() 934 mHidlCallbackMap.put(contextHubId, in registerCallback() 936 mHub.registerCallback(contextHubId, mHidlCallbackMap.get(contextHubId)); in registerCallback() 943 + contextHubId); in registerExistingCallback() 1123 mHidlCallbackMap.put(contextHubId, in registerCallback() [all …]
|
H A D | ContextHubClientManager.java | 229 int contextHubId, short hostEndpointId, NanoAppMessage message, in onMessageFromNanoApp() argument 288 /* package */ void onNanoAppLoaded(int contextHubId, long nanoAppId) { in onNanoAppLoaded() argument 289 forEachClientOfHub(contextHubId, client -> client.onNanoAppLoaded(nanoAppId)); in onNanoAppLoaded() 296 /* package */ void onNanoAppUnloaded(int contextHubId, long nanoAppId) { in onNanoAppUnloaded() argument 303 /* package */ void onHubReset(int contextHubId) { in onHubReset() argument 304 forEachClientOfHub(contextHubId, client -> client.onHubReset()); in onHubReset() 323 int contextHubId, Consumer<ContextHubClientBroker> callback) { in forEachClientOfHub() argument 325 if (broker.getAttachedContextHubId() == contextHubId) { in forEachClientOfHub() 365 forEachClientOfHub(contextHubId, in broadcastMessage() 378 int contextHubId, PendingIntent pendingIntent, long nanoAppId) { in getClientBroker() argument [all …]
|
H A D | ContextHubEventLogger.java | 49 public final int contextHubId; field in ContextHubEventLogger.ContextHubEventBase 53 contextHubId = mContextHubId; in ContextHubEventBase() 105 sb.append(contextHubId); in toString() 133 sb.append(contextHubId); in toString() 163 sb.append(contextHubId); in toString() 186 sb.append(contextHubId); in toString() 262 NanoappUnloadEvent event = new NanoappUnloadEvent(timeStampInMs, contextHubId, in logNanoappUnload() 284 NanoappMessageEvent event = new NanoappMessageEvent(timeStampInMs, contextHubId, in logMessageFromNanoapp() 299 public synchronized void logMessageToNanoapp(int contextHubId, NanoAppMessage message, in logMessageToNanoapp() argument 306 NanoappMessageEvent event = new NanoappMessageEvent(timeStampInMs, contextHubId, in logMessageToNanoapp() [all …]
|
H A D | ContextHubTransactionManager.java | 128 int contextHubId, NanoAppBinary nanoAppBinary, in createLoadTransaction() argument 137 contextHubId, nanoAppBinary, this.getTransactionId()); in createLoadTransaction() 156 contextHubId, in createLoadTransaction() 167 contextHubId, nanoAppBinary.getNanoAppId(), in createLoadTransaction() 200 contextHubId, nanoAppId, this.getTransactionId()); 218 contextHubId, 228 mClientManager.onNanoAppUnloaded(contextHubId, nanoAppId); 255 contextHubId, nanoAppId, this.getTransactionId()); 292 contextHubId, nanoAppId, this.getTransactionId()); 319 int contextHubId, IContextHubTransactionCallback onCompleteCallback, [all …]
|
H A D | ContextHubShellCommand.java | 55 int contextHubId = Integer.decode(getNextArgRequired()); in runDisableAuth() local 59 mInternal.denyClientAuthState(contextHubId, packageName, nanoAppId); in runDisableAuth()
|
H A D | ContextHubServiceUtil.java | 125 for (int contextHubId : collection) { in createPrimitiveIntArray() 126 primitiveArray[i++] = contextHubId; in createPrimitiveIntArray()
|
/aosp14/frameworks/base/core/java/android/hardware/location/ |
H A D | IContextHubService.aidl | 72 int contextHubId, in IContextHubClientCallback client, in String attributionTag, in createClient() argument 78 int contextHubId, in PendingIntent pendingIntent, long nanoAppId, in createPendingIntentClient() argument 88 int contextHubId, in IContextHubTransactionCallback transactionCallback, in loadNanoAppOnHub() argument 94 int contextHubId, in IContextHubTransactionCallback transactionCallback, in unloadNanoAppFromHub() argument 100 int contextHubId, in IContextHubTransactionCallback transactionCallback, in enableNanoApp() argument 106 int contextHubId, in IContextHubTransactionCallback transactionCallback, in disableNanoApp() argument 111 void queryNanoApps(int contextHubId, in IContextHubTransactionCallback transactionCallback); in queryNanoApps() argument
|
H A D | NanoAppInstanceInfo.java | 59 public NanoAppInstanceInfo(int handle, long appId, int appVersion, int contextHubId) { in NanoAppInstanceInfo() argument 63 mContexthubId = contextHubId; in NanoAppInstanceInfo()
|