/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/av/services/mediaresourcemanager/test/ |
D | ResourceManagerServiceTestUtils.h | 68 mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback() 70 enum EventType { enum 80 EventType type; 85 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo() 90 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo() 95 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo() 100 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost() 106 EventType lastEventType() { return mLastEvent.type; } in lastEventType() 163 using EventType = TestSystemCallback::EventType; variable
|
D | ResourceManagerService_test.cpp | 655 EXPECT_EQ(EventType::VIDEO_RESET, mSystemCB->lastEventType()); in testBatteryStats() 662 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() 673 EXPECT_EQ(EventEntry({EventType::VIDEO_ON, kTestUid2}), mSystemCB->lastEvent()); in testBatteryStats() 683 EXPECT_EQ(EventEntry({EventType::VIDEO_OFF, kTestUid1}), mSystemCB->lastEvent()); in testBatteryStats() 688 EXPECT_EQ(EventEntry({EventType::VIDEO_OFF, kTestUid2}), mSystemCB->lastEvent()); in testBatteryStats() 694 EXPECT_EQ(EventType::VIDEO_RESET, mSystemCB->lastEventType()); in testCpusetBoost() 701 EXPECT_EQ(EventType::CPUSET_ENABLE, mSystemCB->lastEventType()); in testCpusetBoost() 712 EXPECT_EQ(EventType::CPUSET_ENABLE, mSystemCB->lastEventType()); in testCpusetBoost() 726 EXPECT_EQ(EventType::CPUSET_DISABLE, mSystemCB->lastEventType()); in testCpusetBoost()
|
/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/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 28 import android.view.accessibility.AccessibilityEvent.EventType; 118 boolean accessibilityEnabled, @EventType int relevantEventTypes); in onAccessibilityEvent() 126 @EventType int getRelevantEventTypes(@EventType int relevantEventTypes); in getRelevantEventTypes() 228 public boolean isObservedEventType(@AccessibilityEvent.EventType int type) { in isObservedEventType()
|
/frameworks/av/services/mediaresourcemanager/fuzzer/ |
D | mediaresourcemanager_fuzzer.cpp | 85 TestSystemCallback() : mLastEvent({EventType::INVALID, 0}), mEventCount(0) {} in TestSystemCallback() 87 enum EventType { enum 97 EventType type; 102 mLastEvent = {EventType::VIDEO_ON, uid}; in noteStartVideo() 107 mLastEvent = {EventType::VIDEO_OFF, uid}; in noteStopVideo() 112 mLastEvent = {EventType::VIDEO_RESET, 0}; in noteResetVideo() 117 mLastEvent = {enable ? EventType::CPUSET_ENABLE : EventType::CPUSET_DISABLE, 0}; in requestCpusetBoost() 123 EventType lastEventType() { return mLastEvent.type; } in lastEventType()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | TimeZoneProviderEvent.java | 34 public @interface EventType {} annotation in TimeZoneProviderEvent 57 @EventType 66 private TimeZoneProviderEvent(@EventType int type, in TimeZoneProviderEvent() 95 public @EventType int getType() { in getType()
|
/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/av/drm/libmediadrm/tests/ |
D | DrmMetrics_test.cpp | 33 using ::android::hardware::drm::V1_0::EventType; 87 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F() 159 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F() 160 metrics.mEventCounter.Increment(EventType::KEY_NEEDED); in TEST_F() 161 metrics.mEventCounter.Increment(EventType::KEY_EXPIRED); in TEST_F() 162 metrics.mEventCounter.Increment(EventType::VENDOR_DEFINED); in TEST_F() 163 metrics.mEventCounter.Increment(EventType::SESSION_RECLAIMED); in TEST_F() 292 metrics.mEventCounter.Increment(EventType::PROVISION_REQUIRED); in TEST_F() 293 metrics.mEventCounter.Increment(EventType::KEY_NEEDED); in TEST_F() 294 metrics.mEventCounter.Increment(EventType::KEY_EXPIRED); in TEST_F() [all …]
|
/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/base/media/jni/ |
D | android_media_MediaDrm.h | 85 virtual void notify(DrmPlugin::EventType eventType, int extra, 101 DrmPlugin::EventType eventType, 135 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/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/ |
D | DrmMetricsConsumer.cpp | 28 using ::android::hardware::drm::V1_0::EventType; 47 template <> std::string GetAttributeName<EventType>(EventType type) { in GetAttributeName()
|
D | DrmMetrics.cpp | 32 using ::android::hardware::drm::V1_0::EventType; 135 [&](const EventType event_type, const int64_t value) { in GetSerializedMetrics()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | IDrmClient.h | 40 DrmPlugin::EventType eventType,
|
D | DrmMetrics.h | 58 CounterMetric<::android::hardware::drm::V1_0::EventType> mEventCounter;
|
/frameworks/proto_logging/stats/enums/stats/ |
D | enums.proto | 22 enum EventType { enum
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 746 public @interface EventType {} annotation in AccessibilityEvent 781 private @EventType int mEventType; 919 public @EventType int getEventType() { in getEventType() 1024 public void setEventType(@EventType int eventType) { in setEventType()
|
/frameworks/proto_logging/stats/enums/stats/intelligence/ |
D | enums.proto | 33 enum EventType { enum
|