/hardware/interfaces/contexthub/1.2/default/ |
D | Contexthub.cpp | 32 ::android::hardware::contexthub::V1_0::ContextHub hub = {}; in getHubs_1_2() 33 hub.name = "Mock Context Hub"; in getHubs_1_2() 34 hub.vendor = "AOSP"; in getHubs_1_2() 35 hub.toolchain = "n/a"; in getHubs_1_2() 36 hub.platformVersion = 1; in getHubs_1_2() 37 hub.toolchainVersion = 1; in getHubs_1_2() 38 hub.hubId = kMockHubId; in getHubs_1_2() 39 hub.peakMips = 1; in getHubs_1_2() 40 hub.peakPowerDrawMw = 1; in getHubs_1_2() 41 hub.maxSupportedMsgLen = 4096; in getHubs_1_2() [all …]
|
/hardware/interfaces/contexthub/common/default/1.X/ |
D | ContextHub.h | 41 ::android::hardware::contexthub::V1_0::ContextHub hub = {}; in getHubs() 42 hub.name = "Mock Context Hub"; in getHubs() 43 hub.vendor = "AOSP"; in getHubs() 44 hub.toolchain = "n/a"; in getHubs() 45 hub.platformVersion = 1; in getHubs() 46 hub.toolchainVersion = 1; in getHubs() 47 hub.hubId = kMockHubId; in getHubs() 48 hub.peakMips = 1; in getHubs() 49 hub.peakPowerDrawMw = 1; in getHubs() 50 hub.maxSupportedMsgLen = 4096; in getHubs() [all …]
|
/hardware/interfaces/contexthub/aidl/default/ |
D | ContextHub.cpp | 24 ContextHubInfo hub = {}; in getContextHubs() local 25 hub.name = "Mock Context Hub"; in getContextHubs() 26 hub.vendor = "AOSP"; in getContextHubs() 27 hub.toolchain = "n/a"; in getContextHubs() 28 hub.id = kMockHubId; in getContextHubs() 29 hub.peakMips = 1; in getContextHubs() 30 hub.maxSupportedMessageLengthBytes = 4096; in getContextHubs() 31 hub.chrePlatformId = UINT64_C(0x476f6f6754000000); in getContextHubs() 32 hub.chreApiMajorVersion = 1; in getContextHubs() 33 hub.chreApiMinorVersion = 6; in getContextHubs() [all …]
|
/hardware/interfaces/contexthub/1.2/vts/functional/ |
D | VtsHalContexthubV1_2TargetTest.cpp | 93 for (const ContextHub& hub : hubList) { in TEST_P() local 94 ALOGD("Checking hub ID %" PRIu32, hub.hubId); in TEST_P() 96 EXPECT_FALSE(hub.name.empty()); in TEST_P() 97 EXPECT_FALSE(hub.vendor.empty()); in TEST_P() 98 EXPECT_FALSE(hub.toolchain.empty()); in TEST_P() 99 EXPECT_GT(hub.peakMips, 0); in TEST_P() 100 EXPECT_GE(hub.stoppedPowerDrawMw, 0); in TEST_P() 101 EXPECT_GE(hub.sleepPowerDrawMw, 0); in TEST_P() 102 EXPECT_GT(hub.peakPowerDrawMw, 0); in TEST_P() 105 EXPECT_GE(hub.maxSupportedMsgLen, UINT32_C(128)); in TEST_P()
|
/hardware/interfaces/contexthub/1.0/vts/functional/ |
D | VtsHalContexthubV1_0TargetTest.cpp | 73 for (const ContextHub& hub : hubs) { in TEST_P() local 74 ALOGD("Checking hub ID %" PRIu32, hub.hubId); in TEST_P() 76 EXPECT_FALSE(hub.name.empty()); in TEST_P() 77 EXPECT_FALSE(hub.vendor.empty()); in TEST_P() 78 EXPECT_FALSE(hub.toolchain.empty()); in TEST_P() 79 EXPECT_GT(hub.peakMips, 0); in TEST_P() 80 EXPECT_GE(hub.stoppedPowerDrawMw, 0); in TEST_P() 81 EXPECT_GE(hub.sleepPowerDrawMw, 0); in TEST_P() 82 EXPECT_GT(hub.peakPowerDrawMw, 0); in TEST_P() 85 EXPECT_GE(hub.maxSupportedMsgLen, UINT32_C(128)); in TEST_P()
|
/hardware/interfaces/contexthub/1.0/ |
D | IContexthub.hal | 24 * Native applications that run within a context hub are known as nanoapps, and 38 * messages to the service from a context hub. There can be a maximum of 43 * @param hubId identifier for the hub 53 * Send a message to a hub 55 * @param hubId identifier for hub to send message to 73 * not persist across reboots of the hub. If they do persist, the 86 * TRANSACTION_PENDING if hub is busy with another 109 * TRANSACTION_PENDING if hub is busy with another 130 * TRANSACTION_PENDING if hub is busy with another 151 * TRANSACTION_PENDING if hub is busy with another [all …]
|
D | types.hal | 39 // the CHRE API header file chre/version.h for more information. The hub 92 // the context hub itself. Thus, this 95 // which allows for batching in a hub. 111 uint32_t hubId; // A device unique ID for this hub 121 // be sent to the hub in one chunk (in bytes) 143 // the host to the hub. 145 // message from the context hub to the ContextHub 149 // must not be used for messages from the hub to host. 151 // to the hub.
|
D | IContexthubCallback.hal | 69 * currently loaded and active nanoapps on the hub. 72 * hub that can be enabled, disabled and unloaded by the
|
/hardware/interfaces/contexthub/aidl/vts/ |
D | VtsAidlHalContextHubTargetTest.cpp | 79 for (const ContextHubInfo& hub : hubs) { in TEST_P() local 80 ALOGD("Checking hub ID %" PRIu32, hub.id); in TEST_P() 82 EXPECT_GT(hub.name.size(), 0); in TEST_P() 83 EXPECT_GT(hub.vendor.size(), 0); in TEST_P() 84 EXPECT_GT(hub.toolchain.size(), 0); in TEST_P() 85 EXPECT_GT(hub.peakMips, 0); in TEST_P() 86 EXPECT_GT(hub.chrePlatformId, 0); in TEST_P() 87 EXPECT_GT(hub.chreApiMajorVersion, 0); in TEST_P() 88 EXPECT_GE(hub.chreApiMinorVersion, 0); in TEST_P() 89 EXPECT_GE(hub.chrePatchVersion, 0); in TEST_P() [all …]
|
/hardware/interfaces/contexthub/common/vts/ |
D | VtsHalContexthubUtilsHidl.h | 53 for (const V1_0::ContextHub& hub : hubs) { in getHalAndHubIdList() local 54 parameters.push_back(std::make_tuple(serviceName, std::to_string(hub.hubId))); in getHalAndHubIdList()
|
/hardware/interfaces/contexthub/1.2/ |
D | IContexthub.hal | 39 * messages to the service from a context hub. There can be a maximum of 44 * @param hubId identifier for the hub
|
D | IContexthubCallback.hal | 43 * currently loaded and active nanoapps on the hub. 46 * on the hub that can be enabled, disabled and
|
/hardware/libhardware/modules/ |
D | README.android | 4 libhardware.so eventually should contain *just* the HAL hub
|