Home
last modified time | relevance | path

Searched refs:mMediaManager (Results 1 – 14 of 14) 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.java125 protected NotificationMediaManager mMediaManager; field in KeyguardSliceProvider
199 mMediaManager = mediaManager; in initDependencies()
200 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
148 if (mMediaManager == null) { in getMediaManager()
149 mMediaManager = Dependency.get(NotificationMediaManager.class); in getMediaManager()
151 return mMediaManager; in getMediaManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java103 private final NotificationMediaManager mMediaManager = field in StatusBarNotificationPresenter
223 mMediaManager.setUpWithPresenter(this); in StatusBarNotificationPresenter()
392 mMediaManager.clearCurrentMediaNotification(); in onUserSwitched()
436 mMediaManager.updateMediaMetaData(metaDataChanged, allowEnterAnimation); in updateMediaMetaData()
DBiometricUnlockController.java124 private final NotificationMediaManager mMediaManager; field in BiometricUnlockController
177 mMediaManager = Dependency.get(NotificationMediaManager.class); in BiometricUnlockController()
333 mMediaManager.updateMediaMetaData(false /* metaDataChanged */, in startWakeAndUnlock()
DLockscreenWallpaper.java57 private final NotificationMediaManager mMediaManager = field in LockscreenWallpaper
209 mMediaManager.updateMediaMetaData( in run()
DNotificationIconAreaController.java54 private final NotificationMediaManager mMediaManager; field in NotificationIconAreaController
94 mMediaManager = notificationMediaManager; in NotificationIconAreaController()
250 if (hideCurrentMedia && entry.key.equals(mMediaManager.getMediaNotificationKey())) { in shouldShowNotificationIcon()
DStatusBarKeyguardViewManager.java173 private final NotificationMediaManager mMediaManager = field in StatusBarKeyguardViewManager
504 mMediaManager.updateMediaMetaData(false, animate && !occluded); in setOccluded()
DStatusBar.java486 protected NotificationMediaManager mMediaManager; field in StatusBar
654 sliceProvider.initDependencies(mMediaManager, mStatusBarStateController, in start()
950 mMediaManager.setup(backdrop, backdrop.findViewById(R.id.backdrop_front), in makeStatusBarView()
1114 mMediaManager = Dependency.get(NotificationMediaManager.class); in getDependencies()
1305 mMediaManager.setBiometricUnlockController(mBiometricUnlockController); in startKeyguard()
1442 mMediaManager.findAndUpdateMediaNotifications(); in updateAreThereNotifications()
2389 if (mMediaManager != null) { in dump()
2390 mMediaManager.dump(fd, pw, args); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java67 private NotificationMediaManager mMediaManager; field in NotificationMediaTemplateViewWrapper
164 mMediaManager = Dependency.get(NotificationMediaManager.class); in NotificationMediaTemplateViewWrapper()
181 boolean showCompactSeekbar = mMediaManager.getShowCompactMediaSeekbar(); in resolveViews()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java55 private NotificationMediaManager mMediaManager; field in BiometricsUnlockControllerTest
89 mDependency.injectTestDependency(NotificationMediaManager.class, mMediaManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java325 private NotificationMediaManager mMediaManager; field in ExpandableNotificationRow
652 boolean showCompactMediaSeekbar = mMediaManager.getShowCompactMediaSeekbar(); in updateLimitsForView()
1644 mMediaManager = Dependency.get(NotificationMediaManager.class);
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java431 mMediaManager = Dependency.get(NotificationMediaManager.class); in getDependencies()