Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e775b3da authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Expose Vendor Specific Headset Event Intent.

The Bluetooth Headset spec doesn't cover all cases.
For example, there is nothing defined to show the battery status of
the headset on the phone. This intent allows 3rd party applications
to communicate effectively with vendor headsets. For example, Plantronics
has an app for Android headsets and when used with Plantronics
headsets, they will be able to use extra information from the headset.

Change-Id: Ib997327103cbbe57d64c52ba27f74162b6769798
parent f0a896b3
Loading
Loading
Loading
Loading
+1186 −0
Original line number Diff line number Diff line
@@ -36773,6 +36773,1082 @@
>
</field>
</class>
<class name="BluetoothAssignedNumbers"
 extends="java.lang.Object"
 abstract="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<field name="ACCEL_SEMICONDUCTOR"
 type="int"
 transient="false"
 volatile="false"
 value="74"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ALCATEL"
 type="int"
 transient="false"
 volatile="false"
 value="36"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="APPLE"
 type="int"
 transient="false"
 volatile="false"
 value="76"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="APT_LICENSING"
 type="int"
 transient="false"
 volatile="false"
 value="79"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ATHEROS_COMMUNICATIONS"
 type="int"
 transient="false"
 volatile="false"
 value="69"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ATMEL"
 type="int"
 transient="false"
 volatile="false"
 value="19"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AVAGO"
 type="int"
 transient="false"
 volatile="false"
 value="78"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AVM_BERLIN"
 type="int"
 transient="false"
 volatile="false"
 value="31"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="BANDSPEED"
 type="int"
 transient="false"
 volatile="false"
 value="32"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="BELKIN_INTERNATIONAL"
 type="int"
 transient="false"
 volatile="false"
 value="92"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="BLUEGIGA"
 type="int"
 transient="false"
 volatile="false"
 value="71"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="BLUETOOTH_SIG"
 type="int"
 transient="false"
 volatile="false"
 value="63"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="BROADCOM"
 type="int"
 transient="false"
 volatile="false"
 value="15"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="CAMBRIDGE_SILICON_RADIO"
 type="int"
 transient="false"
 volatile="false"
 value="10"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="CATC"
 type="int"
 transient="false"
 volatile="false"
 value="52"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="COMMIL"
 type="int"
 transient="false"
 volatile="false"
 value="51"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="CONEXANT_SYSTEMS"
 type="int"
 transient="false"
 volatile="false"
 value="28"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="CONTINENTAL_AUTOMOTIVE"
 type="int"
 transient="false"
 volatile="false"
 value="75"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="CONWISE_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="66"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="C_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="38"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DIGIANSWER"
 type="int"
 transient="false"
 volatile="false"
 value="12"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ECLIPSE"
 type="int"
 transient="false"
 volatile="false"
 value="53"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="EM_MICROELECTRONIC_MARIN"
 type="int"
 transient="false"
 volatile="false"
 value="90"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ERICSSON_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="0"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="FREE2MOVE"
 type="int"
 transient="false"
 volatile="false"
 value="83"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="GCT_SEMICONDUCTOR"
 type="int"
 transient="false"
 volatile="false"
 value="45"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="GENNUM"
 type="int"
 transient="false"
 volatile="false"
 value="59"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="HARMAN_INTERNATIONAL"
 type="int"
 transient="false"
 volatile="false"
 value="87"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="HITACHI"
 type="int"
 transient="false"
 volatile="false"
 value="41"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="IBM"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="INFINEON_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="9"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="INTEGRATED_SILICON_SOLUTION"
 type="int"
 transient="false"
 volatile="false"
 value="65"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="INTEGRATED_SYSTEM_SOLUTION"
 type="int"
 transient="false"
 volatile="false"
 value="57"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="INTEL"
 type="int"
 transient="false"
 volatile="false"
 value="2"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="INVENTEL"
 type="int"
 transient="false"
 volatile="false"
 value="30"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="IPEXTREME"
 type="int"
 transient="false"
 volatile="false"
 value="61"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="J_AND_M"
 type="int"
 transient="false"
 volatile="false"
 value="82"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="KC_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="22"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="LUCENT"
 type="int"
 transient="false"
 volatile="false"
 value="7"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MACRONIX"
 type="int"
 transient="false"
 volatile="false"
 value="44"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MANSELLA"
 type="int"
 transient="false"
 volatile="false"
 value="33"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MARVELL"
 type="int"
 transient="false"
 volatile="false"
 value="72"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MATSUSHITA_ELECTRIC"
 type="int"
 transient="false"
 volatile="false"
 value="58"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MEDIATEK"
 type="int"
 transient="false"
 volatile="false"
 value="70"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MEWTEL_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="47"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MICROSOFT"
 type="int"
 transient="false"
 volatile="false"
 value="6"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MITEL_SEMICONDUCTOR"
 type="int"
 transient="false"
 volatile="false"
 value="16"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MITSUBISHI_ELECTRIC"
 type="int"
 transient="false"
 volatile="false"
 value="20"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MOBILIAN_CORPORATION"
 type="int"
 transient="false"
 volatile="false"
 value="55"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MOTOROLA"
 type="int"
 transient="false"
 volatile="false"
 value="8"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NEC"
 type="int"
 transient="false"
 volatile="false"
 value="34"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NEWLOGIC"
 type="int"
 transient="false"
 volatile="false"
 value="23"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NOKIA_MOBILE_PHONES"
 type="int"
 transient="false"
 volatile="false"
 value="1"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NORDIC_SEMICONDUCTOR"
 type="int"
 transient="false"
 volatile="false"
 value="89"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="NORWOOD_SYSTEMS"
 type="int"
 transient="false"
 volatile="false"
 value="46"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="OPEN_INTERFACE"
 type="int"
 transient="false"
 volatile="false"
 value="39"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="PARROT"
 type="int"
 transient="false"
 volatile="false"
 value="67"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="PARTHUS_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="14"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="PHILIPS_SEMICONDUCTORS"
 type="int"
 transient="false"
 volatile="false"
 value="37"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="PLANTRONICS"
 type="int"
 transient="false"
 volatile="false"
 value="85"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="QUALCOMM"
 type="int"
 transient="false"
 volatile="false"
 value="29"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RALINK_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="91"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="REALTEK_SEMICONDUCTOR"
 type="int"
 transient="false"
 volatile="false"
 value="93"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RED_M"
 type="int"
 transient="false"
 volatile="false"
 value="50"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RENESAS_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="54"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RESEARCH_IN_MOTION"
 type="int"
 transient="false"
 volatile="false"
 value="60"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RF_MICRO_DEVICES"
 type="int"
 transient="false"
 volatile="false"
 value="40"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RIVIERAWAVES"
 type="int"
 transient="false"
 volatile="false"
 value="96"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ROHDE_AND_SCHWARZ"
 type="int"
 transient="false"
 volatile="false"
 value="25"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="RTX_TELECOM"
 type="int"
 transient="false"
 volatile="false"
 value="21"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SEIKO_EPSON"
 type="int"
 transient="false"
 volatile="false"
 value="64"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SIGNIA_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="27"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SILICON_WAVE"
 type="int"
 transient="false"
 volatile="false"
 value="11"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SIRF_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="80"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SOCKET_MOBILE"
 type="int"
 transient="false"
 volatile="false"
 value="68"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SONY_ERICSSON"
 type="int"
 transient="false"
 volatile="false"
 value="86"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STACCATO_COMMUNICATIONS"
 type="int"
 transient="false"
 volatile="false"
 value="77"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STONESTREET_ONE"
 type="int"
 transient="false"
 volatile="false"
 value="94"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ST_MICROELECTRONICS"
 type="int"
 transient="false"
 volatile="false"
 value="48"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SYMBOL_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="42"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SYNOPSYS"
 type="int"
 transient="false"
 volatile="false"
 value="49"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SYSTEMS_AND_CHIPS"
 type="int"
 transient="false"
 volatile="false"
 value="62"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TENOVIS"
 type="int"
 transient="false"
 volatile="false"
 value="43"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TERAX"
 type="int"
 transient="false"
 volatile="false"
 value="56"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TEXAS_INSTRUMENTS"
 type="int"
 transient="false"
 volatile="false"
 value="13"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="THREECOM"
 type="int"
 transient="false"
 volatile="false"
 value="5"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="THREE_DIJOY"
 type="int"
 transient="false"
 volatile="false"
 value="84"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="THREE_DSP"
 type="int"
 transient="false"
 volatile="false"
 value="73"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TOSHIBA"
 type="int"
 transient="false"
 volatile="false"
 value="4"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TRANSILICA"
 type="int"
 transient="false"
 volatile="false"
 value="24"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TTPCOM"
 type="int"
 transient="false"
 volatile="false"
 value="26"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TZERO_TECHNOLOGIES"
 type="int"
 transient="false"
 volatile="false"
 value="81"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="VIZIO"
 type="int"
 transient="false"
 volatile="false"
 value="88"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="WAVEPLUS_TECHNOLOGY"
 type="int"
 transient="false"
 volatile="false"
 value="35"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="WICENTRIC"
 type="int"
 transient="false"
 volatile="false"
 value="95"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="WIDCOMM"
 type="int"
 transient="false"
 volatile="false"
 value="17"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="ZEEVO"
 type="int"
 transient="false"
 volatile="false"
 value="18"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<class name="BluetoothClass"
 extends="java.lang.Object"
 abstract="false"
