/frameworks/av/media/libstagefright/tests/ |
D | BatteryChecker_test.cpp | 37 enum EventType { enum in android::BatteryCheckerTestHandler 95 using EventType = BatteryCheckerTestHandler::EventType; typedef in android::BatteryCheckerTest 156 {EventType::kWhatStart, 0ll}, in TEST_F() 157 {EventType::kWhatCheckpoint, 0ll, 0, 0, 0}, in TEST_F() 158 {EventType::kWhatActivity, 33333ll}, in TEST_F() 159 {EventType::kWhatCheckpoint, 0ll, 0, 1, 0}, // ON in TEST_F() 160 {EventType::kWhatActivity, 33333ll, 2*kWaitStatusChangeUs/33333ll}, in TEST_F() 161 {EventType::kWhatCheckpoint, 0ll, 0, 1, 0}, in TEST_F() 162 {EventType::kWhatCheckpoint, kWaitStatusChangeUs, 0, 1, 1}, // OFF in TEST_F() 168 {EventType::kWhatStart, 0ll}, in TEST_F() [all …]
|
/frameworks/native/cmds/evemu-record/ |
D | evdev.rs | 44 pub enum EventType { enum 59 impl EventType { impl 62 EventType::SYN => SYN_CNT, in code_count() 63 EventType::KEY => KEY_CNT, in code_count() 64 EventType::REL => REL_CNT, in code_count() 65 EventType::ABS => ABS_CNT, in code_count() 66 EventType::MSC => MSC_CNT, in code_count() 67 EventType::SW => SW_CNT, in code_count() 68 EventType::LED => LED_CNT, in code_count() 69 EventType::SND => SND_CNT, in code_count() [all …]
|
/frameworks/native/libs/debugstore/rust/src/ |
D | event_type.rs | 19 pub enum EventType { enum 30 impl fmt::Display for EventType { implementation 36 EventType::Invalid => "I", in fmt() 37 EventType::DurationStart => "S", in fmt() 38 EventType::DurationEnd => "E", in fmt() 39 EventType::Point => "P", in fmt()
|
D | event.rs | 17 use super::event_type::EventType; 32 pub event_type: EventType, 49 event_type: EventType, in new() argument
|
D | core.rs | 17 use super::event_type::EventType; 75 EventType::DurationStart, in begin() 91 EventType::Point, in record() 107 EventType::DurationEnd, in end()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerServiceTestUtils.h | 73 mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback() 75 enum EventType { enum 85 EventType type; 90 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo() 95 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo() 100 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo() 105 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost() 111 EventType lastEventType() { return mLastEvent.type; } in lastEventType() 189 using EventType = TestSystemCallback::EventType; variable
|
/frameworks/base/core/java/android/service/timezone/ |
D | TimeZoneProviderEvent.java | 44 public @interface EventType {} annotation in TimeZoneProviderEvent 50 public static final @EventType int EVENT_TYPE_PERMANENT_FAILURE = 1; 56 public static final @EventType int EVENT_TYPE_SUGGESTION = 2; 62 public static final @EventType int EVENT_TYPE_UNCERTAIN = 3; 64 private final @EventType int mType; 81 private TimeZoneProviderEvent(@EventType int type, in TimeZoneProviderEvent() 100 private static @EventType int validateEventType(@EventType int eventType) { in validateEventType() 137 public @EventType int getType() { in getType()
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceTargetEvent.java | 87 @EventType 92 @EventType int eventType) { in SmartspaceTargetEvent() 124 @EventType 163 public @interface EventType { annotation in SmartspaceTargetEvent 173 @EventType 183 public Builder(@EventType int eventType) { in Builder()
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | WalletServiceEvent.java | 53 public @interface EventType { annotation in WalletServiceEvent 56 @EventType 62 public WalletServiceEvent(@EventType int eventType) { in WalletServiceEvent() 94 @EventType
|
/frameworks/av/services/mediaresourcemanager/fuzzer/ |
D | mediaresourcemanager_fuzzer.cpp | 86 TestSystemCallback() : mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback() 88 enum EventType { enum 98 EventType type; 103 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo() 108 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo() 113 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo() 118 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost() 124 EventType lastEventType() { return mLastEvent.type; } in lastEventType()
|
/frameworks/av/drm/libmediadrm/tests/ |
D | DrmMetrics_test.cpp | 33 using ::android::hardware::drm::V1_0::EventType; 87 metrics.mEventCounter.Increment((uint32_t)EventType::PROVISION_REQUIRED); in TEST_F() 159 metrics.mEventCounter.Increment((uint32_t)EventType::PROVISION_REQUIRED); in TEST_F() 160 metrics.mEventCounter.Increment((uint32_t)EventType::KEY_NEEDED); in TEST_F() 161 metrics.mEventCounter.Increment((uint32_t)EventType::KEY_EXPIRED); in TEST_F() 162 metrics.mEventCounter.Increment((uint32_t)EventType::VENDOR_DEFINED); in TEST_F() 163 metrics.mEventCounter.Increment((uint32_t)EventType::SESSION_RECLAIMED); in TEST_F() 292 metrics.mEventCounter.Increment((uint32_t)EventType::PROVISION_REQUIRED); in TEST_F() 293 metrics.mEventCounter.Increment((uint32_t)EventType::KEY_NEEDED); in TEST_F() 294 metrics.mEventCounter.Increment((uint32_t)EventType::KEY_EXPIRED); in TEST_F() [all …]
|
/frameworks/base/core/java/android/net/metrics/ |
D | NetworkEvent.java | 76 public @interface EventType {} annotation in NetworkEvent 79 public final @EventType int eventType; 83 public NetworkEvent(@EventType int eventType, long durationMs) { in NetworkEvent() 88 public NetworkEvent(@EventType int eventType) { in NetworkEvent()
|
D | IpManagerEvent.java | 60 public @interface EventType {} annotation in IpManagerEvent 63 public final @EventType int eventType; 67 public IpManagerEvent(@EventType int eventType, long duration) { in IpManagerEvent()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | LnbCallback.java | 22 import android.media.tv.tuner.Lnb.EventType; 34 void onEvent(@EventType int lnbEventType); in onEvent()
|
/frameworks/native/services/inputflinger/dispatcher/trace/ |
D | InputTracingBackendInterface.h | 33 enum class EventType { enum 61 EventType eventType; 88 EventType eventType;
|
D | InputTracer.cpp | 34 TracedEvent createTracedEvent(const MotionEntry& e, EventType type) { in createTracedEvent() 58 TracedEvent createTracedEvent(const KeyEntry& e, EventType type) { in createTracedEvent() 108 eventState->events.emplace_back(createTracedEvent(motion, EventType::INBOUND)); in traceInboundEvent() 111 eventState->events.emplace_back(createTracedEvent(key, EventType::INBOUND)); in traceInboundEvent() 169 eventState->events.emplace_back(createTracedEvent(motion, EventType::SYNTHESIZED)); in traceDerivedEvent() 172 eventState->events.emplace_back(createTracedEvent(key, EventType::SYNTHESIZED)); in traceDerivedEvent()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.h | 87 virtual void notify(DrmPlugin::EventType eventType, int extra, 103 DrmPlugin::EventType eventType, 137 void notify(DrmPlugin::EventType, int extra, const ListenerArgs *args);
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | Event.java | 82 public @interface EventType {} annotation in Event 120 Event(long timestamp, @EventType int type) { in Event() 136 public @EventType int getType() { in getType() 226 Builder(long timestamp, @EventType int type) { in Builder()
|
D | EventHistoryImpl.java | 157 public synchronized EventIndex getEventIndex(@Event.EventType int eventType) { in getEventIndex() 166 for (@Event.EventType int eventType : eventTypes) { in getEventIndex() 319 @Event.EventType int eventType = data.keyAt(i); 342 @Event.EventType int eventType = 0;
|
D | EventHistory.java | 29 EventIndex getEventIndex(@Event.EventType int eventType); in getEventIndex()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionEvent.java | 90 public @interface EventType { annotation in SelectionEvent 125 private @EventType int mEventType; 144 @EventType int eventType, @EntityType String entityType, in SelectionEvent() 342 private static void checkActionType(@SelectionEvent.EventType int eventType) in checkActionType() 374 @EventType 384 public void setEventType(@EventType int eventType) { in setEventType() 622 public static boolean isTerminal(@EventType int eventType) { in isTerminal()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEventsQuery.java | 45 private final @Event.EventType int[] mEventTypes; 95 public @NonNull @Event.EventType int[] getEventTypes() { in getEventTypes() 206 public @NonNull Builder setEventTypes(@NonNull @Event.EventType int... eventTypes) { in setEventTypes()
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 79 enum EventType { enum 414 void sendEvent(EventType eventType, int extra, 435 virtual void sendEvent(DrmPlugin::EventType eventType, int extra, 447 inline void DrmPlugin::sendEvent(EventType eventType, int extra, in sendEvent()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | IDrmClient.h | 40 DrmPlugin::EventType eventType,
|
/frameworks/proto_logging/stats/atoms/tv/ |
D | tv_extension_atoms.proto | 47 enum EventType { enum 80 optional EventType event_type = 1;
|