OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mLocalAdapter
(Results
1 - 17
of
17
) 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
92
if (
mLocalAdapter
.isEnabled() && mMyDevicePreference != null) {
93
mMyDevicePreference.setTitle(
mLocalAdapter
.getName());
153
if (
mLocalAdapter
!= null) {
154
updateContent(
mLocalAdapter
.getBluetoothState(), mActivityStarted);
172
if (
mLocalAdapter
== null) return;
176
boolean bluetoothIsEnabled =
mLocalAdapter
.getBluetoothState() == BluetoothAdapter.STATE_ON;
177
boolean isDiscovering =
mLocalAdapter
.isDiscovering();
198
if (
mLocalAdapter
.getBluetoothState() == BluetoothAdapter.STATE_ON) {
226
mLocalAdapter
.startScanning(true);
231
mLocalAdapter
.stopScanning()
[
all
...]
DeviceListPreferenceFragment.java
53
LocalBluetoothAdapter
mLocalAdapter
;
82
mLocalAdapter
= mLocalManager.getBluetoothAdapter();
104
updateProgressUi(
mLocalAdapter
.isDiscovering());
118
mLocalAdapter
.stopScanning();
135
mLocalAdapter
.startScanning(true);
160
if (
mLocalAdapter
.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
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();
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();
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());
DevicePickerFragment.java
68
mLocalAdapter
.startScanning(true);
75
mLocalAdapter
.stopScanning();
103
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(),
LocalBluetoothProfileManager.java
76
private final LocalBluetoothAdapter
mLocalAdapter
;
99
mLocalAdapter
= adapter;
103
mLocalAdapter
.setProfileManager(this);
114
mHidProfile = new HidProfile(context,
mLocalAdapter
, mDeviceManager, this);
141
mA2dpProfile = new A2dpProfile(mContext,
mLocalAdapter
, mDeviceManager, this);
154
mHeadsetProfile = new HeadsetProfile(mContext,
mLocalAdapter
,
201
ParcelUuid[] uuids =
mLocalAdapter
.getUuids();
222
cachedDevice = mDeviceManager.addDevice(
mLocalAdapter
,
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(),
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);
CachedBluetoothDevice.java
47
private final LocalBluetoothAdapter
mLocalAdapter
;
122
if (
mLocalAdapter
.getBluetoothState() == BluetoothAdapter.STATE_TURNING_OFF)
153
mLocalAdapter
= adapter;
283
if (
mLocalAdapter
.isDiscovering()) {
284
mLocalAdapter
.cancelDiscovery();
462
ParcelUuid[] localUuids =
mLocalAdapter
.getUuids();
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
...]
/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 339 milliseconds