Home
last modified time | relevance | path

Searched refs:eventCallback (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java155 EventCallback eventCallback) { in ManagedApplicationService() argument
165 mEventCb = eventCallback; in ManagedApplicationService()
216 @Nullable EventCallback eventCallback) { in build() argument
218 settingsAction, binderChecker, isImportant, retryType, handler, eventCallback); in build()
/frameworks/av/media/libmedia/
DJetPlayer.cpp122 void JetPlayer::setEventCallback(jetevent_callback eventCallback) in setEventCallback() argument
125 mEventCallback = eventCallback; in setEventCallback()
/frameworks/base/media/java/android/media/
DAudioTrack.java3285 @NonNull StreamEventCallback eventCallback) { in registerStreamEventCallback() argument
3286 if (eventCallback == null) { in registerStreamEventCallback()
3299 if (seci.mStreamEventCb == eventCallback) { in registerStreamEventCallback()
3305 mStreamEventCbInfoList.add(new StreamEventCbInfo(executor, eventCallback)); in registerStreamEventCallback()
3314 public void unregisterStreamEventCallback(@NonNull StreamEventCallback eventCallback) { in unregisterStreamEventCallback() argument
3315 if (eventCallback == null) { in unregisterStreamEventCallback()
3324 if (seci.mStreamEventCb == eventCallback) { in unregisterStreamEventCallback()
/frameworks/base/media/apex/java/android/media/
DMediaPlayer2.java2999 @NonNull EventCallback eventCallback) {
3000 if (eventCallback == null) {
3009 if (cb.first == executor && cb.second == eventCallback) {
3014 mEventCallbackRecords.add(new Pair(executor, eventCallback));
3024 public void unregisterEventCallback(@NonNull EventCallback eventCallback) {
3027 if (cb.second == eventCallback) {
3819 @NonNull DrmEventCallback eventCallback) {
3820 if (eventCallback == null) {
3828 mDrmEventCallback = new Pair<Executor, DrmEventCallback>(executor, eventCallback);
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java335 private void invokeForAllObservers(NetworkManagementEventCallback eventCallback) { in invokeForAllObservers() argument
340 eventCallback.sendCallback(mObservers.getBroadcastItem(i)); in invokeForAllObservers()