Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

La.br.1.2.6 rb1.12 #2

Open
wants to merge 1,220 commits into
base: staging/cm-12.0-caf
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1220 commits
Select commit Hold shift + click to select a range
41526c3
init.qcom.factory.rc: Start ptt_ffbm service at FFBM mode
Apr 7, 2015
093f3d9
Merge "init.qcom.factory.rc: Start ptt_ffbm service at FFBM mode"
Apr 13, 2015
3002489
Telephony: Add volteReplacementRat for operators
Feb 17, 2015
aad6d57
Merge "Enable KSM on devices with memory less than 1GB for L&M"
Apr 13, 2015
3f5121e
Merge "Telephony: Add volteReplacementRat for operators"
Apr 13, 2015
7e76026
DPM: add DFS and WDS service access permission to system.
Apr 15, 2015
3e70061
Revert "common: Enable doze mode"
Apr 15, 2015
02e88c8
Merge "Revert "common: Enable doze mode""
Apr 15, 2015
a78eef5
Merge "init: qcom: post_boot: disable l2-gdhs lpm for 8939-V3.0"
Apr 17, 2015
b9e1153
Merge "DPM: add DFS and WDS service access permission to system."
Apr 17, 2015
afee603
init.qcom.post_boot.sh: Set per process reclaim parameters
Apr 14, 2015
784d05b
init.qcom.post_boot.sh: Changes vmpressure_file_min for 8909
Apr 18, 2015
f61e829
Merge "init.qcom.post_boot.sh: Changes vmpressure_file_min for 8909"
Apr 20, 2015
a578c3a
device: common: Donot enable DigitalPenService by default
Apr 20, 2015
91a815b
Merge "device: common: Donot enable DigitalPenService by default"
Apr 22, 2015
8fc6d6d
init: qcom: Enable per-process reclaim parameters for <=1G targets
Apr 22, 2015
6787fa3
FRP: Add FRP property in PRODUCT_PROPERTY_OVERRIDES
Apr 24, 2015
34af30d
Remove startRIDL.sh to fix FDE
Apr 17, 2015
5dea55d
post_boot:msm8909: Update packing parameters
Apr 28, 2015
51cbef3
base.mk: Set ro.adb.secure property on user build
Apr 28, 2015
a187532
Merge "Remove startRIDL.sh to fix FDE"
Apr 30, 2015
4932c65
Merge "FRP: Add FRP property in PRODUCT_PROPERTY_OVERRIDES"
May 1, 2015
4b94e19
base.mk: Set ro.adb.secure property on user build
Apr 28, 2015
ae7ba17
display: Fix resolution for SBC8016 platform
tfinkel Apr 21, 2015
bd51de2
IMS: Phone switching
Feb 24, 2015
8565c88
Merge "IMS: Phone switching"
May 6, 2015
6dd816d
ueventd.qcom.rc: Fix the issue with permission
May 6, 2015
476b315
Merge "init: qcom: Enable per-process reclaim parameters for <=1G tar…
May 6, 2015
29cff7f
Merge "display: Fix resolution for SBC8016 platform"
May 7, 2015
9aec6a4
msm8916 : Scheduler tuning parameters
May 7, 2015
cae412d
init.qcom.zram.sh: Set per process reclaim parameters
Apr 14, 2015
4b3934c
FRP: Add FRP property in PRODUCT_PROPERTY_OVERRIDES
May 7, 2015
b72063d
Merge "FRP: Add FRP property in PRODUCT_PROPERTY_OVERRIDES"
May 8, 2015
d85c5db
common: Re-enable doze mode
May 4, 2015
f6bda86
Change bootup shell script to duplicate config files
Mar 21, 2015
1105116
post_boot: msm8909: Update core-ctl parameters
May 12, 2015
012e384
common: Re-enable doze mode
May 4, 2015
1000726
Add execute permission for mbn directory
May 13, 2015
5759448
post_boot: msm8909: Update core-ctl parameters
May 12, 2015
e352087
Merge "Add execute permission for mbn directory"
May 14, 2015
99737bb
USB: Add RPS CPU mask for rndis interface for 8929
May 12, 2015
981d355
init.qcom.post_boot.sh:Change vmpressure_file_min for 8916
May 5, 2015
a1c3fe4
cryptfs_hw: Add support for Inline Crypto Engine (ICE)
Oct 9, 2014
3d61c47
Adding support for eMMC based ICE
May 12, 2015
5c77eb5
USB: Change rps cpu mask to 4 on msm8909 target
May 11, 2015
4cec576
Merge 3d61c47ba1bb72317d803720999d88d47f49ad23 on remote branch
May 27, 2015
8e5c536
msm8916 : Scheduler tuning parameters
May 7, 2015
5fc7c6f
Merge "ueventd.qcom.rc: Fix the issue with permission"
Jun 1, 2015
efd3358
Disables BLE Peripheral Adv name flag used in BT stack
Feb 17, 2015
9afe852
Merge "post_boot:msm8909: Update packing parameters"
Jun 4, 2015
453d47a
display: tool: add splash tool for generating logo file
Sep 11, 2013
d75008e
Merge "msm8916 : Scheduler tuning parameters"
Jun 4, 2015
732d74c
msm8916: Remove core based path for idle_load and nr_run
Apr 29, 2015
67537af
msm8952: Governor and Scheduler tuning parameters
Apr 13, 2015
505ae3c
init script: Start netmgrd depending on configuration parameter
May 19, 2015
79a3293
Merge "msm8916: Remove core based path for idle_load and nr_run"
Jun 8, 2015
2a789e7
Merge "USB: Change rps cpu mask to 4 on msm8909 target"
Jun 8, 2015
d48bc0c
Merge d75008e83f3f009bf78853efef41a9a7c72b4e0a on remote branch
Jun 8, 2015
5360f91
Merge 8e5c536763e2467fcb7b045237630390a128e685 on remote branch.
Jun 8, 2015
c8c4004
common: Changed the minfreq to 400Mhz for display off scenario.
Feb 23, 2015
27c4adc
common: Change minfreq to 499.2Mhz during display off scenario.
May 5, 2015
2736aba
Merge "common: Change minfreq to 499.2Mhz during display off scenario."
Jun 9, 2015
aadeb6b
Merge commit 'd75008e83f3f009bf78853efef41a9a7c72b4e0a' into head
Jun 12, 2015
ea45595
Merge "msm8952: Governor and Scheduler tuning parameters"
Jun 12, 2015
f6e6e5c
Merge "Merge commit 'd75008e83f3f009bf78853efef41a9a7c72b4e0a' into h…
Jun 12, 2015
14da9b8
rootdir: etc: change max readahead size to 128K in init
Jun 15, 2015
16840e1
common: Changes timer rate during display off scenario.
May 20, 2015
80a2599
init: post_boot: Enable LMK,ALMK for MSM8909
Jun 15, 2015
c313e55
Merge "rootdir: etc: change max readahead size to 128K in init"
Jun 18, 2015
93f492d
Merge "init: post_boot: Enable LMK,ALMK for MSM8909"
Jun 18, 2015
27ce356
Drop frameworks dependency & declare/define functions before use.
Apr 8, 2015
0ada91e
device/qcom/common: Changes for initial compilation.
Jun 19, 2015
8e795b3
Revert "init: create native cgroup"
DefinitelyNOTobscenelyvague Jun 12, 2015
4e59596
Revert "init: create native cgroup"
DefinitelyNOTobscenelyvague Jun 12, 2015
7c02b18
Revert "init: create native cgroup"
DefinitelyNOTobscenelyvague Jun 12, 2015
dfe5f20
Disables BLE Peripheral Adv name flag used in BT stack
Feb 17, 2015
ab24a59
Merge "Disables BLE Peripheral Adv name flag used in BT stack"
Jun 23, 2015
b9771e0
Enable bugreport collection from developer settings
Jun 23, 2015
8394549
Merge "Enable bugreport collection from developer settings"
Jun 23, 2015
0d3105e
Merge 83945493b0ecc6a6fc6e14aabcca7d447a290b23 on remote branch
Jun 24, 2015
0968fc0
Init: Changing persist misc mode
Jun 24, 2015
bb8ffff
Merge 0d3105e003aa2ce12e9ee1ec271c346ca3fd7e32 on remote branch
Jun 25, 2015
c4ef3da
Merge "Init: Changing persist misc mode"
Jun 27, 2015
0ec5054
add wifi_ftmd service in init.qcom.rc
Jun 19, 2015
eb721d7
Merge c4ef3da5da99f35491888161aa55a3fa81845168 on remote branch
Jun 29, 2015
923bfe7
Revert "Revert "init: create native cgroup""
Jun 29, 2015
ef7a619
Revert "common: generate 2K NAND images for msm8909"
Jun 29, 2015
773098e
Hack for download mode issue
Jul 2, 2015
200f3e8
sec_config: Add permissions for ril.
Jul 2, 2015
df9577d
Update Storage Configuration
boedhack Jul 9, 2015
2c951c3
Merge "sec_config: Add permissions for ril." into private_redfox64_mb…
Jul 15, 2015
3e388db
init.qcom.rc: Make clients communicate with netmgrd using UNIX sockets
Apr 9, 2015
eab2f68
Fixup to have /dev/diag allowed to 'diag' group.
Apr 10, 2015
ef46a2e
init: Use diag instead of qcom_diag group.
May 26, 2015
816a4ef
remove "libdrmdecrypt" library reference as the lib is obsolete
Apr 29, 2015
e200544
Bluetooth: Set hfp_client, avrcp controller,a2dp sink to false
Jul 9, 2015
6d19513
Merge "Disables BLE Peripheral Adv name flag used in BT stack"
Jul 21, 2015
dc795f9
Bluetooth: Enable SAP Server
Jul 21, 2015
b886a08
Enable Preferred network type options menu by default
Jul 21, 2015
5dc879f
Merge 6d19513c3e9116fd6d1ad31474be0c34d111274f on remote branch
Jul 27, 2015
29e3a81
Merge 5dc879f4ef7d1d2337fe9d9146b278c8cb4c7ce2 on remote branch
Jul 28, 2015
b1bc7be
Merge "Merge 5dc879f4ef7d1d2337fe9d9146b278c8cb4c7ce2 on remote branch"
Jul 28, 2015
475c9ff
Skip Boot Jar check for QC modules
Jul 22, 2015
b10158d
init: qcom: factory: Fix the issue with FM module parameter
Jul 24, 2015
ef9f975
Remove RIDL from root
May 13, 2015
184e868
Add running directory for LogKit II
Jun 18, 2015
17d13f8
init: qcom: Added support for static linking for radio-iris-transport…
Mar 18, 2015
f2033d4
Camera: Extend face detection
Aug 5, 2015
b1fa037
init: qcom: Fix the issue with fm_dl service
Jun 18, 2015
21421ba
init: qcom: Fix the issue with fm_dl service
Jul 21, 2015
a194131
init: qcom: Fix the issue with fm patch downloader
Jul 27, 2015
6aa2a9a
base.mk : Include av enhancements library in PRODUCT_PACKAGES
Jun 26, 2015
1073c4d
Revert "Hack for download mode issue"
Aug 7, 2015
3643ddf
init.qcom.zram.sh: Enable zRam,PPR for 2GB Targets
Jun 5, 2015
0782df7
device/qcom/common: remove launcher2 so the 3rd launcher app can install
Aug 3, 2015
cf04029
ueventd.qcom.rc: add permissions for nqx nfc driver
Jul 31, 2015
595491e
init: early_boot: Set up display permissions
naseer Jul 28, 2015
2b7d2a7
Merge "ueventd.qcom.rc: add permissions for nqx nfc driver"
Aug 15, 2015
a989e5d
Merge commit '2b7d2a77dba33327d921826b622ba9ddc86421d6' into HEAD
Aug 17, 2015
d2ead05
ANT: Enable ANT feature.
Aug 6, 2015
ceb48a1
msm8909w : add lunch combo for msm8909w
Aug 18, 2015
1375f4a
Implement framework for TelephonyPlugin.
Jul 21, 2015
377557a
Makefile: Picking up Launcher3 as a Launcher
Aug 19, 2015
4d1d5b4
Disable Jack & Jill compilation for time-being.
Aug 17, 2015
4f48801
Merge "Disable Jack & Jill compilation for time-being."
Aug 20, 2015
dfc757c
Merge "ANT: Enable ANT feature."
Aug 22, 2015
31478b7
Merge "Camera: Extend face detection"
Aug 22, 2015
ff5bafb
Merge "msm8909w : add lunch combo for msm8909w"
Aug 22, 2015
e7dfcfa
Merge "init.qcom.zram.sh: Enable zRam,PPR for 2GB Targets"
Aug 25, 2015
7c22305
base.mk: adding compilation of libextmedia_jni & libqcmediaplayer
Aug 24, 2015
a46a054
qti-testscripts: Adding new service to init.qcom.rc.
Jun 25, 2015
f4d61d7
diag: Change /dev/diag group permission to qcom_diag
Jul 31, 2015
2a1a1e2
Merge "qti-testscripts: Adding new service to init.qcom.rc."
Aug 25, 2015
81d6a31
Add QPerformance jar to PRODUCT_BOOT_JARS
Aug 19, 2015
26e57a4
device: qcom: common: Replace diag with qcom_diag
Aug 27, 2015
e107415
BTLogKit: Added BTLogKit to Product Packages
Jul 14, 2015
425eaf0
Merge "Implement framework for TelephonyPlugin."
Aug 27, 2015
35e1ea8
Merge "Add QPerformance jar to PRODUCT_BOOT_JARS"
Aug 27, 2015
a40a8a7
Merge "BTLogKit: Added BTLogKit to Product Packages"
Aug 28, 2015
01215ec
Merge "init: early_boot: Set up display permissions"
Aug 29, 2015
4dfeed6
BTLogSave: Added BTLogSave to Product Packages
Aug 5, 2015
88c5e53
Telephony: Increase MMS PDN priority.
Aug 26, 2015
9567ce3
Merge "Telephony: Increase MMS PDN priority."
Sep 5, 2015
26d1212
oem-recovery: Fix for compilation issue
boedhack Jun 5, 2015
e6517bf
8939 V3.0: Governor and Scheduler tuning parameters.
May 1, 2015
4c02b6e
init.qcom.post_boot: Enable mincpubw for MSM8939 V3.0
Jul 10, 2015
33a04c1
Merge "device: qcom: common: Replace diag with qcom_diag"
Sep 11, 2015
5f330e8
IMS-VT: Add support for IMS Settings APK
Aug 13, 2015
d8769cb
Modify tcp buffer values
Sep 8, 2015
c48af02
init.qcom.rc: create /data/ramdump directory for subsystem_ramdump
May 19, 2015
faab8ad
Merge "init.qcom.post_boot: Enable mincpubw for MSM8939 V3.0"
Sep 14, 2015
98c7cd5
Merge "IMS-VT: Add support for IMS Settings APK"
Sep 15, 2015
db044e1
Bluetooth: Add indication LED support for SBC8016
Jun 9, 2015
9c26460
init: qcom: post_boot: defer the low power modes enablement.
mkshahc Jun 24, 2015
9a3dee0
Merge "Bluetooth: Add indication LED support for SBC8016"
Sep 19, 2015
2e34d25
Merge "init: qcom: post_boot: defer the low power modes enablement."
Sep 19, 2015
34fe98f
common: Fix to handle min freq changes when CPU cores hotplugged.
Jul 22, 2015
05d1743
common: set the lcd_density.
Sep 7, 2015
0aa479c
Bluetooth: GAP: Fixed Remote Name restriciton of 32 characters.
Aug 21, 2015
a8e91bf
init.qcom.early_boot: Set ro.opengles.version based on chip id
Sep 22, 2015
ab27861
Merge "common: set the lcd_density."
Oct 1, 2015
3480647
Merge "init.qcom.early_boot: Set ro.opengles.version based on chip id"
Oct 1, 2015
4f0ab90
BT-HFP: HFP1.7 AG support for 8939.
Jan 9, 2015
4d97dbf
common: Fix to handle min freq changes when CPU cores hotplugged.
Jul 22, 2015
2b4749f
cryptfs_hw: Update APIs to take old password
May 22, 2015
271dc26
cryptfs_hw: Update module as per vold project
Aug 20, 2015
dacb320
Change tftp_server class from core to main
boedhack Feb 6, 2015
942c9f2
cryptfs_hw: Tie HW FDE keys with keymaster
Sep 2, 2015
1d440ea
Merge "common: Fix to handle min freq changes when CPU cores hotplugg…
Oct 12, 2015
cc5cc02
Merge 34fe98f142030380aeb2bc97384f768524b9e153 on remote branch
Oct 13, 2015
32dc8e3
Revert "Makefile: Picking up Launcher3 as a Launcher"
Oct 14, 2015
6d89764
audio: Add appropriate permission for avtimer driver
smaliyap Mar 3, 2015
aa90f84
Overlay: BT: enable HFP client
Sep 18, 2015
2b42303
Merge "Overlay: BT: enable HFP client"
Oct 20, 2015
77f85b5
init.qcom.post_boot.sh: Setting rps mask value to 2 during init
Sep 8, 2015
e98c618
Add operator specific voice replacement RAT
Sep 21, 2015
8bbe7bf
Bluetooth: Enable A2DP Sink
Jul 20, 2015
7e203d5
Support Cell Broadcast for India
Jan 17, 2014
6ac7570
IMS: Add strings to support to show HD tag in network name
Nov 3, 2015
e4c5c7b
sec_config: added declaration for qmi-slim service
Nov 4, 2015
2a6748f
msm8916 : Scheduler tuning parameters
May 7, 2015
f36b594
init.qcom.rc: FIDO Daemon
Nov 5, 2015
4e90a4b
RIDL drop caps, move socket, qcom_diag
Sep 25, 2015
9063cfc
post_boot: msm8909w: Disable core control for 8909w
Nov 3, 2015
d4de9d5
Merge "msm8916 : Scheduler tuning parameters"
Nov 9, 2015
e2b72db
Merge "RIDL drop caps, move socket, qcom_diag"
Nov 9, 2015
94044a2
Merge "init.qcom.rc: FIDO Daemon"
Nov 11, 2015
d485b1d
Merge "sec_config: added declaration for qmi-slim service"
Nov 11, 2015
bb1d78a
Merge "post_boot: msm8909w: Disable core control for 8909w"
Nov 12, 2015
076430a
init.qcom.usb: Add USB compositions for MIDI functionality
XNUBIA Sep 1, 2015
7634578
Merge "init.qcom.post_boot.sh: Setting rps mask value to 2 during init"
Nov 17, 2015
1ebd409
post_boot : Tuning PPR parameters for 8916_64.
Nov 16, 2015
ab23a30
FRP: Add FRP property & persistent data block
Nov 19, 2015
14aa3a2
Merge "init.qcom.usb: Add USB compositions for MIDI functionality"
Nov 23, 2015
19c1158
Merge "Bluetooth: Enable A2DP Sink"
Nov 24, 2015
483b11d
Add support for showing femto cell icon.
Nov 25, 2015
9dc05e9
Merge "FRP: Add FRP property & persistent data block - Set "system" a…
Nov 29, 2015
1a38c3b
IMS: Enabling CFUT based on config
Sep 3, 2015
12a0f6a
IMS: Enable CFUT timer UI for CMCC
Oct 26, 2015
8c3c628
post_boot: msm8939: Update packing parameter and their path
May 6, 2015
faa87d9
Merge "IMS: Enable CFUT timer UI for CMCC"
Dec 6, 2015
d24164c
init.qcom.early_boot: choose target specific media xml
nadinsylaa Nov 25, 2015
d609f6b
Merge "init.qcom.early_boot: choose target specific media xml"
Dec 8, 2015
6c8b8aa
init.qcom.early_boot: choose target specific media xml
Dec 7, 2015
51fed68
Start atfwd daemon after boot complete
Dec 2, 2015
dd4c90b
Merge "Add support for showing femto cell icon."
Dec 10, 2015
942d2e8
Merge "Start atfwd daemon after boot complete"
Dec 16, 2015
0af73fd
Launcher2: fix GTS testwidgetpresent failed
Dec 17, 2015
e5641b8
common-noship: add ITE Tech firmware to packages
Dec 23, 2015
15f2a52
Merge "post_boot: msm8939: Update packing parameter and their path"
Dec 24, 2015
1e182bc
Merge "Launcher2: fix GTS testwidgetpresent failed"
Dec 24, 2015
142f97d
Merge "common-noship: add ITE Tech firmware to packages"
Dec 24, 2015
204ef6e
init.qcom.rc: Change charger process label
Oct 12, 2015
4203d1e
healthd: Add libhealthd.msm library
Sep 22, 2015
280a324
Revert "Revert "Revert "init: create native cgroup"""
Dec 29, 2015
fa04881
Merge "healthd: Add libhealthd.msm library"
Dec 30, 2015
5b90f81
Merge "Revert "Revert "Revert "init: create native cgroup""""
Dec 30, 2015
6fc58b3
IMS: Control Wifi calling mode preference
Jul 7, 2015
cad475d
Enable emergency call feature for RIL
Aug 17, 2015
ebc0d20
Add file flag to synchronize qcril.db copying
Sep 24, 2015
7ad00f2
Move duplicate config files script to post-boot
Dec 9, 2015
c6cca04
common: set alarm and boot animation properties during early boot
Sep 22, 2015
e0d8e15
Merge "Move duplicate config files script to post-boot"
Jan 7, 2016
9ec7853
Merge "init.qcom.early_boot: choose target specific media xml"
Jan 12, 2016
355bffd
INITRC: Add service poweroffhandler Add service poweroffhandler.
Jan 15, 2016
8dddc8e
init.qcom.rc: Add graphics group for charger process
Dec 25, 2015
058e190
early_boot: add auto firmware update command for ITE tech
Jan 19, 2016
7ce5a78
Merge "early_boot: add auto firmware update command for ITE tech"
Jan 20, 2016
5f45021
Merge "INITRC: Add service poweroffhandler Add service poweroffhandler."
Jan 20, 2016
10c2065
IMS: Add support to show wifi calling icon indicator
Jan 8, 2016
2dbeada
Adding wirelessCalling QuickSettingsTile to config
Jan 6, 2016
e346713
msm8909w: Remove USB_HOST feature
Feb 3, 2016
87ef7e4
Merge "Adding wirelessCalling QuickSettingsTile to config"
Feb 6, 2016
40cd357
IMS-VT: Handle buttons display in InCall Screen
Feb 8, 2016
722e8af
Add Qti Ext files [vendor/codeaurora/telephony/ims] to product packages
nsarkar Dec 17, 2015
1d4c2f7
Merge "IMS-VT: Handle buttons display in InCall Screen"
Feb 16, 2016
e8a24cd
Enable two cores for wearables
Feb 29, 2016
bf07676
init.qcom.rc: declare perfd service.
Mar 3, 2016
b881e8d
Wait for QSEECom listeners before calling KMS APIs
Oct 28, 2015
e624ab2
Merge "init.qcom.rc: declare perfd service."
Mar 5, 2016
7cb9c46
DPM :QMI_SERVICE_ID 1 is updated with single entry
Mar 7, 2016
8f131cd
cnd: update cnd class
Feb 3, 2016
f106fd7
cryptfs_hw: update the listener property with keymaster property
Mar 7, 2016
8294a7e
Merge "cryptfs_hw: update the listener property with keymaster property"
Mar 10, 2016
ef55f50
Merge "DPM :QMI_SERVICE_ID 1 is updated with single entry"
Mar 10, 2016
cae5c28
Fix emergency pdn bringup failure
Dec 8, 2015
e2f0c35
common: merge master changes
Aug 5, 2015
b47e4a8
Merge "common: merge master changes"
Mar 23, 2016
2c3385f
Revert "Disable Jack & Jill compilation for time-being."
intervigilium Apr 19, 2016
e90d714
common: Remove QCOM overlays
intervigilium Apr 12, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions appops/Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define validate-xml-file
@echo "validating xml: $2"
@xmllint --noout --schema $1 $2
endef
LOCAL_PATH:= $(call my-dir)
#######################################

include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE := appops_policy.xml
APPOPS_POLICY_XSD_FILE := $(LOCAL_PATH)/appops_policy.xsd
include $(BUILD_SYSTEM)/base_rules.mk

$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/appops_policy.xml $(APPOPS_POLICY_XSD_FILE) $(ACP)
@echo Validating $<
@xmllint --noout --schema $(APPOPS_POLICY_XSD_FILE) $<
$(copy-file-to-target)
#######################################

125 changes: 125 additions & 0 deletions appops/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
===============================================================================
Copyright (c) 2014, The Linux Foundation. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===============================================================================

1. Introduction:
----------------
Android provides support for AppOps service to manage and control
user-permissions of different operations of installed packages.

AppOps service reads /system/etc/appops_policy.xml file to read all default
user-permissions of different operations of installed packages.

2. AppOps Policy File:
----------------------
AppOps policy file can be used to assign default permissions to both system
and user installed applications. Since hardcoded in AppOpsService this file
should be at /system/etc/appops_policy.xml path on the device.

Following section talks about various tags used in appops_policy.xml file:

2.1 appops-policy
This is the root tag of appops_policy file.

Parameters:
i) version (Required) -This parameter defines the version of
appops_policy.xml format. It should be set to "1".

Tags:
i) user-app - section to configure default permissions of user
installed apps.
ii) system-app - section to configure default permissions of preset
(system) apps
iii) application - section to override default permission of particular
packages.
2.2 user-app
This tag is used to set default permission of user installed applications.

Parameters:
i) permission - To set default permission of all user installed apps.
ii) show - To show/hide operations in app ops settings activity.

Tags:
<None>

2.3 system-app
This tag is used to set default permission of preset installed applications.

Parameters:
i) permission - To set default permission of all system installed apps.
ii) show - To show/hide operations in app ops settings activity.

Tags:
<None>

2.4 application
This tag is used to set default permission of specific applications.

Parameters:
<None>

Tags:
i) pkg - section to set default permission of specific package.

2.5 pkg
This tag is used to set default permission of specific package.

Parameters:
i) name - To specify name of the package.
ii) type - To set if package is part of preset or user installed application.
iii) permission - To set default permission of package's all operations.
iv) show - To show/hide operations in app ops settings activity.

Tags:
i) op - section to set defualt permission of an operation.

2.5 op
This tag is used to set default permission of specific operation

Parameters:
i) name - To specify name of the operation
ii) permission - To set default permisison of operation
iii) show - To show/hide operation in app ops settings activity.

3 Example:
----------
<appops-policy version="1">
<user-app permission="ask" show="true"/>
<system-app permission="allowed" show="false"/>

<application>
<pkg name="com.android.dialer" type="system-app">
<op name="android:call_phone" permission="ask" show="true"/>
</pkg>
<pkg name="com.xyz.abc" type="system-app" permission="allowed" show="false">
<op name="android:fine_location" permission="ask" show="true"/>
<op name="android:monitor_location" permission="ask" show="true"/>
</pkg>
</application>
</appops-policy>

50 changes: 50 additions & 0 deletions appops/appops_policy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<appops-policy version="1">
<user-app permission="ask" show="true"/>
<system-app permission="allowed" show="false"/>

<application>
<!-- Example:

<pkg name="com.android.dialer" type="system-app">
<op name="android:call_phone" permission="ask" show="true"/>
</pkg>

-->
<pkg name="com.android.calendar" type="system-app">
<op name="android:read_contacts" permission="ask" show="true"/>
</pkg>
<pkg name="com.android.email" type="system-app">
<op name="android:read_contacts" permission="ask" show="true"/>
</pkg>
</application>
</appops-policy>
165 changes: 165 additions & 0 deletions appops/appops_policy.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!--
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<xs:simpleType name="showType">
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="permissionType">
<xs:restriction base="xs:string">
<xs:enumeration value="allowed"/>
<xs:enumeration value="ask"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="opType">
<xs:restriction base="xs:string">
<xs:enumeration value= "android:coarse_location"/>
<xs:enumeration value= "android:fine_location"/>
<xs:enumeration value= "android:gps"/>
<xs:enumeration value= "android:vibrate"/>
<xs:enumeration value= "android:read_contacts"/>
<xs:enumeration value= "android:write_contacts"/>
<xs:enumeration value= "android:read_call_log"/>
<xs:enumeration value= "android:write_call_log"/>
<xs:enumeration value= "android:read_calendar"/>
<xs:enumeration value= "android:write_calendar"/>
<xs:enumeration value= "android:wifi_scan"/>
<xs:enumeration value= "android:post_notification"/>
<xs:enumeration value= "android:neighboring_cells"/>
<xs:enumeration value= "android:call_phone"/>
<xs:enumeration value= "android:read_sms"/>
<xs:enumeration value= "android:write_sms"/>
<xs:enumeration value= "android:receive_sms"/>
<xs:enumeration value= "android:receive_emergecy_sms"/>
<xs:enumeration value= "android:receive_mms"/>
<xs:enumeration value= "android:receive_wap_push"/>
<xs:enumeration value= "android:send_sms"/>
<xs:enumeration value= "android:read_icc_sms"/>
<xs:enumeration value= "android:write_icc_sms"/>
<xs:enumeration value= "android:write_settings"/>
<xs:enumeration value= "android:system_alert_window"/>
<xs:enumeration value= "android:access_notifications"/>
<xs:enumeration value= "android:camera"/>
<xs:enumeration value= "android:record_audio"/>
<xs:enumeration value= "android:play_audio"/>
<xs:enumeration value= "android:read_clipboard"/>
<xs:enumeration value= "android:write_clipboard"/>
<xs:enumeration value= "android:take_media_buttons"/>
<xs:enumeration value= "android:take_audio_focus"/>
<xs:enumeration value= "android:audio_master_volume"/>
<xs:enumeration value= "android:audio_voice_volume"/>
<xs:enumeration value= "android:audio_ring_volume"/>
<xs:enumeration value= "android:audio_media_volume"/>
<xs:enumeration value= "android:audio_alarm_volume"/>
<xs:enumeration value= "android:audio_notification_volume"/>
<xs:enumeration value= "android:audio_bluetooth_volume"/>
<xs:enumeration value= "android:wake_lock"/>
<xs:enumeration value= "android:monitor_location"/>
<xs:enumeration value= "android:monitor_high_power_location"/>
<xs:enumeration value= "android:wifi_change"/>
<xs:enumeration value= "android:bluetooth_change"/>
<xs:enumeration value= "android:data_connect_change"/>
<xs:enumeration value= "android:send_mms"/>
<xs:enumeration value= "android:read_mms"/>
<xs:enumeration value= "android:write_mms"/>
<xs:enumeration value= "android:boot_completed"/>
<xs:enumeration value= "android:nfc_change"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="appType">
<xs:restriction base="xs:string">
<xs:enumeration value="system-app"/>
<xs:enumeration value="user-app"/>
</xs:restriction>
</xs:simpleType>

<xs:element name="appops-policy">
<xs:complexType>
<xs:sequence>
<xs:element name="user-app">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="permissionType" name="permission" use="required"/>
<xs:attribute type="showType" name="show" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>

<xs:element name="system-app">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="permissionType" name="permission" use="required"/>
<xs:attribute type="showType" name="show" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>

<xs:element name="application">
<xs:complexType>
<xs:sequence>
<xs:element name="pkg" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="op" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="opType" name="name" use="required"/>
<xs:attribute type="permissionType" name="permission" use="required"/>
<xs:attribute type="showType" name="show" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" name="name" use="required"/>
<xs:attribute type="appType" name="type" use="required"/>
<xs:attribute type="permissionType" name="permission" use="optional"/>
<xs:attribute type="showType" name="show" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:sequence>
<xs:attribute type="xs:byte" name="version"/>
</xs:complexType>
</xs:element>
</xs:schema>
Loading