Searched refs:hubs (Results 1 – 11 of 11) sorted by relevance
27 * Enumerate all available context hubs on the system.29 * @return hubs list of hubs on this system.30 * @return supportedPermissions list of Android permissions all hubs35 getHubs_1_2() generates (vec<ContextHub> hubs, vec<string> supportedPermissions);
35 hubApi->getHubs([&hubList, &barrier](const hidl_vec<ContextHub>& hubs) { in getHubsSync() argument36 hubList = hubs; in getHubsSync()
52 hidl_vec<V1_0::ContextHub> hubs = getHubsSync(hubApi.get()); in getHalAndHubIdList() local53 for (const V1_0::ContextHub& hub : hubs) { in getHalAndHubIdList()
47 std::vector<::android::hardware::contexthub::V1_0::ContextHub> hubs; in getHubs_1_2() local48 hubs.push_back(hub); in getHubs_1_2()52 _hidl_cb(hubs, hubPermissionList); in getHubs_1_2()
56 std::vector<::android::hardware::contexthub::V1_0::ContextHub> hubs; in getHubs() local57 hubs.push_back(hub); in getHubs()59 _hidl_cb(hubs); in getHubs()
70 hidl_vec<ContextHub> hubs = getHubsSync(hubApi.get()); in TEST_P() local71 ALOGD("System reports %zu hubs", hubs.size()); in TEST_P()73 for (const ContextHub& hub : hubs) { in TEST_P()
30 * Enumerate all available context hubs on the system.32 * @return hubs list of hubs on this system.34 getHubs() generates (vec<ContextHub> hubs);
88 [&hubList](const hidl_vec<ContextHub>& hubs, in TEST_P()89 const hidl_vec<hidl_string>& /*hubPermissions*/) { hubList = hubs; }); in TEST_P() argument
74 std::vector<ContextHubInfo> hubs; in TEST_P() local75 ASSERT_TRUE(contextHub->getContextHubs(&hubs).isOk()); in TEST_P()77 ALOGD("System reports %zu hubs", hubs.size()); in TEST_P()79 for (const ContextHubInfo& hub : hubs) { in TEST_P()
72 std::vector<ContextHub> hubs; in getHubs() local104 hubs.push_back(c); in getHubs()110 _hidl_cb(hubs); in getHubs()
129 * Non-framework entities like low power sensor hubs that request location from GNSS and131 * power-spending reporting. However, low power sensor hubs or other chipsets which may send