Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaBrowserConnectorTest.java70 private MediaBrowserCompat.ConnectionCallback mConnectionCallback; field in MediaBrowserConnectorTest
91 mConnectionCallback = callback; in setUp()
109 setConnectionAction(() -> mConnectionCallback.onConnected()); in testConnectionCallback_onConnected()
118 setConnectionAction(() -> mConnectionCallback.onConnectionFailed()); in testConnectionCallback_onConnectionFailed()
128 mConnectionCallback.onConnected(); in testConnectionCallback_onConnectionSuspended()
129 mConnectionCallback.onConnectionSuspended(); in testConnectionCallback_onConnectionSuspended()
143 MediaBrowserCompat.ConnectionCallback cb1 = mConnectionCallback; in testConnectionCallback_onConnectedIgnoredWhenLate()
146 MediaBrowserCompat.ConnectionCallback cb2 = mConnectionCallback; in testConnectionCallback_onConnectedIgnoredWhenLate()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/
DAssociationBinder.java67 private ConnectedDeviceManager.ConnectionCallback mConnectionCallback; field in AssociationBinder
189 mConnectionCallback = new ConnectedDeviceManager.ConnectionCallback() { in setConnectionCallback()
221 mConnectedDeviceManager.registerActiveUserConnectionCallback(mConnectionCallback, in setConnectionCallback()
227 if (mConnectionCallback == null) { in clearConnectionCallback()
230 mConnectedDeviceManager.unregisterConnectionCallback(mConnectionCallback); in clearConnectionCallback()
233 mConnectionCallback = null; in clearConnectionCallback()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/
DLocalFeature.java60 mConnectedDeviceManager.registerActiveUserConnectionCallback(mConnectionCallback, in start()
74 mConnectedDeviceManager.unregisterConnectionCallback(mConnectionCallback); in stop()
177 private final ConnectionCallback mConnectionCallback = new ConnectionCallback() { field in LocalFeature
DRemoteFeature.java77 mConnectedDeviceManager.unregisterConnectionCallback(mConnectionCallback); in stop()
219 mConnectedDeviceManager.registerActiveUserConnectionCallback(mConnectionCallback);
240 private final IConnectionCallback mConnectionCallback = new IConnectionCallback.Stub() { field in RemoteFeature
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBleCentralManager.java203 mConnectionCallback, BluetoothDevice.TRANSPORT_LE); in startDeviceConnection()
258 private final BluetoothGattCallback mConnectionCallback = new BluetoothGattCallback() { field in CarBleCentralManager
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java296 mAssociatedDeviceManager.setConnectionCallback(mConnectionCallback); in registerCallbacks()
384 private final IConnectionCallback mConnectionCallback = new IConnectionCallback.Stub() { field in AssociatedDeviceViewModel