Home
last modified time | relevance | path

Searched refs:mediaProjectionCallback (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt101 private lateinit var mediaProjectionCallback: MediaProjectionManager.Callback variable in com.android.systemui.statusbar.policy.SensitiveNotificationProtectionControllerTest
168 mediaProjectionCallback = withArgCaptor { in setUp()
180 assertNotNull(mediaProjectionCallback) in init_registerMediaProjectionManagerCallback()
187 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_singleListener()
188 mediaProjectionCallback.onStop(mediaProjectionInfo) in registerSensitiveStateListener_singleListener()
198 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_multipleListeners()
199 mediaProjectionCallback.onStop(mediaProjectionInfo) in registerSensitiveStateListener_multipleListeners()
207 mediaProjectionCallback.onStart(mediaProjectionInfo) in registerSensitiveStateListener_afterProjectionActive()
212 mediaProjectionCallback.onStop(mediaProjectionInfo) in registerSensitiveStateListener_afterProjectionActive()
221 mediaProjectionCallback.onStart(mediaProjectionInfo) in unregisterSensitiveStateListener_singleListener()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DMediaProjectionPrivacyItemMonitor.kt76 private val mediaProjectionCallback = object : MediaProjectionManager.Callback() { constant in com.android.systemui.privacy.MediaProjectionPrivacyItemMonitor
156 mediaProjectionManager.addCallback(mediaProjectionCallback, bgHandler) in setListeningStateLocked()
165 mediaProjectionManager.removeCallback(mediaProjectionCallback) in setListeningStateLocked()
/frameworks/base/services/core/java/com/android/server/display/
DVirtualDisplayAdapter.java133 MediaProjectionCallback mediaProjectionCallback = null; in createVirtualDisplayLocked() local
135 mediaProjectionCallback = new MediaProjectionCallback(appToken); in createVirtualDisplayLocked()
139 projection, mediaProjectionCallback, uniqueId, virtualDisplayConfig); in createVirtualDisplayLocked()
145 projection.registerCallback(mediaProjectionCallback); in createVirtualDisplayLocked()
278 IMediaProjectionCallback mediaProjectionCallback, String uniqueId, in VirtualDisplayDevice() argument
294 mMediaProjectionCallback = mediaProjectionCallback; in VirtualDisplayDevice()