Home
last modified time | relevance | path

Searched refs:MediaObservableEvent (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/services/mediaresourcemanager/
DResourceObserverService.cpp33 using ::aidl::android::media::MediaObservableEvent;
36 static_assert(sizeof(MediaObservableEvent) == sizeof(uint64_t));
38 static std::vector<MediaObservableEvent> sEvents = {
39 MediaObservableEvent::kBusy,
40 MediaObservableEvent::kIdle,
278 MediaObservableEvent event, int uid, int pid, const ResourceList &resources) { in notifyObservers()
323 notifyObservers(MediaObservableEvent::kBusy, uid, pid, resources); in onResourceAdded()
328 notifyObservers(MediaObservableEvent::kIdle, uid, pid, resources); in onResourceRemoved()
DResourceObserverService.h34 using ::aidl::android::media::MediaObservableEvent;
88 void notifyObservers(MediaObservableEvent event,
DAndroid.bp30 "aidl/android/media/MediaObservableEvent.aidl",
/frameworks/av/services/mediaresourcemanager/aidl/android/media/
DMediaObservableFilter.aidl20 import android.media.MediaObservableEvent;
42 MediaObservableEvent eventFilter;
DIResourceObserver.aidl19 import android.media.MediaObservableEvent;
37 oneway void onStatusChanged(MediaObservableEvent event, in onStatusChanged()
DMediaObservableEvent.aidl29 enum MediaObservableEvent { enum
/frameworks/av/media/module/libmediatranscoding/
DTranscodingResourcePolicy.cpp33 using ::aidl::android::media::MediaObservableEvent;
48 MediaObservableEvent event, int32_t uid, int32_t pid, in onStatusChanged()
55 if (((uint64_t)event & (uint64_t)MediaObservableEvent::kIdle) != 0) { in onStatusChanged()
153 {MediaObservableType::kVideoSecureCodec, MediaObservableEvent::kIdle}, in registerSelf()
154 {MediaObservableType::kVideoNonSecureCodec, MediaObservableEvent::kIdle}}; in registerSelf()
/frameworks/av/services/mediaresourcemanager/aidl_api/resourceobserver_aidl_interface/current/android/media/
DMediaObservableEvent.aidl21 enum MediaObservableEvent { enum
DMediaObservableFilter.aidl22 android.media.MediaObservableEvent eventFilter;
DIResourceObserver.aidl21 …oneway void onStatusChanged(android.media.MediaObservableEvent event, int uid, int pid, in android… in onStatusChanged()
/frameworks/av/services/mediaresourcemanager/aidl_api/resourceobserver_aidl_interface/1/android/media/
DMediaObservableEvent.aidl37 enum MediaObservableEvent { enum
DMediaObservableFilter.aidl38 android.media.MediaObservableEvent eventFilter;
DIResourceObserver.aidl37 …oneway void onStatusChanged(android.media.MediaObservableEvent event, int uid, int pid, in android… in onStatusChanged()
/frameworks/av/services/mediaresourcemanager/test/
DResourceObserverService_test.cpp34 #define BUSY ::aidl::android::media::MediaObservableEvent::kBusy
35 #define IDLE ::aidl::android::media::MediaObservableEvent::kIdle
36 #define ALL ::aidl::android::media::MediaObservableEvent::kAll
153 Status onStatusChanged(MediaObservableEvent event, int32_t uid, int32_t pid, in onStatusChanged()
156 if (event == MediaObservableEvent::kBusy) { in onStatusChanged()
180 void registerObservers(MediaObservableEvent filter = ALL) { in registerObservers()