Home
last modified time | relevance | path

Searched refs:mConnectionCallback (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsFeatureBinderRepositoryTest.java62 @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/
DWindowMagnificationConnectionImpl.java39 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/
DWindowMagnificationTest.java69 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()
DIWindowMagnificationConnectionTest.java65 private IWindowMagnificationConnectionCallback mConnectionCallback; field in IWindowMagnificationConnectionTest
97 mIWindowMagnificationConnection.setConnectionCallback(mConnectionCallback); in setUp()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationManager.java67 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/
DResumeMediaBrowser.java85 mConnectionCallback, in findRecentMedia()
140 private final MediaBrowser.ConnectionCallback mConnectionCallback = field in ResumeMediaBrowser
297 mConnectionCallback, in testConnection()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java3247 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()