Home
last modified time | relevance | path

Searched refs:mLocalManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java60 private LocalBluetoothManager mLocalManager; field in BluetoothSettings
76 onBluetoothStateChanged(mLocalManager.getBluetoothState());
84 mLocalManager = LocalBluetoothManager.getInstance(this); in onCreate()
85 if (mLocalManager == null) finish(); in onCreate()
117 mLocalManager.registerCallback(this); in onResume()
119 mLocalManager.startScanning(false); in onResume()
124 mLocalManager.setForegroundActivity(this); in onResume()
131 mLocalManager.setForegroundActivity(null); in onPause()
135 mLocalManager.unregisterCallback(this); in onPause()
142 List<LocalBluetoothDevice> devices = mLocalManager.getLocalDeviceManager().getDevicesCopy(); in addDevices()
[all …]
DBluetoothDiscoverableEnabler.java53 private final LocalBluetoothManager mLocalManager; field in BluetoothDiscoverableEnabler
80 mLocalManager = LocalBluetoothManager.getInstance(context); in BluetoothDiscoverableEnabler()
81 if (mLocalManager == null) { in BluetoothDiscoverableEnabler()
88 if (mLocalManager == null) { in resume()
96 handleModeChanged(mLocalManager.getBluetoothManager().getScanMode()); in resume()
100 if (mLocalManager == null) { in pause()
117 BluetoothDevice manager = mLocalManager.getBluetoothManager(); in setEnabled()
146 SharedPreferences.Editor editor = mLocalManager.getSharedPreferences().edit(); in persistDiscoverableEndTimestamp()
162 int mode = mLocalManager.getBluetoothManager().getScanMode(); in updateCountdownSummary()
168 long endTimestamp = mLocalManager.getSharedPreferences().getLong( in updateCountdownSummary()
DLocalBluetoothDevice.java67 private final LocalBluetoothManager mLocalManager; field in LocalBluetoothDevice
218 int newState = LocalBluetoothProfileManager.getProfileManager(mLocalManager, in onProfileStateChanged()
285 mLocalManager = LocalBluetoothManager.getInstance(context); in LocalBluetoothDevice()
286 if (mLocalManager == null) { in LocalBluetoothDevice()
320 LocalBluetoothProfileManager.getProfileManager(mLocalManager, profile); in disconnectInt()
331 Context context = mLocalManager.getForegroundActivity(); in askDisconnect()
366 Context context = mLocalManager.getContext(); in connect()
370 LocalBluetoothProfileManager.getProfileManager(mLocalManager, profile); in connect()
388 Context context = mLocalManager.getContext(); in connectAndPreferAllProfiles()
391 LocalBluetoothProfileManager.getProfileManager(mLocalManager, profile); in connectAndPreferAllProfiles()
[all …]
DBluetoothEnabler.java47 private final LocalBluetoothManager mLocalManager; field in BluetoothEnabler
65 mLocalManager = LocalBluetoothManager.getInstance(context); in BluetoothEnabler()
66 if (mLocalManager == null) { in BluetoothEnabler()
73 if (mLocalManager == null) { in resume()
77 int state = mLocalManager.getBluetoothState(); in resume()
90 if (mLocalManager == null) { in pause()
110 mLocalManager.setBluetoothEnabled(enable); in setEnabled()
DBluetoothNamePreference.java38 private LocalBluetoothManager mLocalManager; field in BluetoothNamePreference
57 mLocalManager = LocalBluetoothManager.getInstance(context); in BluetoothNamePreference()
74 BluetoothDevice manager = mLocalManager.getBluetoothManager(); in setSummaryToName()
82 BluetoothDevice manager = mLocalManager.getBluetoothManager(); in persistString()
DLocalBluetoothDeviceManager.java35 final LocalBluetoothManager mLocalManager; field in LocalBluetoothDeviceManager
41 mLocalManager = localManager; in LocalBluetoothDeviceManager()
47 BluetoothDevice manager = mLocalManager.getBluetoothManager(); in readPairedDevices()
55 device = new LocalBluetoothDevice(mLocalManager.getContext(), address); in readPairedDevices()
80 device = new LocalBluetoothDevice(mLocalManager.getContext(), address); in onDeviceAppeared()
200 mLocalManager.showError(address, R.string.bluetooth_error_title, errorMsg); in onBondingError()
DBluetoothPinDialog.java50 private LocalBluetoothManager mLocalManager; field in BluetoothPinDialog
85 mLocalManager = LocalBluetoothManager.getInstance(this); in onCreate()
136 String name = mLocalManager.getLocalDeviceManager().getName(mAddress); in createView()
159 mLocalManager.getLocalDeviceManager().getName(mAddress))); in onReceivedPairingCanceled()
176 mLocalManager.getBluetoothManager().setPin(mAddress, pinBytes); in onPair()
180 mLocalManager.getBluetoothManager().cancelBondProcess(mAddress); in onCancel()
DLocalBluetoothProfileManager.java41 protected LocalBluetoothManager mLocalManager; field in LocalBluetoothProfileManager
91 mLocalManager = localManager; in LocalBluetoothProfileManager()
220 mLocalManager.getLocalDeviceManager() in onServiceConnected()