Home
last modified time | relevance | path

Searched refs:senderInstanceId (Results 1 – 25 of 106) sorted by relevance

12345

/system/chre/apps/test/common/ping_test/src/
Dping_test.cc35 void handleMessageFromHost(uint32_t senderInstanceId, in handleMessageFromHost() argument
39 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleMessageFromHost()
40 LOGE("Incorrect sender instance id: %" PRIu32, senderInstanceId); in handleMessageFromHost()
71 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
75 senderInstanceId, in nanoappHandleEvent()
80 senderInstanceId, eventType); in nanoappHandleEvent()
/system/chre/apps/test/chqts/src/general_test/
Dheap_exhaustion_stability_test.cc209 void HeapExhaustionStabilityTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
219 handleTimer(senderInstanceId, eventData); in handleEvent()
221 handleSelfEvent(senderInstanceId, eventData); in handleEvent()
228 void HeapExhaustionStabilityTest::handleTimer(uint32_t senderInstanceId, in handleTimer() argument
230 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleTimer()
232 &senderInstanceId); in handleTimer()
252 void HeapExhaustionStabilityTest::handleSelfEvent(uint32_t senderInstanceId, in handleSelfEvent() argument
254 if (senderInstanceId != chreGetInstanceId()) { in handleSelfEvent()
256 &senderInstanceId); in handleSelfEvent()
Devent_between_apps_test.cc53 void EventBetweenApps0::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
57 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent()
90 void EventBetweenApps1::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
94 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent()
109 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
113 mReceivedInstanceId = senderInstanceId; in handleEvent()
Dtest.cc42 void Test::testHandleEvent(uint32_t senderInstanceId, uint16_t eventType, in testHandleEvent() argument
45 handleEvent(senderInstanceId, eventType, eventData); in testHandleEvent()
87 uint32_t senderInstanceId, uint16_t eventType, const void *eventData, in getMessageDataFromHostEvent() argument
90 if (senderInstanceId != CHRE_INSTANCE_ID) { in getMessageDataFromHostEvent()
91 sendFatalFailureToHost("Unexpected sender ID:", &senderInstanceId); in getMessageDataFromHostEvent()
Dnanoapp_info_by_app_id_test.cc36 void NanoappInfoByAppIdTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
39 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
42 senderInstanceId, eventType, eventData, in handleEvent()
Dnanoapp_info_by_instance_id_test.cc37 void NanoappInfoByInstanceIdTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
40 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
43 senderInstanceId, eventType, eventData, in handleEvent()
Dheap_exhaustion_stability_test.h39 void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
63 void handleTimer(uint32_t senderInstanceId, const void *eventData);
64 void handleSelfEvent(uint32_t senderInstanceId, const void *eventData);
Dnanoapp_info_events_test_observer.cc33 void NanoAppInfoEventsTestObserver::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
36 if ((senderInstanceId == CHRE_INSTANCE_ID) && in handleEvent()
46 } else if ((senderInstanceId == CHRE_INSTANCE_ID) && in handleEvent()
51 senderInstanceId, eventType, eventData, in handleEvent()
Dtest.h34 void testHandleEvent(uint32_t senderInstanceId, uint16_t eventType,
110 uint32_t senderInstanceId, uint16_t eventType, const void *eventData,
114 virtual void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
Dapp.cc105 void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
149 void App::handleEvent(uint32_t senderInstanceId, uint16_t eventType, in handleEvent() argument
164 mCurrentTest->testHandleEvent(senderInstanceId, eventType, eventData); in handleEvent()
175 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
177 &senderInstanceId); in handleEvent()
261 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
263 gApp.handleEvent(senderInstanceId, eventType, eventData); in nanoappHandleEvent()
Dsend_event_stress_test.cc94 void SendEventStressTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
102 if (senderInstanceId != mInstanceId) { in handleEvent()
104 &senderInstanceId); in handleEvent()
Dtimer_stress_test.cc135 void TimerStressTest::handleEvent(uint32_t senderInstanceId, uint16_t eventType, in handleEvent() argument
142 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
144 &senderInstanceId); in handleEvent()
/system/chre/apps/test/common/permission_test/src/
Dpermission_test.cc120 void handleMessageFromHost(uint32_t senderInstanceId, in handleMessageFromHost() argument
124 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleMessageFromHost()
125 LOGE("Incorrect sender instance id: %" PRIu32, senderInstanceId); in handleMessageFromHost()
142 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
146 senderInstanceId, in nanoappHandleEvent()
151 senderInstanceId, eventType); in nanoappHandleEvent()
/system/chre/apps/test/chqts/src/who_am_i/
Dwho_am_i.cc41 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
46 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
47 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/test/chqts/src/echo_message/
Decho_message.cc41 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
46 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
47 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/test/common/chre_audio_concurrency_test/src/
Dchre_audio_concurrency_test_manager.cc110 void Manager::handleMessageFromHost(uint32_t senderInstanceId, in handleMessageFromHost() argument
114 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleMessageFromHost()
115 LOGE("Incorrect sender instance id: %" PRIu32, senderInstanceId); in handleMessageFromHost()
249 void Manager::handleEvent(uint32_t senderInstanceId, uint16_t eventType, in handleEvent() argument
253 senderInstanceId, in handleEvent()
255 } else if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
260 senderInstanceId, eventType); in handleEvent()
Dchre_audio_concurrency_test.cc24 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
27 senderInstanceId, eventType, eventData); in nanoappHandleEvent()
/system/chre/apps/message_world/
Dmessage_world.cc58 void nanoappHandleEvent(uint32_t senderInstanceId, uint16_t eventType, in nanoappHandleEvent() argument
65 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
67 senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test.cc24 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
26 stress_test::ManagerSingleton::get()->handleEvent(senderInstanceId, eventType, in nanoappHandleEvent()
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test.cc24 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
26 settings_test::ManagerSingleton::get()->handleEvent(senderInstanceId, in nanoappHandleEvent()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi.cc23 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
26 senderInstanceId, eventType, eventData); in nanoappHandleEvent()
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor.cc35 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
38 senderInstanceId, eventType, eventData); in nanoappHandleEvent()
/system/chre/apps/hello_world/
Dhello_world.cc39 void nanoappHandleEvent(uint32_t senderInstanceId, uint16_t eventType, in nanoappHandleEvent() argument
43 eventType, senderInstanceId, chreGetTime()); in nanoappHandleEvent()
/system/chre/apps/test/chqts/src/busy_startup/
Dbusy_startup.cc134 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
141 if (senderInstanceId == gInstanceId) { in nanoappHandleEvent()
144 } else if (senderInstanceId == CHRE_INSTANCE_ID) { in nanoappHandleEvent()
158 sendFatalFailureToHost("Unexpected senderInstanceId", &senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/debug_dump_world/
Ddebug_dump_world.cc62 void nanoappHandleEvent(uint32_t senderInstanceId, uint16_t eventType, in nanoappHandleEvent() argument
72 eventType, senderInstanceId); in nanoappHandleEvent()

12345