/system/chre/apps/chqts/src/general_test/ |
D | estimated_host_time_test.cc | 43 nanoapp_testing::sendFatalFailureToHost( in setUp() 64 nanoapp_testing::MessageType::kContinue, in handleEvent() 67 nanoapp_testing::memcpy(&givenHostTime, message, sizeof(givenHostTime)); in handleEvent() 68 givenHostTime = nanoapp_testing::littleEndianToHost(givenHostTime); in handleEvent() 72 nanoapp_testing::sendSuccessToHost(); in handleEvent() 74 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 78 nanoapp_testing::sendSuccessToHost(); in handleEvent() 80 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 92 nanoapp_testing::sendMessageToHost( in verifyIncreasingTime() 93 nanoapp_testing::MessageType::kContinue); in verifyIncreasingTime() [all …]
|
D | nanoapp_info_events_test_observer.cc | 31 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 55 nanoapp_testing::MessageType::kContinue, sizeof(performerInstanceId)); in handleEvent() 57 nanoapp_testing::memcpy(&performerInstanceId, message, in handleEvent() 60 nanoapp_testing::littleEndianToHost(performerInstanceId); in handleEvent() 96 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 99 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 102 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 105 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 108 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 111 nanoapp_testing::sendSuccessToHost(); in processStartStopHistory()
|
D | sensor_info_test.cc | 28 nanoapp_testing::sendFatalFailureToHost( in setUp() 32 nanoapp_testing::sendFatalFailureToHost( in setUp() 38 nanoapp_testing::sendFatalFailureToHost( in setUp() 49 nanoapp_testing::sendFatalFailureToHost( in validateSensorInfo() 52 nanoapp_testing::sendFatalFailureToHost( in validateSensorInfo() 58 nanoapp_testing::sendFatalFailureToHost( in validateSensorInfo() 62 nanoapp_testing::sendFatalFailureToHost( in validateSensorInfo() 65 nanoapp_testing::sendSuccessToHost(); in validateSensorInfo()
|
D | nanoapp_info.cc | 34 nanoapp_testing::sendFatalFailureToHost( in NanoappInfo() 41 .appId = nanoapp_testing::hostToLittleEndian(mAppId), in sendToHost() 42 .instanceId = nanoapp_testing::hostToLittleEndian(mInstanceId), in sendToHost() 45 sendMessageToHost(nanoapp_testing::MessageType::kContinue, in sendToHost() 52 nanoapp_testing::sendFatalFailureToHost( in validate() 56 nanoapp_testing::sendFatalFailureToHost( in validate() 68 nanoapp_testing::sendFatalFailureToHost( in queryByAppId() 79 nanoapp_testing::sendFatalFailureToHost( in queryByInstanceId()
|
D | nanoapp_info_by_instance_id_test.cc | 35 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 46 nanoapp_testing::MessageType::kContinue, in handleEvent() 49 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent() 50 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent() 55 nanoapp_testing::sendSuccessToHost(); in handleEvent()
|
D | nanoapp_info_by_app_id_test.cc | 35 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 46 nanoapp_testing::MessageType::kContinue, in handleEvent() 49 nanoapp_testing::memcpy(&appVersion, message, sizeof(appVersion)); in handleEvent() 50 appVersion = nanoapp_testing::littleEndianToHost(appVersion); in handleEvent() 55 nanoapp_testing::sendSuccessToHost(); in handleEvent()
|
D | wwan_cell_info_test.cc | 42 sendMessageToHost(nanoapp_testing::MessageType::kSkipped); in setUp() 44 nanoapp_testing::sendFatalFailureToHost( in setUp() 51 nanoapp_testing::sendFatalFailureToHost( in setUp() 67 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 74 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 78 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 141 nanoapp_testing::sendSuccessToHost(); in validateCellInfo() 150 nanoapp_testing::sendFatalFailureToHost("Received eventData is null"); in validateCellInfoResult() 152 nanoapp_testing::sendFatalFailureToHost( in validateCellInfoResult() 155 nanoapp_testing::sendFatalFailureToHost( in validateCellInfoResult() [all …]
|
D | event_between_apps_test.cc | 30 using nanoapp_testing::MessageType; 31 using nanoapp_testing::sendFatalFailureToHost; 32 using nanoapp_testing::sendSuccessToHost; 67 nanoapp_testing::memcpy(&app1InstanceId, message, sizeof(app1InstanceId)); in handleEvent() 68 app1InstanceId = nanoapp_testing::littleEndianToHost(app1InstanceId); in handleEvent() 108 nanoapp_testing::memcpy(&mApp0InstanceId, message, in handleEvent() 110 mApp0InstanceId = nanoapp_testing::littleEndianToHost(mApp0InstanceId); in handleEvent() 122 nanoapp_testing::memcpy(&magic, eventData, sizeof(magic)); in handleEvent()
|
D | basic_gnss_test.cc | 36 nanoapp_testing::sendFatalFailureToHost( in testLocationSessionAsync() 40 nanoapp_testing::sendFatalFailureToHost( in testLocationSessionAsync() 54 nanoapp_testing::sendFatalFailureToHost( in setUp() 65 nanoapp_testing::sendSuccessToHost(); in setUp()
|
D | wwan_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 46 nanoapp_testing::sendFatalFailureToHost( in setUp() 50 nanoapp_testing::sendFatalFailureToHost( in setUp() 54 nanoapp_testing::sendSuccessToHost(); in setUp()
|
D | gnss_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 51 nanoapp_testing::sendFatalFailureToHost( in setUp() 55 nanoapp_testing::sendFatalFailureToHost( in setUp() 59 nanoapp_testing::sendSuccessToHost(); in setUp()
|
D | wifi_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 51 nanoapp_testing::sendFatalFailureToHost( in setUp() 55 nanoapp_testing::sendFatalFailureToHost( in setUp() 59 nanoapp_testing::sendSuccessToHost(); in setUp()
|
D | test.cc | 25 using nanoapp_testing::sendFatalFailureToHost; 26 using nanoapp_testing::sendFatalFailureToHostUint8; 39 sendMessageToHost(nanoapp_testing::MessageType::kSkipped); in testSetUp() 81 nanoapp_testing::sendFatalFailureToHostUint8( in validateChreAsyncResult() 83 request.timeoutNs / nanoapp_testing::kOneSecondInNanoseconds); in validateChreAsyncResult() 89 nanoapp_testing::MessageType expectedMessageType, in getMessageDataFromHostEvent()
|
D | host_awake_suspend_test.cc | 34 nanoapp_testing::sendFatalFailureToHost( in setUp() 43 nanoapp_testing::sendFatalFailureToHost( in setUp() 47 nanoapp_testing::sendSuccessToHost(); in setUp()
|
D | get_time_test.cc | 27 using nanoapp_testing::MessageType; 28 using nanoapp_testing::sendFatalFailureToHost; 71 prevTime = nanoapp_testing::hostToLittleEndian(prevTime); in setUp() 87 uint64_t time = nanoapp_testing::hostToLittleEndian(chreGetTime()); in handleEvent()
|
D | simple_heap_alloc_test.cc | 29 using nanoapp_testing::MessageType; 30 using nanoapp_testing::sendFatalFailureToHost; 31 using nanoapp_testing::sendMessageToHost; 32 using nanoapp_testing::sendSuccessToHost; 110 nanoapp_testing::memset(mPtrs, 0, sizeof(mPtrs)); in setUp() 155 nanoapp_testing::memset(mPtrs[i], 0xFF, kSizes[i]); in setUp()
|
D | running_info.cc | 34 nanoapp_testing::sendFatalFailureToHost( in validate() 38 nanoapp_testing::sendFatalFailureToHost( in validate() 42 nanoapp_testing::sendFatalFailureToHost( in validate()
|
D | send_message_to_host_test.cc | 28 using nanoapp_testing::MessageType; 29 using nanoapp_testing::sendFatalFailureToHost; 30 using nanoapp_testing::sendInternalFailureToHost; 31 using nanoapp_testing::sendSuccessToHost; 214 nanoapp_testing::memset(sSmallMessageData, kDataByte, in prepTestMemory() 222 nanoapp_testing::memset(sLargeMessageData[i], kDataByte, in prepTestMemory() 230 uint32_t maxSize = nanoapp_testing::hostToLittleEndian( in sendMessageMaxSize() 237 nanoapp_testing::sendMessageToHost(MessageType::kContinue, in sendMessageMaxSize()
|
D | heap_alloc_stress_test.cc | 27 using nanoapp_testing::sendFailureToHost; 28 using nanoapp_testing::sendFatalFailureToHost; 29 using nanoapp_testing::sendSuccessToHost; 39 nanoapp_testing::abort(); in tryAbsurdMalloc()
|
D | app.cc | 59 using nanoapp_testing::AbortBlame; 60 using nanoapp_testing::MessageType; 61 using nanoapp_testing::sendFatalFailureToHost; 62 using nanoapp_testing::sendInternalFailureToHost; 138 nanoapp_testing::memcpy(&(ret.reservedMessageType), messageBytes, in adjustHostMessageForNYC() 141 nanoapp_testing::littleEndianToHost(ret.reservedMessageType); in adjustHostMessageForNYC() 289 nanoapp_testing::abort(AbortBlame::kChreInNanoappEnd); in nanoappEnd()
|
D | hello_world_test.cc | 21 using nanoapp_testing::sendFatalFailureToHost; 22 using nanoapp_testing::sendSuccessToHost;
|
D | timer_set_test.cc | 28 using nanoapp_testing::kOneMillisecondInNanoseconds; 29 using nanoapp_testing::kOneSecondInNanoseconds; 30 using nanoapp_testing::sendFatalFailureToHost; 31 using nanoapp_testing::sendInternalFailureToHost; 32 using nanoapp_testing::sendSuccessToHost;
|
/system/chre/apps/chqts/src/busy_startup/ |
D | busy_startup.cc | 53 using nanoapp_testing::MessageType; 54 using nanoapp_testing::TestSuccessMarker; 55 using nanoapp_testing::sendMessageToHost; 56 using nanoapp_testing::sendFatalFailureToHost; 57 using nanoapp_testing::sendFatalFailureToHostUint8; 58 using nanoapp_testing::sendSuccessToHost; 210 20 * nanoapp_testing::kOneMillisecondInNanoseconds, in nanoappStart()
|
/system/chre/apps/chqts/src/shared/ |
D | nano_string_test.cc | 31 using namespace nanoapp_testing; 48 nanoapp_testing::memset(actual, kNewValue, kLenToSet); in testMemset() 81 nanoapp_testing::memcpy(actual, kMemcpySrc, kLenToCopy); in testMemcpy() 101 EXPECT_EQ(::strlen(str), nanoapp_testing::strlen(str)); in TEST() 106 EXPECT_EQ(::strlen(str), nanoapp_testing::strlen(str)); in TEST() 122 nanoapp_testing::strncpy(actual, str, len); in testStrncpy() 153 nanoapp_testing::kUint32ToHexAsciiBufferMinLen; in testHexAscii()
|
/system/chre/apps/chqts/src/fail_startup/ |
D | fail_startup.cc | 45 nanoapp_testing::abort(nanoapp_testing::AbortBlame::kChreInNanoappEnd); in nanoappEnd()
|