Searched refs:mConfigChangedCallback (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/audio/ |
D | VirtualAudioControllerTest.java | 70 private IAudioConfigChangedCallback mConfigChangedCallback; field in VirtualAudioControllerTest 108 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in startListening_receivesCallback() 120 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in stopListening_removesCallback() 131 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in onRunningAppsChanged_notifiesAudioRoutingModified() 144 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in onRunningAppsChanged_audioIsPlaying_doesNothing() 173 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in onPlaybackConfigChanged_sendsCallback() 181 verify(mConfigChangedCallback).onPlaybackConfigChanged(configs); in onPlaybackConfigChanged_sendsCallback() 187 mGenericWindowPolicyController, mRoutingCallback, mConfigChangedCallback); in onRecordingConfigChanged_sendsCallback() 195 verify(mConfigChangedCallback).onRecordingConfigChanged(configs); in onRecordingConfigChanged_sendsCallback()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/audio/ |
D | VirtualAudioController.java | 73 private IAudioConfigChangedCallback mConfigChangedCallback; field in VirtualAudioController 99 mConfigChangedCallback = configChangedCallback; in startListening() 128 mConfigChangedCallback = null; in stopListening() 188 if (mConfigChangedCallback != null) { in onPlaybackConfigChanged() 190 mConfigChangedCallback.onPlaybackConfigChanged(audioPlaybackConfigurations); in onPlaybackConfigChanged() 207 if (mConfigChangedCallback != null) { in onRecordingConfigChanged() 209 mConfigChangedCallback.onRecordingConfigChanged(audioRecordingConfigurations); in onRecordingConfigChanged()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControlViewHost.java | 130 private ViewRootImpl.ConfigChangedCallback mConfigChangedCallback; field in SurfaceControlViewHost 410 mConfigChangedCallback = conf -> { in setConfigCallback() 417 ViewRootImpl.addConfigCallback(mConfigChangedCallback); in setConfigCallback() 553 if (mConfigChangedCallback != null) { in doRelease() 554 ViewRootImpl.removeConfigCallback(mConfigChangedCallback); in doRelease() 555 mConfigChangedCallback = null; in doRelease()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | VirtualDeviceManagerServiceTest.java | 278 private IAudioConfigChangedCallback mConfigChangedCallback; field in VirtualDeviceManagerServiceTest 1066 DISPLAY_ID_1, mRoutingCallback, mConfigChangedCallback)); in onAudioSessionStarting_noDisplay_failsSecurityException() 1121 DISPLAY_ID_1, mRoutingCallback, mConfigChangedCallback)); in onAudioSessionStarting_noPermission_failsSecurityException() 1240 mDeviceImpl.onAudioSessionStarting(DISPLAY_ID_1, mRoutingCallback, mConfigChangedCallback); in onAudioSessionStarting_hasVirtualAudioController() 1248 mDeviceImpl.onAudioSessionStarting(DISPLAY_ID_1, mRoutingCallback, mConfigChangedCallback); in onAudioSessionEnded_noVirtualAudioController() 1258 mDeviceImpl.onAudioSessionStarting(DISPLAY_ID_1, mRoutingCallback, mConfigChangedCallback); in close_cleanVirtualAudioController()
|