/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdater.java | 60 protected LocalBluetoothManager mLocalManager; field in BluetoothDeviceUpdater 78 mLocalManager = localManager; in BluetoothDeviceUpdater() 85 if (mLocalManager == null) { in registerCallback() 89 mLocalManager.setForegroundActivity(mFragment.getContext()); in registerCallback() 90 mLocalManager.getEventManager().registerCallback(this); in registerCallback() 91 mLocalManager.getProfileManager().addServiceListener(this); in registerCallback() 99 if (mLocalManager == null) { in unregisterCallback() 103 mLocalManager.setForegroundActivity(null); in unregisterCallback() 104 mLocalManager.getEventManager().unregisterCallback(this); in unregisterCallback() 105 mLocalManager.getProfileManager().removeServiceListener(this); in unregisterCallback() [all …]
|
D | DeviceListPreferenceFragment.java | 68 LocalBluetoothManager mLocalManager; field in DeviceListPreferenceFragment 95 mLocalManager = Utils.getLocalBtManager(getActivity()); in onCreate() 96 if (mLocalManager == null) { in onCreate() 115 if (mLocalManager == null || isUiRestricted()) return; in onStart() 117 mLocalManager.setForegroundActivity(getActivity()); in onStart() 118 mLocalManager.getEventManager().registerCallback(this); in onStart() 124 if (mLocalManager == null || isUiRestricted()) { in onStop() 129 mLocalManager.setForegroundActivity(null); in onStop() 130 mLocalManager.getEventManager().unregisterCallback(this); in onStop() 140 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in addCachedDevices()
|
D | BluetoothDetailsHeaderController.java | 45 private LocalBluetoothManager mLocalManager; field in BluetoothDetailsHeaderController 52 mLocalManager = bluetoothManager; in BluetoothDetailsHeaderController() 53 mDeviceManager = mLocalManager.getCachedDeviceManager(); in BluetoothDetailsHeaderController()
|
D | BluetoothPairingDetail.java | 72 if (mLocalManager == null){ in onStart() 99 if (mLocalManager == null){ in onStop() 127 mLocalManager.getCachedDeviceManager().clearNonBondedDevices(); in enableScanning()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDeviceUpdater.java | 60 protected LocalBluetoothManager mLocalManager; field in BluetoothDeviceUpdater 78 mLocalManager = localManager; in BluetoothDeviceUpdater() 85 if (mLocalManager == null) { in registerCallback() 89 mLocalManager.setForegroundActivity(mFragment.getContext()); in registerCallback() 90 mLocalManager.getEventManager().registerCallback(this); in registerCallback() 91 mLocalManager.getProfileManager().addServiceListener(this); in registerCallback() 99 if (mLocalManager == null) { in unregisterCallback() 103 mLocalManager.setForegroundActivity(null); in unregisterCallback() 104 mLocalManager.getEventManager().unregisterCallback(this); in unregisterCallback() 105 mLocalManager.getProfileManager().removeServiceListener(this); in unregisterCallback() [all …]
|
D | DeviceListPreferenceFragment.java | 68 LocalBluetoothManager mLocalManager; field in DeviceListPreferenceFragment 95 mLocalManager = Utils.getLocalBtManager(getActivity()); in onCreate() 96 if (mLocalManager == null) { in onCreate() 115 if (mLocalManager == null || isUiRestricted()) return; in onStart() 117 mLocalManager.setForegroundActivity(getActivity()); in onStart() 118 mLocalManager.getEventManager().registerCallback(this); in onStart() 124 if (mLocalManager == null || isUiRestricted()) { in onStop() 129 mLocalManager.setForegroundActivity(null); in onStop() 130 mLocalManager.getEventManager().unregisterCallback(this); in onStop() 140 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in addCachedDevices()
|
D | BluetoothPairingDetail.java | 72 if (mLocalManager == null){ in onStart() 99 if (mLocalManager == null){ in onStop() 127 mLocalManager.getCachedDeviceManager().clearNonBondedDevices(); in enableScanning()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/ |
D | DiscoverableFooterPreferenceController.java | 53 LocalBluetoothManager mLocalManager; field in DiscoverableFooterPreferenceController 61 mLocalManager = Utils.getLocalBtManager(context); in DiscoverableFooterPreferenceController() 62 if (mLocalManager == null) { in DiscoverableFooterPreferenceController() 117 if (mLocalManager == null) { in onResume() 128 if (mLocalManager == null) { in onPause()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceController.java | 53 LocalBluetoothManager mLocalManager; field in DiscoverableFooterPreferenceController 61 mLocalManager = Utils.getLocalBtManager(context); in DiscoverableFooterPreferenceController() 62 if (mLocalManager == null) { in DiscoverableFooterPreferenceController() 117 if (mLocalManager == null) { in onResume() 128 if (mLocalManager == null) { in onPause()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | BluetoothTile.java | 44 private LocalBluetoothManager mLocalManager; field in BluetoothTile 96 mLocalManager = LocalBluetoothManager.getInstance( in BluetoothTile() 98 if (mLocalManager == null) { in BluetoothTile() 103 mLocalAdapter = mLocalManager.getBluetoothAdapter(); in BluetoothTile() 124 return mLocalManager != null; in isAvailable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceUpdaterTest.java | 77 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceUpdaterTest 97 when(mLocalManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp() 105 mLocalManager) { in setUp() 203 mBluetoothDeviceUpdater.mLocalManager = null; in registerCallback_localBluetoothManagerNull_shouldNotCrash() 211 mBluetoothDeviceUpdater.mLocalManager = null; in unregisterCallback_localBluetoothManagerNull_shouldNotCrash()
|
D | BluetoothDeviceDetailsFragmentTest.java | 69 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceDetailsFragmentTest 80 doReturn(mLocalManager).when(mFragment).getLocalBluetoothManager(any()); in setUp() 102 assertThat(mFragment.mManager).isEqualTo(mLocalManager); in verifyOnAttachResult()
|
D | BluetoothPairingDetailTest.java | 64 private LocalBluetoothManager mLocalManager; field in BluetoothPairingDetailTest 93 mFragment.mLocalManager = mLocalManager; in setUp()
|
D | BluetoothDetailsProfilesControllerTest.java | 66 private LocalBluetoothManager mLocalManager; field in BluetoothDetailsProfilesControllerTest 78 when(mLocalManager.getProfileManager()).thenReturn(mProfileManager); in setUp() 84 mController = new BluetoothDetailsProfilesController(mContext, mFragment, mLocalManager, in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceControllerTest.java | 182 mDiscoverableFooterPreferenceController.mLocalManager = null; in onResume_localBluetoothManagerNull_shouldNotCrash() 191 mDiscoverableFooterPreferenceController.mLocalManager = null; in onPause_localBluetoothManagerNull_shouldNotCrash()
|
D | AvailableMediaDeviceGroupControllerTest.java | 79 private LocalBluetoothManager mLocalManager; field in AvailableMediaDeviceGroupControllerTest 101 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | MediaOutputPreferenceControllerTest.java | 87 private LocalBluetoothManager mLocalManager; field in MediaOutputPreferenceControllerTest 123 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
D | AudioOutputSwitchPreferenceControllerTest.java | 95 private LocalBluetoothManager mLocalManager; field in AudioOutputSwitchPreferenceControllerTest 132 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
D | HandsFreeProfileOutputPreferenceControllerTest.java | 87 private LocalBluetoothManager mLocalManager; field in HandsFreeProfileOutputPreferenceControllerTest 123 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|