Home
last modified time | relevance | path

Searched refs:mLocalMediaManager (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java95 private LocalMediaManager mLocalMediaManager; field in LocalMediaManagerTest
119 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
126 mLocalMediaManager.mMediaDevices.add(device); in startScan_mediaDevicesListShouldBeClear()
128 assertThat(mLocalMediaManager.mMediaDevices).hasSize(1); in startScan_mediaDevicesListShouldBeClear()
129 mLocalMediaManager.startScan(); in startScan_mediaDevicesListShouldBeClear()
130 assertThat(mLocalMediaManager.mMediaDevices).isEmpty(); in startScan_mediaDevicesListShouldBeClear()
137 mLocalMediaManager.mMediaDevices.add(currentDevice); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
138 mLocalMediaManager.mMediaDevices.add(device); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
139 mLocalMediaManager.mCurrentConnectedDevice = currentDevice; in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
144 mLocalMediaManager.registerCallback(mCallback); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java57 private LocalMediaManager mLocalMediaManager; field in MediaTransferManager
91 MediaDevice currentDevice = mLocalMediaManager.getCurrentConnectedDevice();
113 mLocalMediaManager = new LocalMediaManager(mContext, lbm, imm, null); in MediaTransferManager()
122 || mLocalMediaManager == null || root == null) { in setRemoved()
128 mLocalMediaManager.unregisterCallback(mMediaDeviceCallback); in setRemoved()
153 || mLocalMediaManager == null || root == null) { in applyMediaTransferView()
167 mLocalMediaManager.registerCallback(mMediaDeviceCallback); in applyMediaTransferView()
172 mLocalMediaManager.startScan(); in applyMediaTransferView()
173 mDevice = mLocalMediaManager.getCurrentConnectedDevice(); in applyMediaTransferView()