Searched refs:hubId (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/contexthub/1.0/default/ |
D | Contexthub.cpp | 59 bool Contexthub::setOsAppAsDestination(hub_message_t *msg, int hubId) { in setOsAppAsDestination() argument 60 if (!isValidHubId(hubId)) { in setOsAppAsDestination() 63 hubId); in setOsAppAsDestination() 66 msg->app_name = mCachedHubInfo[hubId].osAppName; in setOsAppAsDestination() 88 c.hubId = hubArray[i].hub_id; in getHubs() 120 uint32_t hubId = static_cast<uint32_t>(cookie); in serviceDied() local 121 mContexthub->handleServiceDeath(hubId); in serviceDied() 124 bool Contexthub::isValidHubId(uint32_t hubId) { in isValidHubId() argument 125 if (!mCachedHubInfo.count(hubId)) { in isValidHubId() 126 ALOGW("Hub information not found for hubId %" PRIu32, hubId); in isValidHubId() [all …]
|
D | Contexthub.h | 37 Return<Result> registerCallback(uint32_t hubId, 40 Return<Result> sendMessageToHub(uint32_t hubId, 43 Return<Result> loadNanoApp(uint32_t hubId, 47 Return<Result> unloadNanoApp(uint32_t hubId, 51 Return<Result> enableNanoApp(uint32_t hubId, 55 Return<Result> disableNanoApp(uint32_t hubId, 59 Return<Result> queryApps(uint32_t hubId) override; 61 Return<Result> reboot(uint32_t hubId); 92 bool isValidHubId(uint32_t hubId); 94 sp<IContexthubCallback> getCallBackForHubId(uint32_t hubId); [all …]
|
/hardware/interfaces/contexthub/1.0/ |
D | IContexthub.hal | 43 * @param hubId identifier for the hub 50 registerCallback(uint32_t hubId, IContexthubCallback cb) generates (Result result); 55 * @param hubId identifier for hub to send message to 62 sendMessageToHub(uint32_t hubId, ContextHubMsg msg) 79 * @param hubId identifer of the contextHub 91 loadNanoApp(uint32_t hubId, 103 * @param hubId identifer of the contextHub 114 unloadNanoApp(uint32_t hubId, uint64_t appId, uint32_t transactionId) 124 * @param hubId identifer of the contextHub 135 enableNanoApp(uint32_t hubId, uint64_t appId, uint32_t transactionId) [all …]
|
D | types.hal | 111 uint32_t hubId; // A device unique ID for this hub
|
/hardware/interfaces/contexthub/1.0/vts/functional/ |
D | VtsHalContexthubV1_0TargetTest.cpp | 87 hubIds.push_back(hub.hubId); in getHubIds() 210 ALOGD("Checking hub ID %" PRIu32, hub.hubId); in TEST_F()
|