/system/chre/apps/chqts/src/general_test/ |
D | send_message_to_host_test.cc | 94 size_t messageSize) { in smallMessageCallback() argument 103 if (messageSize != kSmallMessageSize) { in smallMessageCallback() 104 uint32_t size = static_cast<uint32_t>(messageSize); in smallMessageCallback() 109 for (size_t i = 0; i < messageSize; i++) { in smallMessageCallback() 141 size_t messageSize) { in smallMessageCallback0() argument 142 smallMessageCallback<0>(message, messageSize); in smallMessageCallback0() 146 size_t messageSize) { in smallMessageCallback1() argument 147 smallMessageCallback<1>(message, messageSize); in smallMessageCallback1() 163 size_t messageSize) { in largeMessageCallback() argument 180 if (messageSize != kLargeSizes[index]) { in largeMessageCallback() [all …]
|
D | send_message_to_host_test.h | 57 void setUp(uint32_t messageSize, const void *message) override; 85 static void smallMessageCallback(void *message, size_t messageSize); 87 static void smallMessageCallback0(void *message, size_t messageSize); 88 static void smallMessageCallback1(void *message, size_t messageSize); 90 static void largeMessageCallback(void *message, size_t messageSize); 96 static bool sendMessageToHost(void *message, uint32_t messageSize,
|
D | event_between_apps_test.cc | 43 void EventBetweenApps0::setUp(uint32_t messageSize, in setUp() argument 45 if (messageSize != 0) { in setUp() 48 &messageSize); in setUp() 83 void EventBetweenApps1::setUp(uint32_t messageSize, in setUp() argument 85 if (messageSize != 0) { in setUp() 88 &messageSize); in setUp()
|
D | hello_world_test.cc | 30 void HelloWorldTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 31 if (messageSize != 0) { in setUp() 33 &messageSize); in setUp()
|
D | host_awake_suspend_test.cc | 32 uint32_t messageSize, const void * /* message */) { in setUp() argument 33 if (messageSize != 0) { in setUp() 35 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | basic_gnss_test.cc | 52 uint32_t messageSize, const void * /* message */) { in setUp() argument 53 if (messageSize != 0) { in setUp() 55 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | wwan_capabilities_test.cc | 28 void WwanCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 30 if (messageSize != 0) { in setUp() 32 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | gnss_capabilities_test.cc | 28 void GnssCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 30 if (messageSize != 0) { in setUp() 32 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | wifi_capabilities_test.cc | 28 void WifiCapabilitiesTest::setUp(uint32_t messageSize, in setUp() argument 30 if (messageSize != 0) { in setUp() 32 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | sensor_info_test.cc | 26 void SensorInfoTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 27 if (messageSize != 0) { in setUp() 29 "Expected 0 byte message, got more bytes:", &messageSize); in setUp()
|
D | version_sanity_test.cc | 34 void VersionSanityTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 35 if (messageSize != 0) { in setUp() 38 &messageSize); in setUp()
|
D | test.cc | 35 void Test::testSetUp(uint32_t messageSize, const void *message) { in testSetUp() argument 37 setUp(messageSize, message); in testSetUp() 105 if (data->messageSize != expectedMessageSize) { in getMessageDataFromHostEvent() 106 sendFatalFailureToHost("Unexpected messageSize:", &(data->messageSize)); in getMessageDataFromHostEvent()
|
D | get_time_test.cc | 36 void GetTimeTest::setUp(uint32_t messageSize, const void * /* message */) { in setUp() argument 37 if (messageSize != 0) { in setUp() 40 &messageSize); in setUp()
|
D | heap_alloc_stress_test.cc | 47 void HeapAllocStressTest::setUp(uint32_t messageSize, in setUp() argument 49 if (messageSize != 0) { in setUp() 52 &messageSize); in setUp()
|
D | logging_sanity_test.cc | 37 void LoggingSanityTest::setUp(uint32_t messageSize, in setUp() argument 39 if (messageSize != 0) { in setUp() 42 &messageSize); in setUp()
|
D | simple_heap_alloc_test.cc | 108 void SimpleHeapAllocTest::setUp(uint32_t messageSize, in setUp() argument 112 if (messageSize != 0) { in setUp() 115 &messageSize); in setUp() 158 testMaxAlignment(messageSize); in setUp()
|
/system/chre/core/ |
D | host_comms_manager.cc | 34 Nanoapp *nanoapp, void *messageData, size_t messageSize, in sendMessageToHostFromNanoapp() argument 38 if (messageSize > 0 && messageData == nullptr) { in sendMessageToHostFromNanoapp() 40 } else if (messageSize > CHRE_MESSAGE_TO_HOST_MAX_SIZE) { in sendMessageToHostFromNanoapp() 42 messageSize, CHRE_MESSAGE_TO_HOST_MAX_SIZE); in sendMessageToHostFromNanoapp() 52 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp() 73 const void *messageData, uint32_t messageSize, uint32_t targetInstanceId) { in deliverNanoappMessageFromHost() argument 80 static_cast<const uint8_t *>(messageData), messageSize)) { in deliverNanoappMessageFromHost() 82 "(endpoint 0x%" PRIx16 " type %" PRIu32 ")", messageSize, in deliverNanoappMessageFromHost() 87 msgFromHost->fromHostData.messageSize = static_cast<uint32_t>( in deliverNanoappMessageFromHost() 88 messageSize); in deliverNanoappMessageFromHost() [all …]
|
/system/chre/apps/chqts/src/echo_message/ |
D | echo_message.cc | 52 static_cast<uint8_t*>(chreHeapAlloc(msg->messageSize)); in nanoappHandleEvent() 53 if (msg->messageSize != 0 && messageBuffer == nullptr) { in nanoappHandleEvent() 58 msg->messageSize); in nanoappHandleEvent() 61 static_cast<void*>(messageBuffer), msg->messageSize, in nanoappHandleEvent()
|
/system/chre/apps/message_world/ |
D | message_world.cc | 34 void messageFreeCallback(void *message, size_t messageSize) { in messageFreeCallback() argument 38 messageSize, (messageSize == sizeof(gMessageData))); in messageFreeCallback() 64 msg->messageType, msg->messageSize, msg->message, msg->hostEndpoint); in nanoappHandleEvent()
|
/system/chre/platform/shared/ |
D | chre_api_core.cc | 67 DLL_EXPORT bool chreSendMessageToHost(void *message, uint32_t messageSize, in chreSendMessageToHost() argument 71 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost() 76 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument 90 nanoapp, message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint() 94 freeCallback(message, messageSize); in chreSendMessageToHostEndpoint()
|
/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/include/chre_api/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_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_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/core/include/chre/core/ |
D | host_comms_manager.h | 111 Nanoapp *nanoapp, void *messageData, size_t messageSize, 131 const void *messageData, size_t messageSize); 170 const void *messageData, uint32_t messageSize, uint32_t targetInstanceId);
|