/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaManagerTest.java | 72 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 …]
|
D | MediaManagerTest.java | 45 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/ |
D | KeyguardSliceProvider.java | 125 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/ |
D | NotificationData.java | 54 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/ |
D | StatusBarNotificationPresenter.java | 103 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()
|
D | BiometricUnlockController.java | 124 private final NotificationMediaManager mMediaManager; field in BiometricUnlockController 177 mMediaManager = Dependency.get(NotificationMediaManager.class); in BiometricUnlockController() 333 mMediaManager.updateMediaMetaData(false /* metaDataChanged */, in startWakeAndUnlock()
|
D | LockscreenWallpaper.java | 57 private final NotificationMediaManager mMediaManager = field in LockscreenWallpaper 209 mMediaManager.updateMediaMetaData( in run()
|
D | NotificationIconAreaController.java | 54 private final NotificationMediaManager mMediaManager; field in NotificationIconAreaController 94 mMediaManager = notificationMediaManager; in NotificationIconAreaController() 250 if (hideCurrentMedia && entry.key.equals(mMediaManager.getMediaNotificationKey())) { in shouldShowNotificationIcon()
|
D | StatusBarKeyguardViewManager.java | 173 private final NotificationMediaManager mMediaManager = field in StatusBarKeyguardViewManager 504 mMediaManager.updateMediaMetaData(false, animate && !occluded); in setOccluded()
|
D | StatusBar.java | 486 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/ |
D | NotificationMediaTemplateViewWrapper.java | 67 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/ |
D | BiometricsUnlockControllerTest.java | 55 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/ |
D | ExpandableNotificationRow.java | 325 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/ |
D | CarStatusBar.java | 431 mMediaManager = Dependency.get(NotificationMediaManager.class); in getDependencies()
|