/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragment.java | 68 LocalBluetoothManager mLocalManager; field in DeviceListPreferenceFragment 95 mLocalManager = Utils.getLocalBtManager(getActivity()); in onCreate() 96 if (mLocalManager == null) { in onCreate() 100 mLocalAdapter = mLocalManager.getBluetoothAdapter(); 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() [all …]
|
D | BluetoothDeviceNamePreferenceController.java | 53 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceNamePreferenceController 59 mLocalManager = Utils.getLocalBtManager(context); in BluetoothDeviceNamePreferenceController() 60 if (mLocalManager == null) { in BluetoothDeviceNamePreferenceController() 64 mLocalAdapter = mLocalManager.getBluetoothAdapter(); in BluetoothDeviceNamePreferenceController()
|
D | BluetoothPairingDetail.java | 108 mLocalManager.getCachedDeviceManager().clearNonBondedDevices(); in enableScanning()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothSettingsFragment.java | 58 private LocalBluetoothManager mLocalManager; field in BluetoothSettingsFragment 119 mLocalManager = LocalBluetoothManager.getInstance(getContext(), null /* listener */); in onActivityCreated() 120 if (mLocalManager == null) { in onActivityCreated() 124 mLocalAdapter = mLocalManager.getBluetoothAdapter(); in onActivityCreated() 130 getContext() , mLocalManager, mFragmentController); in onActivityCreated() 137 if (mLocalManager == null) { in onStart() 145 mLocalManager.setForegroundActivity(getActivity()); in onStart() 146 mLocalManager.getEventManager().registerCallback(this); in onStart() 167 if (mLocalManager == null) { in onStop() 173 mLocalManager.setForegroundActivity(null); in onStop() [all …]
|
D | BluetoothDetailFragment.java | 56 private LocalBluetoothManager mLocalManager; field in BluetoothDetailFragment 74 mLocalManager = LocalBluetoothManager.getInstance(getContext(), null /* listener */); in onCreate() 75 if (mLocalManager == null) { in onCreate() 79 mDeviceManager = mLocalManager.getCachedDeviceManager(); in onCreate() 83 mLocalManager.getBluetoothAdapter(), in onCreate() 84 mLocalManager.getProfileManager(), in onCreate()
|
D | BluetoothDeviceListAdapter.java | 76 private final LocalBluetoothManager mLocalManager; field in BluetoothDeviceListAdapter 118 mLocalManager = localBluetoothManager; in BluetoothDeviceListAdapter() 120 mLocalAdapter = mLocalManager.getBluetoothAdapter(); in BluetoothDeviceListAdapter() 121 mDeviceManager = mLocalManager.getCachedDeviceManager(); in BluetoothDeviceListAdapter() 135 mLocalManager.getEventManager().registerCallback(this); in start() 149 mLocalManager.getEventManager().unregisterCallback(this); in stop() 369 mLocalAdapter, mLocalManager.getProfileManager(), device); in addBondDevices()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDetailTest.java | 65 private LocalBluetoothManager mLocalManager; field in BluetoothPairingDetailTest 86 mFragment.mLocalManager = mLocalManager; in setUp()
|
D | BluetoothDeviceDetailsFragmentTest.java | 65 private LocalBluetoothManager mLocalManager; field in BluetoothDeviceDetailsFragmentTest 75 doReturn(mLocalManager).when(mFragment).getLocalBluetoothManager(any()); in setUp()
|
D | BluetoothDetailsProfilesControllerTest.java | 65 private LocalBluetoothManager mLocalManager; field in BluetoothDetailsProfilesControllerTest 77 when(mLocalManager.getProfileManager()).thenReturn(mProfileManager); in setUp() 83 mController = new BluetoothDetailsProfilesController(mContext, mFragment, mLocalManager, in setUp()
|