Home
last modified time | relevance | path

Searched refs:LocalMediaManager (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DLocalMediaManagerFactory.kt22 import com.android.settingslib.media.LocalMediaManager
33 fun create(packageName: String): LocalMediaManager { in create()
35 LocalMediaManager(context, localBluetoothManager, this, packageName) in create()
DMediaDeviceManager.kt32 import com.android.settingslib.media.LocalMediaManager in <lambda>()
146 val localMediaManager: LocalMediaManager, in <lambda>()
149 LocalMediaManager.DeviceCallback, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerFactory.kt21 import com.android.settingslib.media.LocalMediaManager
39 fun create(localMediaManager: LocalMediaManager): MediaMuteAwaitConnectionManager? { in create()
DMediaMuteAwaitConnectionManager.kt25 import com.android.settingslib.media.LocalMediaManager
39 private val localMediaManager: LocalMediaManager,
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java82 private LocalMediaManager.DeviceCallback mCallback;
99 private LocalMediaManager mLocalMediaManager;
123 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
165 assertThat(mInfoMediaDevice2.getState()).isEqualTo(LocalMediaManager.MediaDeviceState in connectDevice_deviceNotEqualCurrentConnectedDevice_isConnectingState()
178 assertThat(mInfoMediaDevice1.getState()).isNotEqualTo(LocalMediaManager.MediaDeviceState in connectDevice_deviceEqualCurrentConnectedDevice_notConnectingState()
446 LocalMediaManager.MediaDeviceState.STATE_CONNECTED); in onConnectedDeviceChanged_connectedAndCurrentDeviceAreDifferent_notifyThemChanged()
471 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_DISCONNECTED); in onConnectedDeviceChanged_isConnectedState()
473 assertThat(mInfoMediaDevice1.getState()).isEqualTo(LocalMediaManager.MediaDeviceState in onConnectedDeviceChanged_isConnectedState()
478 assertThat(mInfoMediaDevice1.getState()).isEqualTo(LocalMediaManager.MediaDeviceState in onConnectedDeviceChanged_isConnectedState()
514 verify(device).setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING_FAILED); in onDeviceAttributesChanged_failingTransferring_shouldResetState()
[all …]
DMediaDeviceTest.java476 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTED); in setState_verifyGetState()
478 LocalMediaManager.MediaDeviceState.STATE_CONNECTED); in setState_verifyGetState()
480 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in setState_verifyGetState()
482 LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in setState_verifyGetState()
484 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_DISCONNECTED); in setState_verifyGetState()
486 LocalMediaManager.MediaDeviceState.STATE_DISCONNECTED); in setState_verifyGetState()
488 mInfoMediaDevice1.setState(LocalMediaManager.MediaDeviceState.STATE_CONNECTING_FAILED); in setState_verifyGetState()
490 LocalMediaManager.MediaDeviceState.STATE_CONNECTING_FAILED); in setState_verifyGetState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaDevice.java34 import static com.android.settingslib.media.LocalMediaManager.MediaDeviceState.STATE_SELECTED;
336 public void setState(@LocalMediaManager.MediaDeviceState int state) { in setState()
345 public @LocalMediaManager.MediaDeviceState int getState() { in getState()
DLocalMediaManager.java58 public class LocalMediaManager implements BluetoothCallback { class
128 public LocalMediaManager(Context context, String packageName, Notification notification) { in LocalMediaManager() method in LocalMediaManager
149 public LocalMediaManager(Context context, LocalBluetoothManager localBluetoothManager, in LocalMediaManager() method in LocalMediaManager
DInfoMediaManager.java35 import static com.android.settingslib.media.LocalMediaManager.MediaDeviceState.STATE_SELECTED;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java37 import com.android.settingslib.media.LocalMediaManager;
102 LocalMediaManager.MediaDeviceState.STATE_CONNECTED); in setUp()
104 LocalMediaManager.MediaDeviceState.STATE_DISCONNECTED); in setUp()
417 LocalMediaManager.MediaDeviceState.STATE_CONNECTING_FAILED); in onBindViewHolder_bindFailedStateDevice_verifyView()
453 LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in onBindViewHolder_inTransferring_bindTransferringDevice_verifyView()
469 LocalMediaManager.MediaDeviceState.STATE_GROUPING); in onBindViewHolder_bindGroupingDevice_verifyView()
485 LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in onBindViewHolder_inTransferring_bindNonTransferringDevice_verifyView()
519 LocalMediaManager.MediaDeviceState.STATE_DISCONNECTED); in onItemClick_clickDevice_verifyConnectDevice()
DMediaOutputDialogTest.java47 import com.android.settingslib.media.LocalMediaManager;
85 private final LocalMediaManager mLocalMediaManager = mock(LocalMediaManager.class);
DMediaOutputControllerTest.java59 import com.android.settingslib.media.LocalMediaManager;
125 private LocalMediaManager mLocalMediaManager;
484 LocalMediaManager testLocalMediaManager = spy(testMediaOutputController.mLocalMediaManager); in addDeviceToPlayMedia_triggersFromLocalMediaManager()
501 LocalMediaManager testLocalMediaManager = spy(testMediaOutputController.mLocalMediaManager); in removeDeviceFromPlayMedia_triggersFromLocalMediaManager()
576 LocalMediaManager.MediaDeviceState.STATE_CONNECTING); in isAnyDeviceTransferring_deviceStateIsConnecting_returnsTrue()
600 LocalMediaManager.MediaDeviceState.STATE_CONNECTED); in onSelectedDeviceStateChanged_verifyCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerTest.kt29 import com.android.settingslib.media.LocalMediaManager
55 private lateinit var localMediaManager: LocalMediaManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java69 import com.android.settingslib.media.LocalMediaManager;
105 public class MediaOutputController implements LocalMediaManager.DeviceCallback,
142 LocalMediaManager mLocalMediaManager;
187 mLocalMediaManager = new LocalMediaManager(mContext, lbm, imm, packageName); in MediaOutputController()
296 @LocalMediaManager.MediaDeviceState int state) { in onSelectedDeviceStateChanged()
902 == LocalMediaManager.MediaDeviceState.STATE_CONNECTING) { in isAnyDeviceTransferring()
908 if (device.getState() == LocalMediaManager.MediaDeviceState.STATE_CONNECTING) { in isAnyDeviceTransferring()
DMediaOutputAdapter.java37 import com.android.settingslib.media.LocalMediaManager.MediaDeviceState;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/
DMediaDeviceManagerTest.kt35 import com.android.settingslib.media.LocalMediaManager
87 @Mock private lateinit var lmm: LocalMediaManager
656 fun captureCallback(): LocalMediaManager.DeviceCallback { in captureCallback()
657 val captor = ArgumentCaptor.forClass(LocalMediaManager.DeviceCallback::class.java) in captureCallback()