Home
last modified time | relevance | path

Searched refs:ServiceFeature (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java1147 if (isFeatureSupported(ServiceFeature.MEDIA_STATE)) { in initialStateRequest()
1151 if (isFeatureSupported(ServiceFeature.PLAYER_ICON_URL)) { in initialStateRequest()
1155 if (isFeatureSupported(ServiceFeature.PLAYER_ICON_OBJ_ID)) { in initialStateRequest()
1159 if (isFeatureSupported(ServiceFeature.PLAYER_NAME)) { in initialStateRequest()
1163 if (isFeatureSupported(ServiceFeature.PLAYING_ORDER_SUPPORTED)) { in initialStateRequest()
1277 if ((mFeatures & ServiceFeature.ALL_MANDATORY_SERVICE_FEATURES) in init()
1278 != ServiceFeature.ALL_MANDATORY_SERVICE_FEATURES) { in init()
1519 if (!isFeatureSupported(ServiceFeature.MEDIA_STATE)) return MediaState.INACTIVE.getValue(); in getMediaStateChar()
1534 if (!isFeatureSupported(ServiceFeature.MEDIA_STATE)) return; in updateMediaStateChar()
1648 if (isFeatureSupported(ServiceFeature.MEDIA_CONTROL_POINT_OPCODES_SUPPORTED)) { in updatePlayerState()
[all …]
DObjectIds.java22 public static final int PLAYER_ICON_OBJ_ID = (int) ServiceFeature.PLAYER_ICON_OBJ_ID;
24 (int) ServiceFeature.CURRENT_TRACK_SEGMENT_OBJ_ID;
25 public static final int CURRENT_TRACK_OBJ_ID = (int) ServiceFeature.CURRENT_TRACK_OBJ_ID;
26 public static final int NEXT_TRACK_OBJ_ID = (int) ServiceFeature.NEXT_TRACK_OBJ_ID;
27 public static final int CURRENT_GROUP_OBJ_ID = (int) ServiceFeature.CURRENT_GROUP_OBJ_ID;
28 public static final int PARENT_GROUP_OBJ_ID = (int) ServiceFeature.PARENT_GROUP_OBJ_ID;
29 public static final int SEARCH_RESULT_OBJ_ID = (int) ServiceFeature.SEARCH_RESULT_OBJ_ID;
DMediaControlProfile.java795 + ServiceFeature.featuresToString(SUPPORTED_FEATURES, "\n\t\t\t")); in init()
847 ServiceFeature.PLAYER_NAME
848 | ServiceFeature.PLAYER_NAME_NOTIFY
851 | ServiceFeature.TRACK_CHANGED
852 | ServiceFeature.TRACK_TITLE
853 | ServiceFeature.TRACK_TITLE_NOTIFY
854 | ServiceFeature.TRACK_DURATION
855 | ServiceFeature.TRACK_DURATION_NOTIFY
856 | ServiceFeature.TRACK_POSITION
857 | ServiceFeature.TRACK_POSITION_NOTIFY
[all …]
DServiceFeature.java23 public final class ServiceFeature { class
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java133 long mMandatoryFeatures = ServiceFeature.ALL_MANDATORY_SERVICE_FEATURES; in testInit()
155 ServiceFeature.ALL_MANDATORY_SERVICE_FEATURES in initAllFeaturesGattService()
156 | ServiceFeature.PLAYER_ICON_OBJ_ID in initAllFeaturesGattService()
157 | ServiceFeature.PLAYER_ICON_URL in initAllFeaturesGattService()
158 | ServiceFeature.PLAYBACK_SPEED in initAllFeaturesGattService()
159 | ServiceFeature.SEEKING_SPEED in initAllFeaturesGattService()
160 | ServiceFeature.CURRENT_TRACK_SEGMENT_OBJ_ID in initAllFeaturesGattService()
161 | ServiceFeature.CURRENT_TRACK_OBJ_ID in initAllFeaturesGattService()
162 | ServiceFeature.NEXT_TRACK_OBJ_ID in initAllFeaturesGattService()
163 | ServiceFeature.CURRENT_GROUP_OBJ_ID in initAllFeaturesGattService()
[all …]