/system/chre/apps/chqts/src/general_test/ |
basic_sensor_tests.cc | 43 static void sanityCheckThreeAxisData(const void *eventData, float extremeLow, 45 auto data = static_cast<const chreSensorThreeAxisData*>(eventData); 54 static void sanityCheckFloatData(const void *eventData, float extremeLow, 56 auto data = static_cast<const chreSensorFloatData*>(eventData); 63 void BasicAccelerometerTest::confirmDataIsSane(const void* eventData) { 65 sanityCheckThreeAxisData(eventData, -kExtreme, kExtreme); 68 void BasicInstantMotionDetectTest::confirmDataIsSane(const void* eventData) { 72 void BasicStationaryDetectTest::confirmDataIsSane(const void* eventData) { 76 void BasicGyroscopeTest::confirmDataIsSane(const void* eventData) { 78 sanityCheckThreeAxisData(eventData, -kExtreme, kExtreme) [all...] |
basic_sensor_test_base.h | 41 const void* eventData) override; 87 virtual void confirmDataIsSane(const void* eventData) = 0; 118 const chreSensorThreeAxisData* eventData); 120 const chreSensorSamplingStatusEvent* eventData); 121 void handleSensorDataEvent(const void* eventData);
|
heap_exhaustion_stability_test.h | 40 const void* eventData) override; 63 void handleTimer(uint32_t senderInstanceId, const void *eventData); 64 void handleSelfEvent(uint32_t senderInstanceId, const void *eventData);
|
test.h | 35 const void *eventData); 60 * o 'eventData'->reservedMessageType != expectedMessageType 61 * o 'eventData'->messageSize != expectedMessageSize 65 * @param eventData From handleEvent() 67 * when 'eventData' is seen as a chreMessageFromHostData. 69 * when 'eventData' is seen as a chreMessageFromHostData. 70 * @returns 'eventData'->message, assuming all the sanity checks pass. 73 uint32_t senderInstanceId, uint16_t eventType, const void* eventData, 78 const void* eventData) = 0;
|
basic_sensor_tests.h | 38 void confirmDataIsSane(const void* eventData) override; 53 void confirmDataIsSane(const void* eventData) override; 68 void confirmDataIsSane(const void* eventData) override; 83 void confirmDataIsSane(const void* eventData) override; 98 void confirmDataIsSane(const void* eventData) override; 113 void confirmDataIsSane(const void* eventData) override; 128 void confirmDataIsSane(const void* eventData) override; 143 void confirmDataIsSane(const void* eventData) override;
|
wwan_cell_info_test.h | 34 const void *eventData) override; 40 void validateCellInfoResult(const void *eventData) const;
|
test.cc | 42 const void *eventData) { 44 handleEvent(senderInstanceId, eventType, eventData); 54 uint16_t eventType, const void* eventData, 63 if (eventData == nullptr) { 64 sendFatalFailureToHost("NULL eventData given"); 66 auto data = static_cast<const chreMessageFromHostData*>(eventData);
|
basic_sensor_test_base.cc | 330 uint16_t eventType, const chreSensorThreeAxisData *eventData) { 345 sanityCheckHeader(&eventData->header, false, getEventDuration(eventData)); 347 // TODO: Sanity check the eventData. This check is out-of-scope for 352 const chreSensorSamplingStatusEvent* eventData) { 353 if (eventData->sensorHandle != mSensorHandle) { 355 &eventData->sensorHandle); 365 if (mDoneWithPassiveConfigure && !eventData->status.enabled) { 369 if ((mNewStatus.interval != eventData->status.interval) || 370 (mNewStatus.latency != eventData->status.latency)) [all...] |
event_between_apps_test.h | 50 const void* eventData) override; 77 const void* eventData) override;
|
estimated_host_time_test.h | 45 const void *eventData) override;
|
get_time_test.h | 44 const void* eventData) override;
|
gnss_capabilities_test.h | 39 const void *eventData) override;
|
heap_alloc_stress_test.h | 38 const void* eventData) override;
|
hello_world_test.h | 37 const void* eventData) override;
|
logging_sanity_test.h | 41 const void* eventData) override;
|
nanoapp_info_by_app_id_test.h | 37 const void *eventData) override;
|
nanoapp_info_by_instance_id_test.h | 37 const void *eventData) override;
|
/system/chre/util/include/chre/util/ |
entry_points.h | 29 const void *eventData);
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
EventData.java | 44 public class EventData implements Serializable { 48 private Map<String, Object> eventData = new HashMap<String, Object>(); 57 public EventData() { 66 public EventData(Map<String, Object> map) { 67 eventData.putAll(map); 78 public EventData(String xml) { 82 this.eventData = (Map<String, Object>) decoder.readObject(); 89 * Serialize all the EventData items into an XML representation. 91 * @return an XML String containing all the EventDAta items. 94 return toXML(eventData); [all...] |
/system/chre/apps/chqts/src/busy_startup/ |
busy_startup.cc | 84 static void checkSelfEvent(uint16_t eventType, const uint32_t *eventData) { 89 if (eventData == nullptr) { 92 if (*eventData != gInstanceId) { 93 sendFatalFailureToHost("Event from self, bad data:", eventData); 98 static void checkTimerEvent(const uint32_t *eventData) { 99 if (eventData == nullptr) { 102 if (*eventData != gInstanceId) { 103 sendFatalFailureToHost("TimerEvent, bad data:", eventData); 108 static void checkSensorEvent(const void *eventData) { 110 static_cast<const chreSensorDataHeader *>(eventData); [all...] |
/device/google/contexthub/inc/chre/ |
nanoapp.h | 56 * @param eventData The associated data, if any, for this specific type of 57 * event. From the nanoapp's perspective, this eventData's lifetime ends 66 const void* eventData);
|
/system/chre/apps/timer_world/ |
timer_world.cc | 46 void handleTimerEvent(const void *eventData) { 47 const uint32_t *timerHandle = static_cast<const uint32_t *>(eventData); 61 const void *eventData) { 64 handleTimerEvent(eventData);
|
/system/chre/chre_api/include/chre_api/chre/ |
nanoapp.h | 57 * @param eventData The associated data, if any, for this specific type of 58 * event. From the nanoapp's perspective, this eventData's lifetime ends 67 const void *eventData);
|
/system/chre/chre_api/legacy/v1_0/chre/ |
nanoapp.h | 56 * @param eventData The associated data, if any, for this specific type of 57 * event. From the nanoapp's perspective, this eventData's lifetime ends 66 const void* eventData);
|
/system/chre/core/include/chre/core/ |
event.h | 41 Event(uint16_t eventType, void *eventData, 61 void * const eventData;
|