Home
last modified time | relevance | path

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

12

/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/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java126 if (event.mEventType != SelectionEvent.EventType.SELECTION_STARTED && mSessionId == null in logEvent()
134 case SelectionEvent.EventType.SELECTION_STARTED: in logEvent()
140 case SelectionEvent.EventType.SMART_SELECTION_SINGLE: // fall through in logEvent()
141 case SelectionEvent.EventType.SMART_SELECTION_MULTI: in logEvent()
147 case SelectionEvent.EventType.SELECTION_MODIFIED: // fall through in logEvent()
148 case SelectionEvent.EventType.AUTO_SELECTION: in logEvent()
230 case SelectionEvent.EventType.SELECTION_STARTED: in getLogType()
232 case SelectionEvent.EventType.SELECTION_MODIFIED: in getLogType()
234 case SelectionEvent.EventType.SMART_SELECTION_SINGLE: in getLogType()
236 case SelectionEvent.EventType.SMART_SELECTION_MULTI: in getLogType()
[all …]
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java28 import android.view.accessibility.AccessibilityEvent.EventType;
118 boolean accessibilityEnabled, @EventType int relevantEventTypes); in onAccessibilityEvent()
126 @EventType int getRelevantEventTypes(@EventType int relevantEventTypes); in getRelevantEventTypes()
225 public boolean isObservedEventType(@AccessibilityEvent.EventType int type) { in isObservedEventType()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp58 mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback()
60 enum EventType { enum
70 EventType type;
75 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo()
80 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo()
85 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo()
91 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost()
97 EventType lastEventType() { return mLastEvent.type; } in lastEventType()
154 using EventType = TestSystemCallback::EventType; typedef
648 EXPECT_EQ(EventType::VIDEO_RESET, mSystemCB->lastEventType()); in testBatteryStats()
[all …]
/frameworks/av/drm/libmediadrm/tests/
DDrmMetrics_test.cpp32 using ::android::hardware::drm::V1_0::EventType;
85 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F()
156 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F()
157 metrics.mEventCounter.Increment(EventType::KEY_NEEDED); in TEST_F()
158 metrics.mEventCounter.Increment(EventType::KEY_EXPIRED); in TEST_F()
159 metrics.mEventCounter.Increment(EventType::VENDOR_DEFINED); in TEST_F()
160 metrics.mEventCounter.Increment(EventType::SESSION_RECLAIMED); in TEST_F()
288 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F()
289 metrics.mEventCounter.Increment(EventType::KEY_NEEDED); in TEST_F()
290 metrics.mEventCounter.Increment(EventType::KEY_EXPIRED); in TEST_F()
[all …]
/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java74 public @interface EventType {} annotation in NetworkEvent
77 public final @EventType int eventType;
81 public NetworkEvent(@EventType int eventType, long durationMs) { in NetworkEvent()
86 public NetworkEvent(@EventType int eventType) { in NetworkEvent()
DIpManagerEvent.java58 public @interface EventType {} annotation in IpManagerEvent
61 public final @EventType int eventType;
65 public IpManagerEvent(@EventType int eventType, long duration) { in IpManagerEvent()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h32 virtual void notify(DrmPlugin::EventType eventType, int extra,
47 void notify(DrmPlugin::EventType, int extra, const Parcel *obj);
/frameworks/av/drm/libmediadrm/
DIDrmClient.cpp43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify()
73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
DDrmMetrics.cpp34 using ::android::hardware::drm::V1_0::EventType;
53 template <> std::string GetAttributeName<EventType>(EventType type) { in GetAttributeName()
308 [&](const EventType event_type, const int64_t value) { in GetSerializedMetrics()
DDrmHal.cpp309 drm->sendEvent(EventType::SESSION_RECLAIMED, in reclaimResource()
468 Return<void> DrmHal::sendEvent(EventType hEventType, in sendEvent()
482 DrmPlugin::EventType eventType; in sendEvent()
484 case EventType::PROVISION_REQUIRED: in sendEvent()
487 case EventType::KEY_NEEDED: in sendEvent()
490 case EventType::KEY_EXPIRED: in sendEvent()
493 case EventType::VENDOR_DEFINED: in sendEvent()
496 case EventType::SESSION_RECLAIMED: in sendEvent()
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java92 public @interface EventType { annotation in SelectionEvent
127 private @EventType int mEventType;
146 @EventType int eventType, @EntityType String entityType, in SelectionEvent()
344 private static void checkActionType(@SelectionEvent.EventType int eventType) in checkActionType()
376 @EventType
386 public void setEventType(@EventType int eventType) { in setEventType()
619 public static boolean isTerminal(@EventType int eventType) { in isTerminal()
/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.h32 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) = 0;
DDrmMetrics.h57 CounterMetric<::android::hardware::drm::V1_0::EventType> mEventCounter;
DDrmHal.h38 using drm::V1_0::EventType;
199 Return<void> sendEvent(EventType eventType,
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureEvent.java128 public @interface EventType{} annotation in ContentCaptureEvent
253 public @EventType int getType() { in getType()
469 public static String getTypeAsString(@EventType int type) { in getTypeAsString()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java726 public @interface EventType {} annotation in AccessibilityEvent
761 private @EventType int mEventType;
868 public @EventType int getEventType() { in getEventType()
970 public void setEventType(@EventType int eventType) { in setEventType()
DAccessibilityManager.java54 import android.view.accessibility.AccessibilityEvent.EventType;
300 boolean accessibilityEnabled, @EventType int relevantEventTypes); in onAccessibilityEvent()
308 @EventType int getRelevantEventTypes(@EventType int relevantEventTypes); in getRelevantEventTypes()
/frameworks/base/core/proto/android/stats/
Denums.proto22 enum EventType { enum
/frameworks/base/core/proto/android/stats/intelligence/
Denums.proto33 enum EventType { enum
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmPlugin.h39 using drm::V1_0::EventType;
300 EventType eventType, in sendEvent()
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto41 // Defined at ::android::hardware::drm::V1_0::EventType;
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp421 DrmPlugin::EventType eventType = (DrmPlugin::EventType)code; in setPropertyString()
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp74 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
91 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify()

12