Home
last modified time | relevance | path

Searched refs:TRACK_DURATION (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DServiceFeature.java30 public static final long TRACK_DURATION = 0x00000020; field in ServiceFeature
51 public static final long TRACK_DURATION_NOTIFY = TRACK_DURATION << 32;
69 | TRACK_DURATION
80 if (serviceFeature == TRACK_DURATION) return "TRACK_DURATION(BIT 6)"; in toString()
DPlayerStateField.java33 TRACK_DURATION, enumConstant
DMediaControlGattService.java1646 reqFieldList.add(PlayerStateField.TRACK_DURATION); in updatePlayerState()
1693 if (stateFields.containsKey(PlayerStateField.TRACK_DURATION)) { in updatePlayerState()
1694 long newTrackDuration = (long) (stateFields.get(PlayerStateField.TRACK_DURATION)); in updatePlayerState()
1969 if (!isFeatureSupported(ServiceFeature.TRACK_DURATION)) return TRACK_DURATION_UNAVAILABLE; in getTrackDurationChar()
1971 BluetoothGattCharacteristic characteristic = mCharacteristics.get(CharId.TRACK_DURATION); in getTrackDurationChar()
1984 if (isFeatureSupported(ServiceFeature.TRACK_DURATION)) { in updateTrackDurationChar()
1991 mCharacteristics.get(CharId.TRACK_DURATION); in updateTrackDurationChar()
2232 public static final int TRACK_DURATION = field in MediaControlGattService.CharId
2233 Long.numberOfTrailingZeros(ServiceFeature.TRACK_DURATION);
2331 CharId.TRACK_DURATION, in getUuidCharacteristicList()
[all …]
DMediaControlProfile.java234 PlayerStateField.TRACK_DURATION, in onCurrentPlayerStateUpdated()
255 PlayerStateField.TRACK_DURATION, in onCurrentPlayerStateUpdated()
626 case TRACK_DURATION: in processPendingPlayerStateRequest()
854 | ServiceFeature.TRACK_DURATION
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlProfileTest.java269 Assert.assertTrue(stateMap.containsKey(PlayerStateField.TRACK_DURATION)); in testOnCurrentPlayerStateUpdate()
455 PlayerStateField.TRACK_DURATION, in testProcessPendingPlayerStateRequest()
473 Assert.assertTrue(stateMap.containsKey(PlayerStateField.TRACK_DURATION)); in testProcessPendingPlayerStateRequest()
DMediaControlGattServiceTest.java482 state_map.put(PlayerStateField.TRACK_DURATION, track_duration); in testUpdatePlayerState()