Home
last modified time | relevance | path

Searched refs:EventType (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp37 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/
Devdev.rs44 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/
Devent_type.rs19 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()
Devent.rs17 use super::event_type::EventType;
32 pub event_type: EventType,
49 event_type: EventType, in new() argument
Dcore.rs17 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/
DResourceManagerServiceTestUtils.h73 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/
DTimeZoneProviderEvent.java44 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/
DSmartspaceTargetEvent.java87 @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/
DWalletServiceEvent.java53 public @interface EventType { annotation in WalletServiceEvent
56 @EventType
62 public WalletServiceEvent(@EventType int eventType) { in WalletServiceEvent()
94 @EventType
/frameworks/av/services/mediaresourcemanager/fuzzer/
Dmediaresourcemanager_fuzzer.cpp86 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/
DDrmMetrics_test.cpp33 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/
DNetworkEvent.java76 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()
DIpManagerEvent.java60 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/
DLnbCallback.java22 import android.media.tv.tuner.Lnb.EventType;
34 void onEvent(@EventType int lnbEventType); in onEvent()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h33 enum class EventType { enum
61 EventType eventType;
88 EventType eventType;
DInputTracer.cpp34 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/
Dandroid_media_MediaDrm.h87 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/
DEvent.java82 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()
DEventHistoryImpl.java157 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;
DEventHistory.java29 EventIndex getEventIndex(@Event.EventType int eventType); in getEventIndex()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java90 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/
DUsageEventsQuery.java45 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/
DDrmAPI.h79 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/
DIDrmClient.h40 DrmPlugin::EventType eventType,
/frameworks/proto_logging/stats/atoms/tv/
Dtv_extension_atoms.proto47 enum EventType { enum
80 optional EventType event_type = 1;

123