/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 | 27 using nanoapp_testing::sendFatalFailureToHost; 82 sendFatalFailureToHost( in setUp() 91 sendFatalFailureToHost("Failed chreSendEvent to begin test"); in setUp() 106 sendFatalFailureToHost("chreSensorConfigure() allowed passive with " in checkPassiveConfigure() 111 sendFatalFailureToHost("chreSensorConfigure() allowed passive with " in checkPassiveConfigure() 125 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 131 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 137 sendFatalFailureToHost("chreSensorConfigure() failed passive with " in checkPassiveConfigure() 147 sendFatalFailureToHost("Sensor is required, but no default found."); in startTest() 156 sendFatalFailureToHost("GetSensorInfo() call failed"); in startTest() [all …]
|
D | timer_cancel_test.cc | 26 using nanoapp_testing::sendFatalFailureToHost; 49 sendFatalFailureToHost("Unable to set timer:", &i); in startStages() 57 sendFatalFailureToHost("Unable to cancel timer:", &i); in startStages() 60 sendFatalFailureToHost("Claimed success in second cancel:", &i); in startStages() 85 sendFatalFailureToHost( in setUp() 93 sendFatalFailureToHost("Claimed success canceling timer we don't own"); in setUp() 105 sendFatalFailureToHost("Timer didn't cancel:", &stage->stage); in handleStageEvent() 114 sendFatalFailureToHost("Claimed success canceling one-shot after " in handleStageEvent() 119 sendFatalFailureToHost("Unable to cancel recurring timer:", in handleStageEvent() 124 sendFatalFailureToHost("Claimed success in second cancel:", in handleStageEvent() [all …]
|
D | heap_exhaustion_stability_test.cc | 27 using nanoapp_testing::sendFatalFailureToHost; 68 sendFatalFailureToHost( in exhaustHeap() 94 sendFatalFailureToHost( in exhaustHeap() 114 sendFatalFailureToHost( in setUp() 121 sendFatalFailureToHost("Unable to set initial timer"); in setUp() 173 sendFatalFailureToHost("chreSensorFindDefault failed"); in testSensor() 178 sendFatalFailureToHost("chreGetSensorInfo failed"); in testSensor() 181 sendFatalFailureToHost("Invalid sensor info provided"); in testSensor() 187 sendFatalFailureToHost("chreGetSensorSamplingStatus failed"); in testSensor() 216 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() [all …]
|
D | timer_stress_test.cc | 26 using nanoapp_testing::sendFatalFailureToHost; 67 sendFatalFailureToHost("No timers available"); in startStages() 79 sendFatalFailureToHost("Insufficient timers available"); in startStages() 82 sendFatalFailureToHost("Unable to cancel timer"); in startStages() 86 sendFatalFailureToHost("Unable to set new timer after successful " in startStages() 104 sendFatalFailureToHost( in setUp() 117 sendFatalFailureToHost("Canceled timer fired:", &index); in handleStageEvent() 132 sendFatalFailureToHost("Unexpected event stage:", &index); in handleStageEvent() 139 sendFatalFailureToHost("handleEvent invoked while another nanoapp " in handleEvent() 144 sendFatalFailureToHost("handleEvent got event from unexpected sender:", 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 | timer_set_test.cc | 27 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 | 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 | 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 | get_time_test.cc | 28 using nanoapp_testing::sendFatalFailureToHost; 38 sendFatalFailureToHost( in setUp() 45 sendFatalFailureToHost("chreGetTime() gave 0 well after system boot."); in setUp() 55 sendFatalFailureToHost( in setUp() 63 sendFatalFailureToHost("chreGetTime() is not increasing."); in setUp() 78 sendFatalFailureToHost("Multiple kContinue messages sent"); in handleEvent()
|
D | test.cc | 24 using nanoapp_testing::sendFatalFailureToHost; 50 sendFatalFailureToHost("Test received unexpected event:", &localEvent); in unexpectedEvent() 58 sendFatalFailureToHost("Unexpected sender ID:", &senderInstanceId); in getMessageDataFromHostEvent() 64 sendFatalFailureToHost("NULL eventData given"); in getMessageDataFromHostEvent() 68 sendFatalFailureToHost("Unexpected reservedMessageType:", in getMessageDataFromHostEvent() 72 sendFatalFailureToHost("Unexpected messageSize:", &(data->messageSize)); in getMessageDataFromHostEvent()
|
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() 54 nanoapp_testing::sendFatalFailureToHost( in validate() 58 nanoapp_testing::sendFatalFailureToHost( in validate() 70 nanoapp_testing::sendFatalFailureToHost( in queryByAppId() 81 nanoapp_testing::sendFatalFailureToHost( in queryByInstanceId()
|
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 | 95 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 98 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 101 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 104 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory() 107 nanoapp_testing::sendFatalFailureToHost( in processStartStopHistory()
|
D | estimated_host_time_test.cc | 43 nanoapp_testing::sendFatalFailureToHost( in setUp() 74 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 80 nanoapp_testing::sendFatalFailureToHost( in handleEvent() 100 nanoapp_testing::sendFatalFailureToHost( in verifyIncreasingTime()
|
D | wwan_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 46 nanoapp_testing::sendFatalFailureToHost( in setUp() 50 nanoapp_testing::sendFatalFailureToHost( in setUp()
|
D | gnss_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 47 nanoapp_testing::sendFatalFailureToHost( in setUp() 51 nanoapp_testing::sendFatalFailureToHost( 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 | wifi_capabilities_test.cc | 31 nanoapp_testing::sendFatalFailureToHost( in setUp() 47 nanoapp_testing::sendFatalFailureToHost( in setUp() 51 nanoapp_testing::sendFatalFailureToHost( in setUp()
|
D | basic_sensor_tests.cc | 21 using nanoapp_testing::sendFatalFailureToHost; 28 sendFatalFailureToHost("Value beyond extreme. As int:", &i); in checkFloat() 38 sendFatalFailureToHost("timestampDelta was 0 for reading index ", in checkTimestampDelta() 104 sendFatalFailureToHost("padding0 is data is non-zero:", &padding); in confirmDataIsSane()
|
/system/chre/apps/chqts/src/busy_startup/ |
D | busy_startup.cc | 53 using nanoapp_testing::sendFatalFailureToHost; 76 sendFatalFailureToHost("markSuccess bad stage", &stage); in markSuccess() 87 sendFatalFailureToHost("Event from self, bad event type:", &e); in checkSelfEvent() 90 sendFatalFailureToHost("Event from self, null data"); in checkSelfEvent() 93 sendFatalFailureToHost("Event from self, bad data:", eventData); in checkSelfEvent() 100 sendFatalFailureToHost("TimerEvent, null data"); in checkTimerEvent() 103 sendFatalFailureToHost("TimerEvent, bad data:", eventData); in checkTimerEvent() 112 sendFatalFailureToHost("sensorEvent, null data"); in checkSensorEvent() 115 sendFatalFailureToHost("sensorEvent for wrong handle", in checkSensorEvent() 119 sendFatalFailureToHost("sensorEvent has readingCount of 0"); in checkSensorEvent() [all …]
|