HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothHeadset (Results 1 - 25 of 29) sorted by null

1 2

  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothManager.java 21 import android.bluetooth.BluetoothHeadset;
41 mBluetoothHeadset = (BluetoothHeadset) proxy;
42 Log.v(this, "- Got BluetoothHeadset: " + mBluetoothHeadset);
59 if (action.equals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED)) {
60 int bluetoothHeadsetState = intent.getIntExtra(BluetoothHeadset.EXTRA_STATE,
61 BluetoothHeadset.STATE_DISCONNECTED);
65 } else if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
67 intent.getIntExtra(BluetoothHeadset.EXTRA_STATE,
68 BluetoothHeadset.STATE_AUDIO_DISCONNECTED);
79 private BluetoothHeadset mBluetoothHeadset
    [all...]
BluetoothPhoneService.java 21 import android.bluetooth.BluetoothHeadset;
401 mBluetoothHeadset = (BluetoothHeadset) proxy;
425 private BluetoothHeadset mBluetoothHeadset;
    [all...]
  /development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DebugReceiver.java 24 import android.bluetooth.BluetoothHeadset;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BluetoothUtil.java 23 import android.bluetooth.BluetoothHeadset;
114 if (p instanceof BluetoothHeadset) return newProfile((BluetoothHeadset) p);
137 private static Profile newProfile(final BluetoothHeadset headset) {
  /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/
BluetoothPeripheralHandover.java 22 import android.bluetooth.BluetoothHeadset;
100 BluetoothHeadset mHeadset;
144 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
416 } else if (BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED.equals(action) &&
531 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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetStateMachine.java 38 import android.bluetooth.BluetoothHeadset;
217 mAudioState = BluetoothHeadset.STATE_AUDIO_DISCONNECTED;
    [all...]
HeadsetService.java 20 import android.bluetooth.BluetoothHeadset;
230 if (service == null) return BluetoothHeadset.STATE_AUDIO_DISCONNECTED;
519 if (!command.equals(BluetoothHeadset.VENDOR_RESULT_CODE_COMMAND_ANDROID)) {
  /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);
659 mBluetoothHeadset = (BluetoothHeadset) proxy;
688 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
691 Log.e(TAG, "BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED: "+state);
  /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) {
293 * Other public functions of BluetoothHeadset will return default error
687 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED;
810 * This is a backdoor for phone app to call BluetoothHeadset since
    [all...]
BluetoothAdapter.java     [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioManagerAndroid.java 564 // broadcasted intent BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED
763 android.bluetooth.BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
773 android.bluetooth.BluetoothHeadset.EXTRA_STATE,
774 android.bluetooth.BluetoothHeadset.STATE_DISCONNECTED);
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallNotifier.java 34 import android.bluetooth.BluetoothHeadset;
97 private BluetoothHeadset mBluetoothHeadset;
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java 225 mConnectionAction = BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED;
320 mHeadset = (BluetoothHeadset) proxy;
361 private BluetoothHeadset mHeadset = null;
    [all...]
  /frameworks/base/media/java/android/media/
AudioService.java 32 import android.bluetooth.BluetoothHeadset;
404 // BluetoothHeadset API to control SCO connection
405 private BluetoothHeadset mBluetoothHeadset;
434 // SCO audio mode is virtual voice call (BluetoothHeadset.startScoUsingVirtualVoiceCall())
436 // SCO audio mode is raw audio (BluetoothHeadset.connectAudio())
438 // SCO audio mode is Voice Recognition (BluetoothHeadset.startVoiceRecognition())
602 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
603 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 20 import android.bluetooth.BluetoothHeadset;
67 private BluetoothHeadset mBluetoothHeadset;
527 mBluetoothHeadset = (BluetoothHeadset) proxy;
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 24 import android.bluetooth.BluetoothHeadset;
324 BluetoothHeadset mBtHeadset;
    [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 

Completed in 575 milliseconds

1 2