OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BluetoothProfile
(Results
1 - 25
of
175
) sorted by null
1
2
3
4
5
6
7
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
HeadsetClientStateMachineTest.java
5
import android.bluetooth.
BluetoothProfile
;
44
mockSM.getConnectionState((BluetoothDevice) null),
BluetoothProfile
.STATE_DISCONNECTED);
61
BluetoothProfile
.PRIORITY_OFF);
97
BluetoothProfile
.PRIORITY_ON);
112
assertEquals(
BluetoothProfile
.STATE_CONNECTING,
113
intentArgument1.getValue().getIntExtra(
BluetoothProfile
.EXTRA_STATE, -1));
131
assertEquals(
BluetoothProfile
.STATE_CONNECTED,
132
intentArgument2.getValue().getIntExtra(
BluetoothProfile
.EXTRA_STATE, -1));
156
BluetoothProfile
.PRIORITY_ON);
170
assertEquals(
BluetoothProfile
.STATE_CONNECTING
[
all
...]
/frameworks/base/core/java/android/bluetooth/
BluetoothProfile.java
32
public interface
BluetoothProfile
{
222
* An interface for notifying
BluetoothProfile
IPC clients when they have
234
public void onServiceConnected(int profile,
BluetoothProfile
proxy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
CarBatteryController.java
22
import android.bluetooth.
BluetoothProfile
;
23
import android.bluetooth.
BluetoothProfile
.ServiceListener;
86
BluetoothProfile
.HEADSET_CLIENT);
153
int newState = intent.getIntExtra(
BluetoothProfile
.EXTRA_STATE, -1);
156
int oldState = intent.getIntExtra(
BluetoothProfile
.EXTRA_PREVIOUS_STATE, -1);
213
if (newState ==
BluetoothProfile
.STATE_CONNECTED) {
235
} else if (newState ==
BluetoothProfile
.STATE_DISCONNECTED) {
266
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
267
if (profile ==
BluetoothProfile
.HEADSET_CLIENT) {
274
if (profile ==
BluetoothProfile
.HEADSET_CLIENT)
[
all
...]
ConnectedDeviceSignalController.java
6
import android.bluetooth.
BluetoothProfile
;
7
import android.bluetooth.
BluetoothProfile
.ServiceListener;
94
BluetoothProfile
.HEADSET_CLIENT);
147
int newState = intent.getIntExtra(
BluetoothProfile
.EXTRA_STATE, -1);
150
int oldState = intent.getIntExtra(
BluetoothProfile
.EXTRA_PREVIOUS_STATE, -1);
206
if (newState ==
BluetoothProfile
.STATE_CONNECTED) {
230
} else if (newState ==
BluetoothProfile
.STATE_DISCONNECTED) {
242
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
243
if (profile ==
BluetoothProfile
.HEADSET_CLIENT) {
250
if (profile ==
BluetoothProfile
.HEADSET_CLIENT)
[
all
...]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
BluetoothHeadsetFragment.java
25
import android.bluetooth.
BluetoothProfile
;
245
getContext(), new ProfileServiceListener(),
BluetoothProfile
.HEADSET_CLIENT);
253
class ProfileServiceListener implements
BluetoothProfile
.ServiceListener {
255
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
258
case
BluetoothProfile
.HEADSET_CLIENT:
270
case
BluetoothProfile
.HEADSET_CLIENT:
MapMceTestFragment.java
24
import android.bluetooth.
BluetoothProfile
;
137
BluetoothProfile
.MAP_CLIENT);
205
class MapServiceListener implements
BluetoothProfile
.ServiceListener {
207
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
231
if (intent.getIntExtra(
BluetoothProfile
.EXTRA_STATE, 0)
232
==
BluetoothProfile
.STATE_CONNECTED) {
235
} else if (intent.getIntExtra(
BluetoothProfile
.EXTRA_STATE, 0)
236
==
BluetoothProfile
.STATE_DISCONNECTED) {
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
BtEnum.py
38
class
BluetoothProfile
(IntEnum):
39
# Should be kept in sync with
BluetoothProfile
.java
87
# Should be kept in sync with
BluetoothProfile
#STATE_* constants.
101
# Priority levels as defined in
BluetoothProfile
.java.
/packages/services/Car/service/src/com/android/car/
BluetoothDevicesInfo.java
27
import android.bluetooth.
BluetoothProfile
;
324
DeviceInfo deviceInfo = new DeviceInfo(dev,
BluetoothProfile
.STATE_DISCONNECTED);
392
if (devInfo.getConnectionState() ==
BluetoothProfile
.STATE_CONNECTING) {
407
if (devInfo.getConnectionState() ==
BluetoothProfile
.STATE_CONNECTED) {
431
if (devInfo.getConnectionState() ==
BluetoothProfile
.STATE_CONNECTED) {
462
!=
BluetoothProfile
.STATE_DISCONNECTED) {
556
if (getCurrentConnectionStateLocked(device) !=
BluetoothProfile
.STATE_CONNECTED) {
564
setConnectionStateLocked(device,
BluetoothProfile
.STATE_CONNECTED);
582
if (getCurrentConnectionStateLocked(device) ==
BluetoothProfile
.STATE_CONNECTED) {
589
setConnectionStateLocked(device,
BluetoothProfile
.STATE_DISCONNECTED)
[
all
...]
/packages/apps/Settings/src/com/android/settings/
TetherSettings.java
23
import android.bluetooth.
BluetoothProfile
;
157
BluetoothProfile
.PAN);
217
BluetoothProfile
profile = mBluetoothPan.getAndSet(null);
219
adapter.closeProfileProxy(
BluetoothProfile
.PAN, profile);
580
private
BluetoothProfile
.ServiceListener mProfileServiceListener =
581
new
BluetoothProfile
.ServiceListener() {
582
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
/packages/services/Telephony/src/com/android/phone/
CallNotifier.java
29
import android.bluetooth.
BluetoothProfile
;
136
BluetoothProfile
.HEADSET);
740
private
BluetoothProfile
.ServiceListener mBluetoothProfileServiceListener =
741
new
BluetoothProfile
.ServiceListener() {
742
public void onServiceConnected(int profile,
BluetoothProfile
proxy) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/development/
DevelopmentSettings.java
32
import android.bluetooth.
BluetoothProfile
;
[
all
...]
/prebuilts/devtools/tools/lib/
sdklib.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0/
sdklib-25.0.0.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-alpha5/
sdklib-25.0.0-alpha5.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-alpha7/
sdklib-25.0.0-alpha7.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-alpha9/
sdklib-25.0.0-alpha9.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-beta2/
sdklib-25.0.0-beta2.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-beta5/
sdklib-25.0.0-beta5.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-beta6/
sdklib-25.0.0-beta6.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-beta7/
sdklib-25.0.0-beta7.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.0.0-rc3/
sdklib-25.0.0-rc3.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.1.0/
sdklib-25.1.0.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.1.0-alpha3/
sdklib-25.1.0-alpha3.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.1.0-alpha4/
sdklib-25.1.0-alpha4.jar
/prebuilts/gradle-plugin/com/android/tools/sdklib/25.1.0-beta1/
sdklib-25.1.0-beta1.jar
Completed in 331 milliseconds
1
2
3
4
5
6
7