/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | BrowserPlayerWrapperTest.java | 46 @Captor ArgumentCaptor<MediaBrowser.ConnectionCallback> mBrowserConnCb; 52 @Mock BrowsedPlayerWrapper.ConnectionCallback mConnCb; 77 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testWrap() 90 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Successful() 104 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Suspended() 121 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Failed() 138 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testEmptyRoot() 153 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testDisconnect() 164 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testGetRootId() 176 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testPlayItem() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
D | MediaBrowser.java | 47 ConnectionCallback callback, Bundle rootHints) { in MediaBrowser() 55 public abstract static class ConnectionCallback extends class in MediaBrowser 56 android.media.browse.MediaBrowser.ConnectionCallback {} 161 ConnectionCallback callback, Bundle rootHints) { in testInit()
|
D | MediaBrowserFactory.java | 40 MediaBrowser.ConnectionCallback callback, Bundle rootHints) { in make()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | BrowsedPlayerWrapper.java | 50 interface ConnectionCallback { interface in BrowsedPlayerWrapper 75 private ConnectionCallback mCallback; 137 boolean connect(ConnectionCallback cb) { in connect() 160 boolean setCallbackAndConnect(ConnectionCallback callback) { in setCallbackAndConnect() 174 final ConnectionCallback callback; in executeCallback() 268 class MediaConnectionCallback extends MediaBrowser.ConnectionCallback {
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinder.java | 27 import com.android.car.connecteddevice.ConnectedDeviceManager.ConnectionCallback; 50 private final ConcurrentHashMap<IBinder, ConnectionCallback> mConnectionCallbacks = 83 ConnectionCallback connectionCallback = new ConnectionCallback() { in registerActiveUserConnectionCallback() 119 ConnectionCallback connectionCallback = mConnectionCallbacks.get(binder); in unregisterConnectionCallback()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/ |
D | MediaBrowserConnectorTest.java | 71 private MediaBrowserCompat.ConnectionCallback mConnectionCallback; 91 @NonNull MediaBrowserCompat.ConnectionCallback callback) { in setUp() 144 MediaBrowserCompat.ConnectionCallback cb1 = mConnectionCallback; in testConnectionCallback_onConnectedIgnoredWhenLate() 147 MediaBrowserCompat.ConnectionCallback cb2 = mConnectionCallback; in testConnectionCallback_onConnectedIgnoredWhenLate()
|
D | MediaSourceViewModelTest.java | 101 MediaBrowserCompat.ConnectionCallback callback) { in initializeViewModel()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 38 import com.android.car.connecteddevice.ConnectedDeviceManager.ConnectionCallback; 222 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice() 239 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser() 255 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in connectionCallback_onDeviceConnectedNotInvokedForDifferentBleManager() 267 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice() 284 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in connectionCallback_onDeviceDisconnectedNotInvokedDeviceForDifferentUser() 295 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in unregisterConnectionCallback_removesCallbackAndNotInvoked() 521 ConnectionCallback connectionCallback = createConnectionCallback(semaphore); in onAssociationCompleted_disconnectsOriginalDeviceAndReconnectsAsActiveUser() 719 private ConnectionCallback createConnectionCallback(@NonNull final Semaphore semaphore) { in createConnectionCallback() 720 return spy(new ConnectionCallback() { in createConnectionCallback()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | LocalFeature.java | 19 import static com.android.car.connecteddevice.ConnectedDeviceManager.ConnectionCallback; 177 private final ConnectionCallback mConnectionCallback = new ConnectionCallback() {
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 89 private final ThreadSafeCallbacks<ConnectionCallback> mActiveUserConnectionCallbacks = 92 private final ThreadSafeCallbacks<ConnectionCallback> mAllUserConnectionCallbacks = 266 public void registerActiveUserConnectionCallback(@NonNull ConnectionCallback callback, in registerActiveUserConnectionCallback() 276 public void unregisterConnectionCallback(ConnectionCallback callback) { in unregisterConnectionCallback() 758 @NonNull Consumer<ConnectionCallback> notification) { in invokeConnectionCallbacks() 888 public interface ConnectionCallback {
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/phone/ |
D | TmaLauncherActivity.java | 48 private final MediaBrowserCompat.ConnectionCallback mConnectionCallbacks = 49 new MediaBrowserCompat.ConnectionCallback() {
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
D | MediaBrowserConnector.java | 70 private class BrowserConnectionCallback extends MediaBrowserCompat.ConnectionCallback { 148 @NonNull MediaBrowserCompat.ConnectionCallback callback) { in createMediaBrowser()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/api/external/ |
D | ConnectedDeviceManagerBinderTest.java | 96 any(ConnectionCallback.class), any(Executor.class)); in registerActiveUserConnectionCallback_mirrorsConnectedDeviceManager() 105 any(ConnectionCallback.class)); in unregisterConnectionCallback_mirrorsConnectedDeviceManager()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/ |
D | AssociationBinder.java | 67 private ConnectedDeviceManager.ConnectionCallback mConnectionCallback; 189 mConnectionCallback = new ConnectedDeviceManager.ConnectionCallback() { in setConnectionCallback()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/howitzer/ |
D | ConnectionHowitzer.java | 26 import com.android.car.connecteddevice.ConnectedDeviceManager.ConnectionCallback;
|