Searched refs:mConnectionWrapper (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/core/java/android/view/ |
H A D | RemoteAccessibilityController.java | 68 if (mConnectionWrapper == null) { in alreadyAssociated() 75 return mConnectionWrapper != null; in connected() 79 return mConnectionWrapper.getLeashToken(); in getLeashToken() 125 controller.mConnectionWrapper = null; in binderDied() 134 if (mConnectionWrapper != null) { in setRemoteAccessibilityEmbeddedConnection() 135 mConnectionWrapper.getConnection() in setRemoteAccessibilityEmbeddedConnection() 137 mConnectionWrapper.unlinkToDeath(); in setRemoteAccessibilityEmbeddedConnection() 138 mConnectionWrapper = null; in setRemoteAccessibilityEmbeddedConnection() 141 mConnectionWrapper = in setRemoteAccessibilityEmbeddedConnection() 143 mConnectionWrapper.linkToDeath(); in setRemoteAccessibilityEmbeddedConnection() [all …]
|
/aosp14/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.moveWindowMagnifierToPosition(TEST_DISPLAY, 100, 150, in moveWindowMagnifierToPosition() 106 mConnectionWrapper.showMagnificationButton(TEST_DISPLAY, in showMagnificationButton() 114 mConnectionWrapper.removeMagnificationButton(TEST_DISPLAY); in removeMagnificationButton() 120 mConnectionWrapper.removeMagnificationSettingsPanel(TEST_DISPLAY); in removeMagnificationSettingsPanel() [all …]
|
H A D | WindowMagnificationManagerTest.java | 139 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setConnection_connectionIsNull_wrapperIsNullAndLinkToDeath() 148 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setConnection_connectionIsNull_setMirrorWindowCallbackAndHasWrapper() 160 assertNull(mWindowMagnificationManager.mConnectionWrapper); in binderDied_hasConnection_wrapperIsNullAndUnlinkToDeath() 180 assertNotNull(mWindowMagnificationManager.mConnectionWrapper); in setSecondConnectionAndFormerConnectionBinderDead_hasWrapperAndNotCallUnlinkToDeath() 192 assertNull(mWindowMagnificationManager.mConnectionWrapper); in setNullConnection_hasConnection_wrapperIsNull()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationManager.java | 232 if (mConnectionWrapper != null) { in setConnection() 238 mConnectionWrapper = null; in setConnection() 251 if (mConnectionWrapper != null) { in setConnection() 259 mConnectionWrapper = null; in setConnection() 273 return mConnectionWrapper != null; in isConnected() 1022 mConnectionWrapper = null; in binderDied() 1261 if (mConnectionWrapper == null) { in enableWindowMagnificationInternal() 1274 return mConnectionWrapper != null && mConnectionWrapper.setScale(displayId, scale); in setScaleInternal() 1280 if (mConnectionWrapper == null) { in disableWindowMagnificationInternal() 1290 return mConnectionWrapper != null && mConnectionWrapper.moveWindowMagnifier( in moveWindowMagnifierInternal() [all …]
|