/frameworks/base/services/core/java/com/android/server/ |
WiredAccessoryManager.java | 49 * <p>WiredAccessoryManager monitors for a wired headset on the main board or dock using 128 int headset; local 133 headset = 0; 137 headset = BIT_HEADSET_NO_MIC; 141 headset = BIT_LINEOUT; 145 headset = BIT_HEADSET; 149 headset = BIT_HEADSET; 153 headset = 0; 158 (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) | headset); 173 * Compare the existing headset state with the new state and pass along accordingly. Not [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 341 HeaderSet headset; local 343 headset = new HeaderSet(); 345 headset = header; 346 if (headset.nonce != null) { 348 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 353 if (headset.nonce != null) { 355 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 360 headset.mConnectionID = new byte[4]; 361 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4); 364 head = ObexHelper.createHeader(headset, false) [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 1811 BluetoothHeadset headset = new BluetoothHeadset(context, listener); local 1861 BluetoothHeadset headset = (BluetoothHeadset)proxy; local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedSetTest.java | 109 assertSame(set, set.headSet("c")); 147 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 148 ASSERT.that(set.headSet("g")).has().item("e"); 149 assertSame(of(), set.headSet("c")); 150 assertSame(of(), set.headSet("e")); 242 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 243 ASSERT.that(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); 244 ASSERT.that(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); 245 assertSame(of(), set.headSet("a")); 246 assertSame(of(), set.headSet("b")) 393 SortedSet<String> headset = set.headSet("d"); local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSortedSetTest.java | 221 assertSame(set, set.headSet("c")); 266 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 267 ASSERT.that(set.headSet("g")).has().item("e"); 268 assertSame(of(), set.headSet("c")); 269 assertSame(of(), set.headSet("e")); 368 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 369 ASSERT.that(set.headSet("e")).has().exactly("b", "c", "d").inOrder(); 370 ASSERT.that(set.headSet("g")).has().exactly("b", "c", "d", "e", "f").inOrder(); 371 assertSame(of(), set.headSet("a")); 372 assertSame(of(), set.headSet("b")) 551 SortedSet<String> headset = set.headSet("d"); local [all...] |