@@ -38077,6 +39153,105 @@
 visibility="public"
>
</field>
<field name="ACTION_VENDOR_SPECIFIC_HEADSET_EVENT"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AT_CMD_TYPE_ACTION"
 type="int"
 transient="false"
 volatile="false"
 value="4"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AT_CMD_TYPE_BASIC"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AT_CMD_TYPE_READ"
 type="int"
 transient="false"
 volatile="false"
 value="0"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AT_CMD_TYPE_SET"
 type="int"
 transient="false"
 volatile="false"
 value="2"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="AT_CMD_TYPE_TEST"
 type="int"
 transient="false"
 volatile="false"
 value="1"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.bluetooth.headset.extra.VENDOR_SPECIFIC_HEADSET_EVENT_ARGS&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.bluetooth.headset.extra.VENDOR_SPECIFIC_HEADSET_EVENT_CMD&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.bluetooth.headset.extra.VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATE_AUDIO_CONNECTED"
 type="int"
 transient="false"
@@ -38099,6 +39274,17 @@
 visibility="public"
>
</field>
<field name="VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.bluetooth.headset.intent.category.companyid&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<interface name="BluetoothProfile"
 abstract="true"
+1 −3
Original line number Diff line number Diff line
@@ -23,12 +23,10 @@ package android.bluetooth;
 * @see <a href="https://www.bluetooth.org/technical/assignednumbers/identifiers.htm">
 * The Official Bluetooth SIG Member Website | Company Identifiers</a>
 *
 * @hide
 */
public class BluetoothAssignedNumbers {

    //// Bluetooth SIG Company ID values

    // Bluetooth SIG Company ID values
    /*
     * Ericsson Technology Licensing.
     */
+74 −14

File changed.

Preview size limit exceeded, changes collapsed.