Home
last modified time | relevance | path

Searched refs:mMediaManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java72 private BluetoothMediaManager mMediaManager; field in BluetoothMediaManagerTest
86 mMediaManager = new BluetoothMediaManager(mContext, mLocalBluetoothManager, null); in setUp()
101 assertThat(mMediaManager.mMediaDevices).isEmpty(); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()
102 mMediaManager.startScan(); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()
103 assertThat(mMediaManager.mMediaDevices).hasSize(devices.size()); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice()
118 assertThat(mMediaManager.mMediaDevices).isEmpty(); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()
119 mMediaManager.startScan(); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()
120 assertThat(mMediaManager.mMediaDevices).isEmpty(); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice()
129 assertThat(mMediaManager.mMediaDevices).isEmpty(); in startScan_noA2dpProfileBluetoothDevice_shouldNotAddDevice()
130 mMediaManager.startScan(); in startScan_noA2dpProfileBluetoothDevice_shouldNotAddDevice()
[all …]
DMediaManagerTest.java45 private MediaManager mMediaManager; field in MediaManagerTest
55 mMediaManager = new MediaManager(mContext, null) { in setUp()
70 mMediaManager.registerCallback(mCallback); in dispatchDeviceAdded_registerCallback_shouldDispatchCallback()
72 mMediaManager.dispatchDeviceAdded(mDevice); in dispatchDeviceAdded_registerCallback_shouldDispatchCallback()
79 mMediaManager.registerCallback(mCallback); in dispatchDeviceRemoved_registerCallback_shouldDispatchCallback()
81 mMediaManager.dispatchDeviceRemoved(mDevice); in dispatchDeviceRemoved_registerCallback_shouldDispatchCallback()
88 mMediaManager.registerCallback(mCallback); in dispatchDeviceListAdded_registerCallback_shouldDispatchCallback()
90 mMediaManager.dispatchDeviceListAdded(); in dispatchDeviceListAdded_registerCallback_shouldDispatchCallback()
97 mMediaManager.registerCallback(mCallback); in dispatchDeviceListRemoved_registerCallback_shouldDispatchCallback()
99 mMediaManager.dispatchDeviceListRemoved(mMediaManager.mMediaDevices); in dispatchDeviceListRemoved_registerCallback_shouldDispatchCallback()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java124 protected NotificationMediaManager mMediaManager; field in KeyguardSliceProvider
204 mMediaManager = mediaManager; in initDependencies()
205 mMediaManager.addCallback(this); in initDependencies()
248 Icon mediaIcon = mMediaManager == null ? null : mMediaManager.getMediaIcon(); in addMediaLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java54 private NotificationMediaManager mMediaManager; field in NotificationData
151 if (mMediaManager == null) { in getMediaManager()
152 mMediaManager = Dependency.get(NotificationMediaManager.class); in getMediaManager()
154 return mMediaManager; in getMediaManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java66 private NotificationMediaManager mMediaManager; field in NotificationMediaTemplateViewWrapper
127 mMediaManager = Dependency.get(NotificationMediaManager.class); in NotificationMediaTemplateViewWrapper()
137 boolean showCompactSeekbar = mMediaManager.getShowCompactMediaSeekbar(); in resolveViews()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java54 private NotificationMediaManager mMediaManager; field in BiometricsUnlockControllerTest
85 mDependency.injectTestDependency(NotificationMediaManager.class, mMediaManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java103 private final NotificationMediaManager mMediaManager = field in StatusBarNotificationPresenter
225 mMediaManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
397 mMediaManager.clearCurrentMediaNotification(); in onUserSwitched()
441 mMediaManager.updateMediaMetaData(metaDataChanged, allowEnterAnimation); in updateMediaMetaData()
DBiometricUnlockController.java116 private final NotificationMediaManager mMediaManager; field in BiometricUnlockController
179 mMediaManager = Dependency.get(NotificationMediaManager.class); in BiometricUnlockController()
325 mMediaManager.updateMediaMetaData(false /* metaDataChanged */, in startWakeAndUnlock()
DLockscreenWallpaper.java57 private final NotificationMediaManager mMediaManager = field in LockscreenWallpaper
201 mMediaManager.updateMediaMetaData( in run()
DNotificationIconAreaController.java50 private final NotificationMediaManager mMediaManager; field in NotificationIconAreaController
84 mMediaManager = notificationMediaManager; in NotificationIconAreaController()
206 if (hideCurrentMedia && entry.key.equals(mMediaManager.getMediaNotificationKey())) { in shouldShowNotificationIcon()
DStatusBarKeyguardViewManager.java166 private final NotificationMediaManager mMediaManager = field in StatusBarKeyguardViewManager
476 mMediaManager.updateMediaMetaData(false, animate && !occluded); in setOccluded()
DStatusBar.java470 private NotificationMediaManager mMediaManager; field in StatusBar
633 mMediaManager = Dependency.get(NotificationMediaManager.class); in start()
650 sliceProvider.initDependencies(mMediaManager, mStatusBarStateController); in start()
929 mMediaManager.setup(backdrop, backdrop.findViewById(R.id.backdrop_front), in makeStatusBarView()
1230 mMediaManager.setBiometricUnlockController(mBiometricUnlockController); in startKeyguard()
1367 mMediaManager.findAndUpdateMediaNotifications(); in updateAreThereNotifications()
2299 if (mMediaManager != null) { in dump()
2300 mMediaManager.dump(fd, pw, args); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java340 private NotificationMediaManager mMediaManager; field in ExpandableNotificationRow
674 boolean showCompactMediaSeekbar = mMediaManager.getShowCompactMediaSeekbar(); in updateLimitsForView()
1659 mMediaManager = Dependency.get(NotificationMediaManager.class);