Home
last modified time | relevance | path

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

/hardware/interfaces/contexthub/1.2/default/
DContexthub.cpp32 ::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/
DContextHub.h41 ::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/
DContextHub.cpp24 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/
DVtsHalContexthubV1_2TargetTest.cpp93 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/
DVtsHalContexthubV1_0TargetTest.cpp73 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/
DIContexthub.hal24 * 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 …]
Dtypes.hal39 // 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.
DIContexthubCallback.hal69 * currently loaded and active nanoapps on the hub.
72 * hub that can be enabled, disabled and unloaded by the
/hardware/interfaces/contexthub/aidl/vts/
DVtsAidlHalContextHubTargetTest.cpp79 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/
DVtsHalContexthubUtilsHidl.h53 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/
DIContexthub.hal39 * messages to the service from a context hub. There can be a maximum of
44 * @param hubId identifier for the hub
DIContexthubCallback.hal43 * currently loaded and active nanoapps on the hub.
46 * on the hub that can be enabled, disabled and
/hardware/libhardware/modules/
DREADME.android4 libhardware.so eventually should contain *just* the HAL hub