OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BluetoothHeadset
(Results
1 - 25
of
25
) sorted by null
/packages/services/Telephony/src/com/android/phone/
BluetoothManager.java
24
import android.bluetooth.
BluetoothHeadset
;
56
private
BluetoothHeadset
mBluetoothHeadset;
58
private int mBluetoothHeadsetAudioState =
BluetoothHeadset
.STATE_AUDIO_DISCONNECTED;
78
return (mBluetoothHeadsetAudioState !=
BluetoothHeadset
.STATE_AUDIO_DISCONNECTED);
89
// -
BluetoothHeadset
is the API for the control connection to a
113
// ...since we already have a
BluetoothHeadset
instance. We can just
117
// Check if there's a connected headset, using the
BluetoothHeadset
API.
161
* <b>or</b> if we issued a
BluetoothHeadset
.connectAudio()
199
* This depends on the
BluetoothHeadset
state *and* the current
252
new IntentFilter(
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED)
[
all
...]
BluetoothPhoneService.java
22
import android.bluetooth.
BluetoothHeadset
;
67
private
BluetoothHeadset
mBluetoothHeadset;
438
mBluetoothHeadset = (
BluetoothHeadset
) proxy;
[
all
...]
CallNotifier.java
35
import android.bluetooth.
BluetoothHeadset
;
140
private
BluetoothHeadset
mBluetoothHeadset;
[
all
...]
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DebugReceiver.java
24
import android.bluetooth.
BluetoothHeadset
;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetStateMachine.java
38
import android.bluetooth.
BluetoothHeadset
;
189
mAudioState =
BluetoothHeadset
.STATE_AUDIO_DISCONNECTED;
[
all
...]
HeadsetService.java
20
import android.bluetooth.
BluetoothHeadset
;
229
if (service == null) return
BluetoothHeadset
.STATE_AUDIO_DISCONNECTED;
505
if (!command.equals(
BluetoothHeadset
.VENDOR_RESULT_CODE_COMMAND_ANDROID)) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
DockEventReceiver.java
23
import android.bluetooth.
BluetoothHeadset
;
84
} else if (
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction()) ||
HeadsetProfile.java
22
import android.bluetooth.
BluetoothHeadset
;
41
private
BluetoothHeadset
mService;
64
mService = (
BluetoothHeadset
) proxy;
LocalBluetoothProfileManager.java
21
import android.bluetooth.
BluetoothHeadset
;
53
* An interface for notifying
BluetoothHeadset
IPC clients when they have
54
* been connected to the
BluetoothHeadset
service.
60
* connected to the
BluetoothHeadset
service. Clients must wait for
61
* this callback before making IPC calls on the
BluetoothHeadset
68
* disconnected from the
BluetoothHeadset
service. Clients must not
69
* make IPC calls on the
BluetoothHeadset
service after this callback.
71
* the
BluetoothHeadset
service, but may be called more often in future.
165
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED);
DockService.java
28
import android.bluetooth.
BluetoothHeadset
;
206
if (
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) {
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothHeadsetHandover.java
22
import android.bluetooth.
BluetoothHeadset
;
95
BluetoothHeadset
mHeadset;
130
filter.addAction(
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED);
319
} else if (
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED.equals(action) &&
423
mHeadset = (
BluetoothHeadset
) proxy;
/packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java
23
import android.bluetooth.
BluetoothHeadset
;
57
* This transitions out on events from TTS and the
BluetoothHeadset
166
private
BluetoothHeadset
mBluetoothHeadset;
222
// Get handle to
BluetoothHeadset
object
225
audioStateFilter.addAction(
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED);
226
audioStateFilter.addAction(
BluetoothHeadset
.ACTION_AUDIO_STATE_CHANGED);
237
if (
BluetoothHeadset
.isBluetoothVoiceDialingEnabled(this) && mAdapter != null) {
390
// we can't start recognizing until we get connected to the
BluetoothHeadset
419
mBluetoothHeadset = (
BluetoothHeadset
) proxy;
429
if (state ==
BluetoothHeadset
.STATE_CONNECTED)
[
all
...]
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java
22
import android.bluetooth.
BluetoothHeadset
;
82
private
BluetoothHeadset
mBluetoothHeadset;
104
new IntentFilter(
BluetoothHeadset
.ACTION_AUDIO_STATE_CHANGED);
650
mBluetoothHeadset = (
BluetoothHeadset
) proxy;
679
if (action.equals(
BluetoothHeadset
.ACTION_AUDIO_STATE_CHANGED)) {
682
Log.e(TAG, "
BluetoothHeadset
.ACTION_AUDIO_STATE_CHANGED: "+state);
/frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java
20
import android.bluetooth.
BluetoothHeadset
;
55
private
BluetoothHeadset
mBluetoothHeadset;
329
mBluetoothHeadset = (
BluetoothHeadset
) proxy;
/frameworks/base/core/java/android/bluetooth/
BluetoothHeadset.java
36
* <p>
BluetoothHeadset
is a proxy object for controlling the Bluetooth Headset
40
* the
BluetoothHeadset
proxy object. Use
46
public final class
BluetoothHeadset
implements BluetoothProfile {
47
private static final String TAG = "
BluetoothHeadset
";
260
* Create a
BluetoothHeadset
proxy object.
262
/*package*/
BluetoothHeadset
(Context context, ServiceListener l) {
292
* Other public functions of
BluetoothHeadset
will return default error
686
return
BluetoothHeadset
.STATE_AUDIO_DISCONNECTED;
809
* This is a backdoor for phone app to call
BluetoothHeadset
since
[
all
...]
BluetoothAdapter.java
[
all
...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java
224
mConnectionAction =
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED;
319
mHeadset = (
BluetoothHeadset
) proxy;
360
private
BluetoothHeadset
mHeadset = null;
[
all
...]
/frameworks/base/media/java/android/media/
AudioService.java
35
import android.bluetooth.
BluetoothHeadset
;
351
//
BluetoothHeadset
API to control SCO connection
352
private
BluetoothHeadset
mBluetoothHeadset;
379
// SCO audio mode is virtual voice call (
BluetoothHeadset
.startScoUsingVirtualVoiceCall())
381
// SCO audio mode is raw audio (
BluetoothHeadset
.connectAudio())
538
new IntentFilter(
BluetoothHeadset
.ACTION_AUDIO_STATE_CHANGED);
539
intentFilter.addAction(
BluetoothHeadset
.ACTION_CONNECTION_STATE_CHANGED);
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
22
import android.bluetooth.
BluetoothHeadset
;
251
BluetoothHeadset
mBtHeadset;
[
all
...]
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 343 milliseconds