├── camera
├── MODULE_LICENSE_BSD
├── mm-image-codec
│ ├── Android.mk
│ └── qomx_core
│ │ └── Android.mk
├── common.mk
├── QCamera2
│ └── stack
│ │ └── Android.mk
└── Android.mk
├── self-extractors
├── Android.mk
├── PROLOGUE
├── qcom
│ ├── COPYRIGHT
│ └── staging
│ │ └── BoardConfigPartial.mk
├── huawei
│ ├── COPYRIGHT
│ └── staging
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
├── PART3
├── PART1
├── PART2
└── root
│ ├── BoardConfigVendor.mk
│ └── device-vendor.mk
├── egl.cfg
├── board-info.txt
├── gpio-keys.kl
├── overlay
├── packages
│ ├── apps
│ │ ├── Phone
│ │ ├── Bluetooth
│ │ │ └── res
│ │ │ │ └── values
│ │ │ │ └── config.xml
│ │ ├── Settings
│ │ │ └── res
│ │ │ │ ├── drawable-nodpi
│ │ │ │ ├── regulatory_info_h1511.png
│ │ │ │ ├── regulatory_info_h1512.png
│ │ │ │ └── fingerprint_sensor_location.png
│ │ │ │ └── values
│ │ │ │ ├── config.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ └── bools.xml
│ │ └── Contacts
│ │ │ └── res
│ │ │ ├── values-mcc310-mnc010
│ │ │ └── donottranslate_config.xml
│ │ │ ├── values-mcc310-mnc120
│ │ │ └── donottranslate_config.xml
│ │ │ ├── values-mcc311-mnc490
│ │ │ └── donottranslate_config.xml
│ │ │ └── values-mcc311-mnc870
│ │ │ └── donottranslate_config.xml
│ └── services
│ │ └── Telephony
│ │ └── res
│ │ └── values-mcc310-mnc120
│ │ └── strings.xml
└── frameworks
│ └── base
│ ├── core
│ └── res
│ │ └── res
│ │ ├── drawable-nodpi
│ │ └── default_wallpaper.png
│ │ ├── values-mcc234-mnc10
│ │ └── config.xml
│ │ ├── values-mcc404
│ │ └── config.xml
│ │ ├── values-mcc405
│ │ └── config.xml
│ │ ├── values-mcc202
│ │ └── config.xml
│ │ ├── values-mcc204
│ │ └── config.xml
│ │ ├── values-mcc206
│ │ └── config.xml
│ │ ├── values-mcc208
│ │ └── config.xml
│ │ ├── values-mcc214
│ │ └── config.xml
│ │ ├── values-mcc216
│ │ └── config.xml
│ │ ├── values-mcc222
│ │ └── config.xml
│ │ ├── values-mcc228
│ │ └── config.xml
│ │ ├── values-mcc230
│ │ └── config.xml
│ │ ├── values-mcc232
│ │ └── config.xml
│ │ ├── values-mcc234
│ │ └── config.xml
│ │ ├── values-mcc235
│ │ └── config.xml
│ │ ├── values-mcc238
│ │ └── config.xml
│ │ ├── values-mcc240
│ │ └── config.xml
│ │ ├── values-mcc242
│ │ └── config.xml
│ │ ├── values-mcc244
│ │ └── config.xml
│ │ ├── values-mcc247
│ │ └── config.xml
│ │ ├── values-mcc248
│ │ └── config.xml
│ │ ├── values-mcc250
│ │ └── config.xml
│ │ ├── values-mcc262
│ │ └── config.xml
│ │ ├── values-mcc268
│ │ └── config.xml
│ │ ├── values-mcc272
│ │ └── config.xml
│ │ ├── values-mcc311-mnc220
│ │ └── config.xml
│ │ ├── values-mcc311-mnc221
│ │ └── config.xml
│ │ ├── values-mcc311-mnc222
│ │ └── config.xml
│ │ ├── values-mcc311-mnc223
│ │ └── config.xml
│ │ ├── values-mcc311-mnc224
│ │ └── config.xml
│ │ ├── values-mcc311-mnc225
│ │ └── config.xml
│ │ ├── values-mcc311-mnc226
│ │ └── config.xml
│ │ ├── values-mcc311-mnc227
│ │ └── config.xml
│ │ ├── values-mcc311-mnc228
│ │ └── config.xml
│ │ ├── values-mcc311-mnc229
│ │ └── config.xml
│ │ ├── values-mcc311-mnc580
│ │ └── config.xml
│ │ ├── values-mcc311-mnc581
│ │ └── config.xml
│ │ ├── values-mcc311-mnc582
│ │ └── config.xml
│ │ ├── values-mcc311-mnc583
│ │ └── config.xml
│ │ ├── values-mcc311-mnc584
│ │ └── config.xml
│ │ ├── values-mcc311-mnc585
│ │ └── config.xml
│ │ ├── values-mcc311-mnc586
│ │ └── config.xml
│ │ ├── values-mcc311-mnc587
│ │ └── config.xml
│ │ ├── values-mcc311-mnc588
│ │ └── config.xml
│ │ ├── values-mcc311-mnc589
│ │ └── config.xml
│ │ ├── values-mcc419
│ │ └── config.xml
│ │ ├── values-mcc454
│ │ └── config.xml
│ │ ├── values-mcc466
│ │ └── config.xml
│ │ ├── values-mcc505
│ │ └── config.xml
│ │ ├── values-mcc530
│ │ └── config.xml
│ │ ├── values-mcc730
│ │ └── config.xml
│ │ ├── values-mcc234-mnc30
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc33
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc30-am
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc30-ja
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc30-ko
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc33-am
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc33-ja
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc33-ko
│ │ └── strings.xml
│ │ ├── values-mcc234-mnc30-af
│ │ └── strings.xml
│ │ └── values-mcc234-mnc30-bn-rBD
│ │ └── strings.xml
│ └── packages
│ └── SystemUI
│ └── res
│ ├── values-mcc310-mnc010
│ └── config.xml
│ ├── values-mcc310-mnc120
│ └── config.xml
│ ├── values-mcc311-mnc490
│ └── config.xml
│ ├── values-mcc311-mnc870
│ └── config.xml
│ ├── values-mcc202
│ └── config.xml
│ ├── values-mcc204
│ └── config.xml
│ ├── values-mcc206
│ └── config.xml
│ ├── values-mcc208
│ └── config.xml
│ ├── values-mcc214
│ └── config.xml
│ ├── values-mcc222
│ └── config.xml
│ ├── values-mcc226
│ └── config.xml
│ ├── values-mcc228
│ └── config.xml
│ ├── values-mcc234
│ └── config.xml
│ ├── values-mcc238
│ └── config.xml
│ ├── values-mcc240
│ └── config.xml
│ ├── values-mcc242
│ └── config.xml
│ ├── values-mcc244
│ └── config.xml
│ ├── values-mcc505
│ └── config.xml
│ ├── values-mcc530
│ └── config.xml
│ ├── values-mcc216-mnc01
│ └── config.xml
│ ├── values-mcc216-mnc70
│ └── config.xml
│ ├── values-mcc230-mnc02
│ └── config.xml
│ ├── values-mcc230-mnc03
│ └── config.xml
│ ├── values-mcc231-mnc01
│ └── config.xml
│ ├── values-mcc231-mnc02
│ └── config.xml
│ ├── values-mcc231-mnc06
│ └── config.xml
│ ├── values-mcc232-mnc01
│ └── config.xml
│ ├── values-mcc232-mnc05
│ └── config.xml
│ ├── values-mcc232-mnc07
│ └── config.xml
│ ├── values-mcc232-mnc10
│ └── config.xml
│ ├── values-mcc232-mnc11
│ └── config.xml
│ ├── values-mcc235-mnc94
│ └── config.xml
│ ├── values-mcc262-mnc02
│ └── config.xml
│ ├── values-mcc262-mnc03
│ └── config.xml
│ ├── values-mcc262-mnc07
│ └── config.xml
│ ├── values-mcc268-mnc01
│ └── config.xml
│ ├── values-mcc268-mnc03
│ └── config.xml
│ ├── values-mcc268-mnc06
│ └── config.xml
│ ├── values-mcc272-mnc01
│ └── config.xml
│ ├── values-mcc272-mnc05
│ └── config.xml
│ ├── values-mcc293-mnc40
│ └── config.xml
│ ├── values-mcc293-mnc41
│ └── config.xml
│ ├── values-mcc293-mnc70
│ └── config.xml
│ ├── values-mcc440-mnc20
│ └── config.xml
│ ├── values-mcc466-mnc01
│ └── config.xml
│ ├── values-mcc466-mnc92
│ └── config.xml
│ ├── values-mcc466-mnc97
│ └── config.xml
│ ├── values-mcc537-mnc03
│ └── config.xml
│ ├── values-mcc724-mnc02
│ └── config.xml
│ ├── values-mcc724-mnc03
│ └── config.xml
│ ├── values-mcc724-mnc04
│ └── config.xml
│ ├── values-mcc724-mnc05
│ └── config.xml
│ ├── values-mcc724-mnc06
│ └── config.xml
│ ├── values-mcc724-mnc10
│ └── config.xml
│ ├── values-mcc724-mnc11
│ └── config.xml
│ ├── values-mcc724-mnc16
│ └── config.xml
│ ├── values-mcc724-mnc23
│ └── config.xml
│ ├── values-mcc724-mnc31
│ └── config.xml
│ ├── values-mcc730-mnc01
│ └── config.xml
│ ├── values-mcc730-mnc10
│ └── config.xml
│ ├── values-mcc334-mnc020
│ └── config.xml
│ ├── values-mcc334-mnc050
│ └── config.xml
│ └── values-mcc732-mnc101
│ └── config.xml
├── qpnp_pon.kl
├── sepolicy
├── netd.te
├── init.te
├── vold.te
├── domain.te
├── healthd.te
├── kernel.te
├── diag.te
├── recovery.te
├── property.te
├── irsc_util.te
├── radio.te
├── surfaceflinger.te
├── service.te
├── property_contexts
├── sensortool.te
├── nanoapp_cmd.te
├── service_contexts
├── irqbalance.te
├── ssr_setup.te
├── init-qseecomd-sh.te
├── cameraserver.te
├── platform_app.te
├── peripheral_proxy.te
├── qti.te
├── ueventd.te
├── atfwd.te
├── fingerprintd.te
├── postprocd.te
├── device.te
├── te_macros
├── ssr.te
├── inputeventfind.te
├── system_app.te
├── cnd.te
├── init-mcfg-sh.te
├── qmux.te
├── rmt.te
├── oem_qmi_server.te
├── peripheral_manager.te
├── rild.te
├── time.te
├── location.te
├── audioserver.te
├── ims.te
├── thermald.te
├── mediaserver.te
├── genfs_contexts
├── perfd.te
├── init-power-sh.te
├── camera.te
└── tee.te
├── dataservices
├── Android.mk
├── rmnetctl
│ ├── Android.mk
│ ├── cli
│ │ ├── Makefile.am
│ │ └── Android.mk
│ └── src
│ │ ├── Makefile.am
│ │ └── Android.mk
├── sockev
│ ├── Android.mk
│ └── src
│ │ └── Android.mk
├── data-oss.pc.in
└── Makefile.am
├── msm_irqbalance.conf
├── init.angler.diag.rc.user
├── cm.dependencies
├── uinput-fpc.kl
├── init.angler.qseecomd.sh
├── performance
└── Android.mk
├── time-services
└── Android.mk
├── AnglerLayout
├── Android.mk
├── AndroidManifest.xml
├── res
│ └── values
│ │ ├── grid.xml
│ │ └── strings.xml
└── src
│ └── com
│ └── google
│ └── android
│ └── launcher
│ └── layouts
│ └── angler
│ └── PartnerCustomizationReceiver.java
├── init.mcfg.sh
├── init.angler.nanohub.rc
├── init.angler.sensorhub.rc
├── recovery
├── Android.mk
└── nanohub
│ └── Android.mk
├── vendorsetup.sh
├── AndroidProducts.mk
├── power
├── feature.h
└── Android.mk
├── cm.mk
├── bluetooth
└── bdroid_buildcfg.h
├── init.angler.diag.rc.userdebug
├── cm-proprietary-blobs-vendorimg.txt
├── dumpstate
└── Android.mk
├── factory-images
└── generate-factory-images-package.sh
├── vr
└── Android.mk
├── thermal
└── Android.mk
└── synaptics_dsx.idc
/camera/MODULE_LICENSE_BSD:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/self-extractors/Android.mk:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/egl.cfg:
--------------------------------------------------------------------------------
1 | 0 0 android
2 | 0 1 adreno
3 |
--------------------------------------------------------------------------------
/board-info.txt:
--------------------------------------------------------------------------------
1 | require board=angler
2 |
--------------------------------------------------------------------------------
/gpio-keys.kl:
--------------------------------------------------------------------------------
1 | key 115 VOLUME_UP
2 |
3 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Phone:
--------------------------------------------------------------------------------
1 | ../services/Telephony
--------------------------------------------------------------------------------
/self-extractors/PROLOGUE:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 |
--------------------------------------------------------------------------------
/qpnp_pon.kl:
--------------------------------------------------------------------------------
1 | key 116 POWER
2 | key 114 VOLUME_DOWN
3 |
--------------------------------------------------------------------------------
/sepolicy/netd.te:
--------------------------------------------------------------------------------
1 | dontaudit netd self:capability sys_module;
2 |
--------------------------------------------------------------------------------
/dataservices/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
--------------------------------------------------------------------------------
/self-extractors/qcom/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Qualcomm Technologies, Inc.
2 |
--------------------------------------------------------------------------------
/sepolicy/init.te:
--------------------------------------------------------------------------------
1 | allow init tmpfs:lnk_file create_file_perms;
2 |
--------------------------------------------------------------------------------
/self-extractors/huawei/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Huawei Technologies Co. Ltd.
2 |
--------------------------------------------------------------------------------
/dataservices/rmnetctl/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
3 |
--------------------------------------------------------------------------------
/dataservices/sockev/Android.mk:
--------------------------------------------------------------------------------
1 | include $(call all-subdir-makefiles)
2 |
3 |
--------------------------------------------------------------------------------
/msm_irqbalance.conf:
--------------------------------------------------------------------------------
1 | PRIO=1,1,1,1,0,0,0,0
2 | IGNORED_IRQ=20,40,200,203,155,157
3 |
4 |
--------------------------------------------------------------------------------
/sepolicy/vold.te:
--------------------------------------------------------------------------------
1 | # generated by proc scan, unnecessary
2 | dontaudit vold proc_irq:dir read;
3 |
--------------------------------------------------------------------------------
/sepolicy/domain.te:
--------------------------------------------------------------------------------
1 | userdebug_or_eng(`
2 | allow { domain -appdomain } diag_device:chr_file rw_file_perms;
3 | ')
--------------------------------------------------------------------------------
/sepolicy/healthd.te:
--------------------------------------------------------------------------------
1 | allow healthd sysfs_thermal:dir r_dir_perms;
2 | allow healthd sysfs_thermal:file rw_file_perms;
3 |
--------------------------------------------------------------------------------
/sepolicy/kernel.te:
--------------------------------------------------------------------------------
1 | # TODO - root cause why the kernel generating this denial.
2 | allow kernel domain:process setsched;
3 |
--------------------------------------------------------------------------------
/init.angler.diag.rc.user:
--------------------------------------------------------------------------------
1 | # This file gets copied as /init.angler.diag.rc
2 |
3 | on property:ro.boot.mode=normal
4 | rm /dev/diag
5 |
--------------------------------------------------------------------------------
/sepolicy/diag.te:
--------------------------------------------------------------------------------
1 | type diag, domain, domain_deprecated;
2 | type diag_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(diag)
5 |
--------------------------------------------------------------------------------
/cm.dependencies:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "repository": "android_kernel_huawei_angler",
4 | "target_path": "kernel/huawei/angler"
5 | }
6 | ]
7 |
--------------------------------------------------------------------------------
/camera/mm-image-codec/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),arm arm64))
2 | include $(call all-subdir-makefiles)
3 | endif
4 |
--------------------------------------------------------------------------------
/sepolicy/recovery.te:
--------------------------------------------------------------------------------
1 | recovery_only(`
2 | allow recovery sysfs_nanoapp_cmd:dir search;
3 | allow recovery sysfs_nanoapp_cmd:file { open write };
4 | ')
5 |
--------------------------------------------------------------------------------
/uinput-fpc.kl:
--------------------------------------------------------------------------------
1 | key 105 SYSTEM_NAVIGATION_LEFT
2 | key 108 SYSTEM_NAVIGATION_DOWN
3 | key 103 SYSTEM_NAVIGATION_UP
4 | key 106 SYSTEM_NAVIGATION_RIGHT
5 |
--------------------------------------------------------------------------------
/init.angler.qseecomd.sh:
--------------------------------------------------------------------------------
1 | #!/system/bin/sh
2 |
3 | while [ "$registered" != "true" ]
4 | do
5 | sleep 0.1
6 | registered="`getprop sys.listeners.registered`"
7 | done
8 |
--------------------------------------------------------------------------------
/sepolicy/property.te:
--------------------------------------------------------------------------------
1 | type contexthub_prop, property_type;
2 | type ctl_ppd_prop, property_type;
3 | type qcom_ims_prop, property_type;
4 | type radio_atfwd_prop, property_type;
5 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Bluetooth/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 |
5 |
--------------------------------------------------------------------------------
/performance/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 | include $(CLEAR_VARS)
3 | LOCAL_COPY_HEADERS_TO := power
4 | LOCAL_COPY_HEADERS := performance.h
5 | include $(BUILD_COPY_HEADERS)
6 |
--------------------------------------------------------------------------------
/camera/common.mk:
--------------------------------------------------------------------------------
1 | common_deps :=
2 | kernel_includes :=
3 |
4 | common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
5 | kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
6 |
--------------------------------------------------------------------------------
/sepolicy/irsc_util.te:
--------------------------------------------------------------------------------
1 | type irsc_util, domain, domain_deprecated;
2 | type irsc_util_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(irsc_util);
5 |
6 | allow irsc_util self:socket create_socket_perms;
7 |
--------------------------------------------------------------------------------
/sepolicy/radio.te:
--------------------------------------------------------------------------------
1 | allow radio oem_qmi_server:unix_stream_socket write;
2 | allow radio oem_qmi_server:unix_stream_socket connectto;
3 | allow radio rild_qmuxd_socket:sock_file write;
4 | qmux_socket(radio)
5 |
--------------------------------------------------------------------------------
/time-services/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_COPY_HEADERS_TO := time-services
6 | LOCAL_COPY_HEADERS := time_genoff.h
7 | include $(BUILD_COPY_HEADERS)
8 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CyanogenMod/android_device_huawei_angler/HEAD/overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png
--------------------------------------------------------------------------------
/sepolicy/surfaceflinger.te:
--------------------------------------------------------------------------------
1 | allow surfaceflinger sysfs_surfaceflinger:file rw_file_perms;
2 | allow surfaceflinger display_data_file:dir rw_dir_perms;
3 | allow surfaceflinger display_data_file:file create_file_perms;
4 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/drawable-nodpi/regulatory_info_h1511.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CyanogenMod/android_device_huawei_angler/HEAD/overlay/packages/apps/Settings/res/drawable-nodpi/regulatory_info_h1511.png
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/drawable-nodpi/regulatory_info_h1512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CyanogenMod/android_device_huawei_angler/HEAD/overlay/packages/apps/Settings/res/drawable-nodpi/regulatory_info_h1512.png
--------------------------------------------------------------------------------
/self-extractors/PART3:
--------------------------------------------------------------------------------
1 |
2 | if test $? != 0
3 | then
4 | echo
5 | echo ERROR: Couldn\'t extract files. 1>&2
6 | exit 3
7 | else
8 | echo
9 | echo Files extracted successfully.
10 | fi
11 | exit 0
12 |
13 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/drawable-nodpi/fingerprint_sensor_location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CyanogenMod/android_device_huawei_angler/HEAD/overlay/packages/apps/Settings/res/drawable-nodpi/fingerprint_sensor_location.png
--------------------------------------------------------------------------------
/sepolicy/service.te:
--------------------------------------------------------------------------------
1 | type atfwd_service, service_manager_type;
2 | type cne_service, service_manager_type;
3 | type ims_service, service_manager_type;
4 | type per_mgr_service, service_manager_type;
5 |
--------------------------------------------------------------------------------
/camera/QCamera2/stack/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 | include $(LOCAL_PATH)/mm-camera-interface/Android.mk
3 | include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 | include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
5 | include $(LOCAL_PATH)/mm-camera-test/Android.mk
6 |
--------------------------------------------------------------------------------
/dataservices/data-oss.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@prefix@
2 | exec_prefix=@exec_prefix@
3 | libdir=@libdir@
4 | includedir=@includedir@
5 |
6 | Name: data-oss
7 | Description: Data Opensource Components
8 | Version: @VERSION@
9 | Libs: -L${libdir} -lrmnetctl
10 | Cflags: -I${includedir}/data-oss
11 |
--------------------------------------------------------------------------------
/sepolicy/property_contexts:
--------------------------------------------------------------------------------
1 | ctl.ppd u:object_r:ctl_ppd_prop:s0
2 | radio.atfwd. u:object_r:radio_atfwd_prop:s0
3 | sensors.contexthub. u:object_r:contexthub_prop:s0
4 | sys.ims. u:object_r:qcom_ims_prop:s0
5 | net.r_rmnet u:object_r:net_radio_prop:s0
6 |
--------------------------------------------------------------------------------
/AnglerLayout/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 | include $(CLEAR_VARS)
3 |
4 | LOCAL_MODULE_TAGS := optional
5 |
6 | LOCAL_SRC_FILES := $(call all-java-files-under, src)
7 |
8 | LOCAL_PACKAGE_NAME := AnglerLayout
9 |
10 | LOCAL_SDK_VERSION := current
11 |
12 | include $(BUILD_PACKAGE)
13 |
--------------------------------------------------------------------------------
/sepolicy/sensortool.te:
--------------------------------------------------------------------------------
1 | type sensortool, domain, domain_deprecated;
2 | type sensortool_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(sensortool)
5 |
6 | allow sensortool self:capability sys_nice;
7 |
8 | allow sensortool sensors_device:chr_file rw_file_perms;
9 | create_pty(sensortool)
10 |
--------------------------------------------------------------------------------
/dataservices/Makefile.am:
--------------------------------------------------------------------------------
1 | # Makefile.am - Automake script for Data-opensource
2 | #
3 |
4 | ACLOCAL_AMFLAGS = -I m4
5 | AUTOMAKE_OPTIONS = foreign
6 | SUBDIRS = rmnetctl/src rmnetctl/cli
7 |
8 | pkgconfigdir = $(libdir)/pkgconfig
9 | pkgconfig_DATA = data-oss.pc
10 | EXTRA_DIST = $(pkgconfig_DATA)
11 |
12 |
--------------------------------------------------------------------------------
/init.mcfg.sh:
--------------------------------------------------------------------------------
1 | #!/system/bin/sh
2 |
3 | # Make modem config folder and copy firmware config to that folder
4 | rm -rf /data/misc/radio/modem_config
5 | mkdir -m 770 /data/misc/radio/modem_config
6 | cp -r /firmware/image/modem_pr/mcfg/configs/* /data/misc/radio/modem_config
7 | echo 1 > /data/misc/radio/copy_complete
8 |
--------------------------------------------------------------------------------
/sepolicy/nanoapp_cmd.te:
--------------------------------------------------------------------------------
1 | type nanoapp_cmd, domain;
2 | type nanoapp_cmd_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(nanoapp_cmd)
5 |
6 | allow nanoapp_cmd sensors_device:chr_file rw_file_perms;
7 | allow nanoapp_cmd sysfs_nanoapp_cmd:dir search;
8 | allow nanoapp_cmd sysfs_nanoapp_cmd:file rw_file_perms;
9 |
--------------------------------------------------------------------------------
/sepolicy/service_contexts:
--------------------------------------------------------------------------------
1 | AtCmdFwd u:object_r:atfwd_service:s0
2 | cneservice u:object_r:cne_service:s0
3 | qti.ims.connectionmanagerservice u:object_r:ims_service:s0
4 | vendor.qcom.PeripheralManager u:object_r:per_mgr_service:s0
5 |
--------------------------------------------------------------------------------
/sepolicy/irqbalance.te:
--------------------------------------------------------------------------------
1 | type irqbalance, domain, domain_deprecated;
2 | type irqbalance_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(irqbalance);
5 |
6 | allow irqbalance sysfs_devices_system_cpu:file rw_file_perms;
7 | allow irqbalance proc_irq:dir r_dir_perms;
8 | allow irqbalance proc_irq:file rw_file_perms;
9 |
--------------------------------------------------------------------------------
/sepolicy/ssr_setup.te:
--------------------------------------------------------------------------------
1 | type ssr_setup, domain, domain_deprecated;
2 | type ssr_setup_exec, exec_type, file_type;
3 | init_daemon_domain(ssr_setup);
4 |
5 | allow ssr_setup sysfs_msm_subsys:dir r_dir_perms;
6 | allow ssr_setup sysfs_msm_subsys:lnk_file rw_file_perms;
7 | allow ssr_setup sysfs_msm_subsys_toggle:file rw_file_perms;
8 |
--------------------------------------------------------------------------------
/self-extractors/PART1:
--------------------------------------------------------------------------------
1 | #
2 | # Usage is subject to the enclosed license agreement
3 |
4 | echo
5 | echo The license for this software will now be displayed.
6 | echo You must agree to this license before using this software.
7 | echo
8 | echo -n Press Enter to view the license
9 | read dummy
10 | echo
11 |
12 | more << __EOF__
13 |
--------------------------------------------------------------------------------
/init.angler.nanohub.rc:
--------------------------------------------------------------------------------
1 | on post-fs
2 | ## ensure correct calibration file permissions
3 | chown root system /persist/sensorcal.json
4 | chmod 0640 /persist/sensorcal.json
5 | ## Update Nanohub FW if needed
6 | start flash-nanohub-fw
7 |
8 | service flash-nanohub-fw /system/bin/nanoapp_cmd download
9 | oneshot
10 | disabled
11 |
--------------------------------------------------------------------------------
/sepolicy/init-qseecomd-sh.te:
--------------------------------------------------------------------------------
1 | type init-angler-qseecomd-sh, domain;
2 | type init-angler-qseecomd-sh_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(init-angler-qseecomd-sh)
5 |
6 | allow init-angler-qseecomd-sh shell_exec:file rx_file_perms;
7 |
8 | # execute toybox/toolbox
9 | allow init-angler-qseecomd-sh toolbox_exec:file rx_file_perms;
10 |
--------------------------------------------------------------------------------
/sepolicy/cameraserver.te:
--------------------------------------------------------------------------------
1 | # communicate with camera
2 | allow cameraserver camera:unix_dgram_socket sendto;
3 | allow cameraserver camera_data_file:sock_file write;
4 |
5 | # allow communication w/perfd
6 | allow cameraserver perfd_data_file:dir search;
7 | allow cameraserver perfd:unix_stream_socket connectto;
8 | allow cameraserver perfd_data_file:sock_file write;
9 |
--------------------------------------------------------------------------------
/dataservices/rmnetctl/cli/Makefile.am:
--------------------------------------------------------------------------------
1 | AM_CFLAGS = -Wall -Werror -Wundef -Wstrict-prototypes -Wno-trigraphs
2 | AM_CFLAGS += -I./../inc
3 | rmnetcli_SOURCES = rmnetcli.c
4 | bin_PROGRAMS = rmnetcli
5 | requiredlibs = ../src/librmnetctl.la
6 | rmnetcli_LDADD = $(requiredlibs)
7 | LOCAL_MODULE := librmnetctl
8 | LOCAL_PRELINK_MODULE := false
9 | include $(BUILD_SHARED_LIBRARY)
10 |
--------------------------------------------------------------------------------
/sepolicy/platform_app.te:
--------------------------------------------------------------------------------
1 | userdebug_or_eng(`
2 | # qxdmlogger rundiag perms
3 | allow platform_app diag_logs:dir rw_dir_perms;
4 | allow platform_app diag_logs:file create_file_perms;
5 | allow platform_app diag_device:chr_file rw_file_perms;
6 | ')
7 |
8 | allow platform_app nfc_service:service_manager find;
9 | allow platform_app oem_qmi_server:unix_stream_socket connectto;
--------------------------------------------------------------------------------
/camera/Android.mk:
--------------------------------------------------------------------------------
1 | # TODO: Find a better way to separate build configs for ADP vs non-ADP devices
2 | ifneq ($(TARGET_BOARD_AUTO),true)
3 | ifneq ($(filter msm8992 msm8994,$(TARGET_BOARD_PLATFORM)),)
4 | ifneq ($(strip $(USE_CAMERA_STUB)),true)
5 | ifneq ($(BUILD_TINY_ANDROID),true)
6 | include $(call all-subdir-makefiles)
7 | endif
8 | endif
9 | endif
10 | endif
11 |
--------------------------------------------------------------------------------
/sepolicy/peripheral_proxy.te:
--------------------------------------------------------------------------------
1 | type per_proxy, domain, domain_deprecated;
2 | type per_proxy_exec, exec_type, file_type;
3 | init_daemon_domain(per_proxy);
4 |
5 | binder_use(per_proxy)
6 | binder_call(per_proxy, per_mgr)
7 |
8 | allow per_proxy per_mgr_service:service_manager find;
9 | allow per_proxy sysfs_msm_subsys:dir r_dir_perms;
10 | allow per_proxy sysfs_msm_subsys:lnk_file r_file_perms;
11 |
--------------------------------------------------------------------------------
/self-extractors/PART2:
--------------------------------------------------------------------------------
1 | __EOF__
2 |
3 | if test $? != 0
4 | then
5 | echo ERROR: Couldn\'t display license file 1>&2
6 | exit 1
7 | fi
8 |
9 | echo
10 |
11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
12 | read typed
13 |
14 | if test "$typed" != I\ ACCEPT
15 | then
16 | echo
17 | echo You didn\'t accept the license. Extraction aborted.
18 | exit 2
19 | fi
20 |
21 | echo
22 |
23 |
--------------------------------------------------------------------------------
/sepolicy/qti.te:
--------------------------------------------------------------------------------
1 | type qti, domain, domain_deprecated;
2 | type qti_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(qti)
5 |
6 | allow qti sysfs_msm_subsys:dir r_dir_perms;
7 | allow qti sysfs_msm_subsys:lnk_file r_file_perms;
8 |
9 | allow qti self:socket create_socket_perms;
10 |
11 | allow qti dpl_device:chr_file rw_file_perms;
12 | allow qti rmnet_device:chr_file rw_file_perms;
13 |
14 | qmux_socket(qti)
15 |
--------------------------------------------------------------------------------
/sepolicy/ueventd.te:
--------------------------------------------------------------------------------
1 | allow ueventd firmware_file:dir r_dir_perms;
2 | allow ueventd firmware_file:file r_file_perms;
3 | allow ueventd sysfs_led:file rw_file_perms;
4 | allow ueventd sysfs_gpu_tuning:file rw_file_perms;
5 | allow ueventd sysfs_thermal:file rw_file_perms;
6 | #read and write /sys/bus/spi/devices/spi12.0/spi_prepare
7 | allow ueventd sysfs_fingerprintd:file rw_file_perms;
8 | allow ueventd sysfs_nanoapp_cmd:file w_file_perms;
9 |
--------------------------------------------------------------------------------
/dataservices/rmnetctl/cli/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_SRC_FILES := rmnetcli.c
6 | LOCAL_CFLAGS := -Wall -Werror
7 |
8 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc
9 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../src
10 | LOCAL_C_INCLUDES += $(LOCAL_PATH)
11 |
12 | LOCAL_MODULE := rmnetcli
13 | LOCAL_MODULE_TAGS := optional
14 |
15 | LOCAL_SHARED_LIBRARIES := librmnetctl
16 | include $(BUILD_EXECUTABLE)
17 |
--------------------------------------------------------------------------------
/sepolicy/atfwd.te:
--------------------------------------------------------------------------------
1 | type atfwd, domain, domain_deprecated;
2 | type atfwd_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(atfwd)
6 |
7 | binder_use(atfwd)
8 | binder_call(atfwd,system_app)
9 |
10 | allow atfwd sysfs_msm_subsys:dir r_dir_perms;
11 | allow atfwd sysfs_msm_subsys:lnk_file r_file_perms;
12 |
13 | set_prop(atfwd, radio_atfwd_prop)
14 |
15 | allow atfwd atfwd_service:service_manager find;
16 | qmux_socket(atfwd)
17 |
--------------------------------------------------------------------------------
/sepolicy/fingerprintd.te:
--------------------------------------------------------------------------------
1 | allow fingerprintd tee_device:chr_file rw_file_perms;
2 | # read/open /dev/input
3 | allow fingerprintd input_device:dir r_dir_perms;
4 | # read/open /dev/input/event6
5 | allow fingerprintd input_device:chr_file r_file_perms;
6 | # write /sys/bus/spi/devices/spi12.0/spi_prepare
7 | allow fingerprintd sysfs_fingerprintd:file rw_file_perms;
8 | allow fingerprintd sysfs_fingerprintd:dir search;
9 | allow fingerprintd sysfs_fingerprintd:dir r_dir_perms;
10 |
--------------------------------------------------------------------------------
/sepolicy/postprocd.te:
--------------------------------------------------------------------------------
1 | type postprocd, domain, domain_deprecated;
2 | type postprocd_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(postprocd)
6 |
7 | set_prop(postprocd, system_prop)
8 |
9 | allow postprocd graphics_device:dir search;
10 | allow postprocd graphics_device:chr_file rw_file_perms;
11 | allow postprocd display_data_file:dir search;
12 | allow postprocd sysfs_led:dir r_dir_perms;
13 | allow postprocd sysfs_led:file rw_file_perms;
14 |
--------------------------------------------------------------------------------
/dataservices/sockev/src/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_SRC_FILES := sockev_cli.c
6 | LOCAL_CFLAGS := -Wall -Werror
7 |
8 | #ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
9 | LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
10 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
11 | #endif
12 |
13 | LOCAL_MODULE := sockev
14 | LOCAL_MODULE_TAGS := optional
15 |
16 | include $(BUILD_EXECUTABLE)
17 |
--------------------------------------------------------------------------------
/sepolicy/device.te:
--------------------------------------------------------------------------------
1 | type diag_device, dev_type, mlstrustedobject;
2 | type dpl_device, dev_type;
3 | type drm_block_device, dev_type;
4 | type media_device, dev_type;
5 | type modem_block_device, dev_type;
6 | type persist_block_device, dev_type;
7 | type ramdump_device, dev_type;
8 | type rmnet_device, dev_type;
9 | type shared_log_device, dev_type;
10 | type ssd_block_device, dev_type;
11 | type subsys_modem_device, dev_type;
12 | type thermal_engine_device, dev_type;
13 | type v41_subdev_device, dev_type;
14 |
--------------------------------------------------------------------------------
/sepolicy/te_macros:
--------------------------------------------------------------------------------
1 | #####################################
2 | # qmux_socket(clientdomain)
3 | # Allow client domain to connecto and send
4 | # via a local socket to the qmux domain.
5 | # Also allow the client domain to remove
6 | # its own socket.
7 | define(`qmux_socket', `
8 | type $1_qmuxd_socket, file_type;
9 | file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket)
10 | allow $1 qmuxd_socket:dir remove_name;
11 | unix_socket_connect($1, qmuxd, qmux)
12 | allow qmux $1_qmuxd_socket:sock_file { getattr unlink };
13 | ')
--------------------------------------------------------------------------------
/sepolicy/ssr.te:
--------------------------------------------------------------------------------
1 | type ssr, domain, domain_deprecated;
2 | type ssr_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(ssr)
6 |
7 | userdebug_or_eng(`
8 | # read the contents of the /dev directory
9 | allow ssr device:dir r_dir_perms;
10 | allow ssr ramdump_device:chr_file r_file_perms;
11 |
12 | allow ssr ssr_data_file:dir rw_dir_perms;
13 | allow ssr ssr_data_file:file create_file_perms;
14 | allow ssr sysfs_msm_subsys:dir r_dir_perms;
15 | allow ssr sysfs_msm_subsys:lnk_file r_file_perms;
16 | ')
17 |
--------------------------------------------------------------------------------
/sepolicy/inputeventfind.te:
--------------------------------------------------------------------------------
1 | type inputeventfind, domain, domain_deprecated;
2 | type inputeventfind_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(inputeventfind)
5 |
6 | # search for appropriate input device
7 | allow inputeventfind input_device:dir r_dir_perms;
8 | allow inputeventfind input_device:chr_file r_file_perms;
9 |
10 | # create symlink to /dev/stm_sensor
11 | allow inputeventfind device:dir { add_name write };
12 | allow inputeventfind video_device:lnk_file create;
13 | type_transition inputeventfind device:lnk_file video_device;
14 |
--------------------------------------------------------------------------------
/sepolicy/system_app.te:
--------------------------------------------------------------------------------
1 | unix_socket_connect(system_app, cnd, cnd)
2 | allow system_app time:unix_stream_socket connectto;
3 | allow system_app oem_qmi_server:unix_stream_socket connectto;
4 |
5 | set_prop(system_app, ctl_ppd_prop)
6 |
7 | allow system_app atfwd_service:service_manager add;
8 | allow system_app cne_service:service_manager add;
9 |
10 | # allow CNEService to write /data/connectivity
11 | allow system_app cnd_data_file:dir w_dir_perms;
12 | # allow CNEService to create profile.txt
13 | allow system_app cnd_data_file:file create_file_perms;
14 |
--------------------------------------------------------------------------------
/dataservices/rmnetctl/src/Makefile.am:
--------------------------------------------------------------------------------
1 | AM_CFLAGS = -Wall -Werror -Wundef -Wstrict-prototypes -Wno-trigraphs
2 | AM_CFLAGS += -I./../inc
3 |
4 | librmnetctl_la_C = @C@
5 | librmnetctl_la_SOURCES = librmnetctl.c
6 |
7 | common_CFLAGS = -DUSE_GLIB @GLIB_CFLAGS@
8 | common_LDFLAGS = -lpthread -lrt @GLIB_LIBS@
9 |
10 | librmnetctl_la_CFLAGS := $(AM_CFLAGS) $(common_CFLAGS)
11 | librmnetctl_la_LDFLAGS := -shared $(common_LDFLAGS)
12 |
13 | library_includedir = $(pkgincludedir)
14 | library_include_HEADERS = ./../inc/librmnetctl.h
15 |
16 | lib_LTLIBRARIES = librmnetctl.la
17 |
--------------------------------------------------------------------------------
/sepolicy/cnd.te:
--------------------------------------------------------------------------------
1 | type cnd, domain, domain_deprecated;
2 | type cnd_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(cnd)
6 |
7 | userdebug_or_eng(`
8 | allow cnd shared_log_device:chr_file rw_file_perms;
9 | ')
10 |
11 | allow cnd self:capability { setuid setgid net_raw };
12 |
13 | allow cnd self:socket create_socket_perms;
14 | allow cnd self:udp_socket create_socket_perms;
15 |
16 | allow cnd sysfs_msm_subsys:dir r_dir_perms;
17 | allow cnd sysfs_msm_subsys:lnk_file rw_file_perms;
18 |
19 | qmux_socket(cnd)
20 | wakelock_use(cnd)
21 |
--------------------------------------------------------------------------------
/sepolicy/init-mcfg-sh.te:
--------------------------------------------------------------------------------
1 | type init-mcfg-sh, domain, domain_deprecated;
2 | type init-mcfg-sh_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(init-mcfg-sh)
5 |
6 | allow init-mcfg-sh shell_exec:file rx_file_perms;
7 |
8 | # remove and create /data/misc/radio/modem_config
9 | allow init-mcfg-sh radio_data_file:dir create_dir_perms;
10 | allow init-mcfg-sh radio_data_file:file create_file_perms;
11 |
12 | allow init-mcfg-sh firmware_file:dir r_dir_perms;
13 | allow init-mcfg-sh firmware_file:file r_file_perms;
14 |
15 | # execute toybox/toolbox
16 | allow init-mcfg-sh toolbox_exec:file rx_file_perms;
17 |
--------------------------------------------------------------------------------
/sepolicy/qmux.te:
--------------------------------------------------------------------------------
1 | # Qualcomm Management Interface Multiplexer
2 | type qmux, domain, domain_deprecated;
3 | type qmux_exec, exec_type, file_type;
4 |
5 | init_daemon_domain(qmux)
6 |
7 | wakelock_use(qmux)
8 | allow qmux sysfs_msm_subsys:dir r_dir_perms;
9 | allow qmux sysfs_msm_subsys:lnk_file r_file_perms;
10 |
11 | allow qmux qmuxd_socket:dir w_dir_perms;
12 | allow qmux qmuxd_socket:sock_file create_file_perms;
13 |
14 | allow qmux radio_device:chr_file rw_file_perms;
15 |
16 | # Access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout
17 | allow qmux sysfs_smdcntl_open_timeout:file rw_file_perms;
18 |
--------------------------------------------------------------------------------
/sepolicy/rmt.te:
--------------------------------------------------------------------------------
1 | # remote storage process
2 | type rmt, domain, domain_deprecated;
3 | type rmt_exec, exec_type, file_type;
4 |
5 | init_daemon_domain(rmt)
6 |
7 | allow rmt shared_log_device:chr_file rw_file_perms;
8 |
9 | wakelock_use(rmt)
10 | allow rmt self:capability { setuid setgid setpcap net_raw sys_admin };
11 |
12 | # Allow access to /dev/uio0.
13 | allow rmt uio_device:chr_file rw_file_perms;
14 |
15 | allow rmt self:socket create_socket_perms;
16 |
17 | allow rmt root_block_device:blk_file r_file_perms;
18 | allow rmt modem_block_device:blk_file rw_file_perms;
19 | allow rmt block_device:dir search;
20 |
--------------------------------------------------------------------------------
/init.angler.sensorhub.rc:
--------------------------------------------------------------------------------
1 | on charger
2 | ## ensure correct calibration file permissions
3 | chown root system /persist/sensorcal.json
4 | chmod 0640 /persist/sensorcal.json
5 | ## Update SH FW if needed
6 | start flash-sh-fw
7 |
8 | on post-fs
9 | ## ensure correct calibration file permissions
10 | chown root system /persist/sensorcal.json
11 | chmod 0640 /persist/sensorcal.json
12 | ## Update SH FW if needed
13 | start flash-sh-fw
14 |
15 | service flash-sh-fw /vendor/bin/sensortool.angler -f /vendor/firmware/nano4x1.bin
16 | oneshot
17 | disabled
18 | group system
19 |
--------------------------------------------------------------------------------
/sepolicy/oem_qmi_server.te:
--------------------------------------------------------------------------------
1 | type oem_qmi_server, domain, domain_deprecated, mlstrustedsubject;
2 | type oem_qmi_server_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(oem_qmi_server)
5 |
6 |
7 | # b/22871314
8 | allow oem_qmi_server shared_log_device:chr_file rw_file_perms;
9 |
10 | allow oem_qmi_server sysfs_msm_subsys:dir r_dir_perms;
11 | allow oem_qmi_server sysfs_msm_subsys:lnk_file rw_file_perms;
12 |
13 | allow oem_qmi_server self:socket create_socket_perms;
14 |
15 | # Access device /dev/diag
16 | userdebug_or_eng(`
17 | allow oem_qmi_server diag_device:chr_file rw_file_perms;
18 | ')
19 |
20 | qmux_socket(oem_qmi_server)
21 |
--------------------------------------------------------------------------------
/AnglerLayout/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/sepolicy/peripheral_manager.te:
--------------------------------------------------------------------------------
1 | type per_mgr, domain, domain_deprecated;
2 | type per_mgr_exec, exec_type, file_type;
3 | init_daemon_domain(per_mgr);
4 |
5 | allow per_mgr shared_log_device:chr_file rw_file_perms;
6 |
7 | allow per_mgr sysfs_msm_subsys:dir r_dir_perms;
8 | allow per_mgr sysfs_msm_subsys:lnk_file r_file_perms;
9 |
10 | binder_service(per_mgr)
11 | binder_use(per_mgr)
12 | binder_call(per_mgr, per_proxy)
13 | binder_call(per_mgr, rild)
14 | allow per_mgr per_mgr_service:service_manager add;
15 |
16 | allow per_mgr subsys_modem_device:chr_file r_file_perms;
17 |
18 | allow per_mgr self:capability net_raw;
19 | allow per_mgr self:socket create_socket_perms;
20 |
--------------------------------------------------------------------------------
/sepolicy/rild.te:
--------------------------------------------------------------------------------
1 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to RILD
2 | qmux_socket(rild)
3 |
4 | binder_call(rild, per_mgr)
5 | binder_call(rild, audioserver)
6 | binder_call(rild, mediaserver)
7 | binder_use(rild)
8 |
9 | allow rild sysfs_msm_subsys:dir r_dir_perms;
10 | allow rild sysfs_msm_subsys:lnk_file read;
11 |
12 | allow rild sysfs_wifi_sar:file { getattr w_file_perms};
13 |
14 | allow rild sysfs_lcd_mipi:file rw_file_perms;
15 |
16 | allow rild time:unix_stream_socket connectto;
17 |
18 | allow rild audioserver_service:service_manager find;
19 | allow rild mediaserver_service:service_manager find;
20 | allow rild per_mgr_service:service_manager find;
21 |
--------------------------------------------------------------------------------
/sepolicy/time.te:
--------------------------------------------------------------------------------
1 | type time, domain, domain_deprecated;
2 | type time_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(time)
6 |
7 | allow time self:capability { setuid setgid };
8 |
9 |
10 | allow time rtc_device:chr_file r_file_perms;
11 | allow time alarm_device:chr_file rw_file_perms;
12 |
13 | allow time time_data_file:dir rw_dir_perms;
14 | allow time time_data_file:file create_file_perms;
15 | allow time sysfs_msm_subsys:dir r_dir_perms;
16 | allow time sysfs_msm_subsys:lnk_file r_file_perms;
17 |
18 | allow time self:socket create_socket_perms;
19 |
20 | userdebug_or_eng(`
21 | allow time shared_log_device:chr_file rw_file_perms;
22 | ')
23 |
--------------------------------------------------------------------------------
/self-extractors/qcom/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2016 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/self-extractors/huawei/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2014 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/recovery/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016 The Android Open Source Project
3 | #
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 | include $(all-subdir-makefiles)
18 |
--------------------------------------------------------------------------------
/vendorsetup.sh:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015 The Android Open Source Project
3 | #
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 | add_lunch_combo aosp_angler-userdebug
18 |
--------------------------------------------------------------------------------
/sepolicy/location.te:
--------------------------------------------------------------------------------
1 | type location, domain, domain_deprecated;
2 | type location_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(location)
6 |
7 | allow location location_exec:file rx_file_perms;
8 |
9 | allow location self:capability { setuid setgid net_raw };
10 |
11 | allow location self:socket create_socket_perms;
12 |
13 | binder_use(location)
14 | binder_call(location, system_server)
15 | allow location sensorservice_service:service_manager find;
16 |
17 | allow location system_server:unix_stream_socket { read write };
18 |
19 | # slim_daemon
20 | allow location sysfs_msm_subsys:dir r_dir_perms;
21 | allow location sysfs_msm_subsys:lnk_file rw_file_perms;
22 |
23 | qmux_socket(location)
24 |
--------------------------------------------------------------------------------
/dataservices/rmnetctl/src/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 | LOCAL_COPY_HEADERS_TO := dataservices/rmnetctl
5 | LOCAL_COPY_HEADERS := ../inc/librmnetctl.h
6 |
7 | LOCAL_SRC_FILES := librmnetctl.c
8 | LOCAL_CFLAGS := -Wall -Werror
9 |
10 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc
11 | LOCAL_C_INCLUDES += $(LOCAL_PATH)
12 | #ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true)
13 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
14 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
15 | #endif
16 |
17 | LOCAL_MODULE := librmnetctl
18 | LOCAL_MODULE_TAGS := optional
19 | LOCAL_PRELINK_MODULE := false
20 |
21 | include $(BUILD_SHARED_LIBRARY)
22 |
--------------------------------------------------------------------------------
/sepolicy/audioserver.te:
--------------------------------------------------------------------------------
1 | binder_call(audioserver, rild)
2 |
3 | userdebug_or_eng(`
4 | allow audioserver diag_device:chr_file rw_file_perms;
5 | ')
6 |
7 | # access for speaker calibration file
8 | allow audioserver persist_file:dir search;
9 | allow audioserver persist_audio_file:dir search;
10 | allow audioserver persist_audio_file:file r_file_perms;
11 |
12 | # allow communication w/perfd
13 | allow audioserver perfd_data_file:dir search;
14 | allow audioserver perfd_data_file:sock_file write;
15 | allow audioserver perfd:unix_dgram_socket sendto;
16 | allow audioserver perfd:unix_stream_socket connectto;
17 |
18 | # allow reading /sys/devices/soc0/hw_platform for acdb
19 | allow audioserver sysfs:file { getattr open read };
20 |
--------------------------------------------------------------------------------
/AndroidProducts.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015 The Android Open Source Project
3 | #
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 | PRODUCT_MAKEFILES := \
18 | $(LOCAL_DIR)/aosp_angler.mk
19 |
--------------------------------------------------------------------------------
/power/feature.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2015 The CyanogenMod Project
3 | *
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 | void set_feature(struct power_module *module, feature_t feature, int state);
18 |
--------------------------------------------------------------------------------
/self-extractors/root/BoardConfigVendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2015 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_STEM := angler/BoardConfigPartial.mk
16 |
17 | -include vendor/huawei/$(LOCAL_STEM)
18 |
--------------------------------------------------------------------------------
/cm.mk:
--------------------------------------------------------------------------------
1 | # Boot animation
2 | TARGET_SCREEN_HEIGHT := 2560
3 | TARGET_SCREEN_WIDTH := 1440
4 |
5 | # Inherit some common CM stuff.
6 | $(call inherit-product, vendor/cm/config/common_full_phone.mk)
7 |
8 | # Inherit device configuration
9 | $(call inherit-product, device/huawei/angler/aosp_angler.mk)
10 |
11 | DEVICE_PACKAGE_OVERLAYS += device/huawei/angler/overlay-cm
12 |
13 | ## Device identifier. This must come after all inclusions
14 | PRODUCT_NAME := cm_angler
15 | PRODUCT_BRAND := google
16 | PRODUCT_MODEL := Nexus 6P
17 |
18 | TARGET_VENDOR := huawei
19 |
20 | PRODUCT_BUILD_PROP_OVERRIDES += \
21 | PRODUCT_NAME=angler \
22 | BUILD_FINGERPRINT=google/angler/angler:7.1.1/NMF26F/3425388:user/release-keys \
23 | PRIVATE_BUILD_DESC="angler-user 7.1.1 NMF26F 3425388 release-keys"
24 |
--------------------------------------------------------------------------------
/sepolicy/ims.te:
--------------------------------------------------------------------------------
1 | type ims, domain, domain_deprecated;
2 | type ims_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(ims)
5 |
6 | # Policy below to be updated per b/23784951
7 | allow ims self:capability { net_admin net_raw };
8 |
9 | binder_use(ims)
10 | set_prop(ims, qcom_ims_prop)
11 | qmux_socket(ims)
12 | unix_socket_connect(ims, cnd, cnd)
13 |
14 | allow ims ims_service:service_manager add;
15 |
16 | allow ims ims_socket:sock_file write;
17 | allow ims self:socket create_socket_perms;
18 | allow ims self:udp_socket create_socket_perms;
19 | allow ims self:netlink_socket create_socket_perms;
20 | allow ims self:netlink_route_socket { create_socket_perms nlmsg_write nlmsg_read };
21 |
22 | allow ims sysfs_msm_subsys:dir r_dir_perms;
23 | allow ims sysfs_msm_subsys:lnk_file r_file_perms;
24 |
--------------------------------------------------------------------------------
/self-extractors/huawei/staging/device-partial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2015 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # Vendor blob(s) necessary for Angler hardware
16 | PRODUCT_COPY_FILES := \
17 | vendor/huawei/angler/proprietary/vendor.img:vendor.img:huawei \
18 |
19 |
--------------------------------------------------------------------------------
/power/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | # HAL module implemenation stored in
4 | # hw/..so
5 | include $(CLEAR_VARS)
6 |
7 | LOCAL_MODULE_RELATIVE_PATH := hw
8 | LOCAL_MULTILIB := both
9 | LOCAL_SHARED_LIBRARIES := liblog libcutils libdl
10 | LOCAL_SRC_FILES := power.c metadata-parser.c utils.c list.c hint-data.c feature.c
11 |
12 | # Include target-specific files.
13 |
14 | ifeq ($(call is-board-platform-in-list, msm8994), true)
15 | LOCAL_SRC_FILES += power-8994.c
16 | endif
17 |
18 | ifeq ($(call is-board-platform-in-list, msm8992), true)
19 | LOCAL_SRC_FILES += power-8992.c
20 | endif
21 |
22 | ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
23 | LOCAL_CFLAGS += -DINTERACTION_BOOST
24 | endif
25 |
26 | LOCAL_MODULE := power.angler
27 | LOCAL_MODULE_TAGS := optional
28 | include $(BUILD_SHARED_LIBRARY)
29 |
--------------------------------------------------------------------------------
/self-extractors/root/device-vendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2015 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_STEM := angler/device-partial.mk
16 |
17 | $(call inherit-product-if-exists, vendor/huawei/$(LOCAL_STEM))
18 | $(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
19 |
--------------------------------------------------------------------------------
/bluetooth/bdroid_buildcfg.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2015 The Android Open Source Project
3 | *
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 | #ifndef _BDROID_BUILDCFG_H
18 | #define _BDROID_BUILDCFG_H
19 |
20 | #define BTM_WBS_INCLUDED TRUE
21 | #define BTIF_HF_WBS_PREFERRED TRUE
22 | #define BLE_VND_INCLUDED TRUE
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/init.angler.diag.rc.userdebug:
--------------------------------------------------------------------------------
1 | # This file gets copied as /init.angler.diag.rc
2 |
3 | on post-fs-data
4 | # Modem logging collection
5 | mkdir /data/diag_logs 0777 system system
6 |
7 | #Create folder subsystem_ramdump
8 | mkdir /data/ramdump 0700 system system
9 |
10 | on boot
11 | chmod 666 /dev/diag
12 | write /sys/module/msm_poweroff/parameters/enable_edl 1
13 |
14 | # diag and adb
15 | on property:sys.usb.config=diag,adb
16 | stop adbd
17 | write /sys/class/android_usb/android0/enable 0
18 | write /sys/class/android_usb/android0/idVendor 05C6
19 | write /sys/class/android_usb/android0/idProduct 901D
20 | write /sys/class/android_usb/android0/f_diag/clients diag
21 | write /sys/class/android_usb/android0/functions diag,adb
22 | write /sys/class/android_usb/android0/enable 1
23 | start adbd
24 | setprop sys.usb.state ${sys.usb.config}
25 |
--------------------------------------------------------------------------------
/cm-proprietary-blobs-vendorimg.txt:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2016 The CyanogenMod Project
3 | #
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 | # special prefix characters:
18 | # - define as a prebuilt package
19 | #
20 | # :
21 |
22 | -app/ims/ims.apk
23 | -app/TimeService/TimeService.apk
24 |
--------------------------------------------------------------------------------
/AnglerLayout/res/values/grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 | 4
18 | 6
19 |
20 |
--------------------------------------------------------------------------------
/camera/mm-image-codec/qomx_core/Android.mk:
--------------------------------------------------------------------------------
1 | OMX_CORE_PATH := $(call my-dir)
2 |
3 | # ------------------------------------------------------------------------------
4 | # Make the shared library (libqomx_core)
5 | # ------------------------------------------------------------------------------
6 |
7 | include $(CLEAR_VARS)
8 | LOCAL_PATH := $(OMX_CORE_PATH)
9 | LOCAL_MODULE_TAGS := optional
10 |
11 | omx_core_defines:= -Werror \
12 | -g -O0
13 |
14 | LOCAL_CFLAGS := $(omx_core_defines)
15 |
16 | OMX_HEADER_DIR := frameworks/native/include/media/openmax
17 |
18 | LOCAL_C_INCLUDES := $(OMX_HEADER_DIR)
19 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../qexif
20 |
21 | LOCAL_SRC_FILES := qomx_core.c
22 |
23 | LOCAL_MODULE := libqomx_core
24 | LOCAL_PRELINK_MODULE := false
25 | LOCAL_SHARED_LIBRARIES := libcutils libdl
26 |
27 | LOCAL_32_BIT_ONLY := true
28 | include $(BUILD_SHARED_LIBRARY)
29 |
--------------------------------------------------------------------------------
/overlay/packages/services/Telephony/res/values-mcc310-mnc120/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 | Carrier settings
19 |
20 |
--------------------------------------------------------------------------------
/sepolicy/thermald.te:
--------------------------------------------------------------------------------
1 | type thermald, domain, domain_deprecated;
2 | type thermald_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(thermald)
5 |
6 | allow thermald shared_log_device:chr_file rw_file_perms;
7 | allow thermald thermal_engine_device:chr_file rw_file_perms;
8 |
9 | allow thermald self:socket create_socket_perms;
10 | type_transition thermald socket_device:sock_file thermald_socket;
11 | allow thermald thermald_socket:sock_file create_file_perms;
12 |
13 | allow thermald sysfs_thermal:dir r_dir_perms;
14 | allow thermald sysfs_thermal:file rw_file_perms;
15 |
16 | allow thermald sysfs_msm_subsys:dir r_dir_perms;
17 | allow thermald sysfs_msm_subsys:lnk_file rw_file_perms;
18 |
19 | allow thermald sysfs_thermal:file write;
20 |
21 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services
22 | # (e.g., LocationManager)
23 | qmux_socket(thermald)
24 |
25 | # Reboot the device
26 | set_prop(thermald, powerctl_prop)
27 |
--------------------------------------------------------------------------------
/dumpstate/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2015 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_PATH:= $(call my-dir)
16 | include $(CLEAR_VARS)
17 |
18 | LOCAL_C_INCLUDES := frameworks/native/cmds/dumpstate
19 |
20 | LOCAL_SRC_FILES := dumpstate.cpp
21 |
22 | LOCAL_MODULE := libdumpstate.angler
23 |
24 | LOCAL_MODULE_TAGS := optional
25 |
26 | include $(BUILD_STATIC_LIBRARY)
27 |
--------------------------------------------------------------------------------
/factory-images/generate-factory-images-package.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Copyright 2015 The Android Open Source Project
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | source ../../../common/clear-factory-images-variables.sh
18 | BUILD=2078061
19 | DEVICE=angler
20 | PRODUCT=angler
21 | VERSION=mda09b
22 | SRCPREFIX=signed-
23 | BOOTLOADER=angler-00.30
24 | RADIO=angler-00.23
25 | source ../../../common/generate-factory-images-common.sh
26 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 |
23 | true
24 |
25 |
26 |
--------------------------------------------------------------------------------
/sepolicy/mediaserver.te:
--------------------------------------------------------------------------------
1 | binder_call(mediaserver, rild)
2 | # send data to camera socket
3 | allow mediaserver camera_data_file:sock_file write;
4 | allow mediaserver camera:unix_stream_socket connectto;
5 | allow mediaserver camera:unix_dgram_socket sendto;
6 | #read/write /dev/media[0-N]
7 | allow mediaserver media_device:chr_file rw_file_perms;
8 | #read/write /dev/msm_audio_cal
9 | userdebug_or_eng(`
10 | allow mediaserver diag_device:chr_file rw_file_perms;
11 | ')
12 | #read/write /dev/v4l-subdev[0-N]
13 | allow mediaserver v41_subdev_device:chr_file rw_file_perms;
14 |
15 | allow mediaserver persist_file:dir search;
16 | allow mediaserver persist_audio_file:dir search;
17 | allow mediaserver persist_audio_file:file r_file_perms;
18 |
19 | # allow communication w/perfd
20 | allow mediaserver perfd_data_file:dir search;
21 | allow mediaserver perfd_data_file:sock_file write;
22 | allow mediaserver perfd:unix_dgram_socket sendto;
23 | allow mediaserver perfd:unix_stream_socket connectto;
24 |
--------------------------------------------------------------------------------
/vr/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2016 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_PATH:= $(call my-dir)
16 |
17 | include $(CLEAR_VARS)
18 |
19 | LOCAL_SRC_FILES := vr.c
20 | LOCAL_MODULE_RELATIVE_PATH := hw
21 | LOCAL_SHARED_LIBRARIES := liblog libcutils
22 | LOCAL_CFLAGS += -Wno-unused-parameter
23 | LOCAL_MODULE := vr.angler
24 | LOCAL_MODULE_TAGS := optional
25 |
26 | include $(BUILD_SHARED_LIBRARY)
27 |
--------------------------------------------------------------------------------
/sepolicy/genfs_contexts:
--------------------------------------------------------------------------------
1 | genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0
2 | genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0
3 | genfscon proc /irq u:object_r:proc_irq:s0
4 | genfscon proc /sys/kernel/sched_boost u:object_r:proc_kernel_sched:s0
5 | genfscon proc /sys/kernel/sched_downmigrate u:object_r:proc_kernel_sched:s0
6 | genfscon proc /sys/kernel/sched_freq_dec_notify u:object_r:proc_kernel_sched:s0
7 | genfscon proc /sys/kernel/sched_freq_inc_notify u:object_r:proc_kernel_sched:s0
8 | genfscon proc /sys/kernel/sched_init_task_load u:object_r:proc_kernel_sched:s0
9 | genfscon proc /sys/kernel/sched_migration_fixup u:object_r:proc_kernel_sched:s0
10 | genfscon proc /sys/kernel/sched_small_task u:object_r:proc_kernel_sched:s0
11 | genfscon proc /sys/kernel/sched_upmigrate u:object_r:proc_kernel_sched:s0
12 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | - 50.35%
20 | - 30.5%
21 |
22 |
23 |
--------------------------------------------------------------------------------
/thermal/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016 The Android Open Source Project
3 | #
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 | LOCAL_PATH := $(call my-dir)
18 |
19 | include $(CLEAR_VARS)
20 | LOCAL_CFLAGS := -Wno-unused-parameter
21 | LOCAL_MODULE_RELATIVE_PATH := hw
22 | LOCAL_SRC_FILES := thermal.c
23 | LOCAL_SHARED_LIBRARIES := liblog libcutils
24 | LOCAL_MODULE_TAGS := optional
25 | LOCAL_MODULE := thermal.angler
26 | include $(BUILD_SHARED_LIBRARY)
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | - 901
22 |
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc404/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | 11
22 |
23 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc405/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | 11
22 |
23 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc202/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc204/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc206/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc208/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc214/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc216/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc222/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc228/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc230/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc232/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc235/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc238/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc240/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc242/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc244/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc247/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc248/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc250/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc262/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc268/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc272/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc220/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc221/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc222/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc223/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc224/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc225/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc226/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc227/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc228/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc229/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc580/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc581/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc582/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc583/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc584/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc585/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc586/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc587/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc588/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc589/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | Huawei-Nexus6P/Android
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc419/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc454/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc466/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc505/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc530/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc730/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 1,6
23 |
24 |
--------------------------------------------------------------------------------
/sepolicy/perfd.te:
--------------------------------------------------------------------------------
1 | type perfd, domain, domain_deprecated;
2 | type perfd_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(perfd)
5 |
6 | allow perfd cameraserver:process signull;
7 |
8 | allow perfd perfd_data_file:dir rw_dir_perms;
9 | allow perfd perfd_data_file:file create_file_perms;
10 | allow perfd perfd_data_file:sock_file create_file_perms;
11 |
12 | allow perfd sysfs_performance:dir r_dir_perms;
13 | allow perfd sysfs_performance:file rw_file_perms;
14 | allow perfd proc_kernel_sched:file rw_file_perms;
15 |
16 | allow perfd sysfs_thermal:dir search;
17 | allow perfd sysfs_thermal:file rw_file_perms;
18 |
19 | allow perfd sysfs_power_management:file w_file_perms;
20 |
21 | # allow writing to /sys/devices/system/cpu/*
22 | allow perfd sysfs_devices_system_cpu:file rw_file_perms;
23 |
24 | # perfd uses kill(pid, 0) to determine if a process exists.
25 | # Determining if a process exists does not require the kill capability
26 | # since a permission denied indicates the process exists.
27 | dontaudit perfd self:capability kill;
28 |
--------------------------------------------------------------------------------
/recovery/nanohub/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016 The Android Open Source Project
3 | #
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 | ifeq ($(TARGET_RECOVERY_UI_LIB),librecovery_ui_nanohub)
18 | LOCAL_PATH := $(call my-dir)
19 | include $(CLEAR_VARS)
20 |
21 | LOCAL_MODULE := librecovery_ui_nanohub
22 |
23 | LOCAL_MODULE_TAGS := optional
24 |
25 | LOCAL_C_INCLUDES += bootable/recovery
26 |
27 | LOCAL_SRC_FILES := nanohub_recovery_ui.cpp
28 |
29 | include $(BUILD_STATIC_LIBRARY)
30 | endif
31 |
--------------------------------------------------------------------------------
/AnglerLayout/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 | Nexus 6P Home Screen
19 | Google
20 | Create
21 |
22 | Play
23 |
24 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/bools.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | false
20 |
21 | true
22 |
23 |
--------------------------------------------------------------------------------
/sepolicy/init-power-sh.te:
--------------------------------------------------------------------------------
1 | type init-power-sh, domain, domain_deprecated;
2 | type init-power-sh_exec, exec_type, file_type;
3 |
4 | init_daemon_domain(init-power-sh)
5 |
6 | allow init-power-sh shell_exec:file r_file_perms;
7 | allow init-power-sh sysfs_devices_system_cpu:file w_file_perms;
8 | allow init-power-sh sysfs_performance:dir r_dir_perms;
9 | allow init-power-sh sysfs_performance:file w_file_perms;
10 | allow init-power-sh sysfs_thermal:dir r_dir_perms;
11 | allow init-power-sh sysfs_thermal:file rw_file_perms;
12 | allow init-power-sh proc_kernel_sched:file w_file_perms;
13 |
14 | # allow labeling of interactive /sys files created post-initial restorecon
15 | allow init-power-sh sysfs:{ dir file lnk_file } relabelfrom;
16 | allow init-power-sh sysfs_devices_system_cpu:{ dir file lnk_file } relabelto;
17 |
18 | # allow writes to sysfs files that have not yet been labeled
19 | allow init-power-sh sysfs:file rw_file_perms;
20 | allow init-power-sh sysfs_usb:file w_file_perms;
21 |
22 | # execute toybox/toolbox
23 | allow init-power-sh toolbox_exec:file rx_file_perms;
24 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc010/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc120/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc490/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc870/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/synaptics_dsx.idc:
--------------------------------------------------------------------------------
1 | # Copyright 2015 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | #
16 | # Input Device Calibration File for the Angler touch screen.
17 | #
18 |
19 | device.internal = 1
20 |
21 | touch.deviceType = touchScreen
22 | touch.orientationAware = 1
23 |
24 | touch.size.calibration = area
25 | touch.size.scale = 322.774107
26 | touch.size.bias = -628.862439
27 | touch.size.isSummed = 0
28 |
29 | touch.pressure.calibration = amplitude
30 | touch.pressure.scale = 0.0125
31 |
32 | touch.orientation.calibration = none
33 |
34 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc202/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc204/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc206/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc208/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc214/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc222/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc226/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc228/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc234/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc238/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc240/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc242/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc244/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc505/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc530/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc70/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc07/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc11/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc235-mnc94/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc07/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc272-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc272-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc40/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc41/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc70/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc440-mnc20/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc466-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc466-mnc92/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc466-mnc97/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc537-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc04/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc11/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc16/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc23/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc31/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc730-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc730-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc334-mnc020/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc334-mnc050/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc732-mnc101/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/sepolicy/camera.te:
--------------------------------------------------------------------------------
1 | type camera, domain, domain_deprecated;
2 | type camera_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(camera)
6 |
7 | binder_use(camera)
8 | binder_call(camera, system_server)
9 |
10 | allow camera self:capability { sys_nice };
11 |
12 | allow camera sensorservice_service:service_manager find;
13 |
14 | allow camera system_server:unix_stream_socket { read write };
15 |
16 | allow camera video_device:chr_file rw_file_perms;
17 | allow camera input_device:dir r_dir_perms;
18 | allow camera input_device:chr_file r_file_perms;
19 | allow camera media_device:chr_file rw_file_perms;
20 | allow camera gpu_device:chr_file rw_file_perms;
21 | allow camera video_device:chr_file rw_file_perms;
22 |
23 | allow camera sysfs_prox_snsr:file rw_file_perms;
24 | allow camera camera_data_file:dir rw_dir_perms;
25 | allow camera camera_data_file:sock_file create_file_perms;
26 |
27 | # /persist access
28 | allow camera persist_file:dir search;
29 | allow camera persist_data_file:dir search;
30 | allow camera persist_data_file:file r_file_perms;
31 |
32 | allow camera { cameraserver surfaceflinger }:fd use;
33 |
--------------------------------------------------------------------------------
/sepolicy/tee.te:
--------------------------------------------------------------------------------
1 | allow tee self:capability { setuid setgid sys_rawio };
2 |
3 | allow tee block_device:dir { getattr search };
4 | allow tee drm_block_device:blk_file rw_file_perms;
5 | allow tee ssd_block_device:blk_file rw_file_perms;
6 |
7 | allow tee firmware_file:dir r_dir_perms;
8 | allow tee firmware_file:file r_file_perms;
9 |
10 | #allow tee to access dir /data/system/users/0-N/fpdata and the file
11 | allow tee fingerprintd_data_file:file rw_file_perms;
12 | allow tee fingerprintd_data_file:dir r_dir_perms;
13 |
14 | # Set the sys.listeners.registered property
15 | set_prop(tee, system_prop)
16 |
17 | allow tee time:unix_stream_socket connectto;
18 |
19 | allow tee persist_file:dir r_dir_perms;
20 | allow tee persist_data_file:dir create_dir_perms;
21 | allow tee persist_data_file:file create_file_perms;
22 | allow tee persist_drm_file:dir rw_dir_perms;
23 | allow tee persist_drm_file:file create_file_perms;
24 |
25 | #create fingerprint data under /data/fpc
26 | # b/23190122
27 | allow tee system_data_file:dir r_dir_perms;
28 | allow tee fingerprintd_data_file:dir create_dir_perms;
29 | allow tee fingerprintd_data_file:file create_file_perms;
30 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | %s Wi-Fi Calling
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc33/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | %s Wi-Fi Calling
25 |
26 |
--------------------------------------------------------------------------------
/AnglerLayout/src/com/google/android/launcher/layouts/angler/PartnerCustomizationReceiver.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 The Android Open Source Project
3 | *
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 | package com.google.android.launcher.layouts.angler;
18 |
19 | import android.content.BroadcastReceiver;
20 | import android.content.Context;
21 | import android.content.Intent;
22 |
23 | public class PartnerCustomizationReceiver extends BroadcastReceiver {
24 |
25 | public PartnerCustomizationReceiver() {
26 | }
27 |
28 | public void onReceive(Context context, Intent intent) {
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc310-mnc010/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc310-mnc120/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc311-mnc490/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc311-mnc870/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30-am/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "የ%s Wi-Fi ጥሪ"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30-ja/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "Wi-Fi通話(%s)"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "%s Wi-Fi 통화"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc33-am/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "የ%s Wi-Fi ጥሪ"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc33-ja/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "Wi-Fi通話(%s)"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc33-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "%s Wi-Fi 통화"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30-af/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "%s Wi-Fi-oproep"
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc234-mnc30-bn-rBD/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | "%s Wi-Fi কলিং"
26 |
27 |
--------------------------------------------------------------------------------