/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsFeatureBinderRepositoryTest.java | 62 @Mock IImsServiceFeatureCallback mConnectionCallback; field in ImsFeatureBinderRepositoryTest 75 when(mConnectionCallback.asBinder()).thenReturn(mConnectionCallbackBinder); in setUp() 165 mConnectionCallback, Runnable::run); in testListenForUpdate() 166 verify(mConnectionCallback, never()).imsFeatureRemoved(anyInt()); in testListenForUpdate() 168 verifyFeatureCreatedCalled(1 /*times*/, mConnectionCallback, fcA); in testListenForUpdate() 169 verify(mConnectionCallback, never()).imsFeatureRemoved(anyInt()); in testListenForUpdate() 178 mConnectionCallback, Runnable::run); in testListenNoUpdateForStaleListener() 180 verifyFeatureCreatedCalled(1 /*times*/, mConnectionCallback, fcA); in testListenNoUpdateForStaleListener() 181 verify(mConnectionCallback, never()).imsFeatureRemoved(anyInt()); in testListenNoUpdateForStaleListener() 187 verify(mConnectionCallback, never()).imsStatusChanged(ImsFeature.STATE_READY); in testListenNoUpdateForStaleListener() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationConnectionImpl.java | 39 private IWindowMagnificationConnectionCallback mConnectionCallback; field in WindowMagnificationConnectionImpl 91 mConnectionCallback = callback; in setConnectionCallback() 95 if (mConnectionCallback != null) { in onWindowMagnifierBoundsChanged() 97 mConnectionCallback.onWindowMagnifierBoundsChanged(displayId, frame); in onWindowMagnifierBoundsChanged() 105 if (mConnectionCallback != null) { in onSourceBoundsChanged() 107 mConnectionCallback.onSourceBoundsChanged(displayId, sourceBounds); in onSourceBoundsChanged() 115 if (mConnectionCallback != null) { in onPerformScaleAction() 117 mConnectionCallback.onPerformScaleAction(displayId, scale); in onPerformScaleAction() 125 if (mConnectionCallback != null) { in onAccessibilityActionPerformed() 127 mConnectionCallback.onAccessibilityActionPerformed(displayId); in onAccessibilityActionPerformed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationTest.java | 69 private IWindowMagnificationConnectionCallback mConnectionCallback; field in WindowMagnificationTest 82 connection.setConnectionCallback(mConnectionCallback); in setUp() 123 verify(mConnectionCallback).onWindowMagnifierBoundsChanged(TEST_DISPLAY, testBounds); in onWindowMagnifierBoundsChanged() 134 verify(mConnectionCallback).onPerformScaleAction(TEST_DISPLAY, newScale); in onPerformScaleAction_enabled_notifyCallback() 144 verify(mConnectionCallback).onAccessibilityActionPerformed(TEST_DISPLAY); in onAccessibilityActionPerformed_enabled_notifyCallback()
|
D | IWindowMagnificationConnectionTest.java | 65 private IWindowMagnificationConnectionCallback mConnectionCallback; field in IWindowMagnificationConnectionTest 97 mIWindowMagnificationConnection.setConnectionCallback(mConnectionCallback); in setUp()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManager.java | 67 private ConnectionCallback mConnectionCallback; field in WindowMagnificationManager 131 if (mConnectionCallback != null) { in setConnection() 132 mConnectionCallback.mExpiredDeathRecipient = true; in setConnection() 134 mConnectionWrapper.unlinkToDeath(mConnectionCallback); in setConnection() 143 mConnectionCallback = new ConnectionCallback(); in setConnection() 144 mConnectionWrapper.linkToDeath(mConnectionCallback); in setConnection() 145 mConnectionWrapper.setConnectionCallback(mConnectionCallback); in setConnection() 563 mConnectionCallback = null; in binderDied()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | ResumeMediaBrowser.java | 85 mConnectionCallback, in findRecentMedia() 140 private final MediaBrowser.ConnectionCallback mConnectionCallback = field in ResumeMediaBrowser 297 mConnectionCallback, in testConnection()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3247 mService.registerBluetoothConnectionCallback(mConnectionCallback, 4123 private final IBluetoothConnectionCallback mConnectionCallback = field in BluetoothAdapter 4176 if (!mService.registerBluetoothConnectionCallback(mConnectionCallback, in registerBluetoothConnectionCallback() 4232 return mService.unregisterBluetoothConnectionCallback(mConnectionCallback, in unregisterBluetoothConnectionCallback()
|