Searched refs:mConnectionWrapper (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/core/java/android/view/ |
H A D | RemoteAccessibilityController.java | 66 if (mConnectionWrapper == null) { in alreadyAssociated() 73 return mConnectionWrapper != null; in connected() 77 return mConnectionWrapper.getLeashToken(); in getLeashToken() 113 if (mConnectionWrapper == this) { in binderDied() 114 mConnectionWrapper = null; in binderDied() 123 if (mConnectionWrapper != null) { in setRemoteAccessibilityEmbeddedConnection() 124 mConnectionWrapper.getConnection() in setRemoteAccessibilityEmbeddedConnection() 127 mConnectionWrapper = null; in setRemoteAccessibilityEmbeddedConnection() 130 mConnectionWrapper = in setRemoteAccessibilityEmbeddedConnection() 132 mConnectionWrapper.linkToDeath(); in setRemoteAccessibilityEmbeddedConnection() [all …]
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationManager.java | 136 if (mConnectionWrapper != null) { in setConnection() 142 mConnectionWrapper = null; in setConnection() 148 if (mConnectionWrapper != null) { in setConnection() 155 mConnectionWrapper = null; in setConnection() 450 return mConnectionWrapper != null && mConnectionWrapper.showMagnificationButton( in showMagnificationButton() 461 return mConnectionWrapper != null && mConnectionWrapper.removeMagnificationButton( in removeMagnificationButton() 602 mConnectionWrapper = null; in binderDied() 731 return mConnectionWrapper != null && mConnectionWrapper.enableWindowMagnification( in enableWindowMagnificationInternal() 736 return mConnectionWrapper != null && mConnectionWrapper.setScale(displayId, scale); in setScaleInternal() 741 return mConnectionWrapper != null && mConnectionWrapper.disableWindowMagnification( in disableWindowMagnificationInternal() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationConnectionWrapperTest.java | 57 private WindowMagnificationConnectionWrapper mConnectionWrapper; field in WindowMagnificationConnectionWrapperTest 64 mConnectionWrapper = new WindowMagnificationConnectionWrapper(mConnection, mTrace); in setUp() 69 mConnectionWrapper.enableWindowMagnification(TEST_DISPLAY, 2, 100f, 200f, in enableWindowMagnification() 77 mConnectionWrapper.setScale(TEST_DISPLAY, 3.0f); in setScale() 83 mConnectionWrapper.disableWindowMagnification(TEST_DISPLAY, mAnimationCallback); in disableWindowMagnification() 92 mConnectionWrapper.moveWindowMagnifier(TEST_DISPLAY, 100, 150); in moveWindowMagnifier() 98 mConnectionWrapper.showMagnificationButton(TEST_DISPLAY, in showMagnificationButton() 106 mConnectionWrapper.removeMagnificationButton(TEST_DISPLAY); in removeMagnificationButton() 112 mConnectionWrapper.setConnectionCallback(mCallback); in setMirrorWindowCallback()
|
H A D | WindowMagnificationManagerTest.java | 113 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setConnection_connectionIsNull_wrapperIsNullAndLinkToDeath() 122 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper() 134 assertNull(mWindowMagnificationManager.mConnectionWrapper); in binderDied_hasConnection_wrapperIsNullAndUnlinkToDeath() 155 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setSecondConnectionAndFormerConnectionBinderDead_hasWrapperAndNotCallUnlinkToDeath() 167 assertNull(mWindowMagnificationManager.mConnectionWrapper); in setNullConnection_hasConnection_wrapperIsNull()
|