/hardware/google/camera/common/hal/utils/profiling/ |
D | tracked_profiler.cc | 40 bool TrackedProfiler::ShouldDelete(EventType incoming) { in ShouldDelete() 41 if (incoming == EventType::kOpen && in ShouldDelete() 42 (state_ == EventType::kConfigureStream || state_ == EventType::kOpen)) { in ShouldDelete() 45 if (state_ == EventType::kFirstFrameEnd || state_ == EventType::kClose) { in ShouldDelete() 51 void TrackedProfiler::UpdateStateLocked(EventType incoming) { in UpdateStateLocked() 56 EventType incoming) { in AcceptNextState() 60 case (EventType::kNone): in AcceptNextState() 61 if (incoming == EventType::kOpen) { in AcceptNextState() 64 } else if (incoming == EventType::kFlush) { in AcceptNextState() 68 case (EventType::kOpen): in AcceptNextState() [all …]
|
D | profiler_util.h | 30 enum class EventType { enum 40 inline std::string EventTypeToString(EventType type) { in EventTypeToString() 42 case (EventType::kNone): in EventTypeToString() 44 case (EventType::kOpen): in EventTypeToString() 46 case (EventType::kConfigureStream): in EventTypeToString() 48 case (EventType::kFlush): in EventTypeToString() 50 case (EventType::kClose): in EventTypeToString() 52 case (EventType::kFirstFrameStart): in EventTypeToString() 54 case (EventType::kFirstFrameEnd): in EventTypeToString()
|
D | tracked_profiler.h | 39 std::string camera_id_string, EventType initial_state) in TrackedProfiler() 45 bool ShouldDelete(EventType incoming); 46 void UpdateStateLocked(EventType incoming); 48 AcceptNextState(EventType incoming); 57 EventType GetState() { in GetState() 62 EventType state_ = EventType::kNone;
|
D | aidl_profiler.cc | 62 EventType type, in MakeScopedProfiler() 72 if (type == EventType::kConfigureStream && fps_profiler_ == nullptr) { in MakeScopedProfiler() 100 if (type == EventType::kOpen || type == EventType::kFlush) { in MakeScopedProfiler() 196 latency_profiler_, camera_id_string, EventType::kNone)); in SetOrCreateTrackedProfiler() 202 std::move(profiler), camera_id_string, EventType::kNone)); in SetOrCreateTrackedProfiler() 291 EventType, std::unique_ptr<google::camera_common::Profiler>, in MakeScopedProfiler() argument
|
D | aidl_profiler.h | 53 EventType type,
|
/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 SensorsVtsEnvironmentBase<EventType>* getEnvironment() = 0; 189 virtual Return<Result> injectSensorData(const EventType& event) = 0; 203 const SensorEventsChecker<EventType>& checker) { in testStreamingOperation() 204 std::vector<EventType> events; in testStreamingOperation() 205 std::vector<EventType> sensorEvents; in testStreamingOperation() 230 [&type](const EventType& event) { return event.sensorType == type; }); in testStreamingOperation() 256 std::vector<EventType> events1, events2; [all …]
|
D | SensorsTestSharedMemory.h | 38 template <class SensorTypeVersion, class EventType> 48 auto m = new SensorsTestSharedMemory<SensorTypeVersion, EventType>(type, size); in create() 74 std::vector<EventType> parseEvents(int64_t lastCounter = -1, size_t offset = 0) const { 85 std::vector<EventType> events; 112 EventType event = {
|
/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/aidl/android/hardware/drm/ |
D | IDrmPluginListener.aidl | 19 import android.hardware.drm.EventType; 36 oneway void onEvent(in EventType eventType, in byte[] sessionId, in byte[] data); in onEvent()
|
D | EventType.aidl | 24 enum EventType { enum
|
/hardware/google/gfxstream/host/testlibs/ |
D | Event.h | 55 enum EventType enum 74 EventType type;
|
/hardware/interfaces/drm/1.0/default/ |
D | DrmPlugin.cpp | 328 Return<void> DrmPlugin::sendEvent(EventType eventType, in sendEvent() 355 void DrmPlugin::sendEvent(android::DrmPlugin::EventType legacyEventType, in sendEvent() 359 EventType eventType; in sendEvent() 363 eventType = EventType::PROVISION_REQUIRED; in sendEvent() 366 eventType = EventType::KEY_NEEDED; in sendEvent() 369 eventType = EventType::KEY_EXPIRED; in sendEvent() 372 eventType = EventType::VENDOR_DEFINED; in sendEvent() 375 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 | 60 using EventType = ::android::hardware::sensors::V2_1::Event; variable 62 using SensorsHidlTestBaseV2_X = SensorsHidlTestBase<SensorTypeVersion, EventType, SensorInfoType>; 66 class EventCallback : public IEventCallback<EventType> { 73 void onEvent(const EventType& event) override { in onEvent() 98 const std::vector<EventType> getEvents(int32_t sensorHandle) { in getEvents() 133 std::map<int32_t, std::vector<EventType>> mEventMap; 200 Return<Result> injectSensorData(const EventType& event) override { in injectSensorData() 218 SensorsVtsEnvironmentBase<EventType>* getEnvironment() override { return mEnvironment; } in getEnvironment() 237 std::shared_ptr<SensorsTestSharedMemory<SensorTypeVersion, EventType>> mem, 455 EventType additionalInfoEvent; in TEST_P() [all …]
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/ |
D | EventType.aidl | 36 enum EventType { enum
|
D | IDrmPluginListener.aidl | 37 …oneway void onEvent(in android.hardware.drm.EventType eventType, in byte[] sessionId, in byte[] da… in onEvent()
|
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/ |
D | EventType.aidl | 36 enum EventType { enum
|
D | IDrmPluginListener.aidl | 37 …oneway void onEvent(in android.hardware.drm.EventType eventType, in byte[] sessionId, in byte[] da… in onEvent()
|
/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/aidl/vts/include/ |
D | drm_hal_common.h | 172 EventType eventType; 186 ::aidl::android::hardware::drm::EventType in_eventType,
|
/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 {
|
/hardware/interfaces/drm/aidl/vts/ |
D | drm_hal_test.cpp | 28 using ::aidl::android::hardware::drm::EventType; 463 EXPECT_EQ(EventType::VENDOR_DEFINED, args.eventType); in TEST_P()
|