HomeSort by relevance Sort by last modified time
    Searched defs:mLocalAdapter (Results 1 - 22 of 22) sorted by null

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java 50 private final LocalBluetoothAdapter mLocalAdapter;
88 mLocalAdapter = null;
91 mLocalAdapter = manager.getBluetoothAdapter();
105 if (mLocalAdapter == null) {
115 handleStateChanged(mLocalAdapter.getBluetoothState());
123 if (mLocalAdapter == null) {
192 if (mLocalAdapter != null) {
193 boolean status = mLocalAdapter.setBluetoothEnabled(isChecked);
DeviceListPreferenceFragment.java 56 LocalBluetoothAdapter mLocalAdapter;
86 mLocalAdapter = mLocalManager.getBluetoothAdapter();
108 updateProgressUi(mLocalAdapter.isDiscovering());
124 mLocalAdapter.stopScanning();
140 mLocalAdapter.startScanning(true);
165 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
BluetoothDiscoverableEnabler.java 66 private final LocalBluetoothAdapter mLocalAdapter;
97 mLocalAdapter = adapter;
104 if (mLocalAdapter == null) {
115 handleModeChanged(mLocalAdapter.getScanMode());
119 if (mLocalAdapter == null) {
141 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
153 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE);
252 handleModeChanged(mLocalAdapter.getScanMode());
275 int mode = mLocalAdapter.getScanMode();
BluetoothNameDialogFragment.java 58 final LocalBluetoothAdapter mLocalAdapter;
87 mLocalAdapter = localManager.getBluetoothAdapter();
92 String deviceName = mLocalAdapter.getName();
117 mLocalAdapter.setName(deviceName);
179 if (mLocalAdapter != null && mLocalAdapter.isEnabled()) {
182 mDeviceNameView.setText(mLocalAdapter.getName());
RequestPermissionHelperActivity.java 45 private LocalBluetoothAdapter mLocalAdapter;
57 // Note: initializes mLocalAdapter and returns true on error
104 btState = mLocalAdapter.getBluetoothState();
113 || mLocalAdapter.enable()) {
154 mLocalAdapter = manager.getBluetoothAdapter();
BluetoothSettings.java 119 if (mLocalAdapter.isEnabled() && mMyDevicePreference != null) {
125 bidiFormatter.unicodeWrap(mLocalAdapter.getName())));
203 if (mLocalAdapter != null) {
204 updateContent(mLocalAdapter.getBluetoothState());
216 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE);
227 if (mLocalAdapter == null) return;
231 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON;
232 boolean isDiscovering = mLocalAdapter.isDiscovering();
250 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
289 mLocalAdapter.startScanning(true)
    [all...]
DevicePickerFragment.java 81 mLocalAdapter.startScanning(true);
107 mLocalAdapter.startScanning(true);
114 mLocalAdapter.stopScanning();
142 mLocalAdapter.startScanning(false);
RequestPermissionActivity.java 56 private LocalBluetoothAdapter mLocalAdapter;
100 // Note: initializes mLocalAdapter and returns true on error
106 int btState = mLocalAdapter.getState();
202 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
229 } else if (mLocalAdapter.setScanMode(
287 mLocalAdapter = manager.getBluetoothAdapter();
DockService.java 110 private LocalBluetoothAdapter mLocalAdapter;
143 mLocalAdapter = manager.getBluetoothAdapter();
173 mLocalAdapter = null;
316 if (mLocalAdapter.disable()) {
428 Set<BluetoothDevice> btDevices = mLocalAdapter.getBondedDevices();
718 mLocalAdapter.enable();
759 && mLocalAdapter.disable()) {
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
A2dpProfile.java 41 private final LocalBluetoothAdapter mLocalAdapter;
70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
91 mLocalAdapter = adapter;
94 mLocalAdapter.getProfileProxy(context, new A2dpServiceListener(),
A2dpSinkProfile.java 41 private final LocalBluetoothAdapter mLocalAdapter;
70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
91 mLocalAdapter = adapter;
94 mLocalAdapter.getProfileProxy(context, new A2dpSinkServiceListener(),
HeadsetProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
98 mLocalAdapter = adapter;
101 mLocalAdapter.getProfileProxy(context, new HeadsetServiceListener(),
HfpClientProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
98 mLocalAdapter = adapter;
101 mLocalAdapter.getProfileProxy(context, new HfpClientServiceListener(),
MapProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
99 mLocalAdapter = adapter;
102 mLocalAdapter.getProfileProxy(context, new MapServiceListener(),
PbapClientProfile.java 42 private final LocalBluetoothAdapter mLocalAdapter;
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
106 mLocalAdapter = adapter;
109 mLocalAdapter.getProfileProxy(context, new PbapClientServiceListener(),
SapProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
97 mLocalAdapter = adapter;
100 mLocalAdapter.getProfileProxy(context, new SapServiceListener(),
LocalBluetoothManager.java 39 private final LocalBluetoothAdapter mLocalAdapter;
69 mLocalAdapter = adapter;
72 mEventManager = new BluetoothEventManager(mLocalAdapter,
75 mLocalAdapter, mCachedDeviceManager, mEventManager);
79 return mLocalAdapter;
LocalBluetoothProfileManager.java 75 private final LocalBluetoothAdapter mLocalAdapter;
103 mLocalAdapter = adapter;
108 mLocalAdapter.setProfileManager(this);
119 mHidProfile = new HidProfile(context, mLocalAdapter, mDeviceManager, this);
128 mMapProfile = new MapProfile(mContext, mLocalAdapter,
152 mA2dpProfile = new A2dpProfile(mContext, mLocalAdapter, mDeviceManager, this);
164 mA2dpSinkProfile = new A2dpSinkProfile(mContext, mLocalAdapter, mDeviceManager, this);
177 mHeadsetProfile = new HeadsetProfile(mContext, mLocalAdapter,
191 new HfpClientProfile(mContext, mLocalAdapter, mDeviceManager, this);
218 mPbapClientProfile = new PbapClientProfile(mContext, mLocalAdapter, mDeviceManager
    [all...]
HidProfile.java 41 private final LocalBluetoothAdapter mLocalAdapter;
65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
86 mLocalAdapter = adapter;
CachedBluetoothDevice.java 50 private final LocalBluetoothAdapter mLocalAdapter;
129 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_TURNING_OFF)
165 mLocalAdapter = adapter;
295 if (mLocalAdapter.isDiscovering()) {
296 mLocalAdapter.cancelDiscovery();
487 ParcelUuid[] localUuids = mLocalAdapter.getUuids();
BluetoothEventManager.java 44 private final LocalBluetoothAdapter mLocalAdapter;
77 mLocalAdapter = adapter;
157 mLocalAdapter.setBluetoothStateInt(state);
196 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
380 Set<BluetoothDevice> bondedDevices = mLocalAdapter.getBondedDevices();
389 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
  /development/samples/Spinner/src/com/android/example/spinner/
SpinnerActivity.java 110 * Create a backing mLocalAdapter for the Spinner from a list of the
118 * Attach the mLocalAdapter to the spinner.
158 * provide local instances of the mLocalAdapter and the mLocalContext
161 ArrayAdapter<CharSequence> mLocalAdapter;
174 this.mLocalAdapter = ad;
187 * @param pos - the 0-based position of the selection in the mLocalAdapter

Completed in 6432 milliseconds