move hardware feature definitions
Move the hardware feature xml files from frameworks/base/data/etc to frameworks/native/data/etc. Change-Id: I0c572237b78f233d58627801896c0a81215531e8
This commit is contained in:
parent
f45fa6b285
commit
97da905bea
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the feature indicating low-latency audio, as specified by the
|
||||||
|
CDD. ONLY devices that meet the CDD's requirements may declare this
|
||||||
|
feature. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.audio.low_latency" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
<!-- Adds the feature indicating support for the Bluetooth API -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.bluetooth" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for an auto-focus camera. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.camera" />
|
||||||
|
<feature name="android.hardware.camera.autofocus" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a camera with a flash. Note
|
||||||
|
that this currently requires having auto-focus as well. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.camera" />
|
||||||
|
<feature name="android.hardware.camera.autofocus" />
|
||||||
|
<feature name="android.hardware.camera.flash" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a front facing camera. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.camera.front" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a non auto-focus camera. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.camera" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a indirect touch input device that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch.multitouch" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for an indirect touch input device that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch.multitouch" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.jazzhand" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a devices that does not have
|
||||||
|
a touch screen, but does have some other indirect input device such as
|
||||||
|
a track pad. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These are the location-related features for devices that include GPS. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.location" />
|
||||||
|
<feature name="android.hardware.location.network" />
|
||||||
|
<feature name="android.hardware.location.gps" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These are the location features for devices that do not include GPS. Note
|
||||||
|
that network location is required for all devices. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.location" />
|
||||||
|
<feature name="android.hardware.location.network" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard feature indicating that the device can communicate
|
||||||
|
using Near-Field Communications (NFC). -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.nfc" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with an accelerometer sensor. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.accelerometer" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with barometer. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.barometer" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with a compass. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.compass" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with gyroscope. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.gyroscope" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with an ambient light sensor. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.light" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Feature for devices with a proximity sensor. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.proximity" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of telephony features for a CDMA phone. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.telephony" />
|
||||||
|
<feature name="android.hardware.telephony.cdma" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of telephony features for a GSM phone. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.telephony" />
|
||||||
|
<feature name="android.hardware.telephony.gsm" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a touchscreen that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a touchscreen that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.jazzhand" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a touchscreen that supports
|
||||||
|
basic multitouch capable of gestures but not fully-indendent finger
|
||||||
|
tracking. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a touchscreen that does not
|
||||||
|
support multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard feature indicating that the device supports USB accessories. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.usb.accessory" />
|
||||||
|
<library name="com.android.future.usb.accessory"
|
||||||
|
file="/system/framework/com.android.future.usb.accessory.jar" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard feature indicating that the device can communicate
|
||||||
|
with USB devices as the USB host. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.usb.host" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard feature indicating that the device includes WiFi Direct. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.wifi.direct" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard feature indicating that the device includes WiFi. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.wifi" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for devices that support SIP-based VoIP. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.software.sip" />
|
||||||
|
<feature name="android.software.sip.voip" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for devices that support the SIP API. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.software.sip" />
|
||||||
|
</permissions>
|
|
@ -0,0 +1,65 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These are the hardware components that all handheld devices
|
||||||
|
must include. Devices with optional hardware must also include extra
|
||||||
|
hardware files, per the comments below.
|
||||||
|
|
||||||
|
Handheld devices include phones, mobile Internet devices (MIDs),
|
||||||
|
Personal Media Players (PMPs), small tablets (7" or less), and similar
|
||||||
|
devices.
|
||||||
|
-->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.camera" />
|
||||||
|
<feature name="android.hardware.location" />
|
||||||
|
<feature name="android.hardware.location.network" />
|
||||||
|
<feature name="android.hardware.sensor.compass" />
|
||||||
|
<feature name="android.hardware.sensor.accelerometer" />
|
||||||
|
<feature name="android.hardware.bluetooth" />
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.microphone" />
|
||||||
|
<feature name="android.hardware.screen.portrait" />
|
||||||
|
<feature name="android.hardware.screen.landscape" />
|
||||||
|
<!-- devices with GPS must include android.hardware.location.gps.xml -->
|
||||||
|
<!-- devices with an autofocus camera and/or flash must include either
|
||||||
|
android.hardware.camera.autofocus.xml or
|
||||||
|
android.hardware.camera.autofocus-flash.xml -->
|
||||||
|
<!-- devices with a front facing camera must include
|
||||||
|
android.hardware.camera.front.xml -->
|
||||||
|
<!-- devices with WiFi must also include android.hardware.wifi.xml -->
|
||||||
|
<!-- devices that support multitouch must include the most appropriate one
|
||||||
|
of these files:
|
||||||
|
|
||||||
|
If only partial (non-independent) pointers are supported:
|
||||||
|
android.hardware.touchscreen.multitouch.xml
|
||||||
|
|
||||||
|
If up to 4 independently tracked pointers are supported:
|
||||||
|
include android.hardware.touchscreen.multitouch.distinct.xml
|
||||||
|
|
||||||
|
If 5 or more independently tracked pointers are supported:
|
||||||
|
include android.hardware.touchscreen.multitouch.jazzhand.xml
|
||||||
|
|
||||||
|
ONLY ONE of the above should be included. -->
|
||||||
|
<!-- devices with an ambient light sensor must also include
|
||||||
|
android.hardware.sensor.light.xml -->
|
||||||
|
<!-- devices with a proximity sensor must also include
|
||||||
|
android.hardware.sensor.proximity.xml -->
|
||||||
|
<!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
|
||||||
|
<!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
|
||||||
|
<!-- Devices that have low-latency audio stacks suitable for apps like
|
||||||
|
VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
|
||||||
|
that meet the requirements specified in the CDD may include this. -->
|
||||||
|
</permissions>
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These are the hardware components that all handheld devices
|
||||||
|
must include. Devices with optional hardware must also include extra
|
||||||
|
hardware files, per the comments below.
|
||||||
|
|
||||||
|
Handheld devices include phones, mobile Internet devices (MIDs),
|
||||||
|
Personal Media Players (PMPs), small tablets (7" or less), and similar
|
||||||
|
devices.
|
||||||
|
-->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.location" />
|
||||||
|
<feature name="android.hardware.location.network" />
|
||||||
|
<feature name="android.hardware.sensor.compass" />
|
||||||
|
<feature name="android.hardware.sensor.accelerometer" />
|
||||||
|
<feature name="android.hardware.bluetooth" />
|
||||||
|
<feature name="android.hardware.touchscreen" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch" />
|
||||||
|
<feature name="android.hardware.touchscreen.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.microphone" />
|
||||||
|
<feature name="android.hardware.screen.portrait" />
|
||||||
|
<feature name="android.hardware.screen.landscape" />
|
||||||
|
<!-- devices with GPS must include android.hardware.location.gps.xml -->
|
||||||
|
<!-- devices with a rear-facing camera must include one of these as appropriate:
|
||||||
|
android.hardware.camera.xml or
|
||||||
|
android.hardware.camera.autofocus.xml or
|
||||||
|
android.hardware.camera.autofocus-flash.xml -->
|
||||||
|
<!-- devices with a front facing camera must include
|
||||||
|
android.hardware.camera.front.xml -->
|
||||||
|
<!-- devices with WiFi must also include android.hardware.wifi.xml -->
|
||||||
|
<!-- devices with an ambient light sensor must also include
|
||||||
|
android.hardware.sensor.light.xml -->
|
||||||
|
<!-- devices with a proximity sensor must also include
|
||||||
|
android.hardware.sensor.proximity.xml -->
|
||||||
|
<!-- devices with a barometer must also include
|
||||||
|
android.hardware.sensor.barometer.xml -->
|
||||||
|
<!-- devices with a gyroscope must also include
|
||||||
|
android.hardware.sensor.gyroscope.xml -->
|
||||||
|
<!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
|
||||||
|
<!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
|
||||||
|
</permissions>
|
Loading…
Reference in New Issue