/frameworks/base/services/java/com/android/server/ |
WiredAccessoryManager.java | 50 * <p>WiredAccessoryManager monitors for a wired headset on the main board or dock using 132 int headset; local 136 headset = 0; 140 headset = BIT_HEADSET_NO_MIC; 144 headset = BIT_HEADSET; 148 headset = BIT_HEADSET; 152 headset = 0; 156 updateLocked(NAME_H2W, (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC)) | headset); 161 * Compare the existing headset state with the new state and pass along accordingly. Note 162 * that this only supports a single headset at a time. Inserting both a usb and jacked headse [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 291 HeaderSet headset; local 293 headset = new HeaderSet(); 295 headset = header; 296 if (headset.nonce != null) { 298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 303 if (headset.nonce != null) { 305 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 310 headset.mConnectionID = new byte[4]; 311 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4); 314 head = ObexHelper.createHeader(headset, false) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 1181 BluetoothHeadset headset = new BluetoothHeadset(context, listener); local 1219 BluetoothHeadset headset = (BluetoothHeadset)proxy; local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSortedSetTest.java | 120 assertSame(set, set.headSet("c")); 165 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 166 ASSERT.that(set.headSet("g")).hasContentsInOrder("e"); 167 assertSame(of(), set.headSet("c")); 168 assertSame(of(), set.headSet("e")); 267 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 268 ASSERT.that(set.headSet("e")).hasContentsInOrder("b", "c", "d"); 269 ASSERT.that(set.headSet("g")).hasContentsInOrder("b", "c", "d", "e", "f"); 270 assertSame(of(), set.headSet("a")); 271 assertSame(of(), set.headSet("b")) 450 SortedSet<String> headset = set.headSet("d"); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 248 /** Bluetooth headset object */ [all...] |