├── camera
├── MODULE_LICENSE_BSD
├── QCamera2
│ ├── Android.mk
│ ├── stack
│ │ ├── Android.mk
│ │ ├── mm-jpeg-interface
│ │ │ ├── Android.mk
│ │ │ └── test
│ │ │ │ └── Android.mk
│ │ └── mm-camera-interface
│ │ │ └── Android.mk
│ └── HAL
│ │ └── test
│ │ └── Android.mk
├── mm-image-codec
│ ├── Android.mk
│ └── qomx_core
│ │ └── Android.mk
├── hdr
│ └── include
│ │ ├── morpho_api.h
│ │ ├── morpho_error.h
│ │ ├── morpho_easy_hdr.h
│ │ ├── morpho_rect_int.h
│ │ ├── morpho_image_data.h
│ │ ├── morpho_hdr_checker.h
│ │ ├── morpho_motion_data.h
│ │ ├── morpho_get_image_size.h
│ │ ├── morpho_noise_reduction.h
│ │ ├── morpho_noise_reduction_ext.h
│ │ ├── morpho_easy_hdr_ext.h
│ │ └── morpho_image_data_ex.h
└── Android.mk
├── self-extractors
├── Android.mk
├── PROLOGUE
├── lge
│ ├── COPYRIGHT
│ └── staging
│ │ └── BoardConfigPartial.mk
├── broadcom
│ ├── COPYRIGHT
│ └── staging
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
├── qcom
│ ├── COPYRIGHT
│ └── staging
│ │ ├── BoardConfigPartial.mk
│ │ └── proprietary
│ │ └── Android.mk
├── PART3
├── PART1
├── PART2
└── root
│ ├── BoardConfigVendor.mk
│ └── device-vendor.mk
├── board-info.txt
├── keylayout
├── qpnp_pon.kl
├── Button_Jack.kl
├── gpio-keys.kl
├── hs_detect.kl
├── gpio-keys.kcm
├── hs_detect.kcm
├── qpnp_pon.kcm
├── Button_Jack.kcm
└── touch_dev.idc
├── overlay
├── packages
│ ├── apps
│ │ ├── Phone
│ │ ├── ParanoidCamera
│ │ ├── CarrierConfig
│ │ │ └── res
│ │ │ │ └── xml
│ │ │ │ └── vendor.xml
│ │ ├── Settings
│ │ │ └── res
│ │ │ │ └── values
│ │ │ │ └── bools.xml
│ │ ├── SnapdragonCamera
│ │ │ └── res
│ │ │ │ └── values
│ │ │ │ └── config.xml
│ │ ├── Contacts
│ │ │ └── res
│ │ │ │ ├── values-mcc310-mnc010
│ │ │ │ └── donottranslate_config.xml
│ │ │ │ ├── values-mcc310-mnc120
│ │ │ │ └── donottranslate_config.xml
│ │ │ │ ├── values-mcc311-mnc490
│ │ │ │ └── donottranslate_config.xml
│ │ │ │ └── values-mcc311-mnc870
│ │ │ │ └── donottranslate_config.xml
│ │ └── Mms
│ │ │ └── res
│ │ │ ├── xml-mcc310-mnc090
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc410
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc560
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc680
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc026
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc170
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc260
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc490
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc310-mnc380
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc204-mnc04
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc208-mnc01
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc208-mnc10
│ │ │ └── mms_config.xml
│ │ │ ├── xml-mcc208-mnc15
│ │ │ └── mms_config.xml
│ │ │ └── xml-mcc208-mnc20
│ │ │ └── mms_config.xml
│ └── services
│ │ ├── Telephony
│ │ └── res
│ │ │ ├── values-mcc310-mnc120
│ │ │ └── strings.xml
│ │ │ └── values
│ │ │ └── config.xml
│ │ └── Telecomm
│ │ └── res
│ │ └── values
│ │ └── config.xml
└── frameworks
│ └── base
│ ├── packages
│ ├── SystemUI
│ │ └── res
│ │ │ ├── values-mcc310-mnc010
│ │ │ └── config.xml
│ │ │ ├── values-mcc310-mnc120
│ │ │ └── config.xml
│ │ │ ├── values-mcc311-mnc490
│ │ │ └── config.xml
│ │ │ ├── values-mcc311-mnc870
│ │ │ └── config.xml
│ │ │ ├── values-mcc202
│ │ │ └── config.xml
│ │ │ ├── values-mcc204
│ │ │ └── config.xml
│ │ │ ├── values-mcc206
│ │ │ └── config.xml
│ │ │ ├── values-mcc208
│ │ │ └── config.xml
│ │ │ ├── values-mcc214
│ │ │ └── config.xml
│ │ │ ├── values-mcc222
│ │ │ └── config.xml
│ │ │ ├── values-mcc226
│ │ │ └── config.xml
│ │ │ ├── values-mcc228
│ │ │ └── config.xml
│ │ │ ├── values-mcc234
│ │ │ └── config.xml
│ │ │ ├── values-mcc238
│ │ │ └── config.xml
│ │ │ ├── values-mcc240
│ │ │ └── config.xml
│ │ │ ├── values-mcc242
│ │ │ └── config.xml
│ │ │ ├── values-mcc244
│ │ │ └── config.xml
│ │ │ ├── values-mcc505
│ │ │ └── config.xml
│ │ │ ├── values-mcc530
│ │ │ └── config.xml
│ │ │ ├── values-mcc216-mnc01
│ │ │ └── config.xml
│ │ │ ├── values-mcc216-mnc70
│ │ │ └── config.xml
│ │ │ ├── values-mcc230-mnc02
│ │ │ └── config.xml
│ │ │ ├── values-mcc230-mnc03
│ │ │ └── config.xml
│ │ │ ├── values-mcc231-mnc01
│ │ │ └── config.xml
│ │ │ ├── values-mcc231-mnc02
│ │ │ └── config.xml
│ │ │ ├── values-mcc231-mnc06
│ │ │ └── config.xml
│ │ │ ├── values-mcc232-mnc01
│ │ │ └── config.xml
│ │ │ ├── values-mcc232-mnc05
│ │ │ └── config.xml
│ │ │ ├── values-mcc232-mnc07
│ │ │ └── config.xml
│ │ │ ├── values-mcc232-mnc10
│ │ │ └── config.xml
│ │ │ ├── values-mcc232-mnc11
│ │ │ └── config.xml
│ │ │ ├── values-mcc262-mnc02
│ │ │ └── config.xml
│ │ │ ├── values-mcc262-mnc03
│ │ │ └── config.xml
│ │ │ ├── values-mcc268-mnc01
│ │ │ └── config.xml
│ │ │ ├── values-mcc268-mnc03
│ │ │ └── config.xml
│ │ │ ├── values-mcc268-mnc06
│ │ │ └── config.xml
│ │ │ ├── values-mcc293-mnc40
│ │ │ └── config.xml
│ │ │ ├── values-mcc293-mnc41
│ │ │ └── config.xml
│ │ │ ├── values-mcc293-mnc70
│ │ │ └── config.xml
│ │ │ ├── values-mcc537-mnc03
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc02
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc03
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc04
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc05
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc06
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc10
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc11
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc16
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc23
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc31
│ │ │ └── config.xml
│ │ │ ├── values-mcc724-mnc39
│ │ │ └── config.xml
│ │ │ └── values-mcc334-mnc020
│ │ │ └── config.xml
│ └── SettingsProvider
│ │ └── res
│ │ └── values
│ │ └── defaults.xml
│ └── core
│ └── res
│ └── res
│ ├── values-mcc440-mnc07
│ └── config.xml
│ ├── values-mcc240
│ └── config.xml
│ ├── values-mcc262
│ └── config.xml
│ ├── values-mcc286
│ └── config.xml
│ ├── values-mcc294
│ └── config.xml
│ ├── values-mcc418
│ └── config.xml
│ ├── values-mcc420
│ └── config.xml
│ ├── values-mcc604
│ └── config.xml
│ ├── values-mcc208-mnc01
│ └── config.xml
│ ├── values-mcc208-mnc15
│ └── config.xml
│ ├── values-mcc208-mnc20
│ └── config.xml
│ ├── values-mcc208-mnc26
│ └── config.xml
│ ├── values-mcc214-mnc03
│ └── config.xml
│ ├── values-mcc214-mnc07
│ └── config.xml
│ ├── values-mcc218-mnc05
│ └── config.xml
│ ├── values-mcc222-mnc01
│ └── config.xml
│ ├── values-mcc222-mnc08
│ └── config.xml
│ ├── values-mcc238-mnc02
│ └── config.xml
│ ├── values-mcc242-mnc01
│ └── config.xml
│ ├── values-mcc242-mnc02
│ └── config.xml
│ ├── values-mcc274-mnc02
│ └── config.xml
│ ├── values-mcc274-mnc03
│ └── config.xml
│ ├── values-mcc302-mnc220
│ └── config.xml
│ ├── values-mcc302-mnc221
│ └── config.xml
│ ├── values-mcc302-mnc270
│ └── config.xml
│ ├── values-mcc302-mnc370
│ └── config.xml
│ ├── values-mcc302-mnc490
│ └── config.xml
│ ├── values-mcc302-mnc500
│ └── config.xml
│ ├── values-mcc302-mnc510
│ └── config.xml
│ ├── values-mcc302-mnc610
│ └── config.xml
│ ├── values-mcc302-mnc660
│ └── config.xml
│ ├── values-mcc302-mnc720
│ └── config.xml
│ ├── values-mcc302-mnc780
│ └── config.xml
│ ├── values-mcc310-mnc000
│ └── config.xml
│ ├── values-mcc310-mnc010
│ └── config.xml
│ ├── values-mcc310-mnc150
│ └── config.xml
│ ├── values-mcc310-mnc170
│ └── config.xml
│ ├── values-mcc310-mnc410
│ └── config.xml
│ ├── values-mcc310-mnc420
│ └── config.xml
│ ├── values-mcc310-mnc450
│ └── config.xml
│ ├── values-mcc310-mnc770
│ └── config.xml
│ ├── values-mcc310-mnc980
│ └── config.xml
│ ├── values-mcc311-mnc180
│ └── config.xml
│ ├── values-mcc311-mnc370
│ └── config.xml
│ ├── values-mcc311-mnc490
│ └── config.xml
│ ├── values-mcc311-mnc870
│ └── config.xml
│ ├── values-mcc334-mnc020
│ └── config.xml
│ ├── values-mcc440-mnc10
│ └── config.xml
│ ├── values-mcc450-mnc00
│ └── config.xml
│ ├── values-mcc450-mnc05
│ └── config.xml
│ ├── values-mcc450-mnc06
│ └── config.xml
│ ├── values-mcc450-mnc08
│ └── config.xml
│ ├── values-mcc505-mnc01
│ └── config.xml
│ ├── values-mcc647-mnc10
│ └── config.xml
│ ├── xml
│ └── storage_list.xml
│ ├── values-mcc310-mnc120
│ └── strings.xml
│ ├── values-mcc530-mnc05
│ └── config.xml
│ └── values-mcc440-mnc20
│ └── config.xml
├── sepolicy
├── netd.te
├── property.te
├── app.te
├── drmserver.te
├── bootanim.te
├── property_contexts
├── domain.te
├── bluetooth.te
├── init.te
├── rild.te
├── vold.te
├── audioserver.te
├── wpa.te
├── hostapd.te
├── surfaceflinger.te
├── vss.te
├── priv_app.te
├── genfs_contexts
├── ueventd.te
├── perfprofd.te
├── untrusted_app.te
├── irsc_util.te
├── platform_app.te
├── ssr.te
├── radio.te
├── te_macros
├── bluetooth_loader.te
├── device.te
├── bridge.te
├── time.te
├── qmux.te
├── mediaserver.te
├── cameraserver.te
├── file.te
├── tee.te
├── rmt.te
├── system_server.te
└── netmgrd.te
├── bluetooth
├── BCM4339_003.001.009.0079.0339.hcd
└── bdroid_buildcfg.h
├── README.md
├── Android.mk
├── bdAddrLoader
└── Android.mk
├── liblight
└── Android.mk
├── voice_processing
└── Android.mk
└── libsensors
└── Android.mk
/camera/MODULE_LICENSE_BSD:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/self-extractors/Android.mk:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/board-info.txt:
--------------------------------------------------------------------------------
1 | require board=hammerhead
2 |
--------------------------------------------------------------------------------
/keylayout/qpnp_pon.kl:
--------------------------------------------------------------------------------
1 | key 116 POWER
2 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Phone:
--------------------------------------------------------------------------------
1 | ../services/Telephony
--------------------------------------------------------------------------------
/self-extractors/PROLOGUE:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 |
--------------------------------------------------------------------------------
/keylayout/Button_Jack.kl:
--------------------------------------------------------------------------------
1 | key 256 HEADSETHOOK
2 |
--------------------------------------------------------------------------------
/overlay/packages/apps/ParanoidCamera:
--------------------------------------------------------------------------------
1 | SnapdragonCamera
--------------------------------------------------------------------------------
/self-extractors/lge/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) LG Electronics, Inc.
2 |
--------------------------------------------------------------------------------
/sepolicy/netd.te:
--------------------------------------------------------------------------------
1 | dontaudit netd self:capability sys_module;
2 |
--------------------------------------------------------------------------------
/sepolicy/property.te:
--------------------------------------------------------------------------------
1 | type ctl_mpdecision, property_type;
2 |
--------------------------------------------------------------------------------
/self-extractors/broadcom/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Broadcom Corporation
2 |
--------------------------------------------------------------------------------
/self-extractors/qcom/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Qualcomm Technologies, Inc.
2 |
--------------------------------------------------------------------------------
/sepolicy/app.te:
--------------------------------------------------------------------------------
1 | allow appdomain sysfs_thermal:file r_file_perms;
2 |
--------------------------------------------------------------------------------
/sepolicy/drmserver.te:
--------------------------------------------------------------------------------
1 | allow drmserver ringtone_file:file read;
2 |
--------------------------------------------------------------------------------
/keylayout/gpio-keys.kl:
--------------------------------------------------------------------------------
1 | key 115 VOLUME_UP
2 | key 114 VOLUME_DOWN
3 |
--------------------------------------------------------------------------------
/sepolicy/bootanim.te:
--------------------------------------------------------------------------------
1 | allow bootanim sysfs_thermal:file r_file_perms;
2 |
--------------------------------------------------------------------------------
/sepolicy/property_contexts:
--------------------------------------------------------------------------------
1 | ctl.mpdecision u:object_r:ctl_mpdecision:s0
2 |
--------------------------------------------------------------------------------
/sepolicy/domain.te:
--------------------------------------------------------------------------------
1 | userdebug_or_eng(`
2 | allow domain diag_device:chr_file rw_file_perms;
3 | ')
4 |
--------------------------------------------------------------------------------
/sepolicy/bluetooth.te:
--------------------------------------------------------------------------------
1 | allow bluetooth storage_stub_file:dir getattr;
2 | allow bluetooth sysfs:file write;
--------------------------------------------------------------------------------
/camera/QCamera2/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(TARGET_ARCH),arm)
2 | include $(call all-subdir-makefiles)
3 | endif
4 |
--------------------------------------------------------------------------------
/camera/mm-image-codec/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(TARGET_ARCH),arm)
2 | include $(call all-subdir-makefiles)
3 | endif
4 |
--------------------------------------------------------------------------------
/sepolicy/init.te:
--------------------------------------------------------------------------------
1 | allow init diag_device:chr_file unlink;
2 | allow init tmpfs:lnk_file create_file_perms;
3 |
--------------------------------------------------------------------------------
/sepolicy/rild.te:
--------------------------------------------------------------------------------
1 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to RILD
2 | qmux_socket(rild)
3 |
--------------------------------------------------------------------------------
/sepolicy/vold.te:
--------------------------------------------------------------------------------
1 | allow vold logd:dir read;
2 | allow vold logd:dir open;
3 | allow vold logd:dir getattr;
4 |
--------------------------------------------------------------------------------
/keylayout/hs_detect.kl:
--------------------------------------------------------------------------------
1 | key 226 HEADSETHOOK
2 | key 115 VOLUME_UP
3 | key 114 VOLUME_DOWN
4 | key 217 VOICE_ASSIST
5 |
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_api.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_api.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_error.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_error.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_easy_hdr.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_easy_hdr.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_rect_int.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_rect_int.h
--------------------------------------------------------------------------------
/sepolicy/audioserver.te:
--------------------------------------------------------------------------------
1 | allow audioserver sysfs:file read;
2 | allow audioserver sysfs:file open;
3 | allow audioserver sysfs:file getattr;
4 |
--------------------------------------------------------------------------------
/sepolicy/wpa.te:
--------------------------------------------------------------------------------
1 | # Reading from /persist/wifi/.macaddr
2 | allow wpa persist_file:dir r_dir_perms;
3 | r_dir_file(wpa, persist_wifi_file)
4 |
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_image_data.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_image_data.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_hdr_checker.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_hdr_checker.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_motion_data.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_motion_data.h
--------------------------------------------------------------------------------
/sepolicy/hostapd.te:
--------------------------------------------------------------------------------
1 | # Reading from /persist/wifi/.macaddr
2 | allow hostapd persist_file:dir r_dir_perms;
3 | r_dir_file(hostapd, persist_wifi_file)
4 |
--------------------------------------------------------------------------------
/sepolicy/surfaceflinger.te:
--------------------------------------------------------------------------------
1 | allow surfaceflinger sysfs_surfaceflinger:file rw_file_perms;
2 | allow surfaceflinger sysfs_thermal:file r_file_perms;
3 |
--------------------------------------------------------------------------------
/sepolicy/vss.te:
--------------------------------------------------------------------------------
1 | type vss, domain, domain_deprecated;
2 | type vss_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(vss)
6 |
--------------------------------------------------------------------------------
/bluetooth/BCM4339_003.001.009.0079.0339.hcd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/bluetooth/BCM4339_003.001.009.0079.0339.hcd
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_get_image_size.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_get_image_size.h
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_noise_reduction.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AOSPA/android_device_lge_hammerhead/HEAD/camera/hdr/include/morpho_noise_reduction.h
--------------------------------------------------------------------------------
/sepolicy/priv_app.te:
--------------------------------------------------------------------------------
1 | allow priv_app sysfs_mac_address:dir r_dir_perms;
2 | allow priv_app sysfs_mac_address:file r_file_perms;
3 | allow priv_app device:dir r_dir_perms;
4 |
--------------------------------------------------------------------------------
/sepolicy/genfs_contexts:
--------------------------------------------------------------------------------
1 | genfscon proc /bluetooth/sleep/lpm u:object_r:proc_bluetooth_writable:s0
2 | genfscon proc /bluetooth/sleep/btwrite u:object_r:proc_bluetooth_writable:s0
3 |
--------------------------------------------------------------------------------
/sepolicy/ueventd.te:
--------------------------------------------------------------------------------
1 | allow ueventd { firmware_file wifi_data_file }:dir r_dir_perms;
2 | allow ueventd { firmware_file wifi_data_file }:file r_file_perms;
3 | allow ueventd sysfs_smdcntl_open_timeout:file setattr;
4 |
--------------------------------------------------------------------------------
/sepolicy/perfprofd.te:
--------------------------------------------------------------------------------
1 | userdebug_or_eng(`
2 | # perfprofd disables mpdecision temporarily via setprop ctl.stop,
3 | # then re-enables afterwards with setprop ctl.start
4 | set_prop(perfprofd, ctl_mpdecision)
5 | ')
6 |
--------------------------------------------------------------------------------
/self-extractors/PART3:
--------------------------------------------------------------------------------
1 |
2 | if test $? != 0
3 | then
4 | echo
5 | echo ERROR: Couldn\'t extract files. 1>&2
6 | exit 3
7 | else
8 | echo
9 | echo Files extracted successfully.
10 | fi
11 | exit 0
12 |
13 |
--------------------------------------------------------------------------------
/sepolicy/untrusted_app.te:
--------------------------------------------------------------------------------
1 | allow untrusted_app time:unix_stream_socket connectto;
2 |
3 | allow untrusted_app sysfs:file r_file_perms;
4 | allow untrusted_app asec_apk_file:dir r_dir_perms;
5 | allow untrusted_app mnt_media_rw_file:dir r_dir_perms;
6 |
--------------------------------------------------------------------------------
/camera/QCamera2/stack/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 | include $(LOCAL_PATH)/mm-camera-interface/Android.mk
3 | include $(LOCAL_PATH)/mm-jpeg-interface/Android.mk
4 | include $(LOCAL_PATH)/mm-jpeg-interface/test/Android.mk
5 | include $(LOCAL_PATH)/mm-camera-test/Android.mk
6 |
--------------------------------------------------------------------------------
/overlay/packages/apps/CarrierConfig/res/xml/vendor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/sepolicy/irsc_util.te:
--------------------------------------------------------------------------------
1 | # irsc_util (used to configure IPC Router with security rules for QMI services)
2 | type irsc_util, domain, domain_deprecated;
3 | type irsc_util_exec, exec_type, file_type;
4 |
5 | init_daemon_domain(irsc_util)
6 |
7 | allow irsc_util self:socket create_socket_perms;
8 |
--------------------------------------------------------------------------------
/camera/Android.mk:
--------------------------------------------------------------------------------
1 | ifeq ($(strip $(USE_DEVICE_SPECIFIC_CAMERA)),true)
2 | ifneq ($(filter msm8960 msm8226 msm8974,$(TARGET_BOARD_PLATFORM)),)
3 | ifneq ($(USE_CAMERA_STUB),true)
4 | ifneq ($(BUILD_TINY_ANDROID),true)
5 | include $(call all-subdir-makefiles)
6 | endif
7 | endif
8 | endif
9 | endif
10 |
--------------------------------------------------------------------------------
/sepolicy/platform_app.te:
--------------------------------------------------------------------------------
1 | allow platform_app time:unix_stream_socket connectto;
2 |
3 | userdebug_or_eng(`
4 | # qxdmlogger access to /data/diag_logs.
5 | allow platform_app diag_logs:dir rw_dir_perms;
6 | allow platform_app diag_logs:file create_file_perms;
7 | ')
8 |
9 | allow platform_app nfc_service:service_manager find;
--------------------------------------------------------------------------------
/self-extractors/PART1:
--------------------------------------------------------------------------------
1 | #
2 | # Usage is subject to the enclosed license agreement
3 |
4 | echo
5 | echo The license for this software will now be displayed.
6 | echo You must agree to this license before using this software.
7 | echo
8 | echo -n Press Enter to view the license
9 | read dummy
10 | echo
11 |
12 | more << __EOF__
13 |
--------------------------------------------------------------------------------
/sepolicy/ssr.te:
--------------------------------------------------------------------------------
1 | type ssr, domain, domain_deprecated;
2 | type ssr_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(ssr)
6 |
7 | allow ssr ramdump_device:chr_file r_file_perms;
8 | allow ssr ramdump_data_file:dir rw_dir_perms;
9 | allow ssr ramdump_data_file:file create_file_perms;
10 | allow ssr tombstone_data_file:dir search;
11 |
--------------------------------------------------------------------------------
/self-extractors/PART2:
--------------------------------------------------------------------------------
1 | __EOF__
2 |
3 | if test $? != 0
4 | then
5 | echo ERROR: Couldn\'t display license file 1>&2
6 | exit 1
7 | fi
8 |
9 | echo
10 |
11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
12 | read typed
13 |
14 | if test "$typed" != I\ ACCEPT
15 | then
16 | echo
17 | echo You didn\'t accept the license. Extraction aborted.
18 | exit 2
19 | fi
20 |
21 | echo
22 |
23 |
--------------------------------------------------------------------------------
/sepolicy/radio.te:
--------------------------------------------------------------------------------
1 | # Talk to qmuxd (/dev/socket/qmux_radio)
2 | qmux_socket(radio)
3 |
4 | # text relocation in /system/vendor/lib/libvdmengine.so
5 | #allow radio system_file:file execmod;
6 |
7 | allow radio system_app_data_file:dir search;
8 |
9 | # Grant access to qmux socket that is created by rild
10 | allow radio rild_qmuxd_socket:sock_file rw_file_perms;
11 |
12 | allow radio system_app_data_file:dir getattr;
13 |
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_noise_reduction_ext.h:
--------------------------------------------------------------------------------
1 | #ifndef MORPHO_NR_EXT_H
2 | #define MORPHO_NR_EXT_H
3 |
4 | #include "morpho_noise_reduction.h"
5 | /*
6 | return == 0 : OK
7 | return != 0 : NG (Please print the return value to check Error types)
8 | */
9 | MORPHO_API(int)
10 | LINK_mm_camera_morpho_noise_reduction(
11 | unsigned char* yuvImage,
12 | int width,
13 | int height,
14 | int y_level,
15 | int c_level);
16 |
17 | #endif //MORPHO_NR_EXT_H
18 |
--------------------------------------------------------------------------------
/sepolicy/te_macros:
--------------------------------------------------------------------------------
1 | #####################################
2 | # qmux_socket(clientdomain)
3 | # Allow client domain to connecto and send
4 | # via a local socket to the qmux domain.
5 | # Also allow the client domain to remove
6 | # its own socket.
7 | define(`qmux_socket', `
8 | type $1_qmuxd_socket, file_type;
9 | file_type_auto_trans($1, qmuxd_socket, $1_qmuxd_socket)
10 | allow $1 qmuxd_socket:dir remove_name;
11 | unix_socket_connect($1, qmuxd, qmux)
12 | allow qmux $1_qmuxd_socket:sock_file { getattr unlink };
13 | ')
14 |
--------------------------------------------------------------------------------
/sepolicy/bluetooth_loader.te:
--------------------------------------------------------------------------------
1 | # Bluetooth executables and scripts
2 | type bluetooth_loader, domain, domain_deprecated;
3 | type bluetooth_loader_exec, exec_type, file_type;
4 |
5 | # Start bdAddrLoader from init
6 | init_daemon_domain(bluetooth_loader)
7 |
8 | # Read mac address from persist partition
9 | allow bluetooth_loader persist_file:dir search;
10 | r_dir_file(bluetooth_loader, persist_bluetooth_file)
11 |
12 | # Set persist.service.bdroid.* and bluetooth.* property values
13 | set_prop(bluetooth_loader, bluetooth_prop)
14 |
--------------------------------------------------------------------------------
/sepolicy/device.te:
--------------------------------------------------------------------------------
1 | type wlan_device, dev_type;
2 |
3 | type diag_device, dev_type, mlstrustedobject;
4 | type ramdump_device, dev_type;
5 |
6 | type smd_device, dev_type;
7 |
8 | # Shared memory logger
9 | type shared_log_device, dev_type;
10 |
11 | type power_control_device, dev_type;
12 |
13 | type modem_block_device, dev_type;
14 |
15 | # secure software download partition
16 | type ssd_block_device, dev_type;
17 |
18 | type drm_block_device, dev_type;
19 |
20 | # Thermal engine
21 | type thermal_engine_device, dev_type;
22 |
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_easy_hdr_ext.h:
--------------------------------------------------------------------------------
1 | #ifndef MORPHO_EASY_HDR_EXT_H
2 | #define MORPHO_EASY_HDR_EXT_H
3 |
4 | #include "morpho_easy_hdr.h"
5 | /*
6 | return == 0 : OK
7 | return != 0 : NG (Please print the return value to check Error types)
8 | */
9 | MORPHO_API(int)
10 | LINK_mm_camera_HDR(
11 | unsigned char* yuvInput01,
12 | unsigned char* yuvInput02,
13 | unsigned char* yuvInput03,
14 | unsigned char* pHDROutImage,
15 | int width,
16 | int height,
17 | int indoor);
18 |
19 | #endif //MORPHO_EASY_HDR_EXT_H
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Device Tree For Google Nexus 5
2 | ==================================
3 |
4 | Basic | Spec Sheet
5 | -------:|:-------------------------
6 | CPU | Quad-core 2.3 GHz Krait 400
7 | CHIPSET | Qualcomm Snapdragon 800 (MSM8974)
8 | GPU | Adreno 330
9 | Memory | 2GB RAM
10 | Shipped Android Version | 5.0.0 Stock
11 | Storage | 16/32GB
12 | Display | True HD IPS+ capacitive touchscreen, 16M colors
13 | Battery | 2300 mAh
14 | Dimensions | 5.43 x 2.72 x 0.34 in
15 | Camera | 8 MP, f/2.4, 30mm, autofocus, OIS, LED flash
16 |
17 | Copyright 2017, Paranoid Android
--------------------------------------------------------------------------------
/sepolicy/bridge.te:
--------------------------------------------------------------------------------
1 | # Bridge Manager (radio process)
2 | type bridge, domain, domain_deprecated;
3 | type bridge_exec, exec_type, file_type;
4 |
5 | # Started by init
6 | init_daemon_domain(bridge)
7 |
8 | # Uevent for usb connection
9 | allow bridge self:netlink_kobject_uevent_socket { create bind read };
10 |
11 | # Talk to qmuxd (qmux_radio)
12 | qmux_socket(bridge)
13 |
14 | # Alert the RmNet SMD & SDIO function driver of the correct transport.
15 | # (/sys/class/android_usb/f_rmnet_smd_sdio/transport)
16 | allow bridge sysfs_rmnet:file { open read write getattr };
17 |
--------------------------------------------------------------------------------
/sepolicy/time.te:
--------------------------------------------------------------------------------
1 | type time, domain, domain_deprecated, mlstrustedsubject;
2 | type time_exec, exec_type, file_type;
3 |
4 | # Started by init
5 | init_daemon_domain(time)
6 |
7 | # Is r_file_perms sufficient for /dev/rtc0 ?
8 | allow time rtc_device:chr_file rw_file_perms;
9 |
10 | allow time time_data_file:dir rw_dir_perms;
11 | allow time time_data_file:file create_file_perms;
12 |
13 | allow time shared_log_device:chr_file rw_file_perms;
14 | allow time alarm_device:chr_file rw_file_perms;
15 | allow time self:socket *;
16 |
17 | allow time self:capability { setuid setgid };
18 |
--------------------------------------------------------------------------------
/sepolicy/qmux.te:
--------------------------------------------------------------------------------
1 | # Qualcomm Management Interface Multiplexer
2 | type qmux, domain, domain_deprecated;
3 | type qmux_exec, exec_type, file_type;
4 |
5 | # Started by init
6 | init_daemon_domain(qmux)
7 |
8 | # Create sockets under each /dev/socket/qmux_* directory.
9 | allow qmux qmuxd_socket:dir w_dir_perms;
10 | allow qmux qmuxd_socket:sock_file { create setattr getattr unlink };
11 |
12 | # /dev/hsicctl* node access
13 | allow qmux radio_device:chr_file rw_file_perms;
14 |
15 | # wake lock access
16 | wakelock_use(qmux)
17 |
18 | # Access to /sys/devices/virtual/smdpkt/smdcntl*/open_timeout
19 | allow qmux sysfs_smdcntl_open_timeout:file rw_file_perms;
20 |
--------------------------------------------------------------------------------
/sepolicy/mediaserver.te:
--------------------------------------------------------------------------------
1 | # Grant access to Qualcomm MSM Interface (QMI) audio sockets to mediaserver
2 | qmux_socket(mediaserver)
3 |
4 | unix_socket_send(mediaserver, camera, camera)
5 | unix_socket_send(mediaserver, mpdecision, mpdecision)
6 |
7 | # Permit mediaserver to create sockets with no specific SELinux class.
8 | # TODO: Investigate the specific type of socket.
9 | allow mediaserver self:socket create_socket_perms;
10 |
11 | allow mediaserver camera_device:chr_file rw_file_perms;
12 | allow mediaserver audio_device:chr_file rw_file_perms;
13 |
14 | # For text relocations in /system/vendor/lib/libmmjpeg.so
15 | allow mediaserver system_file:file execmod;
16 |
--------------------------------------------------------------------------------
/self-extractors/lge/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/self-extractors/qcom/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/keylayout/gpio-keys.kcm:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | type SPECIAL_FUNCTION
16 |
--------------------------------------------------------------------------------
/keylayout/hs_detect.kcm:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | type SPECIAL_FUNCTION
16 |
--------------------------------------------------------------------------------
/keylayout/qpnp_pon.kcm:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | type SPECIAL_FUNCTION
16 |
--------------------------------------------------------------------------------
/self-extractors/broadcom/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
--------------------------------------------------------------------------------
/keylayout/Button_Jack.kcm:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | type SPECIAL_FUNCTION
16 |
--------------------------------------------------------------------------------
/camera/QCamera2/HAL/test/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH:= $(call my-dir)
2 |
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_SRC_FILES:= \
6 | qcamera_test.cpp \
7 |
8 | LOCAL_SHARED_LIBRARIES:= \
9 | libdl \
10 | libui \
11 | libutils \
12 | libcutils \
13 | libbinder \
14 | libmedia \
15 | libmedia_native \
16 | libui \
17 | libgui \
18 | libcamera_client
19 |
20 | LOCAL_C_INCLUDES += \
21 | frameworks/base/include/ui \
22 | frameworks/base/include/surfaceflinger \
23 | frameworks/base/include/camera \
24 | frameworks/base/include/media \
25 |
26 | LOCAL_MODULE:= camera_test
27 | LOCAL_MODULE_TAGS:= tests
28 |
29 | LOCAL_CFLAGS += -Wall -fno-short-enums -O0
30 |
31 | include $(BUILD_EXECUTABLE)
32 |
--------------------------------------------------------------------------------
/sepolicy/cameraserver.te:
--------------------------------------------------------------------------------
1 |
2 | allow cameraserver mpdecision_socket:dir r_dir_perms;
3 | # Interact with sockets
4 | unix_socket_send(cameraserver, camera, camera)
5 | allow cameraserver camera_data_file:sock_file write;
6 | allow cameraserver property_socket:sock_file { open read write ioctl };
7 | allow cameraserver init:unix_stream_socket connectto;
8 |
9 | allow cameraserver system_file:file execmod;
10 | allow cameraserver camera_device:chr_file { open read write ioctl };
11 | allow cameraserver cameraserver:fd use;
12 |
13 | # Allow writing to mpdecision
14 | unix_socket_send(cameraserver, mpdecision, mpdecision)
15 | allow cameraserver sysfs:dir { read open };
16 | allow cameraserver sysfs:file { read write getattr open };
17 |
18 | # For text relocations in /system/vendor/lib/libmmjpeg.so
19 | allow cameraserver system_file:file execmod;
20 |
21 |
--------------------------------------------------------------------------------
/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2016 The CyanogenMod Project
3 | # Copyright (C) 2017 Paranoid Android
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 | LOCAL_PATH := $(call my-dir)
19 |
20 | ifeq ($(TARGET_DEVICE),hammerhead)
21 |
22 | include $(call all-makefiles-under,$(LOCAL_PATH))
23 |
24 | endif
25 |
--------------------------------------------------------------------------------
/self-extractors/root/BoardConfigVendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_STEM := hammerhead/BoardConfigPartial.mk
16 |
17 | -include vendor/broadcom/$(LOCAL_STEM)
18 | -include vendor/lge/$(LOCAL_STEM)
19 | -include vendor/qcom/$(LOCAL_STEM)
20 |
--------------------------------------------------------------------------------
/camera/mm-image-codec/qomx_core/Android.mk:
--------------------------------------------------------------------------------
1 | OMX_CORE_PATH := $(call my-dir)
2 |
3 | # ------------------------------------------------------------------------------
4 | # Make the shared library (libqomx_core)
5 | # ------------------------------------------------------------------------------
6 |
7 | include $(CLEAR_VARS)
8 | LOCAL_PATH := $(OMX_CORE_PATH)
9 | LOCAL_MODULE_TAGS := optional
10 |
11 | omx_core_defines:= -Werror \
12 | -g -O0
13 |
14 | LOCAL_CFLAGS := $(omx_core_defines)
15 |
16 | OMX_HEADER_DIR := frameworks/native/include/media/openmax
17 |
18 | LOCAL_C_INCLUDES := $(OMX_HEADER_DIR)
19 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../qexif
20 |
21 | LOCAL_SRC_FILES := qomx_core.c
22 |
23 | LOCAL_MODULE := libqomx_core
24 | LOCAL_SHARED_LIBRARIES := liblog libcutils libdl
25 |
26 | include $(BUILD_SHARED_LIBRARY)
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/bools.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | false
20 |
21 |
--------------------------------------------------------------------------------
/overlay/packages/services/Telephony/res/values-mcc310-mnc120/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 | Carrier settings
19 |
20 |
--------------------------------------------------------------------------------
/bdAddrLoader/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2013 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | LOCAL_PATH:= $(call my-dir)
18 |
19 | include $(CLEAR_VARS)
20 |
21 | LOCAL_SRC_FILES := addrloader.c
22 | LOCAL_SHARED_LIBRARIES := libcutils liblog
23 | LOCAL_MODULE_TAGS := optional
24 | LOCAL_MODULE_OWNER := lge
25 | LOCAL_MODULE := bdAddrLoader
26 |
27 | include $(BUILD_EXECUTABLE)
28 |
--------------------------------------------------------------------------------
/liblight/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_PATH:= $(call my-dir)
16 | include $(CLEAR_VARS)
17 |
18 | LOCAL_SRC_FILES := lights.c
19 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
20 | LOCAL_SHARED_LIBRARIES := liblog
21 | LOCAL_MODULE := lights.hammerhead
22 | LOCAL_MODULE_TAGS := optional
23 |
24 | include $(BUILD_SHARED_LIBRARY)
25 |
--------------------------------------------------------------------------------
/self-extractors/root/device-vendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | PRODUCT_PACKAGES += \
16 | qcrilmsgtunnel
17 |
18 | LOCAL_STEM := hammerhead/device-partial.mk
19 |
20 | $(call inherit-product-if-exists, vendor/broadcom/$(LOCAL_STEM))
21 | $(call inherit-product-if-exists, vendor/lge/$(LOCAL_STEM))
22 | $(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
23 |
--------------------------------------------------------------------------------
/overlay/packages/services/Telecomm/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
19 |
20 |
21 | true
22 |
23 |
--------------------------------------------------------------------------------
/bluetooth/bdroid_buildcfg.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | #ifndef _BDROID_BUILDCFG_H
18 | #define _BDROID_BUILDCFG_H
19 |
20 | #define BTA_DISABLE_DELAY 100 /* in milliseconds */
21 |
22 | #define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}
23 |
24 | /* Defined if the kernel does not have support for CLOCK_BOOTTIME_ALARM */
25 | #define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
26 | #endif
27 |
--------------------------------------------------------------------------------
/sepolicy/file.te:
--------------------------------------------------------------------------------
1 | # Default type for anything under /firmware
2 | type firmware_file, fs_type, contextmount_type;
3 |
4 | type qmuxd_socket, file_type;
5 | type sensors_socket, file_type;
6 | type camera_socket, file_type;
7 | type thermald_socket, file_type;
8 |
9 | type diag_logs, file_type, data_file_type, mlstrustedobject;
10 | type sensors_data_file, file_type, data_file_type;
11 | type time_data_file, file_type, data_file_type;
12 | type ramdump_data_file, file_type, data_file_type;
13 |
14 | type mpdecision_socket, file_type;
15 |
16 | # Persist firmware types
17 | type persist_file, file_type;
18 | type persist_bluetooth_file, file_type;
19 | type persist_camera_file, file_type;
20 | type persist_data_file, file_type;
21 | type persist_drm_file, file_type;
22 | type persist_sensors_file, file_type;
23 | type persist_wifi_file, file_type;
24 |
25 | type sysfs_rmnet, fs_type, sysfs_type;
26 | type sysfs_mpdecision, fs_type, sysfs_type;
27 | type sysfs_surfaceflinger, fs_type, sysfs_type;
28 | type sysfs_smdcntl_open_timeout, fs_type, sysfs_type;
29 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc010/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc310-mnc120/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc490/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc311-mnc870/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
--------------------------------------------------------------------------------
/overlay/packages/apps/SnapdragonCamera/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | true
20 |
21 |
22 | true
23 |
24 |
25 |
--------------------------------------------------------------------------------
/camera/QCamera2/stack/mm-jpeg-interface/Android.mk:
--------------------------------------------------------------------------------
1 | OLD_LOCAL_PATH := $(LOCAL_PATH)
2 | LOCAL_PATH := $(call my-dir)
3 | include $(CLEAR_VARS)
4 |
5 | LOCAL_CFLAGS+= -D_ANDROID_
6 |
7 | LOCAL_C_INCLUDES += \
8 | frameworks/native/include/media/openmax \
9 | $(LOCAL_PATH)/inc \
10 | $(LOCAL_PATH)/../common \
11 | $(LOCAL_PATH)/../../../ \
12 | $(LOCAL_PATH)/../../../mm-image-codec/qexif \
13 | $(LOCAL_PATH)/../../../mm-image-codec/qomx_core
14 |
15 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
16 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
17 |
18 | ifeq ($(strip $(TARGET_USES_ION)),true)
19 | LOCAL_CFLAGS += -DUSE_ION
20 | endif
21 |
22 | LOCAL_SRC_FILES := \
23 | src/mm_jpeg_queue.c \
24 | src/mm_jpeg_exif.c \
25 | src/mm_jpeg.c \
26 | src/mm_jpeg_interface.c
27 |
28 | LOCAL_MODULE := libmmjpeg_interface
29 | LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libqomx_core
30 | LOCAL_MODULE_TAGS := optional
31 |
32 | include $(BUILD_SHARED_LIBRARY)
33 |
34 | LOCAL_PATH := $(OLD_LOCAL_PATH)
35 |
--------------------------------------------------------------------------------
/sepolicy/tee.te:
--------------------------------------------------------------------------------
1 | allow tee self:process execmem;
2 |
3 | # /data/misc/playready labeling
4 | type_transition tee system_data_file:dir drm_data_file;
5 |
6 | # Access /data/misc/playready
7 | allow tee system_data_file:dir ra_dir_perms;
8 | allow tee drm_data_file:dir create_dir_perms;
9 | allow tee drm_data_file:file create_file_perms;
10 |
11 | # Read from persist partition
12 | allow tee persist_file:dir r_dir_perms;
13 | r_dir_file(tee, persist_data_file)
14 | r_dir_file(tee, persist_drm_file)
15 | # Write to drm related pieces of persist partition
16 | allow tee persist_drm_file:dir create_dir_perms;
17 | allow tee persist_drm_file:file create_file_perms;
18 |
19 | # b/15777869 - update for Nexus 5 modular DRM
20 |
21 | # tee starts as root, and drops privileges
22 | allow tee self:capability { setuid setgid };
23 |
24 | # Need to directly minipulate certain block devices
25 | # for anti-rollback protection
26 | allow tee block_device:dir search;
27 | allow tee self:capability sys_rawio;
28 | allow tee drm_block_device:blk_file rw_file_perms;
29 | allow tee ssd_block_device:blk_file rw_file_perms;
30 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc440-mnc07/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | 7
25 |
26 |
--------------------------------------------------------------------------------
/keylayout/touch_dev.idc:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | #
16 | # Input Device Calibration File for the Mako touch screen.
17 | #
18 |
19 | device.internal = 1
20 |
21 | touch.deviceType = touchScreen
22 | touch.orientationAware = 1
23 |
24 | touch.size.calibration = diameter
25 | touch.size.scale = 32.0368
26 | touch.size.bias = -5.1253
27 | touch.size.isSummed = 0
28 |
29 | touch.pressure.calibration = amplitude
30 | touch.pressure.scale = 0.0125
31 |
32 | touch.orientation.calibration = none
33 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc202/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc204/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc206/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc208/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc214/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc222/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc226/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc228/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc234/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc238/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc240/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc242/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc244/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc505/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc530/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc216-mnc70/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc230-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc231-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc07/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc232-mnc11/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc262-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc268-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc40/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc41/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc293-mnc70/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc537-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc04/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc11/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc16/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc23/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc31/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc724-mnc39/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SystemUI/res/values-mcc334-mnc020/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | true
25 |
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc240/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc262/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc286/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M5.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc294/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc418/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc420/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc604/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml
25 |
26 |
--------------------------------------------------------------------------------
/sepolicy/rmt.te:
--------------------------------------------------------------------------------
1 | # remote storage process (runs as nobody)
2 | type rmt, domain, domain_deprecated;
3 | type rmt_exec, exec_type, file_type;
4 |
5 | # Started by init
6 | init_daemon_domain(rmt)
7 |
8 | # Drop (user, group) to (nobody, nobody)
9 | allow rmt self:capability { setuid setgid };
10 |
11 | # opens and reads /dev/block/mmcblk0
12 | allow rmt root_block_device:blk_file r_file_perms;
13 | allow rmt block_device:dir r_dir_perms;
14 |
15 | # Needed for ioprio_set(IOPRIO_WHO_PROCESS, 0, IOPRIO_CLASS_RT << IOPRIO_CLASS_SHIFT);
16 | allow rmt self:capability sys_admin;
17 |
18 | # Allow reads/writes to modem related block devices
19 | allow rmt modem_block_device:blk_file rw_file_perms;
20 | allow rmt ssd_block_device:blk_file rw_file_perms;
21 |
22 | # Allow shared memory logging access
23 | allow rmt shared_log_device:chr_file rw_file_perms;
24 |
25 | allow rmt self:socket create_socket_perms;
26 | allow rmt cgroup:dir { create add_name };
27 |
28 | # Wake lock access
29 | wakelock_use(rmt)
30 |
31 | # Allow access to /dev/uio0.
32 | allow rmt uio_device:chr_file rw_file_perms;
33 |
34 | allow rmt self:capability dac_override;
35 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc208-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc208-mnc15/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc208-mnc20/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc208-mnc26/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc214-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc214-mnc07/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M5.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc218-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc222-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc222-mnc08/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc238-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc242-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc242-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc274-mnc02/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc274-mnc03/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc220/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc221/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc270/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M8.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc370/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc490/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc500/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc510/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc610/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc660/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc720/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc302-mnc780/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc000/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc010/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc150/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc170/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc410/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc420/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc450/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc770/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc980/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc180/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc370/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc490/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc311-mnc870/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc334-mnc020/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc440-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc450-mnc00/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc450-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc450-mnc06/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc450-mnc08/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc505-mnc01/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M20.xml
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc647-mnc10/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
25 |
26 |
--------------------------------------------------------------------------------
/voice_processing/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_PATH:= $(call my-dir)
16 |
17 | ifeq ($(TARGET_DEVICE),hammerhead)
18 |
19 | include $(CLEAR_VARS)
20 |
21 | LOCAL_SRC_FILES := \
22 | voice_processing_descriptors.c
23 |
24 | LOCAL_C_INCLUDES += \
25 | $(call include-path-for, audio-effects)
26 |
27 | LOCAL_MODULE := libqcomvoiceprocessingdescriptors
28 |
29 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
30 |
31 | LOCAL_MODULE_TAGS := optional
32 |
33 | include $(BUILD_SHARED_LIBRARY)
34 |
35 | endif
36 |
--------------------------------------------------------------------------------
/self-extractors/broadcom/staging/device-partial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | # Broadcom blob(s) necessary for Hammerhead hardware
16 | PRODUCT_COPY_FILES := \
17 | vendor/broadcom/hammerhead/proprietary/bcm2079x-b5_firmware.ncd:system/vendor/firmware/bcm2079x-b5_firmware.ncd:broadcom \
18 | vendor/broadcom/hammerhead/proprietary/bcm2079x-b5_pre_firmware.ncd:system/vendor/firmware/bcm2079x-b5_pre_firmware.ncd:broadcom \
19 | vendor/broadcom/hammerhead/proprietary/bcm4335c0.hcd:system/vendor/firmware/bcm4335c0.hcd:broadcom \
20 |
21 |
--------------------------------------------------------------------------------
/sepolicy/system_server.te:
--------------------------------------------------------------------------------
1 | # Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services
2 | # (e.g., LocationManager)
3 | qmux_socket(system_server)
4 |
5 | # PowerManagerService access to sensors socket
6 | unix_socket_connect(system_server, sensors, sensors)
7 | unix_socket_send(system_server, sensors, sensors)
8 | allow system_server sensors:unix_stream_socket sendto;
9 | allow system_server sensors_socket:sock_file r_file_perms;
10 |
11 | # mpdecision socket access
12 | unix_socket_connect(system_server, mpdecision, mpdecision)
13 | unix_socket_send(system_server, mpdecision, mpdecision)
14 | allow system_server mpdecision:unix_stream_socket sendto;
15 | allow system_server mpdecision_socket:dir search;
16 |
17 | # Read /data/tombstones/ramdump files.
18 | allow system_server ramdump_data_file:dir r_dir_perms;
19 | allow system_server ramdump_data_file:file r_file_perms;
20 |
21 | allow system_server self:netlink_socket create_socket_perms;
22 |
23 | # Reading from /persist/wifi/.macaddr
24 | allow system_server persist_file:dir r_dir_perms;
25 | r_dir_file(system_server, persist_wifi_file)
26 |
27 | allow system_server sysfs_thermal:file r_file_perms;
28 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc310-mnc010/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc310-mnc120/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc311-mnc490/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Contacts/res/values-mcc311-mnc870/donottranslate_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/xml/storage_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 |
23 |
24 |
29 |
30 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | true
22 |
23 |
24 | 82
25 |
26 |
27 | 30000
28 |
29 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc310-mnc120/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
25 | Digital Roaming
26 | Sprint
27 | Digital Roaming
28 |
29 |
--------------------------------------------------------------------------------
/camera/hdr/include/morpho_image_data_ex.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file morpho_image_data_ex.h
3 | * @brief 画像データの構造体定義
4 | * @version 1.0.0
5 | * @date 2010-03-30
6 | *
7 | * Copyright (C) 2010-2011 Morpho, Inc.
8 | */
9 |
10 | #ifndef MORPHO_IMAGE_DATA_EX_H
11 | #define MORPHO_IMAGE_DATA_EX_H
12 |
13 | #include "morpho_image_data.h"
14 |
15 | #ifdef __cplusplus
16 | extern "C" {
17 | #endif
18 |
19 | typedef struct{
20 | int y;
21 | int u;
22 | int v;
23 | } morpho_ImageYuvPlanarPitch;
24 |
25 | typedef struct{
26 | int y;
27 | int uv;
28 | } morpho_ImageYuvSemiPlanarPitch;
29 |
30 | /** 画像データ. */
31 | typedef struct {
32 | int width; /**< 幅 */
33 | int height; /**< 高さ */
34 | union{
35 | void *p; /**< 画像データの先頭ポインタ */
36 | morpho_ImageYuvPlanar planar;
37 | morpho_ImageYuvSemiPlanar semi_planar;
38 | } dat;
39 | union{
40 | int p; /**< ラインの先頭から次のライン先頭までのバイト数 */
41 | morpho_ImageYuvPlanarPitch planar;
42 | morpho_ImageYuvSemiPlanarPitch semi_planar;
43 | } pitch;
44 | } morpho_ImageDataEx;
45 |
46 |
47 | #ifdef __cplusplus
48 | }
49 | #endif
50 |
51 | #endif /* #ifndef MORPHO_IMAGE_DATA_EX_H */
52 |
--------------------------------------------------------------------------------
/overlay/packages/services/Telephony/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
19 |
20 |
23 | true
24 |
25 | true
26 |
27 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc530-mnc05/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | false
26 |
27 |
28 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
29 |
30 |
--------------------------------------------------------------------------------
/camera/QCamera2/stack/mm-jpeg-interface/test/Android.mk:
--------------------------------------------------------------------------------
1 | OLD_LOCAL_PATH := $(LOCAL_PATH)
2 | MM_JPEG_TEST_PATH := $(call my-dir)
3 |
4 | include $(CLEAR_VARS)
5 | LOCAL_PATH := $(MM_JPEG_TEST_PATH)
6 | LOCAL_MODULE_TAGS := optional
7 |
8 | LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID
9 | LOCAL_CFLAGS += -Werror -Wno-unused-parameter
10 | LOCAL_CFLAGS += -D_ANDROID_
11 | LOCAL_CFLAGS += -include mm_jpeg_dbg.h
12 |
13 | ifeq ($(strip $(TARGET_USES_ION)),true)
14 | LOCAL_CFLAGS += -DUSE_ION
15 | endif
16 |
17 | OMX_HEADER_DIR := frameworks/native/include/media/openmax
18 | OMX_CORE_DIR := device/lge/hammerhead/camera/mm-image-codec
19 |
20 | LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH)
21 | LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc
22 | LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common
23 | LOCAL_C_INCLUDES += $(OMX_HEADER_DIR)
24 | LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif
25 | LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core
26 |
27 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
28 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
29 |
30 | LOCAL_SRC_FILES := mm_jpeg_ionbuf.c
31 | LOCAL_SRC_FILES += mm_jpeg_test.c
32 |
33 | LOCAL_MODULE := mm-jpeg-interface-test
34 | LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libmmjpeg_interface
35 |
36 | include $(BUILD_EXECUTABLE)
37 |
38 | LOCAL_PATH := $(OLD_LOCAL_PATH)
39 |
--------------------------------------------------------------------------------
/sepolicy/netmgrd.te:
--------------------------------------------------------------------------------
1 | # Network utilities (radio process)
2 | type netmgrd, domain, domain_deprecated;
3 | type netmgrd_exec, exec_type, file_type;
4 |
5 | # Started by init
6 | init_daemon_domain(netmgrd)
7 |
8 | # Uses network sockets.
9 | net_domain(netmgrd)
10 |
11 | # Starts as (root,radio) changes to (radio,radio)
12 | allow netmgrd self:capability { setuid setgid net_admin net_raw };
13 |
14 | # Triggers a sys_module denial, but kernel has CONFIG_MODULES=n.
15 | dontaudit netmgrd self:capability sys_module;
16 |
17 | allow netmgrd self:netlink_socket create_socket_perms;
18 | allow netmgrd self:netlink_route_socket nlmsg_write;
19 |
20 | # Talk to qmuxd (qmux_radio)
21 | qmux_socket(netmgrd)
22 |
23 | # Runs commands via sh.
24 | # TODO: Convert to direct exec of /system/bin/ip and any other helpers.
25 | allow netmgrd shell_exec:file rx_file_perms;
26 |
27 | # Runs /system/bin/ip addr flush dev commands.
28 | allow netmgrd system_file:file rx_file_perms;
29 |
30 | # XXX Run toolbox. Might not be needed.
31 | allow netmgrd toolbox_exec:file rx_file_perms;
32 | auditallow netmgrd toolbox_exec:file rx_file_perms;
33 |
34 | # Set net.rmnet0.* values
35 | set_prop(netmgrd, radio_prop)
36 | auditallow netmgrd radio_prop:property_service set;
37 | set_prop(netmgrd, net_radio_prop)
38 |
39 | # Access to /proc/sys/net/*
40 | allow netmgrd proc_net:file rw_file_perms;
41 | allow netmgrd proc_net:dir r_dir_perms;
42 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc090/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 614400
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc410/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 1048576
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc560/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 614400
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc680/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 614400
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc026/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 1048576
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc170/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 1048576
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc260/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 1048576
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc490/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 | 1048576
22 |
23 |
24 | 1944
25 |
26 |
27 | 2592
28 |
29 |
30 | Nexus5
31 |
32 |
33 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
34 |
35 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values-mcc440-mnc20/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 |
26 |
27 | false
28 |
29 |
30 | http://gsm.lge.com/html/gsm/Nexus5-M3.xml
31 |
32 |
--------------------------------------------------------------------------------
/camera/QCamera2/stack/mm-camera-interface/Android.mk:
--------------------------------------------------------------------------------
1 | OLD_LOCAL_PATH := $(LOCAL_PATH)
2 | LOCAL_PATH := $(call my-dir)
3 |
4 | include $(CLEAR_VARS)
5 |
6 | MM_CAM_FILES := \
7 | src/mm_camera_interface.c \
8 | src/mm_camera.c \
9 | src/mm_camera_channel.c \
10 | src/mm_camera_stream.c \
11 | src/mm_camera_thread.c \
12 | src/mm_camera_sock.c
13 |
14 | ifeq ($(strip $(TARGET_USES_ION)),true)
15 | LOCAL_CFLAGS += -DUSE_ION
16 | endif
17 |
18 | ifneq (,$(filter msm8974 msm8916 msm8226 msm8610 msm8916 apq8084 msm8084 msm8994,$(TARGET_BOARD_PLATFORM)))
19 | LOCAL_CFLAGS += -DVENUS_PRESENT
20 | endif
21 |
22 | LOCAL_CFLAGS += -D_ANDROID_
23 | LOCAL_COPY_HEADERS_TO := mm-camera-interface
24 | LOCAL_COPY_HEADERS += ../common/cam_intf.h
25 | LOCAL_COPY_HEADERS += ../common/cam_types.h
26 |
27 | LOCAL_C_INCLUDES := \
28 | $(LOCAL_PATH)/inc \
29 | $(LOCAL_PATH)/../common
30 |
31 | LOCAL_C_INCLUDES += hardware/qcom/media/mm-core/inc
32 |
33 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
34 | LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
35 |
36 | LOCAL_CFLAGS += -Wall -Werror
37 |
38 | LOCAL_SRC_FILES := $(MM_CAM_FILES)
39 |
40 | LOCAL_MODULE := libmmcamera_interface
41 | LOCAL_SHARED_LIBRARIES := libdl libcutils liblog
42 | LOCAL_MODULE_TAGS := optional
43 |
44 | include $(BUILD_SHARED_LIBRARY)
45 |
46 | LOCAL_PATH := $(OLD_LOCAL_PATH)
47 |
--------------------------------------------------------------------------------
/libsensors/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 |
16 | # This is andorid hal for apds9930 proxi / light sensor when using native kernel driver.
17 | ifeq (0,1)
18 | ifneq ($(TARGET_BUILD_PDK), true)
19 | LOCAL_PATH := $(call my-dir)
20 |
21 | # HAL module implemenation stored in
22 | # hw/..so
23 | include $(CLEAR_VARS)
24 |
25 | LOCAL_MODULE := sensors.hammerhead
26 |
27 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
28 |
29 | LOCAL_MODULE_TAGS := optional
30 | LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\"
31 | LOCAL_CFLAGS += -DINVENSENSE_COMPASS_CAL
32 | LOCAL_C_INCLUDES += hardware/invensense/65xx/libsensors_iio
33 | LOCAL_SRC_FILES := \
34 | sensors.cpp \
35 | LightSensor.cpp \
36 | ProximitySensor.cpp
37 |
38 | LOCAL_SHARED_LIBRARIES := libinvensense_hal liblog libutils libdl
39 |
40 | include $(BUILD_SHARED_LIBRARY)
41 | endif
42 | endif
43 |
--------------------------------------------------------------------------------
/self-extractors/qcom/staging/proprietary/Android.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2013 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | LOCAL_PATH := $(call my-dir)
16 |
17 | ifeq ($(TARGET_DEVICE),hammerhead)
18 |
19 | include $(CLEAR_VARS)
20 | LOCAL_MODULE := libacdbloader
21 | LOCAL_SRC_FILES := libacdbloader.so
22 | LOCAL_MODULE_SUFFIX := .so
23 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES
24 | LOCAL_MODULE_PATH := $(TARGET_OUT)/lib
25 | LOCAL_MODULE_TAGS := optional
26 | LOCAL_MODULE_OWNER := qcom
27 |
28 | # Create symbolic link because user space can access persist directory,
29 | # while kernel ALSA drivers can only access the /system/etc/firmware directory
30 | LOCAL_POST_INSTALL_CMD := \
31 | mkdir -p $(TARGET_OUT_ETC)/firmware/wcd9310; \
32 | ln -sf /data/misc/audio/wcd9310_anc.bin \
33 | $(TARGET_OUT_ETC)/firmware/wcd9310/wcd9310_anc.bin; \
34 | ln -sf /data/misc/audio/mbhc.bin \
35 | $(TARGET_OUT_ETC)/firmware/wcd9310/wcd9310_mbhc.bin
36 |
37 | #include $(BUILD_PREBUILT)
38 |
39 | endif
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc310-mnc380/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
22 |
23 |
24 |
25 |
26 | 614400
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
39 |
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc204-mnc04/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
23 |
24 |
25 |
26 | 1048576
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M10.xml
39 |
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc208-mnc01/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
23 |
24 |
25 |
26 | 614400
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
39 |
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc208-mnc10/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
23 |
24 |
25 |
26 | 614400
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
39 |
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc208-mnc15/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
23 |
24 |
25 |
26 | 614400
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
39 |
40 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Mms/res/xml-mcc208-mnc20/mms_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
23 |
24 |
25 |
26 | 614400
27 |
28 |
29 | 1944
30 |
31 |
32 | 2592
33 |
34 |
35 | Nexus5
36 |
37 |
38 | http://gsm.lge.com/html/gsm/Nexus5-M6.xml
39 |
40 |
--------------------------------------------------------------------------------