Searched refs:hubHandle (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
H A DIContextHubService.aidl42 int loadNanoApp(int hubHandle, in NanoApp app);
51 int[] findNanoAppOnHub(int hubHandle, in NanoAppFilter filter);
54 int sendMessage(int hubHandle, int nanoAppHandle, in ContextHubMessage msg);
H A DContextHubManager.java64 * @param hubHandle Handle (system-wide unique identifier) of the hub of the message.
71 int hubHandle,
85 * @param hubHandle Handle (system-wide unique identifier) of the hub of the message.
91 void onMessageReceipt(int hubHandle, int nanoAppHandle, ContextHubMessage message); argument
110 * @param hubHandle Handle (system-wide unique identifier) of a context hub.
116 public ContextHubInfo getContextHubInfo(int hubHandle) { argument
118 return mService.getContextHubInfo(hubHandle);
135 * @param hubHandle handle of context hub to load the app on.
144 public int loadNanoApp(int hubHandle, NanoApp app) { argument
146 return mService.loadNanoApp(hubHandle, ap
70 onMessageReceipt( int hubHandle, int nanoAppHandle, ContextHubMessage message) argument
222 findNanoAppOnHub(int hubHandle, NanoAppFilter filter) argument
250 sendMessage(int hubHandle, int nanoAppHandle, ContextHubMessage message) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DContextHubService.java205 public int[] findNanoAppOnHub(int hubHandle, NanoAppFilter filter) throws RemoteException { argument
222 Log.w(TAG, "Found " + retArray.length + " apps on hub handle " + hubHandle);
227 public int sendMessage(int hubHandle, int nanoAppHandle, ContextHubMessage msg) argument
237 msgHeader[HEADER_FIELD_HUB_HANDLE] = hubHandle;
279 int hubHandle = header[HEADER_FIELD_HUB_HANDLE];
282 Log.d(TAG, "Sending message " + msgType + " version " + msgVersion + " from hubHandle " +
283 hubHandle + ", appInstance " + appInstance + ", callBackCount " + callbacksCount);
294 callback.onMessageReceipt(hubHandle, appInstance, msg);
304 private int addAppInstance(int hubHandle, int appInstanceHandle, long appId, int appVersion) { argument
311 appInfo.setContexthubId(hubHandle);
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_ContextHubService.cpp116 void passOnOsResponse(uint32_t hubHandle,
125 uint32_t hubHandle);
361 uint32_t hubHandle; // Id of the hub this app is on member in struct:android::AppInstanceInfo
383 bool getHubIdForHubHandle(int hubHandle, uint32_t *hubId) { argument
384 if (hubHandle < 0 || hubHandle >= db.hubInfo.numHubs || hubId == nullptr) {
387 *hubId = db.hubInfo.hubs[hubHandle].hubId;
400 return db.appInstances[id].hubHandle;
455 jint addAppInstance(const HubAppInfo *appInfo, uint32_t hubHandle, argument
466 entry.hubHandle
510 startLoadAppTxn(uint64_t appId, int hubHandle) argument
647 handleQueryAppsResponse(const std::vector<HubAppInfo> apps, uint32_t hubHandle) argument
712 passOnOsResponse(uint32_t hubHandle, uint32_t msgType, TransactionResult result, const int8_t *additionalData, size_t additionalDataLen) argument
1074 int hubHandle = -1; local
[all...]

Completed in 856 milliseconds