Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DServiceFeature.java25 public static final long PLAYER_NAME = 0x00000001; field in ServiceFeature
49 public static final long PLAYER_NAME_NOTIFY = PLAYER_NAME << 32;
66 PLAYER_NAME
75 if (serviceFeature == PLAYER_NAME) return "PLAYER_NAME(BIT 1)"; in toString()
DPlayerStateField.java27 PLAYER_NAME, enumConstant
DMediaControlGattService.java1159 if (isFeatureSupported(ServiceFeature.PLAYER_NAME)) { in initialStateRequest()
1160 field_list.add(PlayerStateField.PLAYER_NAME); in initialStateRequest()
1638 if (stateFields.containsKey(PlayerStateField.PLAYER_NAME)) { in updatePlayerState()
1639 String name = (String) stateFields.get(PlayerStateField.PLAYER_NAME); in updatePlayerState()
2126 if (!isFeatureSupported(ServiceFeature.PLAYER_NAME)) return null; in getPlayerNameChar()
2128 BluetoothGattCharacteristic characteristic = mCharacteristics.get(CharId.PLAYER_NAME); in getPlayerNameChar()
2139 if (!isFeatureSupported(ServiceFeature.PLAYER_NAME)) return; in updatePlayerNameChar()
2141 BluetoothGattCharacteristic characteristic = mCharacteristics.get(CharId.PLAYER_NAME); in updatePlayerNameChar()
2222 public static final int PLAYER_NAME = field in MediaControlGattService.CharId
2223 Long.numberOfTrailingZeros(ServiceFeature.PLAYER_NAME);
[all …]
DMediaControlProfile.java174 state_map.put(PlayerStateField.PLAYER_NAME, playerName); in onCurrentPlayerStateUpdated()
658 case PLAYER_NAME: in processPendingPlayerStateRequest()
847 ServiceFeature.PLAYER_NAME
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlProfileTest.java259 Assert.assertTrue(stateMap.containsKey(PlayerStateField.PLAYER_NAME)); in testOnCurrentPlayerStateUpdate()
460 PlayerStateField.PLAYER_NAME, in testProcessPendingPlayerStateRequest()
478 Assert.assertTrue(stateMap.containsKey(PlayerStateField.PLAYER_NAME)); in testProcessPendingPlayerStateRequest()
DMediaControlGattServiceTest.java476 state_map.put(PlayerStateField.PLAYER_NAME, player_name); in testUpdatePlayerState()
1466 state_map.put(PlayerStateField.PLAYER_NAME, player_name); in testUpdatePlayerNameFromNull()