/system/chre/apps/test/chqts/src/general_test/ |
D | send_message_to_host_test.cc | 96 size_t messageSize) { in smallMessageCallback() argument 105 if (messageSize != kSmallMessageSize) { in smallMessageCallback() 106 uint32_t size = static_cast<uint32_t>(messageSize); in smallMessageCallback() 111 for (size_t i = 0; i < messageSize; i++) { in smallMessageCallback() 142 size_t messageSize) { in smallMessageCallback0() argument 143 smallMessageCallback<0>(message, messageSize); in smallMessageCallback0() 147 size_t messageSize) { in smallMessageCallback1() argument 148 smallMessageCallback<1>(message, messageSize); in smallMessageCallback1() 164 size_t messageSize) { in largeMessageCallback() argument 181 if (messageSize != kLargeSizes[index]) { in largeMessageCallback() [all …]
|
D | send_message_to_host_test.h | 57 void setUp(uint32_t messageSize, const void *message) override; 83 static void smallMessageCallback(void *message, size_t messageSize); 85 static void smallMessageCallback0(void *message, size_t messageSize); 86 static void smallMessageCallback1(void *message, size_t messageSize); 88 static void largeMessageCallback(void *message, size_t messageSize); 94 static bool sendMessageToHost(void *message, uint32_t messageSize,
|
D | event_between_apps_test.cc | 42 void EventBetweenApps0::setUp(uint32_t messageSize, in setUp() argument 44 if (messageSize != 0) { in setUp() 46 &messageSize); in setUp() 79 void EventBetweenApps1::setUp(uint32_t messageSize, in setUp() argument 81 if (messageSize != 0) { in setUp() 83 &messageSize); in setUp()
|
D | hello_world_test.cc | 28 void HelloWorldTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 29 if (messageSize != 0) { in setUp() 31 &messageSize); in setUp()
|
D | host_awake_suspend_test.cc | 29 void HostAwakeSuspendTest::setUp(uint32_t messageSize, in setUp() argument 31 if (messageSize != 0) { in setUp() 33 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | wwan_capabilities_test.cc | 26 void WwanCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 28 if (messageSize != 0) { in setUp() 30 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | gnss_capabilities_test.cc | 26 void GnssCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 28 if (messageSize != 0) { in setUp() 30 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | wifi_capabilities_test.cc | 26 void WifiCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 28 if (messageSize != 0) { in setUp() 30 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | sensor_info_test.cc | 24 void SensorInfoTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 25 if (messageSize != 0) { in setUp() 27 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | version_consistency_test.cc | 32 void VersionConsistencyTest::setUp(uint32_t messageSize, in setUp() argument 34 if (messageSize != 0) { in setUp() 37 &messageSize); in setUp()
|
D | get_time_test.cc | 34 void GetTimeTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 35 if (messageSize != 0) { in setUp() 37 &messageSize); in setUp()
|
D | test.cc | 34 void Test::testSetUp(uint32_t messageSize, const void *message) { in testSetUp() argument 36 setUp(messageSize, message); in testSetUp() 104 if (data->messageSize != expectedMessageSize) { in getMessageDataFromHostEvent() 105 sendFatalFailureToHost("Unexpected messageSize:", &(data->messageSize)); in getMessageDataFromHostEvent()
|
D | basic_gnss_test.cc | 66 void BasicGnssTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 67 if (messageSize != 0) { in setUp() 69 &messageSize); in setUp()
|
D | heap_alloc_stress_test.cc | 45 void HeapAllocStressTest::setUp(uint32_t messageSize, in setUp() argument 47 if (messageSize != 0) { in setUp() 50 &messageSize); in setUp()
|
/system/chre/core/ |
D | host_comms_manager.cc | 29 Nanoapp *nanoapp, void *messageData, size_t messageSize, in sendMessageToHostFromNanoapp() argument 33 if (messageSize > 0 && messageData == nullptr) { in sendMessageToHostFromNanoapp() 35 } else if (messageSize > CHRE_MESSAGE_TO_HOST_MAX_SIZE) { in sendMessageToHostFromNanoapp() 36 LOGW("Rejecting message of size %zu bytes (max %d)", messageSize, in sendMessageToHostFromNanoapp() 51 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp() 83 const void *messageData, uint32_t messageSize) { in craftNanoappMessageFromHost() argument 88 static_cast<const uint8_t *>(messageData), messageSize)) { in craftNanoappMessageFromHost() 92 messageSize, hostEndpoint, messageType); in craftNanoappMessageFromHost() 98 msgFromHost->fromHostData.messageSize = messageSize; in craftNanoappMessageFromHost() 130 size_t messageSize) { in sendMessageToNanoappFromHost() argument [all …]
|
/system/chre/apps/test/chqts/src/echo_message/ |
D | echo_message.cc | 51 static_cast<uint8_t *>(chreHeapAlloc(msg->messageSize)); in nanoappHandleEvent() 52 if (msg->messageSize != 0 && messageBuffer == nullptr) { in nanoappHandleEvent() 57 const_cast<void *>(msg->message), msg->messageSize); in nanoappHandleEvent() 60 static_cast<void *>(messageBuffer), msg->messageSize, in nanoappHandleEvent()
|
/system/chre/platform/shared/ |
D | chre_api_core.cc | 68 DLL_EXPORT bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument 72 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost() 77 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageWithPermissions() argument 92 nanoapp, message, messageSize, messageType, hostEndpoint, in chreSendMessageWithPermissions() 97 freeCallback(message, messageSize); in chreSendMessageWithPermissions() 104 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument 107 message, messageSize, messageType, hostEndpoint, in chreSendMessageToHostEndpoint()
|
/system/chre/apps/message_world/ |
D | message_world.cc | 34 void messageFreeCallback(void *message, size_t messageSize) { in messageFreeCallback() argument 38 message, (message == gMessageData), messageSize, in messageFreeCallback() 39 (messageSize == sizeof(gMessageData))); in messageFreeCallback() 64 msg->messageType, msg->messageSize, msg->message, msg->hostEndpoint); in nanoappHandleEvent()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 327 uint32_t messageSize; member 414 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 459 bool chreSendMessageToHost(void *message, uint32_t messageSize, 475 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize, 558 bool chreSendMessageWithPermissions(void *message, size_t messageSize,
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | event.h | 231 uint32_t messageSize; member 317 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 365 bool chreSendMessageToHost(void *message, uint32_t messageSize, 425 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize,
|
/system/chre/chre_api/legacy/v1_0/chre/ |
D | event.h | 134 uint32_t messageSize; member 177 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 263 bool chreSendMessageToHost(void *message, uint32_t messageSize,
|
/system/chre/chre_api/legacy/v1_3/chre/ |
D | event.h | 259 uint32_t messageSize; member 345 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 390 bool chreSendMessageToHost(void *message, uint32_t messageSize, 450 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize,
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | event.h | 259 uint32_t messageSize; member 345 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 393 bool chreSendMessageToHost(void *message, uint32_t messageSize, 453 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize,
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | event.h | 273 uint32_t messageSize; member 360 typedef void (chreMessageFreeFunction)(void *message, size_t messageSize); 405 bool chreSendMessageToHost(void *message, uint32_t messageSize, 466 bool chreSendMessageToHostEndpoint(void *message, size_t messageSize,
|
/system/chre/core/include/chre/core/ |
D | host_comms_manager.h | 122 size_t messageSize, uint32_t messageType, 144 size_t messageSize); 207 uint32_t messageSize);
|