OSDN Git Service

Remove "unused" opcodes from API.
authorAndy McFadden <fadden@android.com>
Fri, 4 Dec 2009 16:56:54 +0000 (08:56 -0800)
committerAndy McFadden <fadden@android.com>
Fri, 4 Dec 2009 16:56:54 +0000 (08:56 -0800)
There's no need to have constants like OP_UNUSED_FF in the API.  They
serve no purpose, and it makes life confusing when an opcode is defined
(does the "unused" one go away, breaking the API?  do we have the real
definition and the "unused" definition simultaneously?).

Discussed / approved by API council.

api/7.xml
api/8.xml
api/current.xml

index 83d2bc7..f6ccc93 100644 (file)
--- a/api/7.xml
+++ b/api/7.xml
  visibility="public"
 >
 </field>
-<field name="OP_UNUSED_3e"
- type="int"
- transient="false"
- volatile="false"
- value="62"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_3f"
- type="int"
- transient="false"
- volatile="false"
- value="63"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_40"
- type="int"
- transient="false"
- volatile="false"
- value="64"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_41"
- type="int"
- transient="false"
- volatile="false"
- value="65"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_42"
- type="int"
- transient="false"
- volatile="false"
- value="66"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_43"
- type="int"
- transient="false"
- volatile="false"
- value="67"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_73"
- type="int"
- transient="false"
- volatile="false"
- value="115"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_79"
- type="int"
- transient="false"
- volatile="false"
- value="121"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_7A"
- type="int"
- transient="false"
- volatile="false"
- value="122"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E3"
- type="int"
- transient="false"
- volatile="false"
- value="227"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E4"
- type="int"
- transient="false"
- volatile="false"
- value="228"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E5"
- type="int"
- transient="false"
- volatile="false"
- value="229"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E6"
- type="int"
- transient="false"
- volatile="false"
- value="230"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E7"
- type="int"
- transient="false"
- volatile="false"
- value="231"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E8"
- type="int"
- transient="false"
- volatile="false"
- value="232"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E9"
- type="int"
- transient="false"
- volatile="false"
- value="233"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EA"
- type="int"
- transient="false"
- volatile="false"
- value="234"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EB"
- type="int"
- transient="false"
- volatile="false"
- value="235"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EC"
- type="int"
- transient="false"
- volatile="false"
- value="236"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_ED"
- type="int"
- transient="false"
- volatile="false"
- value="237"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EF"
- type="int"
- transient="false"
- volatile="false"
- value="239"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_F1"
- type="int"
- transient="false"
- volatile="false"
- value="241"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FC"
- type="int"
- transient="false"
- volatile="false"
- value="252"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FD"
- type="int"
- transient="false"
- volatile="false"
- value="253"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FE"
- type="int"
- transient="false"
- volatile="false"
- value="254"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FF"
- type="int"
- transient="false"
- volatile="false"
- value="255"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
 <field name="OP_USHR_INT"
  type="int"
  transient="false"
index 83d2bc7..f6ccc93 100644 (file)
--- a/api/8.xml
+++ b/api/8.xml
  visibility="public"
 >
 </field>
-<field name="OP_UNUSED_3e"
- type="int"
- transient="false"
- volatile="false"
- value="62"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_3f"
- type="int"
- transient="false"
- volatile="false"
- value="63"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_40"
- type="int"
- transient="false"
- volatile="false"
- value="64"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_41"
- type="int"
- transient="false"
- volatile="false"
- value="65"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_42"
- type="int"
- transient="false"
- volatile="false"
- value="66"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_43"
- type="int"
- transient="false"
- volatile="false"
- value="67"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_73"
- type="int"
- transient="false"
- volatile="false"
- value="115"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_79"
- type="int"
- transient="false"
- volatile="false"
- value="121"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_7A"
- type="int"
- transient="false"
- volatile="false"
- value="122"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E3"
- type="int"
- transient="false"
- volatile="false"
- value="227"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E4"
- type="int"
- transient="false"
- volatile="false"
- value="228"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E5"
- type="int"
- transient="false"
- volatile="false"
- value="229"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E6"
- type="int"
- transient="false"
- volatile="false"
- value="230"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E7"
- type="int"
- transient="false"
- volatile="false"
- value="231"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E8"
- type="int"
- transient="false"
- volatile="false"
- value="232"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E9"
- type="int"
- transient="false"
- volatile="false"
- value="233"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EA"
- type="int"
- transient="false"
- volatile="false"
- value="234"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EB"
- type="int"
- transient="false"
- volatile="false"
- value="235"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EC"
- type="int"
- transient="false"
- volatile="false"
- value="236"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_ED"
- type="int"
- transient="false"
- volatile="false"
- value="237"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EF"
- type="int"
- transient="false"
- volatile="false"
- value="239"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_F1"
- type="int"
- transient="false"
- volatile="false"
- value="241"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FC"
- type="int"
- transient="false"
- volatile="false"
- value="252"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FD"
- type="int"
- transient="false"
- volatile="false"
- value="253"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FE"
- type="int"
- transient="false"
- volatile="false"
- value="254"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FF"
- type="int"
- transient="false"
- volatile="false"
- value="255"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
 <field name="OP_USHR_INT"
  type="int"
  transient="false"
index dfa053a..8b20412 100644 (file)
  visibility="public"
 >
 </field>
-<field name="OP_UNUSED_3e"
- type="int"
- transient="false"
- volatile="false"
- value="62"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_3f"
- type="int"
- transient="false"
- volatile="false"
- value="63"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_40"
- type="int"
- transient="false"
- volatile="false"
- value="64"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_41"
- type="int"
- transient="false"
- volatile="false"
- value="65"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_42"
- type="int"
- transient="false"
- volatile="false"
- value="66"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_43"
- type="int"
- transient="false"
- volatile="false"
- value="67"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_73"
- type="int"
- transient="false"
- volatile="false"
- value="115"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_79"
- type="int"
- transient="false"
- volatile="false"
- value="121"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_7A"
- type="int"
- transient="false"
- volatile="false"
- value="122"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E3"
- type="int"
- transient="false"
- volatile="false"
- value="227"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E4"
- type="int"
- transient="false"
- volatile="false"
- value="228"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E5"
- type="int"
- transient="false"
- volatile="false"
- value="229"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E6"
- type="int"
- transient="false"
- volatile="false"
- value="230"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E7"
- type="int"
- transient="false"
- volatile="false"
- value="231"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E8"
- type="int"
- transient="false"
- volatile="false"
- value="232"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_E9"
- type="int"
- transient="false"
- volatile="false"
- value="233"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EA"
- type="int"
- transient="false"
- volatile="false"
- value="234"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EB"
- type="int"
- transient="false"
- volatile="false"
- value="235"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EC"
- type="int"
- transient="false"
- volatile="false"
- value="236"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_ED"
- type="int"
- transient="false"
- volatile="false"
- value="237"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_EF"
- type="int"
- transient="false"
- volatile="false"
- value="239"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_F1"
- type="int"
- transient="false"
- volatile="false"
- value="241"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FC"
- type="int"
- transient="false"
- volatile="false"
- value="252"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FD"
- type="int"
- transient="false"
- volatile="false"
- value="253"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FE"
- type="int"
- transient="false"
- volatile="false"
- value="254"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UNUSED_FF"
- type="int"
- transient="false"
- volatile="false"
- value="255"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
 <field name="OP_USHR_INT"
  type="int"
  transient="false"