Home
last modified time | relevance | path

Searched refs:hubs (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_location_ContextHubService.cpp367 Vector<ContextHub> hubs; member
387 *hubId = db.hubInfo.hubs[hubHandle].hubId; in getHubIdForHubHandle()
428 queryHubForApps(db.hubInfo.hubs[i].hubId); in sendQueryForApps()
554 void getHubsCb(const ::android::hardware::hidl_vec<ContextHub>& hubs) { in getHubsCb() argument
555 for (size_t i = 0; i < hubs.size(); i++) { in getHubsCb()
556 db.hubInfo.hubs.push_back(hubs[i]); in getHubsCb()
577 std::function<void(const ::android::hardware::hidl_vec<ContextHub>& hubs)> f = getHubsCb; in initContextHubService()
583 int retNumHubs = db.hubInfo.hubs.size(); in initContextHubService()
591 new ContextHubServiceCallback(db.hubInfo.hubs[i].hubId); in initContextHubService()
592 db.hubInfo.contextHub->registerCallback(db.hubInfo.hubs[i].hubId, in initContextHubService()
[all …]