Home
last modified time | relevance | path

Searched refs:hostToken (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManager.kt60 activePreviews[renderer.hostToken]?.let { destroyObserver(it) } in <lambda>()
68 activePreviews[renderer.hostToken] = observer in <lambda>()
70 renderer.hostToken?.linkToDeath(observer, 0) in <lambda>()
95 observer.onDestroy()?.let { hostToken -> in <lambda>() method
96 if (activePreviews[hostToken] === observer) { in <lambda>()
97 activePreviews.remove(hostToken) in <lambda>()
140 val hostToken = renderer.hostToken in <lambda>() constant
141 hostToken?.unlinkToDeath(this, 0) in <lambda>()
143 return hostToken in <lambda>()
DKeyguardPreviewRenderer.kt65 val hostToken: IBinder? = bundle.getBinder(KEY_HOST_TOKEN) constant
99 hostToken, in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestReceiver.java70 IBinder hostToken = SurfaceViewRequestUtils.getHostToken(bundle); in onReceive() local
74 surfaceControl, hostToken); in onReceive()
/frameworks/base/core/java/android/service/games/
DGameSessionService.java121 IBinder hostToken = new Binder(); in doCreate() local
128 new SurfaceControlViewHost(windowContext, display, hostToken); in doCreate()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityEmbeddedConnection.aidl27 IBinder associateEmbeddedHierarchy(IBinder hostToken, int sourceId); in associateEmbeddedHierarchy() argument
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java212 IBinder hostToken = mView.getHostToken(); in onSurfaceReady() local
214 if (hostToken != null) { in onSurfaceReady()
215 mClient.onCreateKeyguardSurface(hostToken, mCallback); in onSurfaceReady()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerTest.java788 final IBinder hostToken = mA11yWindowManager.getHostTokenLocked(mMockEmbeddedToken); in getHostTokenLocked_hierarchiesAreAssociated_shouldReturnHostToken() local
789 assertEquals(hostToken, mMockHostToken); in getHostTokenLocked_hierarchiesAreAssociated_shouldReturnHostToken()
794 final IBinder hostToken = mA11yWindowManager.getHostTokenLocked(mMockEmbeddedToken); in getHostTokenLocked_hierarchiesAreNotAssociated_shouldReturnNull() local
795 assertNull(hostToken); in getHostTokenLocked_hierarchiesAreNotAssociated_shouldReturnNull()
802 final IBinder hostToken = mA11yWindowManager.getHostTokenLocked(mMockEmbeddedToken); in getHostTokenLocked_embeddedHierarchiesAreDisassociated_shouldReturnNull() local
803 assertNull(hostToken); in getHostTokenLocked_embeddedHierarchiesAreDisassociated_shouldReturnNull()
810 final IBinder hostToken = mA11yWindowManager.getHostTokenLocked(mMockHostToken); in getHostTokenLocked_hostHierarchiesAreDisassociated_shouldReturnNull() local
811 assertNull(hostToken); in getHostTokenLocked_hostHierarchiesAreDisassociated_shouldReturnNull()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DCustomizationProviderTest.kt385 val hostToken: IBinder = mock() in <lambda>() constant
386 whenever(previewRenderer.hostToken).thenReturn(hostToken) in <lambda>()
392 verify(hostToken).linkToDeath(any(), anyInt()) in <lambda>()
/frameworks/base/core/java/android/view/
DSurfaceControlViewHost.java296 @Nullable IBinder hostToken) { in SurfaceControlViewHost() argument
303 mSurfaceControl, hostToken); in SurfaceControlViewHost()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java1291 final IBinder hostToken = getHostTokenLocked(token); in resolveTopParentTokenLocked() local
1292 if (hostToken == null) { in resolveTopParentTokenLocked()
1295 return resolveTopParentTokenLocked(hostToken); in resolveTopParentTokenLocked()