Searched refs:hubInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubManager.java | 503 @NonNull ContextHubInfo hubInfo, @NonNull NanoAppBinary appBinary) { 504 Objects.requireNonNull(hubInfo, "ContextHubInfo cannot be null"); 513 mService.loadNanoAppOnHub(hubInfo.getId(), callback, appBinary); 533 @NonNull ContextHubInfo hubInfo, long nanoAppId) { 534 Objects.requireNonNull(hubInfo, "ContextHubInfo cannot be null"); 542 mService.unloadNanoAppFromHub(hubInfo.getId(), callback, nanoAppId); 562 @NonNull ContextHubInfo hubInfo, long nanoAppId) { 563 Objects.requireNonNull(hubInfo, "ContextHubInfo cannot be null"); 571 mService.enableNanoApp(hubInfo.getId(), callback, nanoAppId); 591 @NonNull ContextHubInfo hubInfo, long nanoAppId) { [all …]
|
D | ContextHubClient.java | 69 /* package */ ContextHubClient(ContextHubInfo hubInfo, boolean persistent) { in ContextHubClient() argument 70 mAttachedHub = hubInfo; in ContextHubClient()
|
D | IContextHubService.aidl | 115 long[] getPreloadedNanoAppIds(in ContextHubInfo hubInfo); in getPreloadedNanoAppIds() argument
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubService.java | 478 Pair<List<ContextHubInfo>, List<String>> hubInfo; 480 hubInfo = mContextHubWrapper.getHubs(); 483 hubInfo = new Pair(Collections.emptyList(), Collections.emptyList()); 487 int numContextHubs = hubInfo.first.size(); 492 ContextHubServiceUtil.createContextHubInfoMap(hubInfo.first)); 493 mSupportedContextHubPerms = hubInfo.second; 1423 public long[] getPreloadedNanoAppIds(ContextHubInfo hubInfo) throws RemoteException { 1425 Objects.requireNonNull(hubInfo, "hubInfo cannot be null"); 1427 long[] nanoappIds = mContextHubWrapper.getPreloadedNanoappIds(hubInfo.getId()); 1481 for (ContextHubInfo hubInfo : mContextHubIdToInfoMap.values()) { [all …]
|
D | IContextHubWrapper.java | 563 for (android.hardware.contexthub.ContextHubInfo hubInfo : hub.getContextHubs()) { in getHubs() 564 hubInfoList.add(new ContextHubInfo(hubInfo)); in getHubs() 565 for (String permission : hubInfo.supportedPermissions) { in getHubs()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/contexthub/ |
D | ContextHubServiceTest.java | 64 Pair<List<ContextHubInfo>, List<String>> hubInfo = in setUp() local 68 when(mMockContextHubWrapper.getHubs()).thenReturn(hubInfo); in setUp()
|