HomeSort by relevance Sort by last modified time
    Searched refs:hubHandle (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/java/android/hardware/location/
IContextHubService.aidl 42 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);
ContextHubManager.java 64 * @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);
110 * @param hubHandle Handle (system-wide unique identifier) of a context hub.
116 public ContextHubInfo getContextHubInfo(int hubHandle) {
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) {
146 return mService.loadNanoApp(hubHandle, app)
    [all...]
  /frameworks/base/services/core/java/com/android/server/location/
ContextHubService.java 205 public int[] findNanoAppOnHub(int hubHandle, NanoAppFilter filter) throws RemoteException {
222 Log.w(TAG, "Found " + retArray.length + " apps on hub handle " + hubHandle);
227 public int sendMessage(int hubHandle, int nanoAppHandle, ContextHubMessage msg)
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) {
311 appInfo.setContexthubId(hubHandle);
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_location_ContextHubService.cpp 116 void passOnOsResponse(uint32_t hubHandle,
125 uint32_t hubHandle);
361 uint32_t hubHandle; // Id of the hub this app is on
383 bool getHubIdForHubHandle(int hubHandle, uint32_t *hubId) {
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,
466 entry.hubHandle = hubHandle
    [all...]
  /prebuilts/sdk/system_current/
android.jar 

Completed in 76 milliseconds