Searched refs:EventType (Results 1 – 11 of 11) sorted by relevance
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorEventsChecker.h | 22 template <class EventType> 25 virtual bool check(const std::vector<EventType>& events, std::string* out) const = 0; 29 template <class EventType> 30 class NullChecker : public SensorEventsChecker<EventType> { 32 virtual bool check(const std::vector<EventType>&, std::string*) const { return true; } in check() argument 35 template <class EventType> 36 class SensorEventPerEventChecker : public SensorEventsChecker<EventType> { 38 virtual bool checkEvent(const EventType& event, std::string* out) const = 0; 39 virtual bool check(const std::vector<EventType>& events, std::string* out) const { in check() 49 template <class EventType> [all …]
|
D | SensorsHidlTestBase.h | 157 template <class SensorTypeVersion, class EventType, class SensorInfoType> 163 : mAccelNormChecker(Vec3NormChecker<EventType>::byNominal(GRAVITY_EARTH, 1.0f /*m/s^2*/)), in SensorsHidlTestBase() 164 mGyroNormChecker(Vec3NormChecker<EventType>::byNominal(0.f, 0.1f /*rad/s*/)) {} in SensorsHidlTestBase() 166 virtual SensorsHidlEnvironmentBase<EventType>* getEnvironment() = 0; 189 virtual Return<Result> injectSensorData(const EventType& event) = 0; 201 std::vector<EventType> collectEvents(useconds_t timeLimitUs, size_t nEventLimit, 208 std::vector<EventType> collectEvents(useconds_t timeLimitUs, size_t nEventLimit, 209 SensorsHidlEnvironmentBase<EventType>* environment, 212 std::vector<EventType> events; 246 const SensorEventsChecker<EventType>& checker) { in testStreamingOperation() [all …]
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 58 std::chrono::seconds(5), NullChecker<EventType>()); in TEST_P() 64 std::chrono::seconds(5), NullChecker<EventType>()); in TEST_P() 70 std::chrono::seconds(5), NullChecker<EventType>()); in TEST_P() 145 RateLevel::NORMAL, NullChecker<EventType>()); in TEST_P() 151 RateLevel::FAST, NullChecker<EventType>()); in TEST_P() 157 RateLevel::VERY_FAST, NullChecker<EventType>()); in TEST_P() 199 RateLevel::NORMAL, NullChecker<EventType>()); in TEST_P() 205 RateLevel::FAST, NullChecker<EventType>()); in TEST_P() 211 RateLevel::VERY_FAST, NullChecker<EventType>()); in TEST_P() 240 std::shared_ptr<SensorsTestSharedMemory<SensorTypeVersion, EventType>> mem( in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/default/ |
D | DrmPlugin.cpp | 329 Return<void> DrmPlugin::sendEvent(EventType eventType, in sendEvent() 356 void DrmPlugin::sendEvent(android::DrmPlugin::EventType legacyEventType, in sendEvent() 360 EventType eventType; in sendEvent() 364 eventType = EventType::PROVISION_REQUIRED; in sendEvent() 367 eventType = EventType::KEY_NEEDED; in sendEvent() 370 eventType = EventType::KEY_EXPIRED; in sendEvent() 373 eventType = EventType::VENDOR_DEFINED; in sendEvent() 376 eventType = EventType::SESSION_RECLAIMED; in sendEvent()
|
D | DrmPlugin.h | 31 using ::android::hardware::drm::V1_0::EventType; 131 Return<void> sendEvent(EventType eventType, 144 virtual void sendEvent(android::DrmPlugin::EventType eventType, int extra,
|
/hardware/interfaces/sensors/common/vts/2_X/ |
D | VtsHalSensorsV2_XTargetTest.h | 62 using EventType = ::android::hardware::sensors::V2_1::Event; variable 64 using SensorsHidlTestBaseV2_X = SensorsHidlTestBase<SensorTypeVersion, EventType, SensorInfoType>; 68 class EventCallback : public IEventCallback<EventType> { 75 void onEvent(const EventType& event) override { in onEvent() 100 const std::vector<EventType> getEvents(int32_t sensorHandle) { in getEvents() 134 std::map<int32_t, std::vector<EventType>> mEventMap; 201 Return<Result> injectSensorData(const EventType& event) override { in injectSensorData() 219 SensorsHidlEnvironmentBase<EventType>* getEnvironment() override { return mEnvironment; } in getEnvironment() 238 std::shared_ptr<SensorsTestSharedMemory<SensorTypeVersion, EventType>> mem, 456 EventType additionalInfoEvent; in TEST_P() [all …]
|
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/ |
D | drm_hal_common.h | 42 using ::android::hardware::drm::V1_0::EventType; 173 virtual Return<void> sendEvent(EventType, const hidl_vec<uint8_t>&, in sendEvent() argument
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_vendor_test.cpp | 878 EventType eventType; 899 virtual Return<void> sendEvent(EventType eventType, const hidl_vec<uint8_t>& sessionId, in sendEvent() 940 EventType eventTypes[] = {EventType::PROVISION_REQUIRED, in TEST_P() 941 EventType::KEY_NEEDED, in TEST_P() 942 EventType::KEY_EXPIRED, in TEST_P() 943 EventType::VENDOR_DEFINED, in TEST_P() 944 EventType::SESSION_RECLAIMED}; in TEST_P() 1014 drmPlugin->sendEvent(EventType::PROVISION_REQUIRED, sessionId, data); in TEST_P()
|
/hardware/interfaces/drm/1.0/ |
D | IDrmPluginListener.hal | 39 oneway sendEvent(EventType eventType, SessionId sessionId,
|
D | types.hal | 107 * EventType enumerates the events that can be delivered by sendEvent 109 enum EventType : uint32_t {
|
D | IDrmPlugin.hal | 515 sendEvent(EventType eventType, SessionId sessionId, vec<uint8_t> data);
|