This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

VZW GS4 platform.xml

By: a guest on Apr 25th, 2014  |  syntax: None  |  size: 7.48 KB  |  views: 121  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2008 The Android Open Source Project
  3.      Copyright (C) 2013 Broadcom Corporation
  4.      Licensed under the Apache License, Version 2.0 (the "License");
  5.      you may not use this file except in compliance with the License.
  6.      You may obtain a copy of the License at
  7.  
  8.           http://www.apache.org/licenses/LICENSE-2.0
  9.  
  10.      Unless required by applicable law or agreed to in writing, software
  11.      distributed under the License is distributed on an "AS IS" BASIS,
  12.      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.      See the License for the specific language governing permissions and
  14.      limitations under the License.
  15. -->
  16.  
  17. <!-- This file is used to define the mappings between lower-level system
  18.      user and group IDs and the higher-level permission names managed
  19.      by the platform.
  20.  
  21.      Be VERY careful when editing this file!  Mistakes made here can open
  22.      big security holes.
  23. -->
  24. <permissions>
  25.  
  26.     <!-- ================================================================== -->
  27.     <!-- ================================================================== -->
  28.     <!-- ================================================================== -->
  29.  
  30.     <!-- The following tags are associating low-level group IDs with
  31.          permission names.  By specifying such a mapping, you are saying
  32.          that any application process granted the given permission will
  33.          also be running with the given group ID attached to its process,
  34.          so it can perform any filesystem (read, write, execute) operations
  35.          allowed for that group. -->
  36.  
  37.     <permission name="android.permission.BLUETOOTH_ADMIN" >
  38.         <group gid="net_bt_admin" />
  39.     </permission>
  40.  
  41.     <permission name="android.permission.BLUETOOTH" >
  42.         <group gid="net_bt" />
  43.     </permission>
  44.  
  45.     <permission name="android.permission.BLUETOOTH_STACK" >
  46.         <group gid="net_bt_stack" />
  47.     </permission>
  48.  
  49.     <permission name="android.permission.NET_TUNNELING" >
  50.         <group gid="vpn" />
  51.     </permission>
  52.  
  53.     <permission name="android.permission.SYSTEM_GROUP_INTERNAL" >
  54.         <group gid="system" />
  55.     </permission>
  56.  
  57.     <permission name="android.permission.INTERNET" >
  58.         <group gid="inet" />
  59.     </permission>
  60.  
  61.     <permission name="com.sec.android.permission.CAMERA" >
  62.         <group gid="camera" />
  63.     </permission>
  64.  
  65.     <permission name="android.permission.READ_LOGS" >
  66.         <group gid="log" />
  67.     </permission>
  68.  
  69.     <permission name="android.permission.READ_EXTERNAL_STORAGE" >
  70.         <group gid="sdcard_r" />
  71.     </permission>
  72.  
  73.     <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
  74.         <group gid="sdcard_r" />
  75.         <group gid="sdcard_rw" />
  76.     </permission>
  77.  
  78.     <permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
  79.         <group gid="sdcard_r" />
  80.         <group gid="sdcard_rw" />
  81.         <group gid="sdcard_all" />
  82.     </permission>
  83.  
  84.     <permission name="com.sec.android.app.sysscope.permission.SYSSCOPE_ACCESS_SYSTEM_INFO" >
  85.         <group gid="radio" />
  86.     </permission>
  87.  
  88.     <permission name="android.permission.WRITE_MEDIA_STORAGE" >
  89.         <group gid="media_rw" />
  90.     </permission>
  91.  
  92.     <permission name="android.permission.ACCESS_MTP" >
  93.         <group gid="mtp" />
  94.     </permission>
  95.  
  96.     <permission name="android.permission.NET_ADMIN" >
  97.         <group gid="net_admin" />
  98.     </permission>
  99.  
  100.     <!-- The group that /cache belongs to, linked to the permission
  101.          set on the applications that can access /cache -->
  102.     <permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
  103.         <group gid="cache" />
  104.     </permission>
  105.  
  106.     <!-- RW permissions to any system resources owned by group 'diag'.
  107.          This is for carrier and manufacture diagnostics tools that must be
  108.          installable from the framework. Be careful. -->
  109.     <permission name="android.permission.DIAGNOSTIC" >
  110.         <group gid="input" />
  111.         <group gid="diag" />
  112.     </permission>
  113.  
  114.     <!-- Group that can read detailed network usage statistics -->
  115.     <permission name="android.permission.READ_NETWORK_USAGE_HISTORY">
  116.         <group gid="net_bw_stats" />
  117.     </permission>
  118.  
  119.     <!-- Group that can modify how network statistics are accounted -->
  120.     <permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
  121.         <group gid="net_bw_acct" />
  122.     </permission>
  123.  
  124.     <permission name="android.permission.LOOP_RADIO" >
  125.         <group gid="loop_radio" />
  126.     </permission>
  127.  
  128.     <!-- The group that releated with VPN -->
  129.     <permission name="android.permission.SAMSUNG_MODIFY_ROUTE" >
  130.         <group gid="net_admin" />
  131.     </permission>
  132.  
  133.     <permission name="android.permission.SAMSUNG_TUNTAP" >
  134.         <group gid="vpn" />
  135.     </permission>
  136.  
  137.     <permission name="android.permission.SAMSUNG_MODIFY_IPTABLES" >
  138.         <group gid="net_raw" />
  139.     </permission>
  140.  
  141.     <!-- The group that releated with VPN -->
  142.     <permission name="com.sec.android.SAMSUNG_MODIFY_ROUTE" >
  143.         <group gid="net_admin" />
  144.     </permission>
  145.  
  146.     <permission name="com.sec.android.SAMSUNG_TUNTAP" >
  147.         <group gid="vpn" />
  148.     </permission>
  149.  
  150.     <permission name="com.sec.android.SAMSUNG_MODIFY_IPTABLES" >
  151.         <group gid="net_raw" />
  152.     </permission>
  153.  
  154.    <!-- The group that releated with URL -->
  155.     <permission name="com.sec.android.SAMSUNG_GET_URL" >
  156.         <group gid="secnetfilter" />
  157.     </permission>
  158.    
  159.     <!-- Group that can use gscaler -->
  160.     <permission name="com.sec.android.permission.USE_GSCALER" >
  161.         <group gid="graphics" />
  162.     </permission>
  163.  
  164.     <!-- Except for SysScope, DO NOT USE this permission. -->
  165.     <permission name="com.sec.android.app.sysscope.permission.ACCESS_SYSTEM_INFO_SYSSCOPE_ONLY" >
  166.         <group gid="radio" />
  167.     </permission>
  168.  
  169.     <!-- ================================================================== -->
  170.     <!-- ================================================================== -->
  171.     <!-- ================================================================== -->
  172.  
  173.     <!-- The following tags are assigning high-level permissions to specific
  174.          user IDs.  These are used to allow specific core system users to
  175.          perform the given operations with the higher-level framework.  For
  176.          example, we give a wide variety of permissions to the shell user
  177.          since that is the user the adb shell runs under and developers and
  178.          others should have a fairly open environment in which to
  179.          interact with the system. -->
  180.  
  181.     <assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
  182.     <assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
  183.     <assign-permission name="android.permission.WAKE_LOCK" uid="media" />
  184.     <assign-permission name="android.permission.UPDATE_DEVICE_STATS" uid="media" />
  185.     <assign-permission name="android.permission.UPDATE_APP_OPS_STATS" uid="media" />
  186.  
  187.     <assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />
  188.  
  189.     <!-- This is a list of all the libraries available for application
  190.          code to link against. -->
  191.  
  192.     <library name="android.test.runner"
  193.             file="/system/framework/android.test.runner.jar" />
  194.     <library name="javax.obex"
  195.             file="/system/framework/javax.obex.jar"/>
  196. <!--
  197.     <library name="javax.btobex"
  198.             file="/system/framework/javax.btobex.jar"/>
  199. -->
  200. </permissions>
clone this paste RAW Paste Data