Searched defs:contextHubId (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
H A DNanoAppStateManager.java81 * @param contextHubId the ID of the hub to search for the instance
86 synchronized int getNanoAppHandle(int contextHubId, long nanoAppId) { argument
88 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) {
102 * @param contextHubId the ID of the hub the nanoapp is loaded in
107 synchronized void addNanoAppInstance(int contextHubId, long nanoAppId, int nanoAppVersion) { argument
108 removeNanoAppInstance(contextHubId, nanoAppId);
118 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId));
127 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId)
138 synchronized void removeNanoAppInstance(int contextHubId, long nanoAppId) { argument
139 int nanoAppHandle = getNanoAppHandle(contextHubId, nanoAppI
150 updateCache(int contextHubId, List<HubAppInfo> nanoAppInfoList) argument
175 handleQueryAppEntry(int contextHubId, long nanoAppId, int nanoAppVersion) argument
[all...]
H A DContextHubClientBroker.java81 int contextHubId, short hostEndPointId, IContextHubClientCallback callback) {
85 mAttachedContextHubId = contextHubId;
79 ContextHubClientBroker( Context context, IContexthub contextHubProxy, ContextHubClientManager clientManager, int contextHubId, short hostEndPointId, IContextHubClientCallback callback) argument
H A DContextHubClientManager.java83 * @param contextHubId the ID of the hub this client is attached to
90 IContextHubClientCallback clientCallback, int contextHubId) {
91 ContextHubClientBroker broker = createNewClientBroker(clientCallback, contextHubId);
109 * @param contextHubId the ID of the hub where the nanoapp sent the message from
112 /* package */ void onMessageFromNanoApp(int contextHubId, ContextHubMsg message) { argument
120 broadcastMessage(contextHubId, clientMessage);
150 * @param contextHubId the ID of the hub where the nanoapp was loaded
153 /* package */ void onNanoAppLoaded(int contextHubId, long nanoAppId) { argument
154 forEachClientOfHub(contextHubId, client -> client.onNanoAppLoaded(nanoAppId));
158 * @param contextHubId th
89 registerClient( IContextHubClientCallback clientCallback, int contextHubId) argument
161 onNanoAppUnloaded(int contextHubId, long nanoAppId) argument
168 onHubReset(int contextHubId) argument
177 onNanoAppAborted(int contextHubId, long nanoAppId, int abortCode) argument
192 createNewClientBroker( IContextHubClientCallback clientCallback, int contextHubId) argument
221 broadcastMessage(int contextHubId, NanoAppMessage message) argument
231 forEachClientOfHub(int contextHubId, Consumer<ContextHubClientBroker> callback) argument
[all...]
H A DContextHubTransactionManager.java97 * @param contextHubId the ID of the hub to load the nanoapp to
103 int contextHubId, NanoAppBinary nanoAppBinary,
113 contextHubId, hidlNanoAppBinary, this.getTransactionId());
128 contextHubId, nanoAppBinary.getNanoAppId(),
134 mClientManager.onNanoAppLoaded(contextHubId, nanoAppBinary.getNanoAppId());
146 * @param contextHubId the ID of the hub to unload the nanoapp from
152 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) {
159 contextHubId, nanoAppId, this.getTransactionId());
170 mNanoAppStateManager.removeNanoAppInstance(contextHubId, nanoAppId);
175 mClientManager.onNanoAppUnloaded(contextHubId, nanoAppI
102 createLoadTransaction( int contextHubId, NanoAppBinary nanoAppBinary, IContextHubTransactionCallback onCompleteCallback) argument
151 createUnloadTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
192 createEnableTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
227 createDisableTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
261 createQueryTransaction( int contextHubId, IContextHubTransactionCallback onCompleteCallback) argument
[all...]
H A DContextHubService.java108 ContextHubServiceCallback(int contextHubId) { argument
109 mContextHubId = contextHubId;
167 for (int contextHubId : mContextHubIdToInfoMap.keySet()) {
169 createDefaultClientCallback(contextHubId), contextHubId);
170 defaultClientMap.put(contextHubId, client);
174 contextHubId, new ContextHubServiceCallback(contextHubId));
177 + contextHubId + ")", e);
182 queryNanoAppsInternal(contextHubId);
193 createDefaultClientCallback(int contextHubId) argument
294 createLoadTransactionCallback( int contextHubId, NanoAppBinary nanoAppBinary) argument
314 createUnloadTransactionCallback(int contextHubId) argument
333 createQueryTransactionCallback(int contextHubId) argument
436 queryNanoAppsInternal(int contextHubId) argument
501 handleClientMessageCallback(int contextHubId, ContextHubMsg message) argument
510 handleLoadResponseOldApi( int contextHubId, int result, NanoAppBinary nanoAppBinary) argument
531 handleUnloadResponseOldApi(int contextHubId, int result) argument
544 handleTransactionResultCallback(int contextHubId, int transactionId, int result) argument
554 handleHubEventCallback(int contextHubId, int eventType) argument
573 handleAppAbortCallback(int contextHubId, long nanoAppId, int abortCode) argument
583 handleQueryAppsCallback(int contextHubId, List<HubAppInfo> nanoAppInfoList) argument
595 isValidContextHubId(int contextHubId) argument
611 createClient( IContextHubClientCallback clientCallback, int contextHubId) argument
634 loadNanoAppOnHub( int contextHubId, IContextHubTransactionCallback transactionCallback, NanoAppBinary nanoAppBinary) argument
664 unloadNanoAppFromHub( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
688 enableNanoApp( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
712 disableNanoApp( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
735 queryNanoApps(int contextHubId, IContextHubTransactionCallback transactionCallback) argument
814 checkHalProxyAndContextHubId( int contextHubId, IContextHubTransactionCallback callback, @ContextHubTransaction.Type int transactionType) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DNanoAppInstanceInfo.java59 public NanoAppInstanceInfo(int handle, long appId, int appVersion, int contextHubId) { argument
63 mContexthubId = contextHubId;

Completed in 198 milliseconds