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

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java 41 private final LocalBluetoothAdapter mLocalAdapter;
62 mLocalAdapter = null;
65 mLocalAdapter = manager.getBluetoothAdapter();
71 if (mLocalAdapter == null) {
77 handleStateChanged(mLocalAdapter.getBluetoothState());
85 if (mLocalAdapter == null) {
101 if (mLocalAdapter != null) bluetoothState = mLocalAdapter.getBluetoothState();
117 if (mLocalAdapter != null) {
118 mLocalAdapter.setBluetoothEnabled(isChecked)
    [all...]
LocalBluetoothManager.java 41 private final LocalBluetoothAdapter mLocalAdapter;
75 mLocalAdapter = adapter;
78 mEventManager = new BluetoothEventManager(mLocalAdapter,
81 mLocalAdapter, mCachedDeviceManager, mEventManager);
85 return mLocalAdapter;
BluetoothSettings.java 90 if (mLocalAdapter.isEnabled() && mMyDevicePreference != null) {
91 mMyDevicePreference.setTitle(mLocalAdapter.getName());
151 if (mLocalAdapter != null) {
152 updateContent(mLocalAdapter.getBluetoothState(), mActivityStarted);
170 if (mLocalAdapter == null) return;
174 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON;
175 boolean isDiscovering = mLocalAdapter.isDiscovering();
196 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
224 mLocalAdapter.startScanning(true);
229 mLocalAdapter.stopScanning()
    [all...]
DeviceListPreferenceFragment.java 54 LocalBluetoothAdapter mLocalAdapter;
84 mLocalAdapter = mLocalManager.getBluetoothAdapter();
106 updateProgressUi(mLocalAdapter.isDiscovering());
120 mLocalAdapter.stopScanning();
137 mLocalAdapter.startScanning(true);
162 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
BluetoothDiscoverableEnabler.java 67 private final LocalBluetoothAdapter mLocalAdapter;
99 mLocalAdapter = adapter;
106 if (mLocalAdapter == null) {
113 handleModeChanged(mLocalAdapter.getScanMode());
117 if (mLocalAdapter == null) {
139 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
148 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE);
247 handleModeChanged(mLocalAdapter.getScanMode());
270 int mode = mLocalAdapter.getScanMode();
RequestPermissionHelperActivity.java 46 private LocalBluetoothAdapter mLocalAdapter;
58 // Note: initializes mLocalAdapter and returns true on error
105 btState = mLocalAdapter.getBluetoothState();
114 || mLocalAdapter.enable()) {
155 mLocalAdapter = manager.getBluetoothAdapter();
BluetoothNameDialogFragment.java 55 final LocalBluetoothAdapter mLocalAdapter;
84 mLocalAdapter = localManager.getBluetoothAdapter();
89 String deviceName = mLocalAdapter.getName();
115 mLocalAdapter.setName(deviceName);
177 if (mLocalAdapter != null && mLocalAdapter.isEnabled()) {
180 mDeviceNameView.setText(mLocalAdapter.getName());
LocalBluetoothProfileManager.java 77 private final LocalBluetoothAdapter mLocalAdapter;
101 mLocalAdapter = adapter;
105 mLocalAdapter.setProfileManager(this);
116 mHidProfile = new HidProfile(context, mLocalAdapter, mDeviceManager, this);
125 mMapProfile = new MapProfile(mContext, mLocalAdapter,
149 mA2dpProfile = new A2dpProfile(mContext, mLocalAdapter, mDeviceManager, this);
162 mHeadsetProfile = new HeadsetProfile(mContext, mLocalAdapter,
209 ParcelUuid[] uuids = mLocalAdapter.getUuids();
230 cachedDevice = mDeviceManager.addDevice(mLocalAdapter,
DevicePickerFragment.java 72 mLocalAdapter.startScanning(true);
79 mLocalAdapter.stopScanning();
107 mLocalAdapter.startScanning(false);
A2dpProfile.java 41 private final LocalBluetoothAdapter mLocalAdapter;
70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
91 mLocalAdapter = adapter;
94 mLocalAdapter.getProfileProxy(context, new A2dpServiceListener(),
RequestPermissionActivity.java 53 private LocalBluetoothAdapter mLocalAdapter;
97 // Note: initializes mLocalAdapter and returns true on error
103 int btState = mLocalAdapter.getState();
199 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
226 } else if (mLocalAdapter.setScanMode(
284 mLocalAdapter = manager.getBluetoothAdapter();
HidProfile.java 41 private final LocalBluetoothAdapter mLocalAdapter;
65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
86 mLocalAdapter = adapter;
HeadsetProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
98 mLocalAdapter = adapter;
101 mLocalAdapter.getProfileProxy(context, new HeadsetServiceListener(),
MapProfile.java 44 private final LocalBluetoothAdapter mLocalAdapter;
73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice);
99 mLocalAdapter = adapter;
102 mLocalAdapter.getProfileProxy(context, new MapServiceListener(),
BluetoothEventManager.java 45 private final LocalBluetoothAdapter mLocalAdapter;
76 mLocalAdapter = adapter;
161 mLocalAdapter.setBluetoothStateInt(state);
201 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
373 Set<BluetoothDevice> bondedDevices = mLocalAdapter.getBondedDevices();
382 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
DockService.java 102 private LocalBluetoothAdapter mLocalAdapter;
135 mLocalAdapter = manager.getBluetoothAdapter();
165 mLocalAdapter = null;
308 if (mLocalAdapter.disable()) {
420 Set<BluetoothDevice> btDevices = mLocalAdapter.getBondedDevices();
710 mLocalAdapter.enable();
751 && mLocalAdapter.disable()) {
    [all...]
CachedBluetoothDevice.java 47 private final LocalBluetoothAdapter mLocalAdapter;
134 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_TURNING_OFF)
175 mLocalAdapter = adapter;
305 if (mLocalAdapter.isDiscovering()) {
306 mLocalAdapter.cancelDiscovery();
487 ParcelUuid[] localUuids = mLocalAdapter.getUuids();
  /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 171 milliseconds