/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.2/default/ |
D | Contexthub.cpp | 38 hub.hubId = kMockHubId; in getHubs_1_2() 56 Return<Result> Contexthub::registerCallback(uint32_t hubId, in registerCallback() argument 58 if (hubId == kMockHubId) { in registerCallback() 65 Return<Result> Contexthub::queryApps(uint32_t hubId) { in queryApps() argument 66 if (hubId == kMockHubId && mCallback != nullptr) { in queryApps() 74 Return<Result> Contexthub::registerCallback_1_2(uint32_t hubId, in registerCallback_1_2() argument 76 if (hubId == kMockHubId) { in registerCallback_1_2()
|
D | Contexthub.h | 42 Return<Result> registerCallback(uint32_t hubId, 45 Return<Result> queryApps(uint32_t hubId) override; 55 Return<Result> registerCallback_1_2(uint32_t hubId,
|
/hardware/interfaces/contexthub/1.1/default/ |
D | Contexthub.cpp | 32 Return<Result> Contexthub::registerCallback(uint32_t hubId, const sp<IContexthubCallback>& cb) { in registerCallback() argument 33 if (hubId == kMockHubId) { in registerCallback() 40 Return<Result> Contexthub::queryApps(uint32_t hubId) { in queryApps() argument 41 if (hubId == kMockHubId && mCallback != nullptr) { in queryApps()
|
D | Contexthub.h | 34 Return<Result> registerCallback(uint32_t hubId, const sp<IContexthubCallback>& cb) override; 36 Return<Result> queryApps(uint32_t hubId) override;
|
/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.2/ |
D | IContexthub.hal | 44 * @param hubId identifier for the hub 51 registerCallback_1_2(uint32_t hubId, IContexthubCallback cb) generates (Result result);
|
/hardware/interfaces/contexthub/common/default/1.X/ |
D | ContextHub.h | 47 hub.hubId = kMockHubId; in getHubs()
|
/hardware/interfaces/contexthub/common/vts/ |
D | VtsHalContexthubUtils.h | 63 parameters.push_back(std::make_tuple(serviceName, std::to_string(hub.hubId))); in getHalAndHubIdList()
|
/hardware/interfaces/contexthub/1.2/vts/functional/ |
D | VtsHalContexthubV1_2TargetTest.cpp | 93 ALOGD("Checking hub ID %" PRIu32, hub.hubId); in TEST_P()
|
/hardware/interfaces/contexthub/1.0/vts/functional/ |
D | VtsHalContexthubV1_0TargetTest.cpp | 73 ALOGD("Checking hub ID %" PRIu32, hub.hubId); in TEST_P()
|