Home
last modified time | relevance | path

Searched refs:mStatusListener (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DOverrideRequestControllerTest.java57 private TestStatusChangeListener mStatusListener; field in OverrideRequestControllerTest
62 mStatusListener = new TestStatusChangeListener(); in setup()
63 mController = new OverrideRequestController(mStatusListener); in setup()
70 assertNull(mStatusListener.getLastStatus(request)); in addRequest()
73 assertEquals(mStatusListener.getLastStatus(request).intValue(), STATUS_ACTIVE); in addRequest()
80 assertNull(mStatusListener.getLastStatus(firstRequest)); in addRequest_cancelExistingRequestThroughNewRequest()
83 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelExistingRequestThroughNewRequest()
87 assertNull(mStatusListener.getLastStatus(secondRequest)); in addRequest_cancelExistingRequestThroughNewRequest()
90 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelExistingRequestThroughNewRequest()
91 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_CANCELED); in addRequest_cancelExistingRequestThroughNewRequest()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java90 private final AudioPolicyStatusListener mStatusListener; field in AudioPolicy
180 mStatusListener = sl; in AudioPolicy()
196 private AudioPolicyStatusListener mStatusListener; field in AudioPolicy.Builder
289 mStatusListener = l; in setAudioPolicyStatusListener()
336 if (mStatusListener != null) { in build()
347 mFocusListener, mStatusListener, mIsFocusPolicy, mIsTestFocusPolicy, in build()
1132 if (mStatusListener != null) { in onPolicyStatusChange()
1133 mStatusListener.onStatusChange(); in onPolicyStatusChange()
1236 if (mStatusListener != null) { in handleMessage()
1237 mStatusListener.onMixStateUpdate((AudioMix) msg.obj); in handleMessage()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp390 mStatusListener = statusListener; in onCreate()
800 mStatusListener->reportStatus(DATA_LOADER_UNRECOVERABLE); in receiver()
810 mStatusListener->reportStatus(DATA_LOADER_UNRECOVERABLE); in receiver()
927 android::dataloader::StatusListenerPtr mStatusListener = nullptr; member in android::__anon5cfad2040111::PMSCDataLoader
/frameworks/base/services/incremental/
DIncrementalService.h301 DataLoaderStatusListener mStatusListener; variable
DIncrementalService.cpp2543 mStatusListener(std::move(statusListener)), in DataLoaderStub()
2585 mStatusListener = {}; in cleanupResources()
2879 listener = mStatusListener; in compareAndSetCurrentStatus()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24472 Landroid/media/audiopolicy/AudioPolicy$Builder;->mStatusListener:Landroid/media/audiopolicy/AudioPo…
24500 Landroid/media/audiopolicy/AudioPolicy;->mStatusListener:Landroid/media/audiopolicy/AudioPolicy$Aud…