/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothDeviceUpdater.java | 63 protected LocalBluetoothManager mLocalManager; field in BluetoothDeviceUpdater 81 mLocalManager = localManager; in BluetoothDeviceUpdater() 89 if (mLocalManager == null) { in registerCallback() 93 mLocalManager.setForegroundActivity(mFragment.getContext()); in registerCallback() 94 mLocalManager.getEventManager().registerCallback(this); in registerCallback() 95 mLocalManager.getProfileManager().addServiceListener(this); in registerCallback() 103 if (mLocalManager == null) { in unregisterCallback() 107 mLocalManager.setForegroundActivity(null); in unregisterCallback() 108 mLocalManager.getEventManager().unregisterCallback(this); in unregisterCallback() 116 if (mLocalManager == null) { in forceUpdate() [all …]
|
H A D | DeviceListPreferenceFragment.java | 69 LocalBluetoothManager mLocalManager; field in DeviceListPreferenceFragment 97 mLocalManager = Utils.getLocalBtManager(getActivity()); in onCreate() 98 if (mLocalManager == null) { in onCreate() 117 if (mLocalManager == null || isUiRestricted()) return; in onStart() 119 mLocalManager.setForegroundActivity(getActivity()); in onStart() 120 mLocalManager.getEventManager().registerCallback(this); in onStart() 126 if (mLocalManager == null || isUiRestricted()) { in onStop() 131 mLocalManager.setForegroundActivity(null); in onStop() 132 mLocalManager.getEventManager().unregisterCallback(this); in onStop() 142 mLocalManager.getCachedDeviceManager().getCachedDevicesCopy(); in addCachedDevices()
|
H A D | BluetoothDetailsHeaderController.java | 43 private LocalBluetoothManager mLocalManager; field in BluetoothDetailsHeaderController 50 mLocalManager = bluetoothManager; in BluetoothDetailsHeaderController() 51 mDeviceManager = mLocalManager.getCachedDeviceManager(); in BluetoothDetailsHeaderController()
|
H A D | BluetoothPairingDetail.java | 72 if (mLocalManager == null){ in onStart() 99 if (mLocalManager == null){ in onStop() 127 mLocalManager.getCachedDeviceManager().clearNonBondedDevices(); in enableScanning()
|
H A D | SavedBluetoothDeviceUpdater.java | 62 mLocalManager.getCachedDeviceManager(); in forceUpdate()
|
/aosp12/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
H A D | DiscoverableFooterPreferenceController.java | 51 LocalBluetoothManager mLocalManager; field in DiscoverableFooterPreferenceController 59 mLocalManager = Utils.getLocalBtManager(context); in DiscoverableFooterPreferenceController() 60 if (mLocalManager == null) { in DiscoverableFooterPreferenceController() 83 if (mLocalManager == null) { in onStart() 96 if (mLocalManager == null) { in onStop()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | BluetoothDeviceUpdaterTest.java | 80 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceUpdaterTest 103 when(mLocalManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp() 113 mLocalManager) { in setUp() 216 mBluetoothDeviceUpdater.mLocalManager = null; in registerCallback_localBluetoothManagerNull_shouldNotCrash() 224 mBluetoothDeviceUpdater.mLocalManager = null; in unregisterCallback_localBluetoothManagerNull_shouldNotCrash()
|
H A D | BluetoothDeviceDetailsFragmentTest.java | 71 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceDetailsFragmentTest 82 doReturn(mLocalManager).when(mFragment).getLocalBluetoothManager(any()); in setUp() 104 assertThat(mFragment.mManager).isEqualTo(mLocalManager); in verifyOnAttachResult()
|
H A D | BluetoothPairingDetailTest.java | 70 private LocalBluetoothManager mLocalManager; field in BluetoothPairingDetailTest 105 mFragment.mLocalManager = mLocalManager; in setUp()
|
H A D | BluetoothDetailsProfilesControllerTest.java | 67 private LocalBluetoothManager mLocalManager; field in BluetoothDetailsProfilesControllerTest 79 when(mLocalManager.getProfileManager()).thenReturn(mProfileManager); in setUp() 85 mController = new BluetoothDetailsProfilesController(mContext, mFragment, mLocalManager, in setUp()
|
H A D | SavedBluetoothDeviceUpdaterTest.java | 97 mBluetoothDeviceUpdater.mLocalManager = mBluetoothManager; in setUp()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
H A D | DiscoverableFooterPreferenceControllerTest.java | 163 mDiscoverableFooterPreferenceController.mLocalManager = null; in onStart_localBluetoothManagerNull_shouldNotCrash() 171 mDiscoverableFooterPreferenceController.mLocalManager = null; in onStop_localBluetoothManagerNull_shouldNotCrash()
|
H A D | AvailableMediaDeviceGroupControllerTest.java | 79 private LocalBluetoothManager mLocalManager; field in AvailableMediaDeviceGroupControllerTest 101 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
H A D | AudioOutputSwitchPreferenceControllerTest.java | 92 private LocalBluetoothManager mLocalManager; field in AudioOutputSwitchPreferenceControllerTest 129 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
H A D | MediaOutputPreferenceControllerTest.java | 101 private LocalBluetoothManager mLocalManager; field in MediaOutputPreferenceControllerTest 148 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|
H A D | HandsFreeProfileOutputPreferenceControllerTest.java | 88 private LocalBluetoothManager mLocalManager; field in HandsFreeProfileOutputPreferenceControllerTest 124 ShadowBluetoothUtils.sLocalBluetoothManager = mLocalManager; in setUp()
|