├── Android.bp ├── sepolicy ├── device.te ├── location.te ├── hal_cas_default.te ├── vndservice.te ├── mm-qcamerad.te ├── vndservice_contexts ├── tee.te ├── rild.te ├── hal_perf_default.te ├── rmt_storage.te ├── hal_power_default.te ├── hal_wifi_default.te ├── genfs_contexts ├── system_server.te ├── hal_bluetooth_default.te ├── file.te ├── hal_fingerprint_default.te ├── file_contexts └── gx_fpd.te ├── board-info.txt ├── external ├── Android.mk ├── gptfdisk │ └── Android.mk ├── mke2fs │ └── Android.mk └── e2fsck │ └── Android.mk ├── configs ├── msm_irqbalance.conf ├── thermal-engine.conf └── public.libraries.txt ├── gps ├── utils │ ├── platform_lib_abstractions │ │ ├── Android.mk │ │ ├── loc_pla │ │ │ ├── Android.mk │ │ │ └── src │ │ │ │ └── Android.mk │ │ └── loc_stub │ │ │ ├── Android.mk │ │ │ └── src │ │ │ └── Android.mk │ └── Android.mk ├── android │ ├── android.hardware.gnss@1.0-service-qti.rc │ └── service.cpp ├── Android.mk ├── etc │ ├── lowi.conf │ └── apdr.conf ├── location │ └── Android.mk ├── gnsspps │ └── Android.mk ├── gnss │ └── Android.mk └── core │ └── Android.mk ├── wcnss ├── p2p_supplicant_overlay.conf └── wpa_supplicant_overlay.conf ├── seccomp ├── mediaextractor-seccomp.policy └── mediacodec-seccomp.policy ├── doze ├── proguard.flags ├── Android.mk ├── res │ ├── drawable │ │ └── switchbar_background.xml │ └── layout │ │ └── doze.xml └── src │ └── org │ └── lineageos │ └── settings │ └── doze │ ├── DozeSettingsActivity.java │ └── BootCompletedReceiver.java ├── recovery ├── Android.mk └── root │ └── etc │ └── twrp.fstab ├── data-ipa-cfg-mgr ├── ipacm │ └── src │ │ └── mobileap_firewall.xml ├── Android.mk ├── ipanat │ ├── src │ │ └── Android.mk │ └── test │ │ ├── README.txt │ │ ├── Makefile.am │ │ └── Android.mk └── hal │ └── Android.mk ├── lineage.dependencies ├── display └── Android.mk ├── README.md ├── audio_amplifier └── Android.mk ├── idc └── synaptics_dsx.idc ├── overlay ├── frameworks │ └── base │ │ ├── core │ │ └── res │ │ │ └── res │ │ │ ├── values-mcc404-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc214-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc08 │ │ │ └── config.xml │ │ │ ├── values-mcc268-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc330-mnc110 │ │ │ └── config.xml │ │ │ ├── values-mcc334-mnc050 │ │ │ └── config.xml │ │ │ ├── values-mcc334-mnc30 │ │ │ └── config.xml │ │ │ ├── values-mcc370-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc706-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc712-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc714-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc716-mnc06 │ │ │ └── config.xml │ │ │ ├── values-mcc716-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc716-mnc17 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc310 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc340 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc341 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc36 │ │ │ └── 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-mnc24 │ │ │ └── config.xml │ │ │ ├── values-mcc724-mnc31 │ │ │ └── config.xml │ │ │ ├── values-mcc724-mnc39 │ │ │ └── config.xml │ │ │ ├── values-mcc730-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc730-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc730-mnc09 │ │ │ └── config.xml │ │ │ ├── values-mcc730-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc101 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc103 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc111 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc12 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc123 │ │ │ └── config.xml │ │ │ ├── values-mcc732-mnc130 │ │ │ └── config.xml │ │ │ ├── values-mcc734-mnc04 │ │ │ └── config.xml │ │ │ ├── values-mcc740-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc744-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc748-mnc10 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc01 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc02 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc03 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc07 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc11 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc71 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc72 │ │ │ └── config.xml │ │ │ ├── values-mcc505-mnc90 │ │ │ └── config.xml │ │ │ ├── values-mcc262-mnc01 │ │ │ └── strings.xml │ │ │ ├── values-mcc334-mnc020 │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc840 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc855 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc856 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc857 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc858 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc859 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc860 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc861 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc862 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc863 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc864 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc865 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc866 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc867 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc868 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc869 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc870 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc871 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc872 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc873 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc874 │ │ │ ├── strings.xml │ │ │ └── config.xml │ │ │ ├── values-mcc405-mnc854 │ │ │ └── config.xml │ │ │ ├── values-mcc302-mnc370 │ │ │ └── config.xml │ │ │ ├── values-mcc334-mnc090 │ │ │ └── config.xml │ │ │ ├── values-mcc316-mnc010 │ │ │ └── config.xml │ │ │ ├── values-mcc722-mnc34 │ │ │ └── config.xml │ │ │ ├── values-mcc204-mnc04 │ │ │ └── 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-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 │ │ └── packages │ │ ├── SettingsProvider │ │ └── res │ │ │ └── values │ │ │ └── defaults.xml │ │ └── SystemUI │ │ └── res │ │ └── values │ │ └── config.xml └── packages │ └── apps │ ├── Dialer │ └── res │ │ └── values │ │ └── config.xml │ ├── Settings │ └── res │ │ └── values │ │ └── config.xml │ └── CellBroadcastReceiver │ └── res │ └── values │ └── config.xml ├── init └── Android.mk ├── overlay-lineage └── packages │ └── apps │ ├── Dialer │ └── java │ │ └── com │ │ └── android │ │ └── dialer │ │ └── callrecord │ │ └── res │ │ └── values │ │ └── config.xml │ ├── Snap │ └── res │ │ └── values │ │ └── qcomstrings.xml │ └── FlipFlap │ └── res │ └── values │ ├── config.xml │ └── dimens.xml ├── libhidl └── Android.mk ├── light ├── Android.bp └── android.hardware.light@2.0-service.zte_8996.rc ├── bluetooth └── bdroid_buildcfg.h ├── lineage.mk ├── proprietary-files-qc-perf.txt ├── lineagehw └── src │ └── org │ └── cyanogenmod │ └── hardware │ └── KeyDisabler.java └── keylayout └── synaptics_dsx.kl /Android.bp: -------------------------------------------------------------------------------- 1 | subdirs = [ 2 | "light", 3 | ] 4 | -------------------------------------------------------------------------------- /sepolicy/device.te: -------------------------------------------------------------------------------- 1 | type gx_fpd_device, dev_type; 2 | -------------------------------------------------------------------------------- /sepolicy/location.te: -------------------------------------------------------------------------------- 1 | set_prop(location, wcnss_prop); 2 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require version-trustzone=TZ.BF.4.0.1-00353 2 | -------------------------------------------------------------------------------- /external/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /sepolicy/hal_cas_default.te: -------------------------------------------------------------------------------- 1 | vndbinder_use(hal_cas_default) 2 | -------------------------------------------------------------------------------- /configs/msm_irqbalance.conf: -------------------------------------------------------------------------------- 1 | PRIO=1,1,0,0 2 | IGNORED_IRQ=27,62,171 3 | -------------------------------------------------------------------------------- /sepolicy/vndservice.te: -------------------------------------------------------------------------------- 1 | type gx_fpd_service, vndservice_manager_type; 2 | -------------------------------------------------------------------------------- /gps/utils/platform_lib_abstractions/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /gps/utils/platform_lib_abstractions/loc_pla/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /gps/utils/platform_lib_abstractions/loc_stub/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /sepolicy/mm-qcamerad.te: -------------------------------------------------------------------------------- 1 | allow mm-qcamerad vendor_camera_data_file:file { create read write open }; 2 | -------------------------------------------------------------------------------- /sepolicy/vndservice_contexts: -------------------------------------------------------------------------------- 1 | goodix.fp u:object_r:gx_fpd_service:s0 2 | -------------------------------------------------------------------------------- /wcnss/p2p_supplicant_overlay.conf: -------------------------------------------------------------------------------- 1 | disable_scan_offload=1 2 | p2p_no_group_iface=1 3 | p2p_search_delay=100 4 | -------------------------------------------------------------------------------- /configs/thermal-engine.conf: -------------------------------------------------------------------------------- 1 | # File empty by default. 2 | # Replace contents of this file with custom configuration. 3 | -------------------------------------------------------------------------------- /sepolicy/tee.te: -------------------------------------------------------------------------------- 1 | allow tee gx_fpd_data_file:dir create_dir_perms; 2 | allow tee gx_fpd_data_file:file create_file_perms; 3 | -------------------------------------------------------------------------------- /sepolicy/rild.te: -------------------------------------------------------------------------------- 1 | # qcril.so needs access to /vendor/radio/qcril_database/qcril.db 2 | allow rild vendor_file:file ioctl; 3 | -------------------------------------------------------------------------------- /wcnss/wpa_supplicant_overlay.conf: -------------------------------------------------------------------------------- 1 | disable_scan_offload=1 2 | p2p_disabled=1 3 | tdls_external_control=1 4 | sched_scan_interval=30 5 | -------------------------------------------------------------------------------- /sepolicy/hal_perf_default.te: -------------------------------------------------------------------------------- 1 | #set_prop(hal_perf_default, freq_prop) 2 | allow hal_perf_default hal_graphics_composer_default:process signull; 3 | -------------------------------------------------------------------------------- /configs/public.libraries.txt: -------------------------------------------------------------------------------- 1 | libqti-perfd-client.so 2 | libadsprpc.so 3 | libcdsprpc.so 4 | libsdsprpc.so 5 | libqvrservice_client.so 6 | libtzcom.so 7 | libOpenCL.so 8 | -------------------------------------------------------------------------------- /sepolicy/rmt_storage.te: -------------------------------------------------------------------------------- 1 | # debugfs access 2 | userdebug_or_eng(` 3 | allow rmt_storage debugfs_rmt:dir search; 4 | allow rmt_storage debugfs_rmt:file rw_file_perms; 5 | ') 6 | -------------------------------------------------------------------------------- /gps/android/android.hardware.gnss@1.0-service-qti.rc: -------------------------------------------------------------------------------- 1 | service gnss_service /vendor/bin/hw/android.hardware.gnss@1.0-service-qti 2 | class hal 3 | user gps 4 | group system gps radio 5 | -------------------------------------------------------------------------------- /sepolicy/hal_power_default.te: -------------------------------------------------------------------------------- 1 | # Allow writing to files in /proc/touchscreen 2 | allow hal_power_default proc_touchscreen:dir search; 3 | allow hal_power_default proc_touchscreen:file rw_file_perms; 4 | -------------------------------------------------------------------------------- /seccomp/mediaextractor-seccomp.policy: -------------------------------------------------------------------------------- 1 | # device specific syscalls. 2 | # extension of services/mediaextractor/minijail/seccomp_policy/mediaextractor-seccomp-arm.policy 3 | readlinkat: 1 4 | pread64: 1 5 | mremap: 1 6 | -------------------------------------------------------------------------------- /sepolicy/hal_wifi_default.te: -------------------------------------------------------------------------------- 1 | #============= hal_wifi_default ============== 2 | allow hal_wifi_default persist_file:dir { search write add_name create }; 3 | allow hal_wifi_default persist_file:file { create read write open }; 4 | -------------------------------------------------------------------------------- /sepolicy/genfs_contexts: -------------------------------------------------------------------------------- 1 | genfscon debugfs /rmt_storage u:object_r:debugfs_rmt:s0 2 | 3 | genfscon proc /gloved_finger_switch u:object_r:proc_touchscreen:s0 4 | genfscon proc /touchscreen u:object_r:proc_touchscreen:s0 5 | -------------------------------------------------------------------------------- /sepolicy/system_server.te: -------------------------------------------------------------------------------- 1 | allow system_server proc_touchscreen:dir search; 2 | allow system_server proc_touchscreen:file rw_file_perms; 3 | 4 | # Input devices 5 | r_dir_file(system_server, idc_file); 6 | r_dir_file(system_server, keylayout_file); 7 | -------------------------------------------------------------------------------- /sepolicy/hal_bluetooth_default.te: -------------------------------------------------------------------------------- 1 | allow hal_bluetooth_default bluetooth_data_file:dir ra_dir_perms; 2 | allow hal_bluetooth_default bluetooth_data_file:file create_file_perms; 3 | 4 | allow hal_bluetooth_default wcnss_filter:unix_stream_socket connectto; 5 | -------------------------------------------------------------------------------- /sepolicy/file.te: -------------------------------------------------------------------------------- 1 | type debugfs_rmt, debugfs_type, fs_type; 2 | type gx_fpd_data_file, data_file_type, file_type; 3 | type idc_file, file_type, vendor_file_type; 4 | type keylayout_file, file_type, vendor_file_type; 5 | type proc_touchscreen, sysfs_type, fs_type; 6 | -------------------------------------------------------------------------------- /doze/proguard.flags: -------------------------------------------------------------------------------- 1 | -keepclasseswithmembers class * { 2 | public (android.content.Context, android.util.AttributeSet); 3 | } 4 | 5 | -keep class ** extends android.support.v14.preference.PreferenceFragment 6 | -keep class org.lineageos.settings.doze.* { 7 | *; 8 | } 9 | -------------------------------------------------------------------------------- /seccomp/mediacodec-seccomp.policy: -------------------------------------------------------------------------------- 1 | # device specific syscalls 2 | # extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy 3 | pselect6: 1 4 | eventfd2: 1 5 | sendto: 1 6 | recvfrom: 1 7 | _llseek: 1 8 | sysinfo: 1 9 | getcwd: 1 10 | inotify_init1: 1 11 | inotify_add_watch: 1 12 | -------------------------------------------------------------------------------- /recovery/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_C_INCLUDES := $(call project-path-for,recovery) \ 5 | $(call project-path-for,recovery)/updater/include 6 | LOCAL_SRC_FILES := recovery_updater.cpp 7 | LOCAL_MODULE := librecovery_updater_axon7 8 | LOCAL_MODULE_TAGS := eng 9 | include $(BUILD_STATIC_LIBRARY) 10 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/ipacm/src/mobileap_firewall.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 0 6 | 7 | 8 | -------------------------------------------------------------------------------- /lineage.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "android_device_qcom_common", 4 | "target_path": "device/qcom/common" 5 | }, 6 | { 7 | "repository": "android_kernel_zte_msm8996", 8 | "target_path": "kernel/zte/msm8996" 9 | }, 10 | { 11 | "repository": "android_packages_apps_FlipFlap", 12 | "target_path": "packages/apps/FlipFlap" 13 | }, 14 | { 15 | "repository": "android_packages_resources_devicesettings", 16 | "target_path": "packages/resources/devicesettings" 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /display/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_MODULE := calib.cfg 5 | LOCAL_MODULE_TAGS := optional 6 | LOCAL_MODULE_CLASS := ETC 7 | LOCAL_SRC_FILES := calib.cfg 8 | include $(BUILD_PREBUILT) 9 | 10 | include $(CLEAR_VARS) 11 | LOCAL_MODULE := qdcm_calib_data_zteSAM_S6E3HA3_SAM_25601440_5P5Inch.xml 12 | LOCAL_MODULE_TAGS := optional 13 | LOCAL_MODULE_CLASS := ETC 14 | LOCAL_SRC_FILES := qdcm_calib_data_zteSAM_S6E3HA3_SAM_25601440_5P5Inch.xml 15 | LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC) 16 | include $(BUILD_PREBUILT) 17 | 18 | -------------------------------------------------------------------------------- /sepolicy/hal_fingerprint_default.te: -------------------------------------------------------------------------------- 1 | vndbinder_use(hal_fingerprint_default) 2 | 3 | # callback to gx_fpd with binder 4 | binder_call(hal_fingerprint_default, gx_fpd); 5 | 6 | allow hal_fingerprint_default gx_fpd_service:service_manager find; 7 | 8 | # allow TEE 9 | allow hal_fingerprint_default tee_device:chr_file rw_file_perms; 10 | 11 | # allow log 12 | #allow hal_fingerprint_default log_device:dir search; 13 | #allow hal_fingerprint_default log_device:chr_file rw_file_perms; 14 | 15 | # allow writing fp_msg_type 16 | #allow hal_fingerprint_default sysfs:file write; 17 | 18 | # R dir perms for firmware dir 19 | r_dir_file(hal_fingerprint_default, firmware_file) 20 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2018 The LineageOS 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 $(call first-makefiles-under,$(call my-dir)) 18 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/ipanat/src/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc 6 | LOCAL_C_INCLUDES += $(LOCAL_PATH) 7 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 8 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 9 | 10 | LOCAL_SRC_FILES := ipa_nat_drv.c \ 11 | ipa_nat_drvi.c 12 | 13 | 14 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 15 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 16 | LOCAL_CFLAGS := -DDEBUG -Wall -Werror 17 | LOCAL_CFLAGS += -DFEATURE_IPA_ANDROID 18 | LOCAL_MODULE := libipanat 19 | LOCAL_MODULE_TAGS := optional 20 | LOCAL_CLANG := true 21 | include $(BUILD_SHARED_LIBRARY) 22 | -------------------------------------------------------------------------------- /gps/Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2016 The CyanogenMod Project 3 | # Copyright (C) 2017-2018 The LineageOS 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 | 18 | include $(call first-makefiles-under,$(call my-dir)) 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Copyright 2017 - The LineageOS Project 2 | 3 | Device configuration for ZTE Axon 7. 4 | ===================================== 5 | 6 | Basic | Spec Sheet 7 | -------:|:------------------------- 8 | CPU | Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo) 9 | CHIPSET | Qualcomm MSM8996 Snapdragon 820 10 | GPU | Adreno 530 11 | Memory |4GB/6GB RAM 12 | Shipped Android Version | 6.0.1 13 | Storage | 64/128GB 14 | MicroSD | Up to 256GB 15 | Battery | 3250 mAh 16 | Dimensions | 151.7 x 75 x 7.9 mm 17 | Display | 18 | Rear Camera | 20 MP, f/1.8, phase detection autofocus, OIS, dual-LED (dual tone) flash 19 | Front Camera | 8 MP, f/2.2 20 | Release Date | June 2016 21 | 22 | 23 | ![ZTE Axon 7](https://d28dq596ebml6z.cloudfront.net/media/wysiwyg/Axon7/phone1x_home_2.png "ZTE Axon 7") 24 | -------------------------------------------------------------------------------- /audio_amplifier/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_C_FLAGS += -DPLATFORM_MSM8996 6 | 7 | LOCAL_C_INCLUDES += \ 8 | $(call project-path-for,qcom-audio)/hal/msm8974/ \ 9 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ 10 | hardware/libhardware/include 11 | 12 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 13 | 14 | LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libdl 15 | 16 | LOCAL_SRC_FILES := audio_amplifier.c 17 | 18 | LOCAL_MODULE := audio_amplifier.$(TARGET_BOARD_PLATFORM) 19 | 20 | LOCAL_MODULE_RELATIVE_PATH := hw 21 | 22 | LOCAL_MODULE_TAGS := optional 23 | 24 | LOCAL_VENDOR_MODULE := true 25 | 26 | LOCAL_HEADER_LIBRARIES += libhardware_headers 27 | 28 | include $(BUILD_SHARED_LIBRARY) 29 | -------------------------------------------------------------------------------- /gps/etc/lowi.conf: -------------------------------------------------------------------------------- 1 | #*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* 2 | # 3 | # LOWI Config file 4 | # 5 | # GENERAL DESCRIPTION 6 | # This file contains the config params for LOWI 7 | # 8 | # Copyright (c) 2012-2013 Qualcomm Atheros, Inc. 9 | # All Rights Reserved. 10 | # Qualcomm Atheros Confidential and Proprietary. 11 | # 12 | # Export of this technology or software is regulated by the U.S. Government. 13 | # Diversion contrary to U.S. law prohibited. 14 | #=============================================================================*/ 15 | 16 | # X86 ONLY - UBUNTU: 17 | # Copy this file in the same directory where the executable is 18 | 19 | # Log level 20 | # EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100 21 | LOWI_LOG_LEVEL = 2 22 | -------------------------------------------------------------------------------- /gps/location/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := liblocation_api 6 | LOCAL_VENDOR_MODULE := true 7 | LOCAL_MODULE_OWNER := qti 8 | LOCAL_MODULE_TAGS := optional 9 | 10 | LOCAL_SHARED_LIBRARIES := \ 11 | libutils \ 12 | libcutils \ 13 | libgps.utils \ 14 | libdl \ 15 | liblog 16 | 17 | LOCAL_SRC_FILES += \ 18 | LocationAPI.cpp \ 19 | LocationAPIClientBase.cpp 20 | 21 | LOCAL_CFLAGS += \ 22 | -fno-short-enums 23 | 24 | LOCAL_HEADER_LIBRARIES := \ 25 | libloc_pla_headers \ 26 | libgps.utils_headers 27 | 28 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 29 | include $(BUILD_SHARED_LIBRARY) 30 | 31 | include $(CLEAR_VARS) 32 | LOCAL_MODULE := liblocation_api_headers 33 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 34 | include $(BUILD_HEADER_LIBRARY) 35 | -------------------------------------------------------------------------------- /doze/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 := ZteDoze 9 | LOCAL_CERTIFICATE := platform 10 | LOCAL_PRIVILEGED_MODULE := true 11 | 12 | LOCAL_USE_AAPT2 := true 13 | 14 | LOCAL_STATIC_ANDROID_LIBRARIES := \ 15 | android-support-v4 \ 16 | android-support-v13 \ 17 | android-support-v7-recyclerview \ 18 | android-support-v7-preference \ 19 | android-support-v7-appcompat \ 20 | android-support-v14-preference 21 | 22 | LOCAL_RESOURCE_DIR := \ 23 | $(LOCAL_PATH)/res \ 24 | $(TOP)/packages/resources/devicesettings/res 25 | 26 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags 27 | 28 | include $(BUILD_PACKAGE) 29 | 30 | include $(call all-makefiles-under,$(LOCAL_PATH)) 31 | -------------------------------------------------------------------------------- /gps/gnsspps/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libgnsspps 6 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 7 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 8 | LOCAL_MODULE_TAGS := optional 9 | 10 | LOCAL_SHARED_LIBRARIES := \ 11 | libutils \ 12 | libcutils \ 13 | libgps.utils \ 14 | liblog 15 | 16 | LOCAL_SRC_FILES += \ 17 | gnsspps.c 18 | 19 | LOCAL_CFLAGS += \ 20 | -fno-short-enums \ 21 | -D_ANDROID_ 22 | 23 | ## Includes 24 | LOCAL_HEADER_LIBRARIES := \ 25 | libgps.utils_headers \ 26 | libloc_pla_headers 27 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 28 | include $(BUILD_SHARED_LIBRARY) 29 | 30 | include $(CLEAR_VARS) 31 | LOCAL_MODULE := libgnsspps_headers 32 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 33 | include $(BUILD_HEADER_LIBRARY) 34 | -------------------------------------------------------------------------------- /idc/synaptics_dsx.idc: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2010 The Android Open Source Project 2 | # Copyright (C) 2017, The LineageOS 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 | # Input Device Calibration File for the Axon 7 touch screen. 18 | # 19 | 20 | touch.deviceType = touchScreen 21 | touch.orientationAware = 1 22 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/ipanat/test/README.txt: -------------------------------------------------------------------------------- 1 | 1 To run this suite separately(each test case creates table and delete table) use below command 2 | - To execute test suite nt times with n entries, command "ipanatest sep nt n" 3 | 4 | Example: To execute test suite 1 time with 100 entries, command "ipanattest sep 100" 5 | 6 | 7 | 2. To run test suite not separately(creates table and delete table only once) use below command 8 | - To execute test suite nt times with n entries, command "ipanatest reg nt n" 9 | 10 | Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32" 11 | 12 | 13 | 3. To run inotify regression test use command, "ipanattest inotify nt" 14 | 15 | Example: To execute inotify 5 times, command "ipanattest inotify 5" 16 | 17 | 18 | 4. if we just give command "ipanattest", runs test suite 1 time with 100 entries (non separate) 19 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc404-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | false 22 | 23 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | false 22 | 23 | -------------------------------------------------------------------------------- /gps/gnss/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libgnss 6 | LOCAL_VENDOR_MODULE := true 7 | LOCAL_MODULE_OWNER := qti 8 | LOCAL_MODULE_TAGS := optional 9 | 10 | LOCAL_SHARED_LIBRARIES := \ 11 | libutils \ 12 | libcutils \ 13 | libdl \ 14 | liblog \ 15 | libloc_core \ 16 | libgps.utils 17 | 18 | LOCAL_SRC_FILES += \ 19 | location_gnss.cpp \ 20 | GnssAdapter.cpp \ 21 | Agps.cpp \ 22 | XtraSystemStatusObserver.cpp 23 | 24 | LOCAL_CFLAGS += \ 25 | -fno-short-enums \ 26 | 27 | ifeq ($(TARGET_BUILD_VARIANT),user) 28 | LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 29 | endif 30 | 31 | LOCAL_HEADER_LIBRARIES := \ 32 | libgps.utils_headers \ 33 | libloc_core_headers \ 34 | libloc_pla_headers \ 35 | liblocation_api_headers 36 | 37 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 38 | 39 | include $(BUILD_SHARED_LIBRARY) 40 | -------------------------------------------------------------------------------- /overlay/packages/apps/Dialer/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | true 19 | 4 20 | 21 | -------------------------------------------------------------------------------- /init/Android.mk: -------------------------------------------------------------------------------- 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 | LOCAL_PATH := $(call my-dir) 17 | 18 | include $(CLEAR_VARS) 19 | 20 | LOCAL_MODULE_TAGS := optional 21 | LOCAL_C_INCLUDES := \ 22 | system/core/base/include \ 23 | system/core/init 24 | LOCAL_SRC_FILES := init_axon7.cpp 25 | LOCAL_MODULE := libinit_axon7 26 | 27 | include $(BUILD_STATIC_LIBRARY) 28 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | true 19 | 4 20 | 21 | -------------------------------------------------------------------------------- /doze/res/drawable/switchbar_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /overlay/packages/apps/Settings/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | 21 | 0 22 | 23 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc214-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc262-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc262-mnc08/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc268-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc330-mnc110/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc334-mnc050/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc334-mnc30/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc370-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc706-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc712-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc714-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc716-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc716-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc716-mnc17/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc310/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc340/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc341/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc36/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc04/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc05/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc06/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc11/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc16/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc23/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc24/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc31/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc724-mnc39/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc730-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc730-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc730-mnc09/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc730-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc101/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc103/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc111/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc12/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc123/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc732-mnc130/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc734-mnc04/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc740-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc744-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc748-mnc10/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc01/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc02/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc03/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc07/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc11/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc71/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc72/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc505-mnc90/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | false 24 | 25 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc262-mnc01/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | WLAN preferred 22 | 23 | %s 24 | WLAN Call 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc334-mnc020/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | true 25 | 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc840/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc855/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc856/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc857/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc858/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc859/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc860/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc861/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc862/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc863/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc864/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc865/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc866/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc867/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc868/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc869/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc870/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc871/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc872/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc873/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc874/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | Wi-Fi Calling 24 | 25 | 26 | -------------------------------------------------------------------------------- /gps/utils/platform_lib_abstractions/loc_stub/src/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | ## Libs 6 | LOCAL_SHARED_LIBRARIES := \ 7 | libutils \ 8 | libcutils \ 9 | liblog 10 | 11 | LOCAL_SRC_FILES += \ 12 | loc_stub_android_runtime.cpp \ 13 | loc_stub_gettid.cpp \ 14 | loc_stub_property_service.cpp \ 15 | loc_stub_sched_policy.cpp \ 16 | loc_stub_time.cpp 17 | 18 | LOCAL_CFLAGS += \ 19 | -fno-short-enums \ 20 | -D_ANDROID_ \ 21 | -std=c++11 22 | 23 | 24 | LOCAL_LDFLAGS += -Wl,--export-dynamic 25 | 26 | ## Includes 27 | LOCAL_C_INCLUDES:= \ 28 | $(LOCAL_PATH)/../include \ 29 | 30 | LOCAL_MODULE := libloc_stub 31 | LOCAL_VENDOR_MODULE := true 32 | LOCAL_MODULE_OWNER := qti 33 | LOCAL_MODULE_TAGS := optional 34 | 35 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 36 | include $(BUILD_SHARED_LIBRARY) 37 | 38 | include $(CLEAR_VARS) 39 | LOCAL_MODULE := libloc_stub_headers 40 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include 41 | include $(BUILD_HEADER_LIBRARY) 42 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/ipanat/test/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I./../inc \ 2 | -I$(top_srcdir)/ipanat/inc 3 | 4 | AM_CPPFLAGS += -Wall -Wundef -Wno-trigraphs 5 | AM_CPPFLAGS += -g 6 | 7 | ipanattest_SOURCES = ipa_nat_test000.c \ 8 | ipa_nat_test001.c \ 9 | ipa_nat_test002.c \ 10 | ipa_nat_test003.c \ 11 | ipa_nat_test004.c \ 12 | ipa_nat_test005.c \ 13 | ipa_nat_test006.c \ 14 | ipa_nat_test007.c \ 15 | ipa_nat_test008.c \ 16 | ipa_nat_test009.c \ 17 | ipa_nat_test010.c \ 18 | ipa_nat_test011.c \ 19 | ipa_nat_test012.c \ 20 | ipa_nat_test013.c \ 21 | ipa_nat_test014.c \ 22 | ipa_nat_test015.c \ 23 | ipa_nat_test016.c \ 24 | ipa_nat_test017.c \ 25 | ipa_nat_test018.c \ 26 | ipa_nat_test019.c \ 27 | ipa_nat_test020.c \ 28 | ipa_nat_test021.c \ 29 | ipa_nat_test022.c \ 30 | main.c 31 | 32 | 33 | bin_PROGRAMS = ipanattest 34 | 35 | requiredlibs = ../src/libipanat.la 36 | 37 | ipanattest_LDADD = $(requiredlibs) 38 | 39 | LOCAL_MODULE := libipanat 40 | LOCAL_PRELINK_MODULE := false 41 | include $(BUILD_SHARED_LIBRARY) 42 | 43 | -------------------------------------------------------------------------------- /doze/res/layout/doze.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /recovery/root/etc/twrp.fstab: -------------------------------------------------------------------------------- 1 | /boot emmc /dev/block/bootdevice/by-name/boot 2 | /cache ext4 /dev/block/bootdevice/by-name/cache 3 | /data ext4 /dev/block/bootdevice/by-name/userdata flags=encryptable=/dev/block/bootdevice/by-name/cryptkey;length=-16384 4 | /misc emmc /dev/block/bootdevice/by-name/misc 5 | /recovery emmc /dev/block/bootdevice/by-name/recovery flags=backup=1 6 | /system ext4 /dev/block/bootdevice/by-name/system 7 | /system_image emmc /dev/block/bootdevice/by-name/system 8 | /efs1 emmc /dev/block/bootdevice/by-name/modemst1 flags=backup=1;display=EFS 9 | /efs2 emmc /dev/block/bootdevice/by-name/modemst2 flags=backup=1;subpartitionof=/efs1 10 | 11 | /external_sd vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0 flags=storage;wipeingui;removable;encryptable=footer 12 | /usb_otg vfat /dev/block/sdg1 /dev/block/sdg flags=display="USB-OTG";storage;wipeingui;removable 13 | -------------------------------------------------------------------------------- /sepolicy/file_contexts: -------------------------------------------------------------------------------- 1 | # Block devices 2 | /dev/block/platform/soc/624000.ufshc/by-name/cryptkey u:object_r:metadata_block_device:s0 3 | 4 | # Data files 5 | /data/system/fingerprint(/.*)? u:object_r:gx_fpd_data_file:s0 6 | /data/vendor/nfc(/.*)? u:object_r:nfc_data_file:s0 7 | 8 | # Devices 9 | /dev/goodix_fp u:object_r:gx_fpd_device:s0 10 | /dev/pn5xx u:object_r:nfc_device:s0 11 | 12 | # Input devices 13 | /(vendor|system/vendor)/usr/idc(/.*)? u:object_r:idc_file:s0 14 | /(vendor|system/vendor)/usr/keylayout(/.*)? u:object_r:keylayout_file:s0 15 | 16 | # Sys files 17 | /sys/devices/soc/75b7000\.i2c/i2c-9/9-[0-9a-f]+/leds(/.*)? u:object_r:sysfs_leds:s0 18 | /sys/devices/soc/leds-qpnp-25/leds(/.*)? u:object_r:sysfs_leds:s0 19 | 20 | # Binaries 21 | /(vendor|system/vendor)/bin/gx_fpd u:object_r:gx_fpd_exec:s0 22 | 23 | # HALs 24 | /(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.zte_8996 u:object_r:hal_light_default_exec:s0 25 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/Snap/res/values/qcomstrings.xml: -------------------------------------------------------------------------------- 1 | 2 | 23 | 24 | 25 | false 26 | 27 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc840/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc854/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc855/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc856/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc857/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc858/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc859/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc860/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc861/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc862/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc863/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc864/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc865/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc866/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc867/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc868/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc869/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc870/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc871/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc872/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc873/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc405-mnc874/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | LPP_PROFILE=2 26 | 27 | 28 | -------------------------------------------------------------------------------- /gps/android/service.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, The Linux Foundation. All rights reserved. 3 | * Not a Contribution 4 | */ 5 | /* 6 | * Copyright (C) 2016 The Android Open Source Project 7 | * 8 | * Licensed under the Apache License, Version 2.0 (the "License"); 9 | * you may not use this file except in compliance with the License. 10 | * You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, software 15 | * distributed under the License is distributed on an "AS IS" BASIS, 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | * See the License for the specific language governing permissions and 18 | * limitations under the License. 19 | */ 20 | 21 | #define LOG_TAG "android.hardware.gnss@1.0-service-qti" 22 | 23 | #include 24 | #include 25 | 26 | using android::hardware::gnss::V1_0::IGnss; 27 | using android::hardware::defaultPassthroughServiceImplementation; 28 | 29 | int main() { 30 | return defaultPassthroughServiceImplementation(); 31 | } 32 | -------------------------------------------------------------------------------- /external/gptfdisk/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := external/gptfdisk 2 | 3 | sgdisk_src_files := \ 4 | sgdisk.cc \ 5 | gptcl.cc \ 6 | crc32.cc \ 7 | support.cc \ 8 | guid.cc \ 9 | gptpart.cc \ 10 | mbrpart.cc \ 11 | basicmbr.cc \ 12 | mbr.cc \ 13 | gpt.cc \ 14 | bsd.cc \ 15 | parttypes.cc \ 16 | attributes.cc \ 17 | diskio.cc \ 18 | diskio-unix.cc \ 19 | android_popt.cc \ 20 | 21 | sgdisk_c_includes := external/e2fsprogs/lib 22 | 23 | sgdisk_shared_libraries := \ 24 | libext2_uuid 25 | 26 | sgdisk_system_shared_libraries := libc 27 | 28 | sgdisk_cflags := -O2 -g -W -Wall 29 | 30 | include $(CLEAR_VARS) 31 | 32 | LOCAL_CPP_EXTENSION := .cc 33 | 34 | LOCAL_C_INCLUDES := $(LOCAL_PATH) $(sgdisk_c_includes) 35 | LOCAL_SRC_FILES := $(sgdisk_src_files) 36 | LOCAL_CFLAGS := $(sgdisk_cflags) 37 | 38 | LOCAL_STATIC_LIBRARIES := $(sgdisk_shared_libraries) 39 | LOCAL_STATIC_LIBRARIES += $(sgdisk_system_shared_libraries) 40 | 41 | LOCAL_MODULE := sgdisk_msm8996 42 | LOCAL_MODULE_TAGS := optional 43 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/install/bin 44 | LOCAL_FORCE_STATIC_EXECUTABLE := true 45 | include $(BUILD_EXECUTABLE) 46 | 47 | -------------------------------------------------------------------------------- /libhidl/Android.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2017 The LineageOS 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 | include $(CLEAR_VARS) 17 | LOCAL_SHARED_LIBRARIES := libhidltransport 18 | LOCAL_MODULE := android.hidl.base@1.0 19 | LOCAL_MODULE_TAGS := optional 20 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES 21 | LOCAL_VENDOR_MODULE := true 22 | include $(BUILD_SHARED_LIBRARY) 23 | 24 | include $(CLEAR_VARS) 25 | LOCAL_SHARED_LIBRARIES := libhidltransport 26 | LOCAL_MODULE := android.hidl.manager@1.0 27 | LOCAL_MODULE_TAGS := optional 28 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES 29 | LOCAL_VENDOR_MODULE := true 30 | include $(BUILD_SHARED_LIBRARY) 31 | -------------------------------------------------------------------------------- /light/Android.bp: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (C) 2018 The LineageOS 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 | cc_binary { 17 | name: "android.hardware.light@2.0-service.zte_8996", 18 | relative_install_path: "hw", 19 | init_rc: ["android.hardware.light@2.0-service.zte_8996.rc"], 20 | srcs: ["service.cpp", "Light.cpp"], 21 | shared_libs: [ 22 | "libbase", 23 | "libcutils", 24 | "libhardware", 25 | "libhidlbase", 26 | "libhidltransport", 27 | "libhwbinder", 28 | "libutils", 29 | "android.hardware.light@2.0", 30 | ], 31 | proprietary: true, 32 | } 33 | -------------------------------------------------------------------------------- /bluetooth/bdroid_buildcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. 4 | * Not a Contribution, Apache license notifications and license are retained 5 | * for attribution purposes only. 6 | * 7 | * Copyright (C) 2012 The Android Open Source Project 8 | * 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | */ 21 | 22 | #ifndef _BDROID_BUILDCFG_H 23 | #define _BDROID_BUILDCFG_H 24 | #define BTM_DEF_LOCAL_NAME "Axon 7" 25 | #define BLUETOOTH_QTI_SW TRUE 26 | #define MAX_ACL_CONNECTIONS 16 27 | #define MAX_L2CAP_CHANNELS 16 28 | #define BLE_VND_INCLUDED TRUE 29 | #define BT_CLEAN_TURN_ON_DISABLED 1 30 | #endif 31 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/hal/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | LOCAL_ARM_MODE := arm 5 | LOCAL_SRC_FILES := src/CtUpdateAmbassador.cpp \ 6 | src/HAL.cpp \ 7 | src/IpaEventRelay.cpp \ 8 | src/LocalLogBuffer.cpp \ 9 | src/OffloadStatistics.cpp \ 10 | src/PrefixParser.cpp 11 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/inc 12 | LOCAL_MODULE := liboffloadhal 13 | LOCAL_CPP_FLAGS := -Wall -Werror 14 | LOCAL_SHARED_LIBRARIES := libhwbinder \ 15 | libhidlbase \ 16 | libhidltransport \ 17 | liblog \ 18 | libcutils \ 19 | libdl \ 20 | libbase \ 21 | libutils \ 22 | libhardware_legacy \ 23 | libhardware \ 24 | android.hardware.tetheroffload.config@1.0 \ 25 | android.hardware.tetheroffload.control@1.0 26 | LOCAL_VENDOR_MODULE := true 27 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 28 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 29 | include $(BUILD_SHARED_LIBRARY) 30 | -------------------------------------------------------------------------------- /external/mke2fs/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := external/e2fsprogs/misc 2 | 3 | ######################################################################### 4 | # Build statically linked mke2fs for recovery 5 | mke2fs_src_files := \ 6 | mke2fs.c \ 7 | mk_hugefiles.c \ 8 | default_profile.c \ 9 | create_inode.c \ 10 | 11 | mke2fs_c_includes := \ 12 | external/e2fsprogs/e2fsck 13 | 14 | mke2fs_cflags := -W -Wall -Wno-macro-redefined 15 | 16 | mke2fs_static_libraries := \ 17 | libext2_blkid \ 18 | libext2_uuid \ 19 | libext2_quota \ 20 | libext2_com_err \ 21 | libext2_e2p \ 22 | libsparse \ 23 | libz \ 24 | 25 | mke2fs_whole_static_libraries := \ 26 | libbase \ 27 | libext2fs \ 28 | 29 | include $(CLEAR_VARS) 30 | 31 | LOCAL_SRC_FILES := $(mke2fs_src_files) 32 | LOCAL_C_INCLUDES := $(mke2fs_c_includes) 33 | LOCAL_CFLAGS := $(mke2fs_cflags) 34 | LOCAL_WHOLE_STATIC_LIBRARIES := $(mke2fs_whole_static_libraries) 35 | LOCAL_STATIC_LIBRARIES := $(mke2fs_static_libraries) 36 | LOCAL_MODULE := mke2fs_msm8996 37 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/install/bin 38 | LOCAL_FORCE_STATIC_EXECUTABLE := true 39 | 40 | include $(BUILD_EXECUTABLE) 41 | 42 | -------------------------------------------------------------------------------- /light/android.hardware.light@2.0-service.zte_8996.rc: -------------------------------------------------------------------------------- 1 | on init 2 | # RG lights 3 | chown system system /sys/class/leds/red/pause_lo 4 | chown system system /sys/class/leds/green/pause_lo 5 | 6 | chown system system /sys/class/leds/red/pause_hi 7 | chown system system /sys/class/leds/green/pause_hi 8 | 9 | chown system system /sys/class/leds/red/blink 10 | chown system system /sys/class/leds/green/blink 11 | 12 | chown system system /sys/class/leds/red/ramp_step_ms 13 | chown system system /sys/class/leds/green/ramp_step_ms 14 | chown system system /sys/class/leds/red/duty_pcts 15 | chown system system /sys/class/leds/green/duty_pcts 16 | chown system system /sys/class/leds/red/start_idx 17 | chown system system /sys/class/leds/green/start_idx 18 | 19 | chmod 660 /sys/class/leds/red/ramp_step_ms 20 | chmod 660 /sys/class/leds/green/ramp_step_ms 21 | chmod 660 /sys/class/leds/red/duty_pcts 22 | chmod 660 /sys/class/leds/green/duty_pcts 23 | chmod 660 /sys/class/leds/red/start_idx 24 | chmod 660 /sys/class/leds/green/start_idx 25 | 26 | service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.zte_8996 27 | class hal 28 | user system 29 | group system 30 | -------------------------------------------------------------------------------- /gps/etc/apdr.conf: -------------------------------------------------------------------------------- 1 | # AP DR SENSOR Configuration file 2 | # 3 | # SENSOR_SERVICE options are one of below 4 | # accel,gyro,vehicle_accel,vehicle_gyro,pedometer,vehicle_odometry,accel_temp, 5 | # gyro_temp,baro,mag_calib,mag_uncalib,amd,rmd. 6 | # 7 | # SENSOR_PROVIDER options is one of -- default,native,ssc,samlite. 8 | # 9 | # SENSOR_RATE = 1~100 (Hz) 10 | # 11 | # SENSOR_SAMPLES = 1~N 12 | # 13 | # SENSOR_STATISTIC_ENABLED 14 | # bit 0: Diag Print Enabled 15 | # bit 1: Adb Print Enabled 16 | # SENSOR_STATISTIC_PRINT_COUNT 17 | # Skip Number of Print 18 | # 19 | 20 | SENSOR_SERVICE = accel 21 | SENSOR_PROVIDER = native 22 | SENSOR_RATE = 100 23 | SENSOR_SAMPLES = 1 24 | SENSOR_STATISTIC_ENABLED = 3 25 | SENSOR_STATISTIC_PRINT_COUNT = 50 26 | 27 | SENSOR_SERVICE = vehicle_accel 28 | SENSOR_PROVIDER = native 29 | SENSOR_RATE = 10 30 | SENSOR_SAMPLES = 1 31 | SENSOR_STATISTIC_ENABLED = 3 32 | SENSOR_STATISTIC_PRINT_COUNT = 50 33 | 34 | SENSOR_SERVICE = gyro 35 | SENSOR_PROVIDER = native 36 | SENSOR_RATE = 100 37 | SENSOR_SAMPLES = 1 38 | SENSOR_STATISTIC_ENABLED = 3 39 | SENSOR_STATISTIC_PRINT_COUNT = 50 40 | 41 | GNSS_POS_STATISTIC_ENABLED = 3 42 | GNSS_POS_STATISTIC_PRNTCNT = 10 43 | GNSS_MSR_STATISTIC_ENABLED = 3 44 | GNSS_MSR_STATISTIC_PRNTCNT = 10 45 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/FlipFlap/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 23 | 3 24 | 25 | 26 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/FlipFlap/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | 24 | 0px 25 | 0px 26 | 1440px 27 | 1920px 28 | 29 | 30 | -------------------------------------------------------------------------------- /doze/src/org/lineageos/settings/doze/DozeSettingsActivity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015-2016 The CyanogenMod Project 3 | * 2017 The LineageOS 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 | 18 | package org.lineageos.settings.doze; 19 | 20 | import android.os.Bundle; 21 | import android.preference.PreferenceActivity; 22 | 23 | public class DozeSettingsActivity extends PreferenceActivity { 24 | 25 | private static final String TAG_DOZE = "doze"; 26 | 27 | @Override 28 | protected void onCreate(Bundle savedInstanceState) { 29 | super.onCreate(savedInstanceState); 30 | 31 | getFragmentManager().beginTransaction().replace(android.R.id.content, 32 | new DozeSettingsFragment(), TAG_DOZE).commit(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /external/e2fsck/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := external/e2fsprogs/e2fsck 2 | 3 | e2fsck_src_files := \ 4 | e2fsck.c \ 5 | super.c \ 6 | pass1.c \ 7 | pass1b.c \ 8 | pass2.c \ 9 | pass3.c \ 10 | pass4.c \ 11 | pass5.c \ 12 | logfile.c \ 13 | journal.c \ 14 | recovery.c \ 15 | revoke.c \ 16 | badblocks.c \ 17 | util.c \ 18 | unix.c \ 19 | dirinfo.c \ 20 | dx_dirinfo.c \ 21 | ehandler.c \ 22 | problem.c \ 23 | message.c \ 24 | ea_refcount.c \ 25 | quota.c \ 26 | rehash.c \ 27 | region.c \ 28 | sigcatcher.c \ 29 | readahead.c \ 30 | extents.c 31 | 32 | e2fsck_c_includes := external/e2fsprogs/lib 33 | 34 | e2fsck_cflags := -O2 -g -W -Wall 35 | 36 | e2fsck_shared_libraries := \ 37 | libext2fs \ 38 | libext2_blkid \ 39 | libext2_uuid \ 40 | libext2_quota \ 41 | libext2_com_err \ 42 | libext2_e2p 43 | 44 | e2fsck_system_shared_libraries := libc 45 | 46 | include $(CLEAR_VARS) 47 | 48 | LOCAL_SRC_FILES := $(e2fsck_src_files) 49 | LOCAL_C_INCLUDES := $(e2fscks_c_includes) 50 | LOCAL_CFLAGS := $(e2fsck_cflags) 51 | LOCAL_STATIC_LIBRARIES := $(e2fsck_shared_libraries) 52 | LOCAL_STATIC_LIBRARIES += $(e2fsck_system_shared_libraries) 53 | LOCAL_MODULE := e2fsck_msm8996 54 | LOCAL_MODULE_TAGS := optional 55 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/install/bin 56 | LOCAL_FORCE_STATIC_EXECUTABLE := true 57 | include $(BUILD_EXECUTABLE) 58 | -------------------------------------------------------------------------------- /lineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2016 The CyanogenMod Project 3 | # Copyright (C) 2017 The LineageOS 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 | 18 | # Inherit from those products. Most specific first. 19 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 20 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) 21 | 22 | # Inherit from ailsa_ii device 23 | $(call inherit-product, device/zte/axon7/device.mk) 24 | 25 | # Inherit some common LineageOS stuff. 26 | $(call inherit-product, vendor/lineage/config/common_full_phone.mk) 27 | 28 | # Device identifier. This must come after all inclusions. 29 | PRODUCT_NAME := lineage_axon7 30 | PRODUCT_DEVICE := axon7 31 | PRODUCT_BRAND := ZTE 32 | PRODUCT_MODEL := ZTE A2017U 33 | PRODUCT_MANUFACTURER := ZTE 34 | -------------------------------------------------------------------------------- /overlay/packages/apps/CellBroadcastReceiver/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | true 23 | 24 | true 25 | 26 | true 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /sepolicy/gx_fpd.te: -------------------------------------------------------------------------------- 1 | type gx_fpd, domain; 2 | type gx_fpd_exec, exec_type, vendor_file_type, file_type; 3 | 4 | # gx_fpd 5 | init_daemon_domain(gx_fpd) 6 | vndbinder_use(gx_fpd) 7 | 8 | # callback to hal_fingerprint_default with binder 9 | binder_call(gx_fpd, hal_fingerprint_default) 10 | 11 | # need to find KeyStore and add self 12 | allow gx_fpd gx_fpd_service:service_manager { add find }; 13 | allow gx_fpd self:capability dac_override; 14 | 15 | # allow HAL module to read dir contents 16 | #allow gx_fpd gx_fpd_data_file:file create_file_perms; 17 | 18 | # allow HAL module to read/write/unlink contents of this dir 19 | #allow gx_fpd gx_fpd_data_file:dir rw_dir_perms; 20 | 21 | # Need to add auth tokens to KeyStore 22 | #use_keystore(gx_fpd) 23 | #allow gx_fpd keystore:keystore_key { add_auth }; 24 | 25 | # For permissions checking 26 | #binder_call(gx_fpd, system_server); 27 | #allow gx_fpd permission_service:service_manager find; 28 | 29 | # allow system_file 30 | #allow gx_fpd system_file:file rx_file_perms; 31 | 32 | # allow TEE 33 | allow gx_fpd tee_device:chr_file rw_file_perms; 34 | 35 | # allow goodix to read write device 36 | allow gx_fpd gx_fpd_device:chr_file { read write ioctl open }; 37 | 38 | # For memory allocation 39 | allow gx_fpd ion_device:chr_file { read open ioctl }; 40 | 41 | # Allow setting debug.fp.fail_count 42 | set_prop(gx_fpd, debug_prop) 43 | 44 | # R dir perms for firmware dir 45 | r_dir_file(gx_fpd, firmware_file) 46 | -------------------------------------------------------------------------------- /gps/utils/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | ## Libs 6 | LOCAL_SHARED_LIBRARIES := \ 7 | libutils \ 8 | libcutils \ 9 | liblog \ 10 | libloc_pla 11 | 12 | LOCAL_SRC_FILES += \ 13 | loc_log.cpp \ 14 | loc_cfg.cpp \ 15 | msg_q.c \ 16 | linked_list.c \ 17 | loc_target.cpp \ 18 | platform_lib_abstractions/elapsed_millis_since_boot.cpp \ 19 | LocHeap.cpp \ 20 | LocTimer.cpp \ 21 | LocThread.cpp \ 22 | MsgTask.cpp \ 23 | loc_misc_utils.cpp \ 24 | loc_nmea.cpp 25 | 26 | # Flag -std=c++11 is not accepted by compiler when LOCAL_CLANG is set to true 27 | LOCAL_CFLAGS += \ 28 | -fno-short-enums \ 29 | -D_ANDROID_ 30 | 31 | ifeq ($(TARGET_BUILD_VARIANT),user) 32 | LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 33 | endif 34 | 35 | LOCAL_LDFLAGS += -Wl,--export-dynamic 36 | 37 | ## Includes 38 | LOCAL_HEADER_LIBRARIES := \ 39 | libloc_pla_headers \ 40 | liblocation_api_headers 41 | 42 | LOCAL_MODULE := libgps.utils 43 | LOCAL_VENDOR_MODULE := true 44 | LOCAL_MODULE_OWNER := qti 45 | LOCAL_MODULE_TAGS := optional 46 | 47 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 48 | 49 | include $(BUILD_SHARED_LIBRARY) 50 | 51 | include $(CLEAR_VARS) 52 | LOCAL_MODULE := libgps.utils_headers 53 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 54 | include $(BUILD_HEADER_LIBRARY) 55 | 56 | include $(addsuffix /Android.mk, $(addprefix $(LOCAL_PATH)/, platform_lib_abstractions)) 57 | -------------------------------------------------------------------------------- /doze/src/org/lineageos/settings/doze/BootCompletedReceiver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 The CyanogenMod Project 3 | * 2017 The LineageOS 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 | 18 | package org.lineageos.settings.doze; 19 | 20 | import android.content.BroadcastReceiver; 21 | import android.content.Context; 22 | import android.content.Intent; 23 | import android.util.Log; 24 | 25 | public class BootCompletedReceiver extends BroadcastReceiver { 26 | 27 | private static final boolean DEBUG = false; 28 | private static final String TAG = "ZteDoze"; 29 | 30 | @Override 31 | public void onReceive(final Context context, Intent intent) { 32 | if (Utils.isDozeEnabled(context) && Utils.sensorsEnabled(context)) { 33 | if (DEBUG) Log.d(TAG, "Starting service"); 34 | Utils.startService(context); 35 | } 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /data-ipa-cfg-mgr/ipanat/test/Android.mk: -------------------------------------------------------------------------------- 1 | BOARD_PLATFORM_LIST := test 2 | ifeq ($(call is-board-platform-in-list,$(BOARD_PLATFORM_LIST)),true) 3 | ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) 4 | ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH))) 5 | 6 | LOCAL_PATH := $(call my-dir) 7 | 8 | include $(CLEAR_VARS) 9 | 10 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/ 11 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../ipanat/inc 12 | 13 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 14 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 15 | 16 | LOCAL_MODULE := ipa_nat_test 17 | LOCAL_SRC_FILES := ipa_nat_test000.c \ 18 | ipa_nat_test001.c \ 19 | ipa_nat_test002.c \ 20 | ipa_nat_test003.c \ 21 | ipa_nat_test004.c \ 22 | ipa_nat_test005.c \ 23 | ipa_nat_test006.c \ 24 | ipa_nat_test007.c \ 25 | ipa_nat_test008.c \ 26 | ipa_nat_test009.c \ 27 | ipa_nat_test010.c \ 28 | ipa_nat_test011.c \ 29 | ipa_nat_test012.c \ 30 | ipa_nat_test013.c \ 31 | ipa_nat_test014.c \ 32 | ipa_nat_test015.c \ 33 | ipa_nat_test016.c \ 34 | ipa_nat_test017.c \ 35 | ipa_nat_test018.c \ 36 | ipa_nat_test019.c \ 37 | ipa_nat_test020.c \ 38 | ipa_nat_test021.c \ 39 | ipa_nat_test022.c \ 40 | main.c 41 | 42 | 43 | LOCAL_SHARED_LIBRARIES := libipanat 44 | 45 | LOCAL_MODULE_TAGS := tests 46 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/kernel-tests/ip_accelerator 47 | 48 | include $(BUILD_EXECUTABLE) 49 | 50 | endif # $(TARGET_ARCH) 51 | endif 52 | endif 53 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc302-mnc370/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 28 | 29 | [ApnSettingV3]Fido Tethering,ltedata.apn,,,,,,,,,302,370,,DUN,IPV4V6,,true,,,,,,,,, 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /proprietary-files-qc-perf.txt: -------------------------------------------------------------------------------- 1 | # Perf 2 | lib/vendor.qti.hardware.iop@1.0.so 3 | lib/vendor.qti.hardware.perf@1.0.so 4 | lib64/vendor.qti.hardware.iop@1.0.so 5 | lib64/vendor.qti.hardware.perf@1.0.so 6 | vendor/bin/energy-awareness 7 | vendor/bin/hw/vendor.qti.hardware.iop@1.0-service 8 | vendor/bin/hw/vendor.qti.hardware.perf@1.0-service 9 | vendor/etc/init/vendor.qti.hardware.iop@1.0-service.rc 10 | vendor/etc/init/vendor.qti.hardware.perf@1.0-service.rc 11 | vendor/etc/perf/perfboostsconfig.xml 12 | vendor/etc/perf/perf-profile0.conf 13 | vendor/etc/perf/perf-profile1.conf 14 | vendor/etc/perf/perf-profile2.conf 15 | vendor/etc/perf/perf-profile3.conf 16 | vendor/etc/perf/perf-profile4.conf 17 | vendor/etc/perf/perf-profile5.conf 18 | vendor/etc/perf/perf-profile6.conf 19 | vendor/lib/hw/vendor.qti.hardware.iop@1.0-impl.so 20 | vendor/lib/libfeedbackhandler.so 21 | vendor/lib/libperfgluelayer.so 22 | vendor/lib/libqti-iopd.so 23 | vendor/lib/libqti-iopd-client.so 24 | vendor/lib/libqti-perfd.so 25 | vendor/lib/libqti-perfd-client.so 26 | vendor/lib/libqti-util.so 27 | vendor/lib/vendor.qti.hardware.iop@1.0_vendor.so 28 | vendor/lib/vendor.qti.hardware.perf@1.0_vendor.so 29 | vendor/lib64/hw/vendor.qti.hardware.iop@1.0-impl.so 30 | vendor/lib64/libfeedbackhandler.so 31 | vendor/lib64/libperfgluelayer.so 32 | vendor/lib64/libqti-iopd.so 33 | vendor/lib64/libqti-iopd-client.so 34 | vendor/lib64/libqti-perfd.so 35 | vendor/lib64/libqti-perfd-client.so 36 | vendor/lib64/libqti-util.so 37 | vendor/lib64/vendor.qti.hardware.iop@1.0_vendor.so 38 | vendor/lib64/vendor.qti.hardware.perf@1.0_vendor.so 39 | 40 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc334-mnc090/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | 30 | 31 | Modem,modem.nexteldata.com.mx,,,,,,,,,334,090,,DUN 32 | 33 | 34 | -------------------------------------------------------------------------------- /gps/core/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := libloc_core 6 | LOCAL_VENDOR_MODULE := true 7 | LOCAL_MODULE_OWNER := qti 8 | LOCAL_MODULE_TAGS := optional 9 | 10 | ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 11 | LOCAL_CFLAGS += -DPDK_FEATURE_SET 12 | endif 13 | 14 | LOCAL_SHARED_LIBRARIES := \ 15 | liblog \ 16 | libutils \ 17 | libcutils \ 18 | libgps.utils \ 19 | libdl \ 20 | liblog \ 21 | libloc_pla 22 | 23 | LOCAL_SRC_FILES += \ 24 | LocApiBase.cpp \ 25 | LocAdapterBase.cpp \ 26 | ContextBase.cpp \ 27 | LocDualContext.cpp \ 28 | loc_core_log.cpp \ 29 | data-items/DataItemsFactoryProxy.cpp \ 30 | data-items/common/ClientIndex.cpp \ 31 | data-items/common/DataItemIndex.cpp \ 32 | data-items/common/IndexFactory.cpp \ 33 | SystemStatusOsObserver.cpp \ 34 | SystemStatus.cpp 35 | 36 | LOCAL_CFLAGS += \ 37 | -fno-short-enums \ 38 | -D_ANDROID_ 39 | 40 | LOCAL_C_INCLUDES:= \ 41 | $(LOCAL_PATH)/data-items \ 42 | $(LOCAL_PATH)/data-items/common \ 43 | $(LOCAL_PATH)/observer \ 44 | 45 | LOCAL_HEADER_LIBRARIES := \ 46 | libgps.utils_headers \ 47 | libloc_pla_headers \ 48 | liblocation_api_headers 49 | 50 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 51 | 52 | include $(BUILD_SHARED_LIBRARY) 53 | 54 | include $(CLEAR_VARS) 55 | LOCAL_MODULE := libloc_core_headers 56 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ 57 | $(LOCAL_PATH) \ 58 | $(LOCAL_PATH)/data-items \ 59 | $(LOCAL_PATH)/data-items/common \ 60 | $(LOCAL_PATH)/observer 61 | include $(BUILD_HEADER_LIBRARY) 62 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc316-mnc010/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 26 | 1422 27 | 28 | 29 | 31 | 32 | 1 33 | 4 34 | 7 35 | 9 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc722-mnc34/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | true 24 | 25 | 30 | 31 | Personal Internet Movil,internet.personal.com,,,internet,internet,,,,,722,34,1,DUN 32 | 33 | 34 | -------------------------------------------------------------------------------- /lineagehw/src/org/cyanogenmod/hardware/KeyDisabler.java: -------------------------------------------------------------------------------- 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 | package org.lineageos.hardware; 18 | 19 | import org.lineageos.internal.util.FileUtils; 20 | 21 | /* 22 | * Disable capacitive keys 23 | * 24 | * This is intended for use on devices in which the capacitive keys 25 | * can be fully disabled for replacement with a soft navbar. You 26 | * really should not be using this on a device with mechanical or 27 | * otherwise visible-when-inactive keys 28 | */ 29 | 30 | public class KeyDisabler { 31 | 32 | private static String CONTROL_PATH = "/sys/devices/soc/75ba000.i2c/i2c-12/12-0020/input/input2/0dbutton"; 33 | 34 | public static boolean isSupported() { 35 | return FileUtils.isFileWritable(CONTROL_PATH); 36 | } 37 | 38 | public static boolean isActive() { 39 | return FileUtils.readOneLine(CONTROL_PATH).equals("0"); 40 | } 41 | 42 | public static boolean setActive(boolean state) { 43 | return FileUtils.writeLine(CONTROL_PATH, (state ? "0" : "1")); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /gps/utils/platform_lib_abstractions/loc_pla/src/Android.mk: -------------------------------------------------------------------------------- 1 | GNSS_CFLAGS := \ 2 | -Werror \ 3 | -Wno-error=unused-parameter \ 4 | -Wno-error=format \ 5 | -Wno-error=macro-redefined \ 6 | -Wno-error=reorder \ 7 | -Wno-error=missing-braces \ 8 | -Wno-error=self-assign \ 9 | -Wno-error=enum-conversion \ 10 | -Wno-error=logical-op-parentheses \ 11 | -Wno-error=null-arithmetic \ 12 | -Wno-error=null-conversion \ 13 | -Wno-error=parentheses-equality \ 14 | -Wno-error=undefined-bool-conversion \ 15 | -Wno-error=tautological-compare \ 16 | -Wno-error=switch \ 17 | -Wno-error=date-time 18 | 19 | LOCAL_PATH := $(call my-dir) 20 | 21 | include $(CLEAR_VARS) 22 | 23 | ## Libs 24 | LOCAL_SHARED_LIBRARIES := \ 25 | libutils \ 26 | libcutils \ 27 | liblog \ 28 | libloc_stub 29 | 30 | LOCAL_SRC_FILES += \ 31 | platform_lib_gettid.cpp \ 32 | platform_lib_log_util.cpp \ 33 | platform_lib_property_service.cpp \ 34 | platform_lib_sched_policy.cpp \ 35 | platform_lib_time.cpp 36 | 37 | LOCAL_CFLAGS += \ 38 | -fno-short-enums \ 39 | -D_ANDROID_ \ 40 | -std=c++11 41 | 42 | ## Includes 43 | LOCAL_C_INCLUDES:= \ 44 | $(LOCAL_PATH)/../include 45 | LOCAL_HEADER_LIBRARIES := \ 46 | libgps.utils_headers \ 47 | libloc_stub_headers 48 | 49 | LOCAL_MODULE := libloc_pla 50 | LOCAL_VENDOR_MODULE := true 51 | LOCAL_MODULE_TAGS := optional 52 | 53 | LOCAL_CFLAGS += $(GNSS_CFLAGS) 54 | include $(BUILD_SHARED_LIBRARY) 55 | 56 | include $(CLEAR_VARS) 57 | LOCAL_MODULE := libloc_pla_headers 58 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include 59 | include $(BUILD_HEADER_LIBRARY) 60 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc204-mnc04/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | false 26 | 27 | 32 | 33 | [ApnSettingV3]HOT mobile PC,pc.hotm,,,,,,,,,204,04,,DUN,,,true,0,,,,,,,spn,HOT mobile 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /keylayout/synaptics_dsx.kl: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015, The Linux Foundation. All rights reserved. 2 | # 3 | # Redistribution and use in source and binary forms, with or without 4 | # modification, are permitted provided that the following conditions are 5 | # met: 6 | # * Redistributions of source code must retain the above copyright 7 | # notice, this list of conditions and the following disclaimer. 8 | # * Redistributions in binary form must reproduce the above 9 | # copyright notice, this list of conditions and the following 10 | # disclaimer in the documentation and/or other materials provided 11 | # with the distribution. 12 | # * Neither the name of The Linux Foundation nor the names of its 13 | # contributors may be used to endorse or promote products derived 14 | # from this software without specific prior written permission. 15 | # 16 | # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 17 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 18 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 19 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 20 | # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 23 | # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 25 | # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 26 | # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | 28 | key 158 BACK 29 | key 102 HOME 30 | key 187 APP_SWITCH 31 | key 143 WAKEUP 32 | -------------------------------------------------------------------------------- /overlay/frameworks/base/packages/SystemUI/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | true 35 | 36 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc221/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc222/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc223/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc224/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc225/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=1 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc226/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc227/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc228/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc229/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc581/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc582/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc583/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc584/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc585/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | -------------------------------------------------------------------------------- /overlay/frameworks/base/core/res/res/values-mcc311-mnc586/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 22 | 23 | 24 | 25 | SUPL_HOST=supl.google.com 26 | SUPL_PORT=7275 27 | XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin 28 | XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin 29 | XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin 30 | NTP_SERVER=north-america.pool.ntp.org 31 | SUPL_VER=0x20000 32 | NMEA_PROVIDER=0 33 | A_GLONASS_POS_PROTOCOL_SELECT=0 34 | ERR_ESTIMATE=0 35 | INTERMEDIATE_POS=0 36 | GPS_LOCK=3 37 | LPP_PROFILE=2 38 | SUPL_MODE=1 39 | SUPL_ES=0 40 | 41 | 42 | --------------------------------------------------------------------------------