/system/chre/apps/chqts/src/general_test/ |
D | send_event_test.cc | 27 using nanoapp_testing::sendFatalFailureToHost; 71 sendFatalFailureToHost("completeCallback called while another nanoapp " in completeCallback() 76 sendFatalFailureToHost( in completeCallback() 100 sendFatalFailureToHost("completeCallback given bad data.", &num); in completeCallback() 103 sendFatalFailureToHost("completeCallback bad/eventType mismatch."); in completeCallback() 106 sendFatalFailureToHost("Incorrect callback function called."); in completeCallback() 110 sendFatalFailureToHost("Complete callback invoked multiple times for ", in completeCallback() 117 sendFatalFailureToHost("Failed chreSendEvent in callback."); in completeCallback() 137 sendFatalFailureToHost( in setUp() 149 sendFatalFailureToHost("Failed chreSendEvent num 0"); in setUp() [all …]
|
D | send_message_to_host_test.cc | 29 using nanoapp_testing::sendFatalFailureToHost; 96 sendFatalFailureToHost("smallMessageCallback called while another " in smallMessageCallback() 101 sendFatalFailureToHost("smallMessageCallback given null message"); in smallMessageCallback() 105 sendFatalFailureToHost("smallMessageCallback given bad messageSize:", in smallMessageCallback() 111 sendFatalFailureToHost("Corrupt data in smallMessageCallback"); in smallMessageCallback() 126 sendFatalFailureToHost("callback invoked when null callback " in smallMessageCallback() 133 sendFatalFailureToHost("Incorrect callback function called."); in smallMessageCallback() 157 sendFatalFailureToHost("Bad memory sent to smallMessageCallback"); in getSmallDataIndex() 165 sendFatalFailureToHost("largeMessageCallback called while another " in largeMessageCallback() 170 sendFatalFailureToHost("largeMessageCallback given null message"); in largeMessageCallback() [all …]
|
D | basic_sensor_test_base.cc | 30 using nanoapp_testing::sendFatalFailureToHost; 83 sendFatalFailureToHost( in setUp() 92 sendFatalFailureToHost("Failed chreSendEvent to begin test"); in setUp() 107 sendFatalFailureToHost("chreSensorConfigure() allowed passive with " in checkPassiveConfigure() 112 sendFatalFailureToHost("chreSensorConfigure() allowed passive with " in checkPassiveConfigure() 126 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 132 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 138 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 148 sendFatalFailureToHost("Sensor is required, but no default found."); in startTest() 157 sendFatalFailureToHost("GetSensorInfo() call failed"); in startTest() [all …]
|
D | timer_stress_test.cc | 26 using nanoapp_testing::sendFatalFailureToHost; 71 sendFatalFailureToHost("No timers available"); in startStages() 83 sendFatalFailureToHost("Insufficient timers available"); in startStages() 86 sendFatalFailureToHost("Unable to cancel timer"); in startStages() 90 sendFatalFailureToHost("Unable to set new timer after successful " in startStages() 106 sendFatalFailureToHost( in setUp() 119 sendFatalFailureToHost("Canceled timer fired:", &index); in handleStageEvent() 134 sendFatalFailureToHost("Unexpected event stage:", &index); in handleStageEvent() 141 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() 146 sendFatalFailureToHost("handleEvent got event from unexpected sender:", in handleEvent() [all …]
|
D | timer_cancel_test.cc | 28 using nanoapp_testing::sendFatalFailureToHost; 50 sendFatalFailureToHost("Unable to set timer:", &i); in startStages() 58 sendFatalFailureToHost("Unable to cancel timer:", &i); in startStages() 61 sendFatalFailureToHost("Claimed success in second cancel:", &i); in startStages() 86 sendFatalFailureToHost( in setUp() 94 sendFatalFailureToHost("Claimed success canceling timer we don't own"); in setUp() 106 sendFatalFailureToHost("Timer didn't cancel:", &stage->stage); in handleStageEvent() 115 sendFatalFailureToHost("Claimed success canceling one-shot after " in handleStageEvent() 120 sendFatalFailureToHost("Unable to cancel recurring timer:", in handleStageEvent() 125 sendFatalFailureToHost("Claimed success in second cancel:", in handleStageEvent() [all …]
|
D | heap_exhaustion_stability_test.cc | 30 using nanoapp_testing::sendFatalFailureToHost; 69 sendFatalFailureToHost( in exhaustHeap() 95 sendFatalFailureToHost( in exhaustHeap() 115 sendFatalFailureToHost( in setUp() 122 sendFatalFailureToHost("Unable to set initial timer"); in setUp() 174 sendFatalFailureToHost("chreSensorFindDefault failed"); in testSensor() 179 sendFatalFailureToHost("chreGetSensorInfo failed"); in testSensor() 182 sendFatalFailureToHost("Invalid sensor info provided"); in testSensor() 188 sendFatalFailureToHost("chreGetSensorSamplingStatus failed"); in testSensor() 217 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() [all …]
|
D | send_event_stress_test.cc | 25 using nanoapp_testing::sendFatalFailureToHost; 64 sendFatalFailureToHost( in setUp() 87 sendFatalFailureToHost("Insufficient events available"); in setUp() 101 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() 106 sendFatalFailureToHost("handleEvent got event from unexpected sender:", in handleEvent() 113 sendFatalFailureToHost("Too many events delivered"); in handleEvent() 126 sendFatalFailureToHost("bad event data:", &num); in sanityCheck() 143 sendFatalFailureToHost("completeCallback invoked while another nanoapp " in completeCallback() 151 sendFatalFailureToHost("completeCallbacks delivered before events"); in completeCallback() 157 sendFatalFailureToHost("completeCallback called too many times"); in completeCallback()
|
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()
|
D | version_sanity_test.cc | 25 using nanoapp_testing::sendFatalFailureToHost; 36 sendFatalFailureToHost( in setUp() 42 sendFatalFailureToHost("API version less than 1.0", &mApiVersion); in setUp() 45 sendFatalFailureToHost("API version has two LSB set", &mApiVersion); in setUp() 52 sendFatalFailureToHost("API and platform version mismatch", in setUp() 62 sendFatalFailureToHost("App built against different major version", in setUp() 68 sendFatalFailureToHost("Bogus platform ID"); in setUp()
|
D | timer_set_test.cc | 30 using nanoapp_testing::sendFatalFailureToHost; 64 sendFatalFailureToHost("Unable to set timer ", &mStage); in start() 67 sendFatalFailureToHost("chreGetTime() gave 0"); in start() 79 sendFatalFailureToHost("Timer triggered too soon ", &mStage); in processEvent() 83 sendFatalFailureToHost("Timer triggered over a second late ", &mStage); in processEvent() 88 sendFatalFailureToHost("One shot timer called multiple times ", in processEvent() 99 sendFatalFailureToHost("Could not cancel recurring timer", &mStage); in processEvent() 110 sendFatalFailureToHost("Insufficient heap"); in initStages() 140 sendFatalFailureToHost( in setUp() 161 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() [all …]
|
D | basic_audio_test.cc | 23 using nanoapp_testing::sendFatalFailureToHost; 100 sendFatalFailureToHost( in validateAudioSource() 104 sendFatalFailureToHost( in validateAudioSource() 108 sendFatalFailureToHost( in validateAudioSource() 112 sendFatalFailureToHost( in validateAudioSource() 116 sendFatalFailureToHost( in validateAudioSource() 153 sendFatalFailureToHost( in validateAudioSources() 168 sendFatalFailureToHost( in validateAudioSources() 173 sendFatalFailureToHost( in validateAudioSources() 189 sendFatalFailureToHost( in setUp() [all …]
|
D | event_between_apps_test.cc | 31 using nanoapp_testing::sendFatalFailureToHost; 46 sendFatalFailureToHost( in setUp() 63 sendFatalFailureToHost("Multiple kContinue messages sent"); in handleEvent() 86 sendFatalFailureToHost( in setUp() 106 sendFatalFailureToHost("Multiple kContinue messages from host."); in handleEvent() 114 sendFatalFailureToHost("Multiple messages from other nanoapp."); in handleEvent() 117 sendFatalFailureToHost("Received event from other nanoapp with " in handleEvent() 124 sendFatalFailureToHost("Got incorrect magic data: ", &magic); in handleEvent() 136 sendFatalFailureToHost("Got bad sender instance ID for nanoapp " in handleEvent()
|
D | test.cc | 25 using nanoapp_testing::sendFatalFailureToHost; 52 sendFatalFailureToHost("Test received unexpected event:", &localEvent); in unexpectedEvent() 73 sendFatalFailureToHost("Request cookie mismatch"); in validateChreAsyncResult() 78 sendFatalFailureToHost("Request requestType mismatch"); in validateChreAsyncResult() 92 sendFatalFailureToHost("Unexpected sender ID:", &senderInstanceId); in getMessageDataFromHostEvent() 98 sendFatalFailureToHost("NULL eventData given"); in getMessageDataFromHostEvent() 102 sendFatalFailureToHost("Unexpected reservedMessageType:", in getMessageDataFromHostEvent() 106 sendFatalFailureToHost("Unexpected messageSize:", &(data->messageSize)); in getMessageDataFromHostEvent()
|
D | get_time_test.cc | 28 using nanoapp_testing::sendFatalFailureToHost; 38 sendFatalFailureToHost( in setUp() 45 sendFatalFailureToHost("chreGetTime() gave 0 well after system boot."); in setUp() 59 sendFatalFailureToHost( in setUp() 67 sendFatalFailureToHost( in setUp() 83 sendFatalFailureToHost("Multiple kContinue messages sent"); in handleEvent()
|
D | wwan_cell_info_test.cc | 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() 150 nanoapp_testing::sendFatalFailureToHost("Received eventData is null"); in validateCellInfoResult() 152 nanoapp_testing::sendFatalFailureToHost( in validateCellInfoResult() 155 nanoapp_testing::sendFatalFailureToHost( in validateCellInfoResult() 162 nanoapp_testing::sendFatalFailureToHost( in validateCellInfoResult()
|
D | simple_heap_alloc_test.cc | 30 using nanoapp_testing::sendFatalFailureToHost; 81 sendFatalFailureToHost("Float math is wrong"); in testMaxAlignment() 98 sendFatalFailureToHost("Long long math is wrong"); in testMaxAlignment() 113 sendFatalFailureToHost( in setUp() 131 sendFatalFailureToHost("Failed first allocation of mPtrs[2]"); in setUp() 143 sendFatalFailureToHost("Failed to allocate index ", &i); in setUp() 147 sendFatalFailureToHost("Misaligned allocation at index ", &i); in setUp() 170 sendFatalFailureToHost("Multiple kContinue messages sent"); in handleEvent()
|
D | nanoapp_info.cc | 34 nanoapp_testing::sendFatalFailureToHost( in NanoappInfo() 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 | basic_wifi_test.cc | 24 using nanoapp_testing::sendFatalFailureToHost; 76 sendFatalFailureToHost("Failed to request to enable scan monitor."); in testConfigureScanMonitorAsync() 78 sendFatalFailureToHost("Failed to request to disable scan monitor."); in testConfigureScanMonitorAsync() 89 sendFatalFailureToHost("Failed to request for on-demand WiFi scan."); in testRequestScanAsync() 156 sendFatalFailureToHost( in validateCenterFreq() 170 sendFatalFailureToHost( in setUp() 182 sendFatalFailureToHost("Received null eventData"); in handleEvent() 200 sendFatalFailureToHost( in handleEvent() 295 sendFatalFailureToHost("Received out-of-order events"); in validateWifiScanEvent() 305 sendFatalFailureToHost("Received too many WiFi scan results"); in validateWifiScanEvent()
|
D | heap_alloc_stress_test.cc | 28 using nanoapp_testing::sendFatalFailureToHost; 50 sendFatalFailureToHost( in setUp() 79 sendFatalFailureToHost( in setUp() 102 sendFatalFailureToHost( in setUp() 111 sendFatalFailureToHost( in setUp()
|
D | nanoapp_info_events_test_observer.cc | 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()
|
D | basic_gnss_test.cc | 36 nanoapp_testing::sendFatalFailureToHost( in testLocationSessionAsync() 40 nanoapp_testing::sendFatalFailureToHost( in testLocationSessionAsync() 54 nanoapp_testing::sendFatalFailureToHost( 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()
|
/system/chre/apps/chqts/src/busy_startup/ |
D | busy_startup.cc | 56 using nanoapp_testing::sendFatalFailureToHost; 84 sendFatalFailureToHost("Event from self, bad event type:", &e); in checkSelfEvent() 87 sendFatalFailureToHost("Event from self, null data"); in checkSelfEvent() 90 sendFatalFailureToHost("Event from self, bad data:", eventData); in checkSelfEvent() 97 sendFatalFailureToHost("TimerEvent, null data"); in checkTimerEvent() 100 sendFatalFailureToHost("TimerEvent, bad data:", eventData); in checkTimerEvent() 109 sendFatalFailureToHost("sensorEvent, null data"); in checkSensorEvent() 112 sendFatalFailureToHost("sensorEvent for wrong handle", in checkSensorEvent() 116 sendFatalFailureToHost("sensorEvent has readingCount of 0"); in checkSensorEvent() 119 sendFatalFailureToHost("sensorEvent has non-zero reserved field"); in checkSensorEvent() [all …]
|
/system/chre/apps/chqts/src/echo_message/ |
D | echo_message.cc | 35 using nanoapp_testing::sendFatalFailureToHost; 48 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent() 54 sendFatalFailureToHost("Failed to allocate memory for message buffer"); in nanoappHandleEvent() 63 sendFatalFailureToHost("Failed to send message to host"); in nanoappHandleEvent()
|
/system/chre/apps/chqts/src/who_am_i/ |
D | who_am_i.cc | 31 using nanoapp_testing::sendFatalFailureToHost; 48 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent() 57 sendFatalFailureToHost("Failed to send message to host"); in nanoappHandleEvent()
|