Home
last modified time | relevance | path

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

1234

/system/chre/apps/chqts/src/general_test/
Dheap_exhaustion_stability_test.cc213 void HeapExhaustionStabilityTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
223 handleTimer(senderInstanceId, eventData); in handleEvent()
225 handleSelfEvent(senderInstanceId, eventData); in handleEvent()
232 void HeapExhaustionStabilityTest::handleTimer(uint32_t senderInstanceId, in handleTimer() argument
234 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleTimer()
236 &senderInstanceId); in handleTimer()
256 void HeapExhaustionStabilityTest::handleSelfEvent(uint32_t senderInstanceId, in handleSelfEvent() argument
258 if (senderInstanceId != chreGetInstanceId()) { in handleSelfEvent()
260 &senderInstanceId); in handleSelfEvent()
Devent_between_apps_test.cc55 void EventBetweenApps0::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
59 getMessageDataFromHostEvent(senderInstanceId, eventType, eventData, in handleEvent()
95 void EventBetweenApps1::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
99 getMessageDataFromHostEvent(senderInstanceId, eventType, eventData, in handleEvent()
116 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
120 mReceivedInstanceId = senderInstanceId; in handleEvent()
Dtest.cc43 void Test::testHandleEvent(uint32_t senderInstanceId, uint16_t eventType, in testHandleEvent() argument
46 handleEvent(senderInstanceId, eventType, eventData); in testHandleEvent()
87 const void *Test::getMessageDataFromHostEvent(uint32_t senderInstanceId, in getMessageDataFromHostEvent() argument
91 if (senderInstanceId != CHRE_INSTANCE_ID) { in getMessageDataFromHostEvent()
92 sendFatalFailureToHost("Unexpected sender ID:", &senderInstanceId); in getMessageDataFromHostEvent()
Dnanoapp_info_by_instance_id_test.cc38 void NanoappInfoByInstanceIdTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
41 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
44 getMessageDataFromHostEvent(senderInstanceId, eventType, in handleEvent()
Dnanoapp_info_by_app_id_test.cc38 void NanoappInfoByAppIdTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
41 if (senderInstanceId == CHRE_INSTANCE_ID) { in handleEvent()
44 getMessageDataFromHostEvent(senderInstanceId, eventType, 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.cc34 void NanoAppInfoEventsTestObserver::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
37 if ((senderInstanceId == CHRE_INSTANCE_ID) in handleEvent()
49 } else if ((senderInstanceId == CHRE_INSTANCE_ID) in handleEvent()
54 senderInstanceId, eventType, eventData, in handleEvent()
Dtest.h34 void testHandleEvent(uint32_t senderInstanceId, uint16_t eventType,
106 uint32_t senderInstanceId, uint16_t eventType, const void* eventData,
110 virtual void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
Dapp.cc102 void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
148 void App::handleEvent(uint32_t senderInstanceId, uint16_t eventType, in handleEvent() argument
163 mCurrentTest->testHandleEvent(senderInstanceId, eventType, eventData); in handleEvent()
175 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
178 &senderInstanceId); in handleEvent()
262 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
265 gApp.handleEvent(senderInstanceId, eventType, eventData); in nanoappHandleEvent()
Dsend_event_stress_test.cc97 void SendEventStressTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
105 if (senderInstanceId != mInstanceId) { in handleEvent()
107 &senderInstanceId); in handleEvent()
Dtimer_stress_test.cc138 void TimerStressTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
145 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
147 &senderInstanceId); in handleEvent()
Devent_between_apps_test.h49 void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
76 void handleEvent(uint32_t senderInstanceId, uint16_t eventType,
Dtimer_cancel_test.cc131 void TimerCancelTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
138 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
140 &senderInstanceId); in handleEvent()
Dget_time_test.cc77 void GetTimeTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
80 getMessageDataFromHostEvent(senderInstanceId, eventType, eventData, in handleEvent()
Destimated_host_time_test.cc48 void EstimatedHostTimeTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
62 getMessageDataFromHostEvent(senderInstanceId, eventType, in handleEvent()
Dwwan_cell_info_test.cc62 void WwanCellInfoTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
66 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
69 &senderInstanceId); in handleEvent()
Dsend_event_test.cc190 void SendEventTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
197 if (senderInstanceId != chreGetInstanceId()) { in handleEvent()
199 &senderInstanceId); in handleEvent()
Dtimer_set_test.cc157 void TimerSetTest::handleEvent(uint32_t senderInstanceId, in handleEvent() argument
165 if (senderInstanceId != CHRE_INSTANCE_ID) { in handleEvent()
167 &senderInstanceId); in handleEvent()
/system/chre/apps/chqts/src/who_am_i/
Dwho_am_i.cc41 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
47 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
48 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/chqts/src/echo_message/
Decho_message.cc41 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
47 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
48 sendFatalFailureToHost("Invalid sender instance ID:", &senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/message_world/
Dmessage_world.cc57 void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
65 if (senderInstanceId != CHRE_INSTANCE_ID) { in nanoappHandleEvent()
67 senderInstanceId); in nanoappHandleEvent()
/system/chre/apps/hello_world/
Dhello_world.cc38 void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
42 "time %" PRIu64, eventType, senderInstanceId, chreGetTime()); in nanoappHandleEvent()
/system/chre/apps/chqts/src/busy_startup/
Dbusy_startup.cc134 extern "C" void nanoappHandleEvent(uint32_t senderInstanceId, in nanoappHandleEvent() argument
142 if (senderInstanceId == gInstanceId) { in nanoappHandleEvent()
145 } else if (senderInstanceId == CHRE_INSTANCE_ID) { in nanoappHandleEvent()
159 &senderInstanceId); in nanoappHandleEvent()
/system/chre/core/include/chre/core/
Devent.h43 uint32_t senderInstanceId = kSystemInstanceId,
66 const uint32_t senderInstanceId; variable
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc62 void nanoappHandleEventCompat(uint32_t senderInstanceId, uint16_t eventType, in nanoappHandleEventCompat() argument
68 nanoappHandleEvent(senderInstanceId, eventType, &event); in nanoappHandleEventCompat()
70 nanoappHandleEvent(senderInstanceId, eventType, eventData); in nanoappHandleEventCompat()

1234