Loading core/java/android/bluetooth/BluetoothProfile.java +18 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,24 @@ public interface BluetoothProfile { */ public static final int HANDSFREE_CLIENT = 10; /** * A2dp Source * @hide */ public static final int PROFILE_A2DP_SRC = 1; /** * A2dp Sink * @hide */ public static final int PROFILE_A2DP_SNK = 2; /** * Profile A2dp undefined * @hide */ public static final int PROFILE_A2DP_UNDEFINED = -1; /** * DUN * @hide Loading core/java/android/provider/Settings.java +11 −0 Original line number Diff line number Diff line Loading @@ -5723,6 +5723,9 @@ public final class Settings { public static final String BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX = "bluetooth_a2dp_sink_priority_"; /** {@hide} */ public static final String BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE = "bluetooth_last_connected_a2dp_sep_type_"; /** {@hide} */ public static final String BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX = "bluetooth_input_device_priority_"; /** {@hide} */ Loading @@ -5745,6 +5748,14 @@ public final class Settings { return BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT); } /** * Get the key that retrieves a bluetooth last connected a2dp profile. * @hide */ public static final String getBluetoothLastConnectedA2dpSepTypeKey(String address) { return BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE + address.toUpperCase(Locale.ROOT); } /** * Get the key that retrieves a bluetooth Input Device's priority. * @hide Loading Loading
core/java/android/bluetooth/BluetoothProfile.java +18 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,24 @@ public interface BluetoothProfile { */ public static final int HANDSFREE_CLIENT = 10; /** * A2dp Source * @hide */ public static final int PROFILE_A2DP_SRC = 1; /** * A2dp Sink * @hide */ public static final int PROFILE_A2DP_SNK = 2; /** * Profile A2dp undefined * @hide */ public static final int PROFILE_A2DP_UNDEFINED = -1; /** * DUN * @hide Loading
core/java/android/provider/Settings.java +11 −0 Original line number Diff line number Diff line Loading @@ -5723,6 +5723,9 @@ public final class Settings { public static final String BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX = "bluetooth_a2dp_sink_priority_"; /** {@hide} */ public static final String BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE = "bluetooth_last_connected_a2dp_sep_type_"; /** {@hide} */ public static final String BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX = "bluetooth_input_device_priority_"; /** {@hide} */ Loading @@ -5745,6 +5748,14 @@ public final class Settings { return BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT); } /** * Get the key that retrieves a bluetooth last connected a2dp profile. * @hide */ public static final String getBluetoothLastConnectedA2dpSepTypeKey(String address) { return BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE + address.toUpperCase(Locale.ROOT); } /** * Get the key that retrieves a bluetooth Input Device's priority. * @hide Loading