├── .clang-format
├── .gitignore
├── Android.bp
├── Android.mk
├── AndroidProducts.mk
├── BoardConfig-common.mk
├── CleanSpec.mk
├── METADATA
├── PREUPLOAD.cfg
├── WCNSS_qcom_cfg.ini
├── acdbdata
├── OEM
│ ├── sdm845-tavil-b1-snd-card
│ │ ├── Bluetooth_cal.acdb
│ │ ├── Codec_cal.acdb
│ │ ├── General_cal.acdb
│ │ ├── Global_cal.acdb
│ │ ├── Handset_cal.acdb
│ │ ├── Hdmi_cal.acdb
│ │ ├── Headset_cal.acdb
│ │ ├── Speaker_cal.acdb
│ │ ├── adsp_avs_config.acdb
│ │ └── workspaceFile.qwsp
│ ├── sdm845-tavil-c1-snd-card
│ │ ├── Bluetooth_cal.acdb
│ │ ├── Codec_cal.acdb
│ │ ├── General_cal.acdb
│ │ ├── Global_cal.acdb
│ │ ├── Handset_cal.acdb
│ │ ├── Hdmi_cal.acdb
│ │ ├── Headset_cal.acdb
│ │ ├── Speaker_cal.acdb
│ │ ├── adsp_avs_config.acdb
│ │ └── workspaceFile.qwsp
│ └── sdm845-tavil-snd-card
│ │ ├── Bluetooth_cal.acdb
│ │ ├── Codec_cal.acdb
│ │ ├── General_cal.acdb
│ │ ├── Global_cal.acdb
│ │ ├── Handset_cal.acdb
│ │ ├── Hdmi_cal.acdb
│ │ ├── Headset_cal.acdb
│ │ ├── Speaker_cal.acdb
│ │ └── workspaceFile.qwsp
└── adsp_avs_config.acdb
├── aosp_blueline.mk
├── aosp_blueline_hwasan.mk
├── aosp_crosshatch.mk
├── aosp_crosshatch_hwasan.mk
├── audio
├── 100_Blueline_Stereo_Protect.h
├── 20180301_Crosshatch_Voice_24bit.exported_tuning
├── 20180301_Crosshatch_Voice_24bit.h
├── 20180301_Crosshatch_Voice_24bit_rx.bin
├── 20180301_Crosshatch_Voice_24bit_tx.bin
├── 20180307_Blueline_Voice_24bit.exported_tuning
├── 20180307_Blueline_Voice_24bit.h
├── 20180307_Blueline_Voice_24bit_rx.bin
├── 20180307_Blueline_Voice_24bit_tx.bin
├── 20180312_Blueline_Multimedia_24bit_MediumVibration.exported_tuning
├── 20180312_Blueline_Multimedia_24bit_MediumVibration.h
├── 20180312_Blueline_Multimedia_24bit_MediumVibration_rx.bin
├── 20180312_Blueline_Multimedia_24bit_MediumVibration_tx.bin
├── 20180312_Crosshatch_Multimedia_24bit_MediumVibration.exported_tuning
├── 20180312_Crosshatch_Multimedia_24bit_MediumVibration.h
├── 20180312_Crosshatch_Multimedia_24bit_MediumVibration_rx.bin
├── 20180312_Crosshatch_Multimedia_24bit_MediumVibration_tx.bin
├── 20180405_Blueline_24bit.exported_tuning
├── 20180405_Blueline_24bit_ReducedVibration.h
├── 20180405_Blueline_24bit_ReducedVibration_rx.bin
├── 20180405_Blueline_24bit_ReducedVibration_tx.bin
├── 20180509_100_Blueline_Stereo_Protect.h
├── 20180509_Crosshatch_Protect_24bit.h
├── 510_Crosshatch_Baseline.h
├── 800_Blueline_Baseline.h
├── B1-Build325-Squeeze-Final.h
├── C1-Build325-Squeeze-Final.h
├── Crosshatch_05092018_Protect_24bit.h
├── README
├── Test1_Crosshatch_5_10_2018_onsite_final_remove_actisonic.h
├── Test1_Crosshatch_5_10_2018_onsite_final_remove_actisonic.tuning
├── convert_config_string.py
├── crus_sp_config_b1_rx.bin
├── crus_sp_config_b1_tx.bin
├── crus_sp_config_c1_rx.bin
├── crus_sp_config_c1_tx.bin
└── generate_bin.sh
├── audio_effects.xml
├── audio_platform_info_tavil_b1.xml
├── audio_platform_info_tavil_c1.xml
├── audio_policy_configuration.xml
├── audio_policy_configuration_a2dp_offload_disabled.xml
├── audio_policy_configuration_bluetooth_legacy_hal.xml
├── audio_policy_volumes_b1.xml
├── audio_policy_volumes_c1.xml
├── blueline
├── AndroidBoard.mk
├── BoardConfig.mk
├── init.blueline.rc
├── overlay
│ └── frameworks
│ │ └── base
│ │ ├── core
│ │ └── res
│ │ │ └── res
│ │ │ ├── values-mcc310-mnc004
│ │ │ └── config.xml
│ │ │ ├── values-mcc311-mnc480
│ │ │ └── config.xml
│ │ │ ├── values
│ │ │ ├── config.xml
│ │ │ └── dimens.xml
│ │ │ └── xml
│ │ │ └── power_profile.xml
│ │ └── packages
│ │ └── SystemUI
│ │ └── res
│ │ └── values
│ │ ├── config.xml
│ │ └── dimens.xml
└── overlay_packages
│ ├── SettingsOverlayG013A
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── drawable
│ │ └── regulatory_info.png
│ └── SettingsOverlayG013B
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ └── drawable
│ └── regulatory_info.png
├── bluetooth_hearing_aid_audio_policy_configuration.xml
├── board-info.txt
├── bootctrl
└── Android.bp
├── compatibility_matrix.xml
├── compatibility_matrix_userdebug.xml
├── component-overrides.xml
├── config.fs
├── crosshatch
├── AndroidBoard.mk
├── BoardConfig.mk
├── init.crosshatch.rc
├── overlay
│ └── frameworks
│ │ └── base
│ │ ├── core
│ │ └── res
│ │ │ └── res
│ │ │ ├── values-mcc310-mnc004
│ │ │ └── config.xml
│ │ │ ├── values-mcc311-mnc480
│ │ │ └── config.xml
│ │ │ ├── values
│ │ │ └── config.xml
│ │ │ └── xml
│ │ │ └── power_profile.xml
│ │ └── packages
│ │ └── SystemUI
│ │ └── res
│ │ ├── drawable
│ │ └── rounded.xml
│ │ └── values
│ │ ├── config.xml
│ │ └── dimens.xml
└── overlay_packages
│ ├── SettingsOverlayG013C
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── drawable
│ │ └── regulatory_info.png
│ └── SettingsOverlayG013D
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ └── drawable
│ └── regulatory_info.png
├── default-permissions.xml
├── default_volume_tables.xml
├── device-blueline.mk
├── device-common.mk
├── device-crosshatch.mk
├── device.mk
├── device_framework_matrix.xml
├── dumpstate
├── Android.mk
├── DumpstateDevice.cpp
├── DumpstateDevice.h
├── android.hardware.dumpstate@1.1-service.crosshatch.rc
└── service.cpp
├── factory-images_blueline
└── generate-factory-images-package.sh
├── factory-images_crosshatch
└── generate-factory-images-package.sh
├── felica
├── loaderservice_updater_1.lss
└── loaderservice_updater_2.lss
├── framework_manifest_userdebug.xml
├── fstab.hardware
├── fstab.mainline.hardware
├── fstab.persist
├── fuzzy_fastboot
├── .gitignore
├── checksum_parser.py
├── config.xml
├── test.sh
└── validator.py
├── gps.conf
├── gpt-utils
├── Android.bp
├── gpt-utils.cpp
└── gpt-utils.h
├── graphite_ipc_platform_info.xml
├── health
├── Android.bp
├── BatteryRechargingControl.cpp
├── BatteryRechargingControl.h
├── HealthService.cpp
└── android.hardware.health@2.0-service.crosshatch.rc
├── init.edge_sense.sh
├── init.fingerprint.sh
├── init.firstboot.sh
├── init.hardware.diag.rc.user
├── init.hardware.diag.rc.userdebug
├── init.hardware.mpssrfs.rc.user
├── init.hardware.mpssrfs.rc.userdebug
├── init.hardware.rc
├── init.hardware.usb.rc
├── init.hardware.wlc.rc.userdebug
├── init.hardware.xr.rc
├── init.insmod.blueline.cfg
├── init.insmod.crosshatch.cfg
├── init.insmod.sh
├── init.logging.rc
├── init.power.rc
├── init.qcom.devstart.sh
├── init.qcom.ipastart.sh
├── init.radio.sh
├── init.ramoops.sh
├── init.recovery.hardware.device.rc
├── init.recovery.hardware.rc
├── json-c
├── AUTHORS
├── Android.configure.mk
├── Android.mk
├── COPYING
├── ChangeLog
├── Doxyfile
├── Makefile.am
├── Makefile.am.inc
├── README
├── README-WIN32.html
├── README.html
├── README.md
├── RELEASE_CHECKLIST.txt
├── arraylist.c
├── arraylist.h
├── autogen.sh
├── bits.h
├── check.log
├── config.h
├── config.h.in
├── configure.ac
├── debug.c
├── debug.h
├── json-c-uninstalled.pc.in
├── json-c.pc.in
├── json.h
├── json_c_version.c
├── json_c_version.h
├── json_config.h
├── json_config.h.in
├── json_inttypes.h
├── json_object.c
├── json_object.h
├── json_object_iterator.c
├── json_object_iterator.h
├── json_object_private.h
├── json_tokener.c
├── json_tokener.h
├── json_util.c
├── json_util.h
├── libjson.c
├── linkhash.c
├── linkhash.h
├── math_compat.h
├── printbuf.c
├── printbuf.h
├── random_seed.c
└── random_seed.h
├── keymaster
├── Android.bp
└── wait_for_strongbox.cpp
├── lowi.conf
├── manifest.xml
├── media_codecs.xml
├── media_codecs_omx.xml
├── media_codecs_performance.xml
├── media_profiles_V1_0.xml
├── mixer_paths_tavil_b1.xml
├── mixer_paths_tavil_c1.xml
├── nfc
├── com.google.hardware.pixel.japan.xml
├── libese-nxp.conf
├── libnfc-nci.conf
├── libnfc-nxp.blueline.conf
├── libnfc-nxp.blueline.ese.conf
├── libnfc-nxp.blueline.uicc.conf
├── libnfc-nxp.crosshatch.conf
├── libnfc-nxp.crosshatch.ese.conf
├── libnfc-nxp.crosshatch.uicc.conf
├── manifest_se_SIM1.xml
└── manifest_se_eSE1.xml
├── overlay
├── frameworks
│ └── base
│ │ ├── core
│ │ └── res
│ │ │ └── res
│ │ │ ├── values-mcc440-mnc20
│ │ │ └── config.xml
│ │ │ └── values
│ │ │ ├── config.xml
│ │ │ ├── strings.xml
│ │ │ └── symbols.xml
│ │ └── packages
│ │ ├── SettingsLib
│ │ └── res
│ │ │ └── values-mcc440-mnc20
│ │ │ └── config.xml
│ │ └── SystemUI
│ │ └── res
│ │ └── values
│ │ └── config.xml
└── packages
│ ├── apps
│ ├── Nfc
│ │ └── res
│ │ │ └── values
│ │ │ └── config.xml
│ └── Settings
│ │ └── res
│ │ ├── values-mcc262-mnc01
│ │ └── strings.xml
│ │ └── values
│ │ ├── bools.xml
│ │ └── config.xml
│ └── services
│ ├── Telecom
│ └── res
│ │ └── values
│ │ └── config.xml
│ └── Telephony
│ └── res
│ └── values
│ └── config.xml
├── p2p_supplicant_overlay.conf
├── permissions
└── com.google.hardware.camera.easel_2018.xml
├── pixelstats
├── Android.bp
├── pixelstats-vendor.crosshatch.rc
└── service.cpp
├── powerhint.json
├── powerstats
├── Android.bp
├── android.hardware.power.stats@1.0-service.pixel.rc
└── service.cpp
├── product.prop
├── qti_whitelist.xml
├── recovery.wipe
├── recovery
├── Android.bp
├── BoardConfigTWRP.mk
├── device-twrp.mk
├── kernel
│ └── Image.lz4
├── root
│ ├── init.recovery.services.qcom_decrypt.fbe.rc
│ ├── init.recovery.twrp.rc
│ ├── init.recovery.usb.rc
│ ├── system
│ │ ├── bin
│ │ │ ├── android.hardware.gatekeeper@1.0-service-qti
│ │ │ ├── android.hardware.keymaster@4.0-service-qti
│ │ │ ├── android.hardware.keymaster@4.1-service.citadel
│ │ │ ├── android.hardware.weaver@1.0-service.citadel
│ │ │ ├── citadeld
│ │ │ └── qseecomd
│ │ └── etc
│ │ │ ├── event-log-tags
│ │ │ ├── fstab.postinstall
│ │ │ ├── recovery.fstab
│ │ │ ├── task_profiles.json
│ │ │ ├── twrp.flags
│ │ │ └── vintf
│ │ │ ├── manifest.xml
│ │ │ └── manifest
│ │ │ └── android.frameworks.stats@1.0-service.xml
│ └── vendor
│ │ ├── etc
│ │ └── vintf
│ │ │ ├── manifest.xml
│ │ │ └── manifest
│ │ │ ├── android.hardware.keymaster@4.1-service.citadel.xml
│ │ │ ├── android.hardware.usb.gadget@1.1-service.crosshatch.xml
│ │ │ ├── android.hardware.usb@1.1-service.crosshatch.xml
│ │ │ ├── android.hardware.weaver@1.0-service.citadel.xml
│ │ │ └── rebootescrow-citadel.xml
│ │ └── lib64
│ │ ├── android.hardware.authsecret@1.0-impl.nos.so
│ │ ├── android.hardware.confirmationui.secure_input_citadel.so
│ │ ├── android.hardware.keymaster@4.1-impl.nos.so
│ │ ├── android.hardware.oemlock@1.0-impl.nos.so
│ │ ├── android.hardware.weaver@1.0-impl.nos.so
│ │ ├── hw
│ │ └── android.hardware.vibrator@1.2-impl.crosshatch.so
│ │ ├── libQSEEComAPI.so
│ │ ├── libStDrvInt.so
│ │ ├── libdiag.so
│ │ ├── libdrmfs.so
│ │ ├── libdrmtime.so
│ │ ├── libkeymasterdeviceutils.so
│ │ ├── libkeymasterutils.so
│ │ ├── libnos.so
│ │ ├── libnos_citadeld_proxy.so
│ │ ├── libnos_client_citadel.so
│ │ ├── libnos_datagram.so
│ │ ├── libnos_datagram_citadel.so
│ │ ├── libnos_transport.so
│ │ ├── libnosprotos.so
│ │ ├── libprotobuf-cpp-full-3.9.1.so
│ │ ├── libprotobuf-cpp-full.so
│ │ ├── libprotobuf-cpp-lite-3.9.1.so
│ │ ├── libqtikeymaster4.so
│ │ ├── librpmb.so
│ │ ├── libsecureui.so
│ │ ├── libsecureui_svcsock.so
│ │ ├── libssd.so
│ │ ├── libteeui_hal_support.so
│ │ ├── libtime_genoff.so
│ │ ├── nos_app_avb.so
│ │ ├── nos_app_identity.so
│ │ ├── nos_app_keymaster.so
│ │ ├── nos_app_weaver.so
│ │ ├── pixelpowerstats_provider_aidl_interface-V1-cpp.so
│ │ ├── vendor-pixelatoms-cpp.so
│ │ ├── vendor.display.config@1.0.so
│ │ └── vendor.qti.hardware.tui_comm@1.0.so
├── security
│ ├── google1.x509.pem
│ └── google2.x509.pem
├── twrp
│ └── recovery_twrp.cpp
├── twrp_blueline.mk
├── twrp_crosshatch.mk
├── ui
│ └── recovery_ui.cpp
└── vibrator
│ ├── service.cpp
│ ├── vibrator.crosshatch-service.rc
│ └── vibrator.crosshatch-service.xml
├── rro_overlays
├── ConnectivityOverlay
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ └── res
│ │ └── values
│ │ └── config.xml
└── WifiOverlay
│ ├── Android.bp
│ ├── AndroidManifest.xml
│ ├── OWNERS
│ └── res
│ └── values
│ └── config.xml
├── sdm845
├── kernel-headers
│ ├── asm-generic
│ │ └── ioctls.h
│ ├── drm
│ │ ├── msm_drm.h
│ │ ├── msm_drm_pp.h
│ │ └── sde_drm.h
│ ├── linux
│ │ ├── avtimer.h
│ │ ├── esoc_ctrl.h
│ │ ├── ion.h
│ │ ├── ipa_qmi_service_v01.h
│ │ ├── mdss_rotator.h
│ │ ├── mfd
│ │ │ ├── msm-adie-codec.h
│ │ │ └── wcd9xxx
│ │ │ │ ├── wcd9320_registers.h
│ │ │ │ └── wcd9xxx_registers.h
│ │ ├── msm-core-interface.h
│ │ ├── msm_adsp.h
│ │ ├── msm_audio.h
│ │ ├── msm_audio_aac.h
│ │ ├── msm_audio_ac3.h
│ │ ├── msm_audio_alac.h
│ │ ├── msm_audio_amrnb.h
│ │ ├── msm_audio_amrwb.h
│ │ ├── msm_audio_amrwbplus.h
│ │ ├── msm_audio_ape.h
│ │ ├── msm_audio_calibration.h
│ │ ├── msm_audio_mvs.h
│ │ ├── msm_audio_qcp.h
│ │ ├── msm_audio_sbc.h
│ │ ├── msm_audio_voicememo.h
│ │ ├── msm_audio_wma.h
│ │ ├── msm_audio_wmapro.h
│ │ ├── msm_dsps.h
│ │ ├── msm_ion.h
│ │ ├── msm_ipa.h
│ │ ├── msm_kgsl.h
│ │ ├── msm_mdp.h
│ │ ├── msm_mdp_ext.h
│ │ ├── msm_pft.h
│ │ ├── msm_rmnet.h
│ │ ├── msm_rotator.h
│ │ ├── msm_thermal_ioctl.h
│ │ ├── msm_vidc_dec.h
│ │ ├── msm_vidc_enc.h
│ │ ├── qseecom.h
│ │ ├── rmnet_data.h
│ │ ├── rmnet_ipa_fd_ioctl.h
│ │ ├── sockev.h
│ │ ├── sockios.h
│ │ ├── spcom.h
│ │ ├── v4l2-controls.h
│ │ ├── videodev2.h
│ │ └── wcd-spi-ac-params.h
│ ├── media
│ │ ├── cam_cpas.h
│ │ ├── cam_defs.h
│ │ ├── cam_fd.h
│ │ ├── cam_icp.h
│ │ ├── cam_isp.h
│ │ ├── cam_isp_ife.h
│ │ ├── cam_isp_vfe.h
│ │ ├── cam_jpeg.h
│ │ ├── cam_lrme.h
│ │ ├── cam_req_mgr.h
│ │ ├── cam_sensor.h
│ │ ├── cam_sync.h
│ │ ├── msm_cam_sensor.h
│ │ ├── msm_camera.h
│ │ ├── msm_camsensor_sdk.h
│ │ ├── msm_fd.h
│ │ ├── msm_gemini.h
│ │ ├── msm_gestures.h
│ │ ├── msm_isp.h
│ │ ├── msm_jpeg.h
│ │ ├── msm_jpeg_dma.h
│ │ ├── msm_media_info.h
│ │ ├── msm_mercury.h
│ │ ├── msm_sde_rotator.h
│ │ ├── msm_vidc.h
│ │ ├── msm_vpu.h
│ │ ├── msmb_camera.h
│ │ ├── msmb_generic_buf_mgr.h
│ │ ├── msmb_isp.h
│ │ ├── msmb_ispif.h
│ │ └── msmb_pproc.h
│ ├── scsi
│ │ └── ufs
│ │ │ ├── ioctl.h
│ │ │ └── ufs.h
│ ├── sound
│ │ ├── asound.h
│ │ ├── audio_effects.h
│ │ ├── compress_offload.h
│ │ ├── compress_params.h
│ │ ├── devdep_params.h
│ │ ├── lsm_params.h
│ │ ├── msmcal-hwdep.h
│ │ ├── voice_params.h
│ │ ├── voice_svc.h
│ │ └── wcd-dsp-glink.h
│ └── video
│ │ └── msm_hdmi_modes.h
├── original-kernel-headers
│ ├── asm-generic
│ │ └── ioctls.h
│ ├── drm
│ │ ├── msm_drm.h
│ │ ├── msm_drm_pp.h
│ │ └── sde_drm.h
│ ├── linux
│ │ ├── avtimer.h
│ │ ├── esoc_ctrl.h
│ │ ├── ion.h
│ │ ├── ipa_qmi_service_v01.h
│ │ ├── mdss_rotator.h
│ │ ├── mfd
│ │ │ ├── msm-adie-codec.h
│ │ │ └── wcd9xxx
│ │ │ │ ├── wcd9320_registers.h
│ │ │ │ └── wcd9xxx_registers.h
│ │ ├── msm-core-interface.h
│ │ ├── msm_adsp.h
│ │ ├── msm_audio.h
│ │ ├── msm_audio_aac.h
│ │ ├── msm_audio_ac3.h
│ │ ├── msm_audio_alac.h
│ │ ├── msm_audio_amrnb.h
│ │ ├── msm_audio_amrwb.h
│ │ ├── msm_audio_amrwbplus.h
│ │ ├── msm_audio_ape.h
│ │ ├── msm_audio_calibration.h
│ │ ├── msm_audio_mvs.h
│ │ ├── msm_audio_qcp.h
│ │ ├── msm_audio_sbc.h
│ │ ├── msm_audio_voicememo.h
│ │ ├── msm_audio_wma.h
│ │ ├── msm_audio_wmapro.h
│ │ ├── msm_dsps.h
│ │ ├── msm_ion.h
│ │ ├── msm_ipa.h
│ │ ├── msm_kgsl.h
│ │ ├── msm_mdp.h
│ │ ├── msm_mdp_ext.h
│ │ ├── msm_pft.h
│ │ ├── msm_rmnet.h
│ │ ├── msm_rotator.h
│ │ ├── msm_thermal_ioctl.h
│ │ ├── msm_vidc_dec.h
│ │ ├── msm_vidc_enc.h
│ │ ├── qseecom.h
│ │ ├── rmnet_data.h
│ │ ├── rmnet_ipa_fd_ioctl.h
│ │ ├── sockev.h
│ │ ├── sockios.h
│ │ ├── spcom.h
│ │ ├── v4l2-controls.h
│ │ ├── videodev2.h
│ │ └── wcd-spi-ac-params.h
│ ├── media
│ │ ├── cam_cpas.h
│ │ ├── cam_defs.h
│ │ ├── cam_fd.h
│ │ ├── cam_icp.h
│ │ ├── cam_isp.h
│ │ ├── cam_isp_ife.h
│ │ ├── cam_isp_vfe.h
│ │ ├── cam_jpeg.h
│ │ ├── cam_lrme.h
│ │ ├── cam_req_mgr.h
│ │ ├── cam_sensor.h
│ │ ├── cam_sync.h
│ │ ├── msm_cam_sensor.h
│ │ ├── msm_camera.h
│ │ ├── msm_camsensor_sdk.h
│ │ ├── msm_fd.h
│ │ ├── msm_gemini.h
│ │ ├── msm_gestures.h
│ │ ├── msm_isp.h
│ │ ├── msm_jpeg.h
│ │ ├── msm_jpeg_dma.h
│ │ ├── msm_media_info.h
│ │ ├── msm_mercury.h
│ │ ├── msm_sde_rotator.h
│ │ ├── msm_vidc.h
│ │ ├── msm_vpu.h
│ │ ├── msmb_camera.h
│ │ ├── msmb_generic_buf_mgr.h
│ │ ├── msmb_isp.h
│ │ ├── msmb_ispif.h
│ │ └── msmb_pproc.h
│ ├── scsi
│ │ └── ufs
│ │ │ ├── ioctl.h
│ │ │ └── ufs.h
│ ├── sound
│ │ ├── asound.h
│ │ ├── audio_effects.h
│ │ ├── compress_offload.h
│ │ ├── compress_params.h
│ │ ├── devdep_params.h
│ │ ├── lsm_params.h
│ │ ├── msmcal-hwdep.h
│ │ ├── voice_params.h
│ │ ├── voice_svc.h
│ │ └── wcd-dsp-glink.h
│ └── video
│ │ └── msm_hdmi_modes.h
└── thermal-engine
│ ├── Android.mk
│ └── thermal_client.h
├── sec_config
├── seccomp_policy
└── mediacodec.policy
├── self-extractors
├── Android.mk
├── PART1
├── PART2
├── PART3
├── PROLOGUE
├── extract-lists.txt
├── google_devices
│ ├── COPYRIGHT
│ ├── LICENSE
│ └── staging
│ │ ├── Android.mk
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
├── qcom
│ ├── COPYRIGHT
│ ├── LICENSE
│ └── staging
│ │ ├── Android.bp.txt
│ │ ├── Android.mk
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
└── root
│ ├── android-info.txt
│ └── proprietary
│ ├── BoardConfigVendor.mk
│ └── device-vendor.mk
├── self-extractors_blueline
├── Android.mk
├── PART1
├── PART2
├── PART3
├── PROLOGUE
├── extract-lists.txt
├── google_devices
│ ├── COPYRIGHT
│ ├── LICENSE
│ └── staging
│ │ ├── Android.mk
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
├── qcom
│ ├── COPYRIGHT
│ ├── LICENSE
│ └── staging
│ │ ├── Android.bp.txt
│ │ ├── Android.mk
│ │ ├── BoardConfigPartial.mk
│ │ └── device-partial.mk
└── root
│ ├── android-info.txt
│ └── proprietary
│ ├── BoardConfigVendor.mk
│ └── device-vendor.mk
├── sensors
└── hals.conf
├── small_hals
├── Android.bp
├── service.cpp
├── small_hals.crosshatch-service.rc
└── small_hals.crosshatch-service.xml
├── sound_trigger_mixer_paths_wcd9340.xml
├── sound_trigger_platform_info.xml
├── teeui
└── tests
│ ├── blueline
│ ├── Android.bp
│ ├── TEST_MAPPING
│ └── test_main.cpp
│ └── crosshatch
│ ├── Android.bp
│ ├── TEST_MAPPING
│ └── test_main.cpp
├── thermal-engine-blueline-novr-evt.conf
├── thermal-engine-blueline-novr-prod.conf
├── thermal-engine-blueline-vr-evt.conf
├── thermal-engine-blueline-vr-prod.conf
├── thermal-engine-crosshatch-novr-evt.conf
├── thermal-engine-crosshatch-novr-prod.conf
├── thermal-engine-crosshatch-vr-evt.conf
├── thermal-engine-crosshatch-vr-prod.conf
├── thermal_info_config_blueline.json
├── thermal_info_config_blueline_evt.json
├── thermal_info_config_crosshatch.json
├── thermal_info_config_crosshatch_evt.json
├── twrp.dependencies
├── ueventd.hardware.rc
├── uinput-fpc.idc
├── uinput-fpc.kl
├── usb
├── Android.bp
├── Usb.cpp
├── Usb.h
├── UsbGadget.cpp
├── UsbGadget.h
├── android.hardware.usb.gadget@1.1-service.crosshatch.xml
├── android.hardware.usb@1.3-service.crosshatch.rc
├── android.hardware.usb@1.3-service.crosshatch.xml
└── service.cpp
├── utils.mk
├── vendorsetup.sh
├── vf
├── OWNERS
├── aosp_crosshatch_vf.mk
├── framework_item_list.txt
├── framework_misc_info_keys.txt
└── vendor_item_list.txt
├── vibrator
├── Android.bp
├── OWNERS
├── Vibrator.cpp
├── Vibrator.h
├── cs40l20
│ ├── cs40l20.bin
│ ├── cs40l20.wmfw
│ └── wav_wavetable
│ │ ├── 09_POP(SNAP)_0503.json
│ │ ├── 09_POP(SNAP)_0503.wav
│ │ ├── 10_THUD_0503.json
│ │ ├── 10_THUD_0503.wav
│ │ ├── 11_The_big_adventure.json
│ │ ├── 12_Copycat.json
│ │ ├── 13_Crackle.json
│ │ ├── 14_Flutterby.json
│ │ ├── 15_Hotline.json
│ │ ├── 16_Leaps_and_bounds.json
│ │ ├── 17_Lollipop.json
│ │ ├── 18_Lost_and_found.json
│ │ ├── 19_Mash_up.json
│ │ ├── 20_Monkey_around.json
│ │ ├── 21_Schools_out.json
│ │ ├── 22_Zen_too.json
│ │ ├── 23_Extra1_100x8.json
│ │ ├── README
│ │ ├── [#1] 00 (23%).json
│ │ ├── [#1] 00 (23%).wav
│ │ ├── [#2] 00 (39%).json
│ │ ├── [#2] 00 (39%).wav
│ │ ├── [#3] 00 (55%).json
│ │ ├── [#3] 00 (55%).wav
│ │ ├── [#4] 00 (75%).json
│ │ ├── [#4] 00 (75%).wav
│ │ ├── [#5] 11-2 (-3).json
│ │ ├── [#5] 11-2 (-3).wav
│ │ ├── [#6] Double (L) = #1 + #2.json
│ │ ├── [#6] Double (L) = #1 + #2.wav
│ │ ├── [#7] Double (M) = #2 + #3.json
│ │ ├── [#7] Double (M) = #2 + #3.wav
│ │ ├── [#8] Double (H) = #3 + #4.json
│ │ ├── [#8] Double (H) = #3 + #4.wav
│ │ └── continuous_sine_f0.json
├── drv2624
│ └── drv2624.bin
└── impl.cpp
├── voice_processing
├── Android.bp
└── voice_processing_descriptors.c
├── wifi_concurrency_cfg.txt
├── wpa_supplicant_overlay.conf
└── wpa_supplicant_wcn.conf
/.clang-format:
--------------------------------------------------------------------------------
1 | BasedOnStyle: Google
2 | AccessModifierOffset: -2
3 | AllowShortFunctionsOnASingleLine: Inline
4 | ColumnLimit: 99
5 | CommentPragmas: NOLINT:.*
6 | DerivePointerAlignment: false
7 | IndentWidth: 4
8 | PointerAlignment: Right
9 | TabWidth: 4
10 | UseTab: Never
11 | PenaltyExcessCharacter: 32
12 | AllowShortIfStatementsOnASingleLine: false
13 | SpacesBeforeTrailingComments: 2
14 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | edk2
2 |
--------------------------------------------------------------------------------
/Android.bp:
--------------------------------------------------------------------------------
1 | soong_namespace {
2 | imports: ["hardware/google/interfaces",
3 | "hardware/google/pixel",
4 | "hardware/qcom/bootctrl"],
5 | }
6 |
7 | package {
8 | default_applicable_licenses: ["device_google_crosshatch_license"],
9 | }
10 |
11 | // Added automatically by a large-scale-change that took the approach of
12 | // 'apply every license found to every target'. While this makes sure we respect
13 | // every license restriction, it may not be entirely correct.
14 | //
15 | // e.g. GPL in an MIT project might only apply to the contrib/ directory.
16 | //
17 | // Please consider splitting the single license below into multiple licenses,
18 | // taking care not to lose any license_kind information, and overriding the
19 | // default license using the 'licenses: [...]' property on targets as needed.
20 | //
21 | // For unused files, consider creating a 'fileGroup' with "//visibility:private"
22 | // to attach the license to, and including a comment whether the files may be
23 | // used in the current project.
24 | // See: http://go/android-license-faq
25 | license {
26 | name: "device_google_crosshatch_license",
27 | visibility: [":__subpackages__"],
28 | license_kinds: [
29 | "SPDX-license-identifier-Apache-2.0",
30 | "SPDX-license-identifier-BSD",
31 | "SPDX-license-identifier-GPL-2.0",
32 | "SPDX-license-identifier-MIT",
33 | "legacy_unencumbered",
34 | ],
35 | // large-scale-change unable to identify any license_text files
36 | }
37 |
--------------------------------------------------------------------------------
/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2017 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 | ifeq ($(USES_DEVICE_GOOGLE_B1C1),true)
20 | subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
21 | $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
22 | endif
23 |
--------------------------------------------------------------------------------
/AndroidProducts.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | PRODUCT_MAKEFILES := \
18 | $(LOCAL_DIR)/aosp_crosshatch.mk \
19 | $(LOCAL_DIR)/aosp_blueline.mk \
20 | $(LOCAL_DIR)/aosp_crosshatch_hwasan.mk \
21 | $(LOCAL_DIR)/aosp_blueline_hwasan.mk \
22 | $(LOCAL_DIR)/vf/aosp_crosshatch_vf.mk \
23 | $(LOCAL_DIR)/recovery/twrp_crosshatch.mk \
24 | $(LOCAL_DIR)/recovery/twrp_blueline.mk
25 |
26 | COMMON_LUNCH_CHOICES := \
27 | aosp_crosshatch-userdebug \
28 | aosp_blueline-userdebug \
29 | aosp_crosshatch_vf-userdebug \
30 |
--------------------------------------------------------------------------------
/METADATA:
--------------------------------------------------------------------------------
1 | third_party {
2 | # would be NOTICE save for sdm845/original-kernel-headers/
3 | license_type: RESTRICTED
4 | }
5 |
--------------------------------------------------------------------------------
/PREUPLOAD.cfg:
--------------------------------------------------------------------------------
1 | [Builtin Hooks]
2 | clang_format = true
3 |
4 | [Builtin Hooks Options]
5 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
6 |
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Bluetooth_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Bluetooth_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Codec_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Codec_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/General_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/General_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Global_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Global_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Handset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Handset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Hdmi_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Hdmi_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Headset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Headset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/Speaker_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/Speaker_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-b1-snd-card/adsp_avs_config.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-b1-snd-card/adsp_avs_config.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Bluetooth_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Bluetooth_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Codec_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Codec_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/General_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/General_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Global_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Global_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Handset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Handset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Hdmi_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Hdmi_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Headset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Headset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/Speaker_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/Speaker_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-c1-snd-card/adsp_avs_config.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-c1-snd-card/adsp_avs_config.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Bluetooth_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Bluetooth_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Codec_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Codec_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/General_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/General_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Global_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Global_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Handset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Handset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Hdmi_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Hdmi_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Headset_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Headset_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/OEM/sdm845-tavil-snd-card/Speaker_cal.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/OEM/sdm845-tavil-snd-card/Speaker_cal.acdb
--------------------------------------------------------------------------------
/acdbdata/adsp_avs_config.acdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/acdbdata/adsp_avs_config.acdb
--------------------------------------------------------------------------------
/aosp_blueline_hwasan.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2019 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 | $(call inherit-product, device/google/crosshatch/aosp_blueline.mk)
18 | PRODUCT_NAME := aosp_blueline_hwasan
19 |
20 | # Add "hwaddress" as a global sanitizer if it's missing.
21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
23 | endif
24 |
--------------------------------------------------------------------------------
/aosp_crosshatch_hwasan.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2019 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 | $(call inherit-product, device/google/crosshatch/aosp_crosshatch.mk)
18 | PRODUCT_NAME := aosp_crosshatch_hwasan
19 |
20 | # Add "hwaddress" as a global sanitizer if it's missing.
21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
23 | endif
24 |
--------------------------------------------------------------------------------
/audio/20180301_Crosshatch_Voice_24bit.exported_tuning:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180301_Crosshatch_Voice_24bit.exported_tuning
--------------------------------------------------------------------------------
/audio/20180301_Crosshatch_Voice_24bit_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180301_Crosshatch_Voice_24bit_rx.bin
--------------------------------------------------------------------------------
/audio/20180301_Crosshatch_Voice_24bit_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180301_Crosshatch_Voice_24bit_tx.bin
--------------------------------------------------------------------------------
/audio/20180307_Blueline_Voice_24bit.exported_tuning:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180307_Blueline_Voice_24bit.exported_tuning
--------------------------------------------------------------------------------
/audio/20180307_Blueline_Voice_24bit_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180307_Blueline_Voice_24bit_rx.bin
--------------------------------------------------------------------------------
/audio/20180307_Blueline_Voice_24bit_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180307_Blueline_Voice_24bit_tx.bin
--------------------------------------------------------------------------------
/audio/20180312_Blueline_Multimedia_24bit_MediumVibration.exported_tuning:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Blueline_Multimedia_24bit_MediumVibration.exported_tuning
--------------------------------------------------------------------------------
/audio/20180312_Blueline_Multimedia_24bit_MediumVibration_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Blueline_Multimedia_24bit_MediumVibration_rx.bin
--------------------------------------------------------------------------------
/audio/20180312_Blueline_Multimedia_24bit_MediumVibration_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Blueline_Multimedia_24bit_MediumVibration_tx.bin
--------------------------------------------------------------------------------
/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration.exported_tuning:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration.exported_tuning
--------------------------------------------------------------------------------
/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration_rx.bin
--------------------------------------------------------------------------------
/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180312_Crosshatch_Multimedia_24bit_MediumVibration_tx.bin
--------------------------------------------------------------------------------
/audio/20180405_Blueline_24bit.exported_tuning:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180405_Blueline_24bit.exported_tuning
--------------------------------------------------------------------------------
/audio/20180405_Blueline_24bit_ReducedVibration_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180405_Blueline_24bit_ReducedVibration_rx.bin
--------------------------------------------------------------------------------
/audio/20180405_Blueline_24bit_ReducedVibration_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/20180405_Blueline_24bit_ReducedVibration_tx.bin
--------------------------------------------------------------------------------
/audio/README:
--------------------------------------------------------------------------------
1 | Example usage:
2 |
3 | $ python3.5 convert_config_string.py txt 510_Crosshatch_Baseline.h crus_sp_config_c1_rx.bin crus_sp_config_c1_tx.bin
4 | CSPL config string conversion used for android system
5 | python version: sys.version_info(major=3, minor=5, micro=3, releaselevel='final', serial=0)
6 | Current Os name: posix
7 | 24 bit detected
8 | wrote file: crus_sp_config_c1_rx.bin
9 | wrote file: crus_sp_config_c1_tx.bin
10 |
11 |
--------------------------------------------------------------------------------
/audio/crus_sp_config_b1_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/crus_sp_config_b1_rx.bin
--------------------------------------------------------------------------------
/audio/crus_sp_config_b1_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/crus_sp_config_b1_tx.bin
--------------------------------------------------------------------------------
/audio/crus_sp_config_c1_rx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/crus_sp_config_c1_rx.bin
--------------------------------------------------------------------------------
/audio/crus_sp_config_c1_tx.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/audio/crus_sp_config_c1_tx.bin
--------------------------------------------------------------------------------
/audio/generate_bin.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # B1
4 | python3.5 convert_config_string.py txt 20180509_100_Blueline_Stereo_Protect.h crus_sp_config_b1_rx.bin crus_sp_config_b1_tx.bin
5 |
6 | # C1
7 | python3.5 convert_config_string.py txt 20180509_Crosshatch_Protect_24bit.h crus_sp_config_c1_rx.bin crus_sp_config_c1_tx.bin
8 |
--------------------------------------------------------------------------------
/blueline/AndroidBoard.mk:
--------------------------------------------------------------------------------
1 | ../crosshatch/AndroidBoard.mk
--------------------------------------------------------------------------------
/blueline/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2016 The Android Open-Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | ifdef PHONE_CAR_BOARD_CONFIG
18 | include $(PHONE_CAR_BOARD_CONFIG)
19 | else
20 | TARGET_BOOTLOADER_BOARD_NAME := blueline
21 | TARGET_SCREEN_DENSITY := 440
22 | TARGET_RECOVERY_UI_MARGIN_HEIGHT := 20
23 |
24 | include device/google/crosshatch/BoardConfig-common.mk
25 | endif
26 |
--------------------------------------------------------------------------------
/blueline/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 |
25 | g013a
26 |
27 | http://uaprof.vtext.com/google/g013a/g013a.xml
28 |
29 |
30 |
--------------------------------------------------------------------------------
/blueline/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 |
25 | g013a
26 |
27 | http://uaprof.vtext.com/google/g013a/g013a.xml
28 |
29 |
30 |
--------------------------------------------------------------------------------
/blueline/overlay/frameworks/base/core/res/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | 48px
23 |
24 |
25 | 0px
26 |
27 |
30 | 28dp
31 |
32 | 28dp
33 |
34 |
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013A/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "SettingsOverlayG013A",
7 | product_specific: true,
8 | }
9 |
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013A/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013A/res/drawable/regulatory_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/blueline/overlay_packages/SettingsOverlayG013A/res/drawable/regulatory_info.png
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013B/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "SettingsOverlayG013B",
7 | product_specific: true,
8 | }
9 |
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013B/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/blueline/overlay_packages/SettingsOverlayG013B/res/drawable/regulatory_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/blueline/overlay_packages/SettingsOverlayG013B/res/drawable/regulatory_info.png
--------------------------------------------------------------------------------
/bluetooth_hearing_aid_audio_policy_configuration.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/board-info.txt:
--------------------------------------------------------------------------------
1 | require board=crosshatch|blueline
2 |
--------------------------------------------------------------------------------
/bootctrl/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2018 The Android Open Source Project
3 | //
4 | // Licensed under the Apache License, Version 2.0 (the "License");
5 | // you may not use this file except in compliance with the License.
6 | // You may obtain a copy of the License at
7 | //
8 | // http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // Unless required by applicable law or agreed to in writing, software
11 | // distributed under the License is distributed on an "AS IS" BASIS,
12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | // See the License for the specific language governing permissions and
14 | // limitations under the License.
15 | //
16 |
17 | package {
18 | default_applicable_licenses: ["Android-Apache-2.0"],
19 | }
20 |
21 | cc_library {
22 | name: "bootctrl.sdm845",
23 | defaults: ["bootctrl_hal_defaults"],
24 | static_libs: ["libgptutils.crosshatch"],
25 | }
26 |
--------------------------------------------------------------------------------
/compatibility_matrix_userdebug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | vendor.qti.hardware.radio.atcmdfwd
4 | 1.0
5 |
6 | IAtCmdFwd
7 | AtCmdFwdService
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/component-overrides.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/crosshatch/BoardConfig.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2016 The Android Open-Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | ifdef PHONE_CAR_BOARD_CONFIG
18 | include $(PHONE_CAR_BOARD_CONFIG)
19 | else
20 | TARGET_BOOTLOADER_BOARD_NAME := crosshatch
21 | TARGET_SCREEN_DENSITY := 560
22 | TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
23 |
24 | include device/google/crosshatch/BoardConfig-common.mk
25 | endif
26 |
--------------------------------------------------------------------------------
/crosshatch/overlay/frameworks/base/core/res/res/values-mcc310-mnc004/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 |
25 | g013c
26 |
27 | http://uaprof.vtext.com/google/g013c/g013c.xml
28 |
29 |
30 |
--------------------------------------------------------------------------------
/crosshatch/overlay/frameworks/base/core/res/res/values-mcc311-mnc480/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 |
25 | g013c
26 |
27 | http://uaprof.vtext.com/google/g013c/g013c.xml
28 |
29 |
30 |
--------------------------------------------------------------------------------
/crosshatch/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded.xml:
--------------------------------------------------------------------------------
1 |
14 |
19 |
20 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013C/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "SettingsOverlayG013C",
7 | product_specific: true,
8 | }
9 |
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013C/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013C/res/drawable/regulatory_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/crosshatch/overlay_packages/SettingsOverlayG013C/res/drawable/regulatory_info.png
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013D/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "SettingsOverlayG013D",
7 | product_specific: true,
8 | }
9 |
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013D/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
--------------------------------------------------------------------------------
/crosshatch/overlay_packages/SettingsOverlayG013D/res/drawable/regulatory_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/crosshatch/overlay_packages/SettingsOverlayG013D/res/drawable/regulatory_info.png
--------------------------------------------------------------------------------
/dumpstate/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | LOCAL_PATH:= $(call my-dir)
18 | include $(CLEAR_VARS)
19 | LOCAL_MODULE := android.hardware.dumpstate@1.1-service.crosshatch
20 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
21 | LOCAL_LICENSE_CONDITIONS := notice
22 | LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.crosshatch.rc
23 | LOCAL_MODULE_RELATIVE_PATH := hw
24 |
25 | LOCAL_SRC_FILES := \
26 | DumpstateDevice.cpp \
27 | service.cpp
28 |
29 | LOCAL_SHARED_LIBRARIES := \
30 | android.hardware.dumpstate@1.0 \
31 | android.hardware.dumpstate@1.1 \
32 | libbase \
33 | libcutils \
34 | libdumpstateutil \
35 | libhidlbase \
36 | liblog \
37 | libutils
38 |
39 | LOCAL_CFLAGS := -Werror -Wall
40 |
41 | LOCAL_MODULE_TAGS := optional
42 | LOCAL_PROPRIETARY_MODULE := true
43 |
44 | include $(BUILD_EXECUTABLE)
45 |
--------------------------------------------------------------------------------
/dumpstate/android.hardware.dumpstate@1.1-service.crosshatch.rc:
--------------------------------------------------------------------------------
1 | service vendor.dumpstate-1-1 /vendor/bin/hw/android.hardware.dumpstate@1.1-service.crosshatch
2 | class hal
3 | user system
4 | group system vendor_rfs
5 | interface android.hardware.dumpstate@1.0::IDumpstateDevice default
6 | interface android.hardware.dumpstate@1.1::IDumpstateDevice default
7 | oneshot
8 | disabled
9 |
10 | on boot
11 | chmod 0444 /sys/kernel/debug/tzdbg/qsee_log
12 |
--------------------------------------------------------------------------------
/factory-images_blueline/generate-factory-images-package.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Copyright 2018 The Android Open Source Project
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | source ../../../common/clear-factory-images-variables.sh
18 | BUILD=4779185
19 | DEVICE=blueline
20 | PRODUCT=blueline
21 | VERSION=ppr1.180514.001
22 | SRCPREFIX=signed-
23 | BOOTLOADER=b1c1-0.1-4772579
24 | RADIO=g845-00008-180429-B-4752067
25 | source ../../../common/generate-factory-images-common.sh
26 |
--------------------------------------------------------------------------------
/factory-images_crosshatch/generate-factory-images-package.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Copyright 2018 The Android Open Source Project
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | source ../../../common/clear-factory-images-variables.sh
18 | BUILD=4779185
19 | DEVICE=crosshatch
20 | PRODUCT=crosshatch
21 | VERSION=ppr1.180514.001
22 | SRCPREFIX=signed-
23 | BOOTLOADER=b1c1-0.1-4772579
24 | RADIO=g845-00008-180429-B-4752067
25 | source ../../../common/generate-factory-images-common.sh
26 |
--------------------------------------------------------------------------------
/framework_manifest_userdebug.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | vendor.qti.hardware.radio.atcmdfwd
4 | hwbinder
5 | 1.0
6 |
7 | IAtCmdFwd
8 | AtCmdFwdService
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/fstab.persist:
--------------------------------------------------------------------------------
1 | # Keep persist in an fstab file, since we need to run fsck on it after abnormal shutdown.
2 |
3 | #
4 | /dev/block/platform/soc/1d84000.ufshc/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,noatime,barrier=1 wait
5 |
--------------------------------------------------------------------------------
/fuzzy_fastboot/.gitignore:
--------------------------------------------------------------------------------
1 | *.img
2 |
--------------------------------------------------------------------------------
/fuzzy_fastboot/checksum_parser.py:
--------------------------------------------------------------------------------
1 | '''
2 | Some bootloader's support hashing partitions. This is a great feature for testing
3 | correctness. However, the format for the way the hash is returned depends on the
4 | implementation. The hash could be send through an INFO response, or be as part
5 | of the OKAY response itself. This script is called with the first argument
6 | as the string mesage from the okay response. The second argument is each
7 | info response joined by newlines into one argument.
8 | '''
9 |
10 | import sys
11 |
12 |
13 | def main():
14 | '''
15 | Data is sent back to the parent fuzzy_fastboot process through the stderr pipe.
16 | There are two interpretations of this data by FF.
17 |
18 | 0 return code:
19 | Anything written to STDERR will be interpreted as part of the hash.
20 |
21 | non-zero return code:
22 | Anything written to STDERR is part of the error message that will logged by FF
23 | to explain why hash extraction failed.
24 |
25 | Feel free to print to to STDOUT with print() as usual to print info to console
26 | '''
27 | script, response, info = sys.argv
28 | # the info responses are concated by newlines
29 | infos = [s.strip() for s in info.splitlines()]
30 | sys.stderr.write(infos[-1])
31 | #print("Extracted checksum: '%s'" % infos[-1])
32 | # non-zero return code signals error
33 | return 0
34 |
35 |
36 | if __name__ == "__main__":
37 | sys.exit(main())
38 |
--------------------------------------------------------------------------------
/fuzzy_fastboot/validator.py:
--------------------------------------------------------------------------------
1 | '''
2 | This is an example validator to be used with oem commands that allow you to
3 | upload data afterwards that you wish to validate locally.
4 | '''
5 | import sys
6 | import os
7 | import hashlib
8 |
9 | def eprint(msg):
10 | '''
11 | A helper function for logging error messages to fuzzy_fastboot
12 | Use this function as you would "print()"
13 | '''
14 | sys.stderr.write(msg + '\n')
15 |
16 |
17 | def main():
18 | '''
19 | Data is sent back to the parent fuzzy_fastboot process through the stderr pipe.
20 |
21 | If this script has a non-zero return code, anything written to STDERR is part of
22 | the error message that will logged by FF to explain why this validation failed.
23 |
24 | Feel free to print to to STDOUT with print() as usual to print info to console
25 | '''
26 | if len(sys.argv) != 3:
27 | eprint("This script is intended to be called by fuzzy_fastboot")
28 | return -1
29 |
30 | script, command, fname = sys.argv
31 |
32 | with open(fname, "rb") as fd:
33 | buf = fd.read()
34 | sha = buf[0x10:0x30]
35 | tlvs = buf[0x30:]
36 | hash = hashlib.sha256(tlvs)
37 | # Assert the hash matches
38 | pretty = "".join("{:02x}".format(ord(c)) for c in sha)
39 | if hash.digest() != sha:
40 | eprint("'%s' does not match '%s'" % (hash.hexdigest(), pretty))
41 | assert hash.digest() == sha
42 |
43 | # non-zero return code signals error
44 | return 0
45 |
46 |
47 | if __name__ == "__main__":
48 | sys.exit(main())
49 |
--------------------------------------------------------------------------------
/health/android.hardware.health@2.0-service.crosshatch.rc:
--------------------------------------------------------------------------------
1 | service vendor.health-hal-2-0 /vendor/bin/hw/android.hardware.health@2.0-service.crosshatch
2 | class hal
3 | user system
4 | group system
5 | file /dev/kmsg w
6 |
--------------------------------------------------------------------------------
/init.firstboot.sh:
--------------------------------------------------------------------------------
1 | #!/vendor/bin/sh
2 |
3 | # Init starts this script in the factory, to trigger shutdown after
4 | # setupwizard has started, and USB is removed.
5 |
6 | # wait for system to settle down after sys.boot_complete
7 | sleep 5
8 |
9 | # Wait for USB to be removed, debounce it three times in case it's enumerating still.
10 | disconnect_count=0
11 | while [ disconnect_count -le 3 ]; do
12 | type=`cat /sys/class/power_supply/usb/typec_mode`
13 | if [ "x$type" == "xNothing attached" ]; then
14 | (( disconnect_count++ ))
15 | echo disconnect count is $disconnect_count
16 | else
17 | # Restart the debounce count
18 | disconnect_count=0
19 | fi
20 | sleep 1
21 | done
22 |
23 | # Shutdown
24 | setprop sys.powerctl reboot,packout
25 |
--------------------------------------------------------------------------------
/init.hardware.mpssrfs.rc.user:
--------------------------------------------------------------------------------
1 | on post-fs-data
2 | # Modem Remote FS
3 | mkdir /data/vendor/rfs 0770 vendor_rfs system
4 | mkdir /data/vendor/rfs/mpss 0770 vendor_rfs system
5 | mkdir /data/vendor/tombstones/rfs 0770 vendor_rfs system
6 |
--------------------------------------------------------------------------------
/init.hardware.mpssrfs.rc.userdebug:
--------------------------------------------------------------------------------
1 | on post-fs-data
2 | # Modem Remote FS
3 | mkdir /data/vendor/rfs 0770 vendor_rfs system
4 | mkdir /data/vendor/rfs/mpss 0770 vendor_rfs system
5 | mkdir /data/vendor/tombstones/rfs 0770 vendor_rfs system
6 | write /data/vendor/rfs/mpss/mcfg_nv_list_flag "1"
7 | chown vendor_rfs vendor_rfs /data/vendor/rfs/mpss/mcfg_nv_list_flag
8 | chmod 0700 /data/vendor/rfs/mpss/mcfg_nv_list_flag
9 |
10 | on property:vendor.sys.modem.diag.efsdump=true
11 | chmod 0660 /data/vendor/rfs/mpss/modem_efs
12 |
--------------------------------------------------------------------------------
/init.hardware.wlc.rc.userdebug:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 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 | on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=1
18 | write /sys/class/power_supply/dc/current_max 75000
19 |
20 | on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=0
21 | write /sys/class/power_supply/dc/current_max 1100000
22 |
23 | on property:vendor.disable.wlc=1
24 | write /sys/class/power_supply/wireless/online 0
25 |
--------------------------------------------------------------------------------
/init.insmod.blueline.cfg:
--------------------------------------------------------------------------------
1 | #############################################
2 | # init.insmod.cfg #
3 | # This file contains kernel modules to load #
4 | # at init time by init.insmod.sh script #
5 | #############################################
6 |
7 | # WiFi Driver module
8 | insmod /vendor/lib/modules/wlan.ko
9 |
10 | # Audio modules
11 | insmod /vendor/lib/modules/pinctrl-wcd.ko
12 | insmod /vendor/lib/modules/wcd-core.ko
13 | insmod /vendor/lib/modules/wcd-dsp-glink.ko
14 | insmod /vendor/lib/modules/snd-soc-wcd9xxx.ko
15 | insmod /vendor/lib/modules/snd-soc-wcd934x.ko
16 | insmod /vendor/lib/modules/snd-soc-wcd-spi.ko
17 | insmod /vendor/lib/modules/snd-soc-cs35l36.ko
18 | insmod /vendor/lib/modules/snd-soc-sdm845.ko
19 |
20 | # Touch
21 | insmod /vendor/lib/modules/videobuf2-memops.ko
22 | insmod /vendor/lib/modules/videobuf2-vmalloc.ko
23 | insmod /vendor/lib/modules/heatmap.ko
24 | insmod /vendor/lib/modules/ftm5.ko
25 |
--------------------------------------------------------------------------------
/init.insmod.crosshatch.cfg:
--------------------------------------------------------------------------------
1 | #############################################
2 | # init.insmod.cfg #
3 | # This file contains kernel modules to load #
4 | # at init time by init.insmod.sh script #
5 | #############################################
6 |
7 | # WiFi Driver module
8 | insmod /vendor/lib/modules/wlan.ko
9 |
10 | # Audio modules
11 | insmod /vendor/lib/modules/pinctrl-wcd.ko
12 | insmod /vendor/lib/modules/wcd-core.ko
13 | insmod /vendor/lib/modules/wcd-dsp-glink.ko
14 | insmod /vendor/lib/modules/snd-soc-wcd9xxx.ko
15 | insmod /vendor/lib/modules/snd-soc-wcd934x.ko
16 | insmod /vendor/lib/modules/snd-soc-wcd-spi.ko
17 | insmod /vendor/lib/modules/snd-soc-cs35l36.ko
18 | insmod /vendor/lib/modules/snd-soc-sdm845.ko
19 |
20 | # Touch
21 | insmod /vendor/lib/modules/videobuf2-memops.ko
22 | insmod /vendor/lib/modules/videobuf2-vmalloc.ko
23 | insmod /vendor/lib/modules/heatmap.ko
24 | insmod /vendor/lib/modules/sec_touch.ko
25 |
--------------------------------------------------------------------------------
/init.insmod.sh:
--------------------------------------------------------------------------------
1 | #! /vendor/bin/sh
2 |
3 | #########################################
4 | ### init.insmod.cfg format: ###
5 | ### --------------------------------- ###
6 | ### [insmod|setprop] [path|prop name] ###
7 | ### ... ###
8 | #########################################
9 |
10 | cfg_file="/vendor/etc/init.insmod.cfg"
11 |
12 | if [ -f $cfg_file ]; then
13 | while IFS=" " read -r action name
14 | do
15 | case $action in
16 | "insmod") insmod $name ;;
17 | "setprop") setprop $name 1 ;;
18 | esac
19 | done < $cfg_file
20 | fi
21 |
22 | # set property even if there is no insmod config
23 | # as property value "1" is expected in early-boot trigger
24 | setprop vendor.all.modules.ready 1
25 |
--------------------------------------------------------------------------------
/init.logging.rc:
--------------------------------------------------------------------------------
1 | on post-fs-data
2 | mkdir /data/vendor/modem_dump 0777 system system
3 | mkdir /data/vendor/radio/diag_logs/logs 0777 system system
4 | mkdir /data/vendor/radio/extended_logs 0770 system radio
5 |
--------------------------------------------------------------------------------
/init.qcom.devstart.sh:
--------------------------------------------------------------------------------
1 | #! /vendor/bin/sh
2 |
3 | # Initialize Edge Sense.
4 | /vendor/bin/init.edge_sense.sh
5 |
6 | echo 1 > /sys/kernel/boot_slpi/boot
7 | setprop vendor.qcom.devup 1
8 | log SLPI boot started.
9 |
10 | version=`grep -ao "OEM_IMAGE_VERSION_STRING[ -~]*" \
11 | /vendor/firmware/slpi.b04 | \
12 | sed -e s/OEM_IMAGE_VERSION_STRING=SLPI.version.// -e s/\(.*\).//`
13 | setprop vendor.sys.slpi.firmware.version "$version"
14 |
--------------------------------------------------------------------------------
/init.qcom.ipastart.sh:
--------------------------------------------------------------------------------
1 | #! /vendor/bin/sh
2 |
3 | echo 1 > /dev/ipa
4 |
--------------------------------------------------------------------------------
/init.ramoops.sh:
--------------------------------------------------------------------------------
1 | #!/vendor/bin/sh
2 |
3 | # Decrypt the keys and write them to the kernel
4 | ramoops -D
5 |
6 | if [ $? -eq 0 ]; then
7 | # Pivot (and decrypt)
8 | echo 1 > /sys/devices/virtual/ramoops/pstore/use_alt
9 | else
10 | setprop vendor.ramoops.decryption.error $?
11 | fi
12 |
13 | # Trigger remount of pstore regardless of decryption state
14 | setprop vendor.ramoops.decrypted true
15 |
16 | # Generate keys (if none exist), and load the keys to carveout
17 | ramoops -g -l -c
18 |
19 |
--------------------------------------------------------------------------------
/init.recovery.hardware.device.rc:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2017 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 | import /init.recovery.${ro.boot.hardware.platform}.rc
--------------------------------------------------------------------------------
/init.recovery.hardware.rc:
--------------------------------------------------------------------------------
1 | import /init.recovery.twrp.rc
2 |
3 | on fs
4 | wait /dev/block/platform/soc/${ro.boot.bootdevice}
5 | symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
6 |
7 | on init
8 | # Don't lose recovery logs- keep warm reset for coming out of recovery.
9 | write /sys/module/msm_poweroff/parameters/warm_reset 1
10 | # Enable thermal mitigation
11 | write /sys/devices/virtual/thermal/tz-by-name/backup-charge/mode enabled
12 |
--------------------------------------------------------------------------------
/json-c/AUTHORS:
--------------------------------------------------------------------------------
1 | Michael Clark
2 | Jehiah Czebotar
3 | Eric Haszlakiewicz
4 | C. Watford (christopher.watford@gmail.com)
5 |
6 |
--------------------------------------------------------------------------------
/json-c/Android.configure.mk:
--------------------------------------------------------------------------------
1 | # This file is the top android makefile for all sub-modules.
2 |
3 | LOCAL_PATH := $(call my-dir)
4 | include $(CLEAR_VARS)
5 |
6 | json_c_TOP := $(LOCAL_PATH)
7 |
8 | JSON_C_BUILT_SOURCES := Android.mk
9 |
10 | JSON_C_BUILT_SOURCES := $(patsubst %, $(abspath $(json_c_TOP))/%, $(JSON_C_BUILT_SOURCES))
11 |
12 | .PHONY: json-c-configure json-c-configure-real
13 | json-c-configure-real:
14 | echo $(JSON_C_BUILT_SOURCES)
15 | cd $(json_c_TOP) ; \
16 | $(abspath $(json_c_TOP))/autogen.sh && \
17 | CC="$(CONFIGURE_CC)" \
18 | CFLAGS="$(CONFIGURE_CFLAGS)" \
19 | LD=$(TARGET_LD) \
20 | LDFLAGS="$(CONFIGURE_LDFLAGS)" \
21 | CPP=$(CONFIGURE_CPP) \
22 | CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
23 | PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
24 | PKG_CONFIG_TOP_BUILD_DIR=/ \
25 | ac_cv_func_malloc_0_nonnull=yes \
26 | ac_cv_func_realloc_0_nonnull=yes \
27 | $(abspath $(json_c_TOP))/$(CONFIGURE) --host=$(CONFIGURE_HOST) \
28 | --prefix=/system \
29 | && \
30 | for file in $(JSON_C_BUILT_SOURCES); do \
31 | rm -f $$file && \
32 | make -C $$(dirname $$file) $$(basename $$file) ; \
33 | done
34 |
35 | json-c-configure: json-c-configure-real
36 |
37 | PA_CONFIGURE_TARGETS += json-c-configure
38 |
39 | -include $(json_c_TOP)/Android.mk
40 |
--------------------------------------------------------------------------------
/json-c/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 | include $(CLEAR_VARS)
3 | LOCAL_MODULE := libjson
4 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT legacy_unencumbered
5 | LOCAL_LICENSE_CONDITIONS := notice unencumbered
6 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/COPYING
7 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
8 | LOCAL_SRC_FILES := arraylist.c \
9 | debug.c \
10 | json_c_version.c \
11 | json_object.c \
12 | json_object_iterator.c \
13 | json_tokener.c \
14 | json_util.c \
15 | libjson.c \
16 | linkhash.c \
17 | printbuf.c \
18 | random_seed.c
19 | LOCAL_SHARED_LIBRARIES := libcutils libutils
20 | LOCAL_MODULE_TAG := optional
21 | LOCAL_VENDOR_MODULE := true
22 | include $(BUILD_SHARED_LIBRARY)
23 |
--------------------------------------------------------------------------------
/json-c/ChangeLog:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/json-c/ChangeLog
--------------------------------------------------------------------------------
/json-c/Makefile.am.inc:
--------------------------------------------------------------------------------
1 | AM_CFLAGS = -Wall -Werror -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
2 |
3 |
--------------------------------------------------------------------------------
/json-c/README:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/json-c/README
--------------------------------------------------------------------------------
/json-c/README.md:
--------------------------------------------------------------------------------
1 | `json-c`
2 | ========
3 |
4 | Building on Unix with `git`, `gcc` and `autotools`
5 | --------------------------------------------------
6 |
7 | Home page for json-c: https://github.com/json-c/json-c/wiki
8 |
9 | Caution: do **NOT** use sources from svn.metaparadigm.com,
10 | they are old.
11 |
12 | Prerequisites:
13 |
14 | - `gcc`, `clang`, or another C compiler
15 | - `libtool`
16 |
17 | If you're not using a release tarball, you'll also need:
18 |
19 | - `autoconf` (`autoreconf`)
20 | - `automake`
21 |
22 | Make sure you have a complete `libtool` install, including `libtoolize`.
23 |
24 | `json-c` GitHub repo: https://github.com/json-c/json-c
25 |
26 | ```bash
27 | $ git clone https://github.com/json-c/json-c.git
28 | $ cd json-c
29 | $ sh autogen.sh
30 | ```
31 |
32 | followed by
33 |
34 | ```bash
35 | $ ./configure
36 | $ make
37 | $ make install
38 | ```
39 |
40 | To build and run the test programs:
41 |
42 | ```bash
43 | $ make check
44 | ```
45 |
46 | Linking to `libjson-c`
47 | ----------------------
48 |
49 | If your system has `pkgconfig`,
50 | then you can just add this to your `makefile`:
51 |
52 | ```make
53 | CFLAGS += $(shell pkg-config --cflags json-c)
54 | LDFLAGS += $(shell pkg-config --libs json-c)
55 | ```
56 |
57 | Without `pkgconfig`, you would do something like this:
58 |
59 | ```make
60 | JSON_C_DIR=/path/to/json_c/install
61 | CFLAGS += -I$(JSON_C_DIR)/include/json-c
62 | LDFLAGS+= -L$(JSON_C_DIR)/lib -ljson-c
63 | ```
64 |
--------------------------------------------------------------------------------
/json-c/arraylist.h:
--------------------------------------------------------------------------------
1 | /*
2 | * $Id: arraylist.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
3 | *
4 | * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5 | * Michael Clark
6 | *
7 | * This library is free software; you can redistribute it and/or modify
8 | * it under the terms of the MIT license. See COPYING for details.
9 | *
10 | */
11 |
12 | #ifndef _arraylist_h_
13 | #define _arraylist_h_
14 |
15 | #ifdef __cplusplus
16 | extern "C" {
17 | #endif
18 |
19 | #define ARRAY_LIST_DEFAULT_SIZE 32
20 |
21 | typedef void (array_list_free_fn) (void *data);
22 |
23 | struct array_list
24 | {
25 | void **array;
26 | int length;
27 | int size;
28 | array_list_free_fn *free_fn;
29 | };
30 |
31 | extern struct array_list*
32 | array_list_new(array_list_free_fn *free_fn);
33 |
34 | extern void
35 | array_list_free(struct array_list *al);
36 |
37 | extern void*
38 | array_list_get_idx(struct array_list *al, int i);
39 |
40 | extern int
41 | array_list_put_idx(struct array_list *al, int i, void *data);
42 |
43 | extern int
44 | array_list_add(struct array_list *al, void *data);
45 |
46 | extern int
47 | array_list_length(struct array_list *al);
48 |
49 | extern void
50 | array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
51 |
52 | #ifdef __cplusplus
53 | }
54 | #endif
55 |
56 | #endif
57 |
--------------------------------------------------------------------------------
/json-c/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | autoreconf -v --install || exit 1
3 |
4 | # If there are any options, assume the user wants to run configure.
5 | # To run configure w/o any options, use ./autogen.sh --configure
6 | if [ $# -gt 0 ] ; then
7 | case "$1" in
8 | --conf*)
9 | shift 1
10 | ;;
11 | esac
12 | exec ./configure "$@"
13 | fi
14 |
--------------------------------------------------------------------------------
/json-c/bits.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file
3 | * @deprecated Use json_util.h instead.
4 | *
5 | * $Id: bits.h,v 1.10 2006/01/30 23:07:57 mclark Exp $
6 | *
7 | * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
8 | * Michael Clark
9 | *
10 | * This library is free software; you can redistribute it and/or modify
11 | * it under the terms of the MIT license. See COPYING for details.
12 | *
13 | */
14 |
15 | #ifndef _bits_h_
16 | #define _bits_h_
17 |
18 | /**
19 | * @deprecated
20 | */
21 | #define hexdigit(x) (((x) <= '9') ? (x) - '0' : ((x) & 7) + 9)
22 | /**
23 | * @deprecated
24 | */
25 | #define error_ptr(error) ((void*)error)
26 | /**
27 | * @deprecated
28 | */
29 | #define error_description(error) (json_tokener_get_error(error))
30 | /**
31 | * @deprecated
32 | */
33 | #define is_error(ptr) (ptr == NULL)
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/json-c/check.log:
--------------------------------------------------------------------------------
1 | HEAD is now at 6442a2f... json-c: Add libjson to the vendor image
2 | HEAD is now at 6442a2f... json-c: Add libjson to the vendor image
3 |
--------------------------------------------------------------------------------
/json-c/json-c-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | prefix=
2 | exec_prefix=
3 | libdir=@abs_top_builddir@
4 | includedir=@abs_top_srcdir@
5 |
6 | Name: json
7 | Description: JSON implementation in C
8 | Version: @VERSION@
9 | Requires:
10 | Libs: -L@abs_top_builddir@ -ljson-c
11 | Cflags: -I@abs_top_srcdir@
12 |
--------------------------------------------------------------------------------
/json-c/json-c.pc.in:
--------------------------------------------------------------------------------
1 | prefix=@prefix@
2 | exec_prefix=@exec_prefix@
3 | libdir=@libdir@
4 | includedir=@includedir@
5 |
6 | Name: json-c
7 | Description: JSON implementation in C
8 | Version: @VERSION@
9 | Requires:
10 | Libs: -L${libdir} -ljson-c
11 | Cflags: -I${includedir}/json-c
12 |
--------------------------------------------------------------------------------
/json-c/json.h:
--------------------------------------------------------------------------------
1 | /*
2 | * $Id: json.h,v 1.6 2006/01/26 02:16:28 mclark Exp $
3 | *
4 | * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5 | * Michael Clark
6 | * Copyright (c) 2009 Hewlett-Packard Development Company, L.P.
7 | *
8 | * This library is free software; you can redistribute it and/or modify
9 | * it under the terms of the MIT license. See COPYING for details.
10 | *
11 | */
12 |
13 | #ifndef _json_h_
14 | #define _json_h_
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | #include "debug.h"
21 | #include "linkhash.h"
22 | #include "arraylist.h"
23 | #include "json_util.h"
24 | #include "json_object.h"
25 | #include "json_tokener.h"
26 | #include "json_object_iterator.h"
27 | #include "json_c_version.h"
28 |
29 | #ifdef __cplusplus
30 | }
31 | #endif
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/json-c/json_c_version.c:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 Eric Haszlakiewicz
3 | *
4 | * This library is free software; you can redistribute it and/or modify
5 | * it under the terms of the MIT license. See COPYING for details.
6 | */
7 | #include "config.h"
8 |
9 | #include "json_c_version.h"
10 |
11 | const char *json_c_version(void)
12 | {
13 | return JSON_C_VERSION;
14 | }
15 |
16 | int json_c_version_num(void)
17 | {
18 | return JSON_C_VERSION_NUM;
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/json-c/json_c_version.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2012 Eric Haszlakiewicz
3 | *
4 | * This library is free software; you can redistribute it and/or modify
5 | * it under the terms of the MIT license. See COPYING for details.
6 | */
7 |
8 | #ifndef _json_c_version_h_
9 | #define _json_c_version_h_
10 |
11 | #define JSON_C_MAJOR_VERSION 0
12 | #define JSON_C_MINOR_VERSION 12
13 | #define JSON_C_MICRO_VERSION 99
14 | #define JSON_C_VERSION_NUM ((JSON_C_MAJOR_VERSION << 16) | \
15 | (JSON_C_MINOR_VERSION << 8) | \
16 | JSON_C_MICRO_VERSION)
17 | #define JSON_C_VERSION "0.12.99"
18 |
19 | const char *json_c_version(void); /* Returns JSON_C_VERSION */
20 | int json_c_version_num(void); /* Returns JSON_C_VERSION_NUM */
21 |
22 | #endif
23 |
--------------------------------------------------------------------------------
/json-c/json_config.h:
--------------------------------------------------------------------------------
1 | /* json_config.h. Generated from json_config.h.in by configure. */
2 |
3 | /* Define to 1 if you have the header file. */
4 | #define JSON_C_HAVE_INTTYPES_H 1
5 |
--------------------------------------------------------------------------------
/json-c/json_config.h.in:
--------------------------------------------------------------------------------
1 |
2 | /* Define to 1 if you have the header file. */
3 | #undef JSON_C_HAVE_INTTYPES_H
4 |
--------------------------------------------------------------------------------
/json-c/json_inttypes.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef _json_inttypes_h_
3 | #define _json_inttypes_h_
4 |
5 | #include "json_config.h"
6 |
7 | #if defined(_MSC_VER) && _MSC_VER <= 1700
8 |
9 | /* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
10 | typedef __int32 int32_t;
11 | #define INT32_MIN ((int32_t)_I32_MIN)
12 | #define INT32_MAX ((int32_t)_I32_MAX)
13 | typedef __int64 int64_t;
14 | #define INT64_MIN ((int64_t)_I64_MIN)
15 | #define INT64_MAX ((int64_t)_I64_MAX)
16 | #define PRId64 "I64d"
17 | #define SCNd64 "I64d"
18 |
19 | #else
20 |
21 | #ifdef JSON_C_HAVE_INTTYPES_H
22 | #include
23 | #endif
24 | /* inttypes.h includes stdint.h */
25 |
26 | #endif
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/json-c/json_object_private.h:
--------------------------------------------------------------------------------
1 | /*
2 | * $Id: json_object_private.h,v 1.4 2006/01/26 02:16:28 mclark Exp $
3 | *
4 | * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5 | * Michael Clark
6 | *
7 | * This library is free software; you can redistribute it and/or modify
8 | * it under the terms of the MIT license. See COPYING for details.
9 | *
10 | */
11 |
12 | #ifndef _json_object_private_h_
13 | #define _json_object_private_h_
14 |
15 | #ifdef __cplusplus
16 | extern "C" {
17 | #endif
18 |
19 | typedef void (json_object_private_delete_fn)(struct json_object *o);
20 |
21 | struct json_object
22 | {
23 | enum json_type o_type;
24 | json_object_private_delete_fn *_delete;
25 | json_object_to_json_string_fn *_to_json_string;
26 | int _ref_count;
27 | struct printbuf *_pb;
28 | union data {
29 | json_bool c_boolean;
30 | double c_double;
31 | int64_t c_int64;
32 | struct lh_table *c_object;
33 | struct array_list *c_array;
34 | struct {
35 | char *str;
36 | int len;
37 | } c_string;
38 | } o;
39 | json_object_delete_fn *_user_delete;
40 | void *_userdata;
41 | };
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/json-c/json_util.h:
--------------------------------------------------------------------------------
1 | /*
2 | * $Id: json_util.h,v 1.4 2006/01/30 23:07:57 mclark Exp $
3 | *
4 | * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5 | * Michael Clark
6 | *
7 | * This library is free software; you can redistribute it and/or modify
8 | * it under the terms of the MIT license. See COPYING for details.
9 | *
10 | */
11 |
12 | #ifndef _json_util_h_
13 | #define _json_util_h_
14 |
15 | #include "json_object.h"
16 |
17 | #ifndef json_min
18 | #define json_min(a,b) ((a) < (b) ? (a) : (b))
19 | #endif
20 |
21 | #ifndef json_max
22 | #define json_max(a,b) ((a) > (b) ? (a) : (b))
23 | #endif
24 |
25 |
26 | #ifdef __cplusplus
27 | extern "C" {
28 | #endif
29 |
30 | #define JSON_FILE_BUF_SIZE 4096
31 |
32 | /* utility functions */
33 | extern struct json_object* json_object_from_file(const char *filename);
34 | extern int json_object_to_file(const char *filename, struct json_object *obj);
35 | extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
36 | extern int json_parse_int64(const char *buf, int64_t *retval);
37 | extern int json_parse_double(const char *buf, double *retval);
38 |
39 |
40 | /**
41 | * Return a string describing the type of the object.
42 | * e.g. "int", or "object", etc...
43 | */
44 | extern const char *json_type_to_name(enum json_type o_type);
45 |
46 | #ifdef __cplusplus
47 | }
48 | #endif
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/json-c/libjson.c:
--------------------------------------------------------------------------------
1 |
2 | /* dummy source file for compatibility purposes */
3 |
4 | #if defined(HAVE_CDEFS_H)
5 | #include
6 | #endif
7 |
8 | #ifndef __warn_references
9 |
10 | #if defined(__GNUC__) && defined (HAS_GNU_WARNING_LONG)
11 |
12 | #define __warn_references(sym,msg) \
13 | __asm__(".section .gnu" #sym ",\n\t.ascii \"" msg "\"\n\t.text");
14 |
15 | #else
16 | #define __warn_references(sym,msg) /* nothing */
17 | #endif
18 |
19 | #endif
20 |
21 | #include "json_object.h"
22 |
23 | __warn_references(json_object_get, "Warning: please link against libjson-c instead of libjson");
24 |
25 | /* __asm__(".section .gnu.warning." __STRING(sym) \
26 | " ; .ascii \"" msg "\" ; .text") */
27 |
--------------------------------------------------------------------------------
/json-c/math_compat.h:
--------------------------------------------------------------------------------
1 | #ifndef __math_compat_h
2 | #define __math_compat_h
3 |
4 | /* Define isnan and isinf on Windows/MSVC */
5 |
6 | #ifndef HAVE_DECL_ISNAN
7 | # ifdef HAVE_DECL__ISNAN
8 | #include
9 | #define isnan(x) _isnan(x)
10 | # endif
11 | #endif
12 |
13 | #ifndef HAVE_DECL_ISINF
14 | # ifdef HAVE_DECL__FINITE
15 | #include
16 | #define isinf(x) (!_finite(x))
17 | # endif
18 | #endif
19 |
20 | #ifndef HAVE_DECL_NAN
21 | #error This platform does not have nan()
22 | #endif
23 |
24 | #ifndef HAVE_DECL_INFINITY
25 | #error This platform does not have INFINITY
26 | #endif
27 |
28 | #endif
29 |
--------------------------------------------------------------------------------
/json-c/random_seed.h:
--------------------------------------------------------------------------------
1 | /*
2 | * random_seed.h
3 | *
4 | * Copyright (c) 2013 Metaparadigm Pte. Ltd.
5 | * Michael Clark
6 | *
7 | * This library is free software; you can redistribute it and/or modify
8 | * it under the terms of the MIT license. See COPYING for details.
9 | *
10 | */
11 |
12 | #ifndef seed_h
13 | #define seed_h
14 |
15 | #ifdef __cplusplus
16 | extern "C" {
17 | #endif
18 |
19 | extern int json_c_get_random_seed();
20 |
21 | #ifdef __cplusplus
22 | }
23 | #endif
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/keymaster/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2018 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 | package {
17 | default_applicable_licenses: ["Android-Apache-2.0"],
18 | }
19 |
20 | cc_binary {
21 | name: "wait_for_strongbox",
22 | relative_install_path: "hw",
23 | srcs: [ "wait_for_strongbox.cpp" ],
24 | cflags: [ "-Werror", "-Wall" ],
25 | shared_libs: [
26 | "android.hardware.keymaster@4.1",
27 | "libbase",
28 | "libkeymaster4_1support",
29 | "libutils",
30 | ],
31 | proprietary: true,
32 | }
33 |
--------------------------------------------------------------------------------
/media_codecs.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/mixer_paths_tavil_c1.xml:
--------------------------------------------------------------------------------
1 | mixer_paths_tavil_b1.xml
--------------------------------------------------------------------------------
/nfc/com.google.hardware.pixel.japan.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/nfc/libese-nxp.conf:
--------------------------------------------------------------------------------
1 | ##This file needs to be pushed into /vendor/etc/libese-nxp.conf
2 |
3 | ###############################################################################
4 | # Application options
5 | SE_DEBUG_ENABLED=0
6 |
7 |
8 | #Timeout in secs
9 | NXP_SWP_RD_TAG_OP_TIMEOUT=0xFF
10 |
11 | #WTX Count in secs
12 | NXP_WTX_COUNT_VALUE=90
13 |
14 | # PN67T_PWR_SCHEME 0x01
15 | # PN80T_LEGACY_PWR_SCHEME 0x02
16 | # PN80T_EXT_PMU_SCHEME 0x03
17 | NXP_POWER_SCHEME=0x02
18 |
19 | # For SOF = 0x5A 0x01
20 | # For SOF = 0x00 0x02
21 | NXP_SOF_WRITE=0x01
22 |
23 | #SPI Thorughput measurement log enabled(1)/disabled(0) in kernel
24 | NXP_TP_MEASUREMENT=0x00
25 |
26 | #Enable/Disable interface reset as part of SPI open
27 | NXP_SPI_INTF_RST_ENABLE=0x01
28 |
29 | ###############################################################################
30 | # SPI WRITE TIMEOUT for RF event synchronization
31 | NXP_SPI_WRITE_TIMEOUT=0x14
32 |
33 | ###############################################################################
34 | # SPI Device Node name
35 | NXP_ESE_DEV_NODE="/dev/pn81a"
36 |
37 | #MAX NO OF R_NACK RETRY ALLOWED IN CASE OF CRC FAILURE
38 | NXP_MAX_RNACK_RETRY=0x0A
39 |
--------------------------------------------------------------------------------
/nfc/manifest_se_SIM1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.secure_element
4 | hwbinder
5 | 1.0
6 |
7 | ISecureElement
8 | SIM1
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/nfc/manifest_se_eSE1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.secure_element
4 | hwbinder
5 | @1.0::ISecureElement/SIM1
6 | @1.1::ISecureElement/eSE1
7 |
8 |
9 | vendor.nxp.nxpese
10 | hwbinder
11 | 1.0
12 |
13 | INxpEse
14 | default
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
24 | Pixel
25 |
26 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/core/res/res/values/symbols.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/overlay/frameworks/base/packages/SettingsLib/res/values-mcc440-mnc20/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 |
23 |
25 | false
26 |
27 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Nfc/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 | false
18 | 10
19 | 2000
20 | https://support.google.com/pixelphone?p=nfc_tag_notification
21 |
22 | - G013A
23 | - G013B
24 | - G013C
25 | - G013D
26 |
27 |
28 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values-mcc262-mnc01/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | WLAN Call
22 |
23 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/bools.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
19 | false
20 |
21 |
--------------------------------------------------------------------------------
/overlay/packages/apps/Settings/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
18 |
22 | true
23 |
24 |
--------------------------------------------------------------------------------
/overlay/packages/services/Telecom/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
19 |
20 |
21 | false
22 |
23 |
--------------------------------------------------------------------------------
/p2p_supplicant_overlay.conf:
--------------------------------------------------------------------------------
1 | disable_scan_offload=1
2 | p2p_go_vht=1
3 |
--------------------------------------------------------------------------------
/permissions/com.google.hardware.camera.easel_2018.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pixelstats/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2017 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 | package {
17 | default_applicable_licenses: ["Android-Apache-2.0"],
18 | }
19 |
20 | cc_binary {
21 | name: "pixelstats-vendor",
22 | init_rc: ["pixelstats-vendor.crosshatch.rc"],
23 | srcs: [
24 | "service.cpp",
25 | ],
26 | shared_libs: [
27 | "libbase",
28 | "liblog",
29 | "libutils",
30 | "libpixelstats",
31 | ],
32 | proprietary: true,
33 | static_libs: ["chre_client"],
34 | header_libs: ["chre_api"],
35 | }
36 |
--------------------------------------------------------------------------------
/pixelstats/pixelstats-vendor.crosshatch.rc:
--------------------------------------------------------------------------------
1 | service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
2 | class hal
3 | user system
4 | group system context_hub readproc
5 |
--------------------------------------------------------------------------------
/powerstats/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2018 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 | package {
16 | default_applicable_licenses: ["Android-Apache-2.0"],
17 | }
18 |
19 | cc_binary {
20 | name: "android.hardware.power.stats@1.0-service.pixel",
21 | relative_install_path: "hw",
22 | init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"],
23 | srcs: ["service.cpp"],
24 | cflags: [
25 | "-Wall",
26 | "-Werror",
27 | ],
28 | static_libs: [
29 | "libpixelpowerstats",
30 | ],
31 | shared_libs: [
32 | "libbase",
33 | "libcutils",
34 | "libhidlbase",
35 | "libfmq",
36 | "liblog",
37 | "libutils",
38 | "android.hardware.power.stats@1.0",
39 | "pixelpowerstats_provider_aidl_interface-cpp",
40 | "libbinder",
41 | ],
42 | vendor: true,
43 | }
44 |
--------------------------------------------------------------------------------
/powerstats/android.hardware.power.stats@1.0-service.pixel.rc:
--------------------------------------------------------------------------------
1 | service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
2 | class hal
3 | user system
4 | group system
5 |
--------------------------------------------------------------------------------
/recovery.wipe:
--------------------------------------------------------------------------------
1 | # All the partitions to be wiped (in order) under recovery.
2 | /dev/block/bootdevice/by-name/system_a
3 | /dev/block/bootdevice/by-name/system_b
4 | /dev/block/bootdevice/by-name/product_a
5 | /dev/block/bootdevice/by-name/product_b
6 | /dev/block/bootdevice/by-name/vendor_a
7 | /dev/block/bootdevice/by-name/vendor_b
8 | /dev/block/bootdevice/by-name/userdata
9 | # Wipe the boot partitions last so that all partitions will be wiped
10 | # correctly even if the wiping process gets interrupted by a force boot.
11 | /dev/block/bootdevice/by-name/boot_a
12 | /dev/block/bootdevice/by-name/boot_b
13 |
--------------------------------------------------------------------------------
/recovery/kernel/Image.lz4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/kernel/Image.lz4
--------------------------------------------------------------------------------
/recovery/root/init.recovery.services.qcom_decrypt.fbe.rc:
--------------------------------------------------------------------------------
1 | on property:crypto.ready=1
2 | start vendor.citadeld
3 | start vendor.weaver_hal
4 |
5 | service vendor.citadeld /system/bin/citadeld
6 | disabled
7 | user root
8 | group root
9 | setenv LD_LIBRARY_PATH /vendor/lib64:/vendor/lib:/system/lib64:/system/lib:/sbin
10 | seclabel u:r:recovery:s0
11 |
12 | service vendor.weaver_hal /system/bin/android.hardware.weaver@1.0-service.citadel
13 | disabled
14 | user root
15 | group root
16 | setenv LD_LIBRARY_PATH /vendor/lib64:/vendor/lib:/system/lib64:/system/lib:/sbin
17 | seclabel u:r:recovery:s0
18 |
19 | # Weaver services have to be stopped in order to wipe Titan M during a format data
20 | on property:weaver.stop=1
21 | stop vendor.citadeld
22 | stop vendor.weaver_hal
23 |
--------------------------------------------------------------------------------
/recovery/root/init.recovery.twrp.rc:
--------------------------------------------------------------------------------
1 | import /init.recovery.qcom_decrypt.rc
2 |
3 | on boot
4 | start health-hal-2-0
5 |
6 | on post-fs
7 | start boot-hal-1-0
8 |
9 | on property:twrp.apex.loaded=true
10 | export LD_LIBRARY_PATH /system/lib64:/vendor/lib64:/apex/com.android.runtime/lib64:/apex/com.google.android.media.swcodec/lib64:/apex/com.android.media.swcodec/lib64:/apex/com.android.media.swcodec/lib64/:/apex/com.android.runtime/lib64/:/apex/com.android.art.release/lib64:/apex/com.android.art/lib64/:/apex/com.android.os.statsd/lib64:/apex/com.android.art/lib64
11 |
12 |
--------------------------------------------------------------------------------
/recovery/root/system/bin/android.hardware.gatekeeper@1.0-service-qti:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/android.hardware.gatekeeper@1.0-service-qti
--------------------------------------------------------------------------------
/recovery/root/system/bin/android.hardware.keymaster@4.0-service-qti:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/android.hardware.keymaster@4.0-service-qti
--------------------------------------------------------------------------------
/recovery/root/system/bin/android.hardware.keymaster@4.1-service.citadel:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/android.hardware.keymaster@4.1-service.citadel
--------------------------------------------------------------------------------
/recovery/root/system/bin/android.hardware.weaver@1.0-service.citadel:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/android.hardware.weaver@1.0-service.citadel
--------------------------------------------------------------------------------
/recovery/root/system/bin/citadeld:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/citadeld
--------------------------------------------------------------------------------
/recovery/root/system/bin/qseecomd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/system/bin/qseecomd
--------------------------------------------------------------------------------
/recovery/root/system/etc/fstab.postinstall:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 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 | # Tries to mount system_other as a logical partition. If that fails, then
17 | # mount as a physical partition.
18 |
19 | #
20 | system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other,logical
21 | /dev/block/by-name/system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other
22 |
--------------------------------------------------------------------------------
/recovery/root/system/etc/twrp.flags:
--------------------------------------------------------------------------------
1 | /system_ext ext4 system_ext flags=display="System_EXT"
2 | /metadata ext4 /dev/block/by-name/metadata flags=display="Metadata"
3 | /boot emmc /dev/block/bootdevice/by-name/boot flags=slotselect
4 | /persist ext4 /dev/block/bootdevice/by-name/persist flags=display="Persist";fsflags="ro,nosuid,nodev,noatime,barrier=1"
5 | /persist_image emmc /dev/block/bootdevice/by-name/persist flags=display="Persist";backup=1
6 | /firmware vfat /dev/block/bootdevice/by-name/modem flags=display="Firmware";slotselect;fsflags="ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:vendor_firmware_file:s0"
7 |
8 | # USB OTG
9 | /usb_otg vfat /dev/block/sdg1 /dev/block/sdg flags=display="USB-OTG";storage;wipeingui;removable
10 |
--------------------------------------------------------------------------------
/recovery/root/system/etc/vintf/manifest/android.frameworks.stats@1.0-service.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.frameworks.stats
4 | hwbinder
5 | 1.0
6 |
7 | IStats
8 | default
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/recovery/root/vendor/etc/vintf/manifest/android.hardware.keymaster@4.1-service.citadel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.keymaster
4 | hwbinder
5 | @4.1::IKeymasterDevice/strongbox
6 |
7 |
8 |
--------------------------------------------------------------------------------
/recovery/root/vendor/etc/vintf/manifest/android.hardware.usb.gadget@1.1-service.crosshatch.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.usb.gadget
4 | hwbinder
5 | 1.1
6 |
7 | IUsbGadget
8 | default
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/recovery/root/vendor/etc/vintf/manifest/android.hardware.usb@1.1-service.crosshatch.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.usb
4 | hwbinder
5 | 1.1
6 |
7 | IUsb
8 | default
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/recovery/root/vendor/etc/vintf/manifest/android.hardware.weaver@1.0-service.citadel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.weaver
4 | hwbinder
5 | @1.0::IWeaver/default
6 |
7 |
8 | android.hardware.oemlock
9 | hwbinder
10 | @1.0::IOemLock/default
11 |
12 |
13 | android.hardware.authsecret
14 | hwbinder
15 | @1.0::IAuthSecret/default
16 |
17 |
18 |
--------------------------------------------------------------------------------
/recovery/root/vendor/etc/vintf/manifest/rebootescrow-citadel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.rebootescrow
4 | IRebootEscrow/default
5 |
6 |
7 |
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/android.hardware.authsecret@1.0-impl.nos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/android.hardware.authsecret@1.0-impl.nos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/android.hardware.confirmationui.secure_input_citadel.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/android.hardware.confirmationui.secure_input_citadel.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/android.hardware.keymaster@4.1-impl.nos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/android.hardware.keymaster@4.1-impl.nos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/android.hardware.oemlock@1.0-impl.nos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/android.hardware.oemlock@1.0-impl.nos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/android.hardware.weaver@1.0-impl.nos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/android.hardware.weaver@1.0-impl.nos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/hw/android.hardware.vibrator@1.2-impl.crosshatch.so:
--------------------------------------------------------------------------------
1 | ../../../system/lib64/android.hardware.vibrator@1.2-impl.crosshatch.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libQSEEComAPI.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libQSEEComAPI.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libStDrvInt.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libStDrvInt.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libdiag.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libdiag.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libdrmfs.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libdrmfs.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libdrmtime.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libdrmtime.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libkeymasterdeviceutils.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libkeymasterdeviceutils.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libkeymasterutils.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libkeymasterutils.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos_citadeld_proxy.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos_citadeld_proxy.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos_client_citadel.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos_client_citadel.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos_datagram.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos_datagram.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos_datagram_citadel.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos_datagram_citadel.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnos_transport.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnos_transport.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libnosprotos.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libnosprotos.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libprotobuf-cpp-full-3.9.1.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libprotobuf-cpp-full-3.9.1.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libprotobuf-cpp-full.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libprotobuf-cpp-full.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libprotobuf-cpp-lite-3.9.1.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libprotobuf-cpp-lite-3.9.1.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libqtikeymaster4.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libqtikeymaster4.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/librpmb.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/librpmb.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libsecureui.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libsecureui.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libsecureui_svcsock.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libsecureui_svcsock.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libssd.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libssd.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libteeui_hal_support.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libteeui_hal_support.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/libtime_genoff.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/libtime_genoff.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/nos_app_avb.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/nos_app_avb.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/nos_app_identity.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/nos_app_identity.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/nos_app_keymaster.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/nos_app_keymaster.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/nos_app_weaver.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/nos_app_weaver.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/pixelpowerstats_provider_aidl_interface-V1-cpp.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/pixelpowerstats_provider_aidl_interface-V1-cpp.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/vendor-pixelatoms-cpp.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/vendor-pixelatoms-cpp.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/vendor.display.config@1.0.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/vendor.display.config@1.0.so
--------------------------------------------------------------------------------
/recovery/root/vendor/lib64/vendor.qti.hardware.tui_comm@1.0.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/recovery/root/vendor/lib64/vendor.qti.hardware.tui_comm@1.0.so
--------------------------------------------------------------------------------
/recovery/security/google1.x509.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIDxzCCAq+gAwIBAgIVAOsUdHYNrfXOFPVQrYYoJ6UMmpRMMA0GCSqGSIb3DQEBCwUAMHQxCzAJ
3 | BgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQw
4 | EgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAe
5 | Fw0xODA5MjQyMjIxMzJaFw00ODA5MjQyMjIxMzJaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpD
6 | YWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQ
7 | MA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASIwDQYJKoZIhvcNAQEBBQADggEP
8 | ADCCAQoCggEBAIXheEIJHajQH6nUoHavwPBgI/CpscT/pf3QAfI0aBAkak0WylAQO0OlIO2t0LzZ
9 | TCyO3X8oY/H4zVyqZKMpizQJAcWFJj6YJtNmiWfUeYXxNjeiSIjmzEwTAUYGWM1+J5dd2O2fEl3M
10 | 9H8GWySjJ9RNOf/mIUEBGhQE65CeCTVK14rrWgjzFT78TFd+kB3rawAsj/1BMtRKyDH8qeDgsj0q
11 | f+IBGJB6RALu+O/mh6B/bzYqmofD6wIS/TfaOgvm71+BmxOX5tPMl5yFgPw/eHqW0GW7OrYdWJYC
12 | NGljj4NuTdYMp5n7WMeVBkBxICr/HUMaO6Jh5N7Wc2125FDzJf8CAwEAAaNQME4wDAYDVR0TBAUw
13 | AwEB/zAdBgNVHQ4EFgQU9CJLqGAyNP6/YxTh/giPIXeP5N8wHwYDVR0jBBgwFoAU9CJLqGAyNP6/
14 | YxTh/giPIXeP5N8wDQYJKoZIhvcNAQELBQADggEBACVkkT3XPa4JiPYQF6tCN/c65lLU0aIcrmsz
15 | JzzeWpg5wK0DOYgfAmeFeVfczba42/iPNZi0e14wMB70CSXsouuGEy82Wc2mI4g+L3v2n/FUyZDF
16 | BWTY1C2bUMlCm3rKn4ZAVOqGZ2DIFO/RwB+i3rssyd8CA9pTDdPpyRTCjEOmjyldtMvypeCx0V2+
17 | Bj9YpORDA4F4rIy26WBohOZerGwsthu8rWtK/SpPfU+ZIP1NnfYgR52JX4U4+A0k/elMQpHH85mD
18 | vkjh2lh3izXdxGKYsySeIIEPctQghW2XVilR6wulZ2kIeoQIa0v76ccN79wvd8rbHZup+Sok7Pqa
19 | b/4=
20 | -----END CERTIFICATE-----
21 |
--------------------------------------------------------------------------------
/recovery/security/google2.x509.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIDxjCCAq6gAwIBAgIUZTZTHlfHx6lj4mIqcBfZkhheGwYwDQYJKoZIhvcNAQELBQAwdDELMAkG
3 | A1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDAS
4 | BgNVBAoTC0dvb2dsZSBJbmMuMRAwDgYDVQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMB4X
5 | DTE4MDQyMzIyMDU1NVoXDTQ4MDQyMzIyMDU1NVowdDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh
6 | bGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC0dvb2dsZSBJbmMuMRAw
7 | DgYDVQQLEwdBbmRyb2lkMRAwDgYDVQQDEwdBbmRyb2lkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
8 | MIIBCgKCAQEAkOrAgKVPWUGXsCbquJ4VbMIY+ECyOdIMrscgl1gBPbC30z6d60qALYPQ3H5hjQJM
9 | sm8WbI539FodKnI4PZ8U3s8FYzpyhdQDPGFaHg8lJ8SKq6CA75rhVb0AHWIe7UkQ1n75K5aL4TWZ
10 | nuGnKrynAwVMTh+fn94AhFqg15FMsKqThXx3lbMkWtu7hIbsWtwPfZRAY1HLnQWOiOifSouigrjG
11 | FahUUAxGpx8EnoZUDzwmBpJhnjLPkNUjL7fnWQgTjQPxyt1vANVjyKzHzEN5H9KmBws0to1CpJiZ
12 | QYz3YakcC6M56j1nWz2I9fwzmvUrooJrCgeSaG9CGKmuru8cSQIDAQABo1AwTjAMBgNVHRMEBTAD
13 | AQH/MB0GA1UdDgQWBBTLGaD3oTaTo7Cl3liLd6hQ6i7CgDAfBgNVHSMEGDAWgBTLGaD3oTaTo7Cl
14 | 3liLd6hQ6i7CgDANBgkqhkiG9w0BAQsFAAOCAQEAjYzm3q4u95Xrv3zpstpQTZZMXp90InMBQUab
15 | fU+/rsBXgKP8pMCiYqAjC5oEe6+fDUYbcvqRJKOScrQVoaZ4z1ocu+O7np4XcuhNMHNZXPbz+LpK
16 | uuMZ/0RHV812V3/2bbtvQiW6Vnu0Pzya9YpjeOKsUoLl0ov8LEjO0a9+mSdFiVZJBK10aE1pHzdw
17 | HiAQt079UIeIPmUsFW2qzABnv7Cza0pA2h9Mp5L8ZXicHWWpeOJO9idDuprameduo1qoSntFZivb
18 | hPdsgZ+LTtAIQ4MBlivJoy1FRXDgfKHp8rDYYJ8hz/l8PoPPO+cDBuQPfdLq0rEIBc/u2QhWoFbA
19 | ww==
20 | -----END CERTIFICATE-----
21 |
--------------------------------------------------------------------------------
/recovery/vibrator/service.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2019 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 | #define LOG_TAG "vibrator.crosshatch"
18 |
19 | #include
20 | #include
21 |
22 | using android::OK;
23 | using android::hardware::configureRpcThreadpool;
24 | using android::hardware::joinRpcThreadpool;
25 | using android::hardware::registerPassthroughServiceImplementation;
26 | using android::hardware::vibrator::V1_2::IVibrator;
27 |
28 | int main(int /*argc*/, char ** /*argv*/) {
29 | configureRpcThreadpool(1, true /* callerWillJoin */);
30 | LOG_ALWAYS_FATAL_IF(OK != registerPassthroughServiceImplementation());
31 | joinRpcThreadpool();
32 | }
33 |
--------------------------------------------------------------------------------
/recovery/vibrator/vibrator.crosshatch-service.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.vibrator
4 | hwbinder
5 | 1.2
6 |
7 | IVibrator
8 | default
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/rro_overlays/ConnectivityOverlay/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "ConnectivityOverlay",
7 | sdk_version: "current",
8 | product_specific: true
9 | }
10 |
--------------------------------------------------------------------------------
/rro_overlays/ConnectivityOverlay/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
21 |
22 |
27 |
28 |
--------------------------------------------------------------------------------
/rro_overlays/ConnectivityOverlay/res/values/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
22 | 0x80000000
23 |
24 |
25 | 0x80000000
26 |
27 |
--------------------------------------------------------------------------------
/rro_overlays/WifiOverlay/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | runtime_resource_overlay {
6 | name: "WifiOverlay",
7 | theme: "WifiOverlay",
8 | sdk_version: "current",
9 | product_specific: true
10 | }
11 |
--------------------------------------------------------------------------------
/rro_overlays/WifiOverlay/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
21 |
22 |
27 |
28 |
--------------------------------------------------------------------------------
/rro_overlays/WifiOverlay/OWNERS:
--------------------------------------------------------------------------------
1 | # People who can approve changes for submission
2 | etancohen@google.com
3 | arabawy@google.com
4 | kumachang@google.com
5 | satk@google.com
6 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/linux/avtimer.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef _AVTIMER_H
20 | #define _AVTIMER_H
21 | #include
22 | #define MAJOR_NUM 100
23 | #define IOCTL_GET_AVTIMER_TICK _IOR(MAJOR_NUM, 0, uint64_t)
24 | #endif
25 |
26 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/linux/msm_dsps.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef _DSPS_H_
20 | #define _DSPS_H_
21 | #include
22 | #define DSPS_IOCTL_MAGIC 'd'
23 | #define DSPS_IOCTL_ON _IO(DSPS_IOCTL_MAGIC, 1)
24 | #define DSPS_IOCTL_OFF _IO(DSPS_IOCTL_MAGIC, 2)
25 | #define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int *)
26 | #define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int *)
27 | #define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5)
28 | #endif
29 |
30 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/media/cam_cpas.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef __UAPI_CAM_CPAS_H__
20 | #define __UAPI_CAM_CPAS_H__
21 | #include "cam_defs.h"
22 | #define CAM_FAMILY_CAMERA_SS 1
23 | #define CAM_FAMILY_CPAS_SS 2
24 | struct cam_cpas_query_cap {
25 | uint32_t camera_family;
26 | uint32_t reserved;
27 | struct cam_hw_version camera_version;
28 | struct cam_hw_version cpas_version;
29 | };
30 | #endif
31 |
32 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/media/msm_jpeg_dma.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef __UAPI_MSM_JPEG_DMA__
20 | #define __UAPI_MSM_JPEG_DMA__
21 | #include
22 | #define V4L2_CID_JPEG_DMA_SPEED (V4L2_CID_PRIVATE_BASE)
23 | #define V4L2_CID_JPEG_DMA_MAX_DOWN_SCALE (V4L2_CID_PRIVATE_BASE + 1)
24 | struct msm_jpeg_dma_buff {
25 | int32_t fd;
26 | uint32_t offset;
27 | };
28 | #endif
29 |
30 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/scsi/ufs/ioctl.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef UAPI_UFS_IOCTL_H_
20 | #define UAPI_UFS_IOCTL_H_
21 | #include
22 | #define UFS_IOCTL_QUERY 0x5388
23 | struct ufs_ioctl_query_data {
24 | __u32 opcode;
25 | __u8 idn;
26 | __u16 buf_size;
27 | __u8 buffer[0];
28 | };
29 | #endif
30 |
31 |
--------------------------------------------------------------------------------
/sdm845/kernel-headers/sound/voice_params.h:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ****************************************************************************
3 | ***
4 | *** This header was automatically generated from a Linux kernel header
5 | *** of the same name, to make information necessary for userspace to
6 | *** call into the kernel available to libc. It contains only constants,
7 | *** structures, and macros generated from the original header, and thus,
8 | *** contains no copyrightable information.
9 | ***
10 | *** To edit the content of this header, modify the corresponding
11 | *** source file (e.g. under external/kernel-headers/original/) then
12 | *** run bionic/libc/kernel/tools/update_all.py
13 | ***
14 | *** Any manual change here will be lost the next time this script will
15 | *** be run. You've been warned!
16 | ***
17 | ****************************************************************************
18 | ****************************************************************************/
19 | #ifndef __VOICE_PARAMS_H__
20 | #define __VOICE_PARAMS_H__
21 | #include
22 | #include
23 | enum voice_lch_mode {
24 | VOICE_LCH_START = 1,
25 | VOICE_LCH_STOP
26 | };
27 | #define SNDRV_VOICE_IOCTL_LCH _IOW('U', 0x00, enum voice_lch_mode)
28 | #endif
29 |
30 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/avtimer.h:
--------------------------------------------------------------------------------
1 | #ifndef _AVTIMER_H
2 | #define _AVTIMER_H
3 |
4 | #include
5 |
6 | #define MAJOR_NUM 100
7 |
8 | #define IOCTL_GET_AVTIMER_TICK _IOR(MAJOR_NUM, 0, uint64_t)
9 |
10 | #endif
11 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm-core-interface.h:
--------------------------------------------------------------------------------
1 | #ifndef __MSM_CORE_LIB_H__
2 | #define __MSM_CORE_LIB_H__
3 |
4 | #include
5 |
6 | #define TEMP_DATA_POINTS 13
7 | #define MAX_NUM_FREQ 200
8 |
9 | enum msm_core_ioctl_params {
10 | MSM_CORE_LEAKAGE,
11 | MSM_CORE_VOLTAGE,
12 | };
13 |
14 | #define MSM_CORE_MAGIC 0x9D
15 |
16 | struct sched_params {
17 | uint32_t cpumask;
18 | uint32_t cluster;
19 | uint32_t power[TEMP_DATA_POINTS][MAX_NUM_FREQ];
20 | uint32_t voltage[MAX_NUM_FREQ];
21 | uint32_t freq[MAX_NUM_FREQ];
22 | };
23 |
24 |
25 | #define EA_LEAKAGE _IOWR(MSM_CORE_MAGIC, MSM_CORE_LEAKAGE,\
26 | struct sched_params)
27 | #define EA_VOLT _IOWR(MSM_CORE_MAGIC, MSM_CORE_VOLTAGE,\
28 | struct sched_params)
29 | #endif
30 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_ac3.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_AC3_H
2 | #define _MSM_AUDIO_AC3_H
3 |
4 | #include
5 |
6 | #define AUDIO_SET_AC3_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned int)
8 | #define AUDIO_GET_AC3_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
9 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned int)
10 |
11 | #define AUDAC3_DEF_WORDSIZE 0
12 | #define AUDAC3_DEF_USER_DOWNMIX_FLAG 0x0
13 | #define AUDAC3_DEF_USER_KARAOKE_FLAG 0x0
14 | #define AUDAC3_DEF_ERROR_CONCEALMENT 0
15 | #define AUDAC3_DEF_MAX_REPEAT_COUNT 0
16 |
17 | struct msm_audio_ac3_config {
18 | unsigned short numChans;
19 | unsigned short wordSize;
20 | unsigned short kCapableMode;
21 | unsigned short compMode;
22 | unsigned short outLfeOn;
23 | unsigned short outputMode;
24 | unsigned short stereoMode;
25 | unsigned short dualMonoMode;
26 | unsigned short fsCod;
27 | unsigned short pcmScaleFac;
28 | unsigned short dynRngScaleHi;
29 | unsigned short dynRngScaleLow;
30 | unsigned short user_downmix_flag;
31 | unsigned short user_karaoke_flag;
32 | unsigned short dm_address_high;
33 | unsigned short dm_address_low;
34 | unsigned short ko_address_high;
35 | unsigned short ko_address_low;
36 | unsigned short error_concealment;
37 | unsigned short max_rep_count;
38 | unsigned short channel_routing_mode[6];
39 | };
40 |
41 | #endif /* _MSM_AUDIO_AC3_H */
42 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_alac.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_ALAC_H
2 | #define _MSM_AUDIO_ALAC_H
3 |
4 | #define AUDIO_GET_ALAC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
5 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_alac_config)
6 | #define AUDIO_SET_ALAC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_alac_config)
8 |
9 | struct msm_audio_alac_config {
10 | uint32_t frameLength;
11 | uint8_t compatVersion;
12 | uint8_t bitDepth;
13 | uint8_t pb; /* currently unused */
14 | uint8_t mb; /* currently unused */
15 | uint8_t kb; /* currently unused */
16 | uint8_t channelCount;
17 | uint16_t maxRun; /* currently unused */
18 | uint32_t maxSize;
19 | uint32_t averageBitRate;
20 | uint32_t sampleRate;
21 | uint32_t channelLayout;
22 | };
23 |
24 | #endif /* _MSM_AUDIO_ALAC_H */
25 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_amrnb.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_AMRNB_H
2 | #define _MSM_AUDIO_AMRNB_H
3 |
4 | #include
5 |
6 | #define AUDIO_GET_AMRNB_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned int)
8 | #define AUDIO_SET_AMRNB_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
9 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned int)
10 | #define AUDIO_GET_AMRNB_ENC_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, \
11 | (AUDIO_MAX_COMMON_IOCTL_NUM+2), \
12 | struct msm_audio_amrnb_enc_config_v2)
13 | #define AUDIO_SET_AMRNB_ENC_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
14 | (AUDIO_MAX_COMMON_IOCTL_NUM+3), \
15 | struct msm_audio_amrnb_enc_config_v2)
16 |
17 | struct msm_audio_amrnb_enc_config {
18 | unsigned short voicememoencweight1;
19 | unsigned short voicememoencweight2;
20 | unsigned short voicememoencweight3;
21 | unsigned short voicememoencweight4;
22 | unsigned short dtx_mode_enable; /* 0xFFFF - enable, 0- disable */
23 | unsigned short test_mode_enable; /* 0xFFFF - enable, 0- disable */
24 | unsigned short enc_mode; /* 0-MR475,1-MR515,2-MR59,3-MR67,4-MR74
25 | * 5-MR795, 6- MR102, 7- MR122(default)
26 | */
27 | };
28 |
29 | struct msm_audio_amrnb_enc_config_v2 {
30 | uint32_t band_mode;
31 | uint32_t dtx_enable;
32 | uint32_t frame_format;
33 | };
34 | #endif /* _MSM_AUDIO_AMRNB_H */
35 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_amrwb.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_AMRWB_H
2 | #define _MSM_AUDIO_AMRWB_H
3 |
4 | #include
5 |
6 | #define AUDIO_GET_AMRWB_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), \
8 | struct msm_audio_amrwb_enc_config)
9 | #define AUDIO_SET_AMRWB_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
10 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), \
11 | struct msm_audio_amrwb_enc_config)
12 |
13 | struct msm_audio_amrwb_enc_config {
14 | uint32_t band_mode;
15 | uint32_t dtx_enable;
16 | uint32_t frame_format;
17 | };
18 | #endif /* _MSM_AUDIO_AMRWB_H */
19 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_amrwbplus.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_AMR_WB_PLUS_H
2 | #define _MSM_AUDIO_AMR_WB_PLUS_H
3 |
4 | #define AUDIO_GET_AMRWBPLUS_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
5 | (AUDIO_MAX_COMMON_IOCTL_NUM+2), struct msm_audio_amrwbplus_config_v2)
6 | #define AUDIO_SET_AMRWBPLUS_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+3), struct msm_audio_amrwbplus_config_v2)
8 |
9 | struct msm_audio_amrwbplus_config_v2 {
10 | unsigned int size_bytes;
11 | unsigned int version;
12 | unsigned int num_channels;
13 | unsigned int amr_band_mode;
14 | unsigned int amr_dtx_mode;
15 | unsigned int amr_frame_fmt;
16 | unsigned int amr_lsf_idx;
17 | };
18 | #endif /* _MSM_AUDIO_AMR_WB_PLUS_H */
19 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_ape.h:
--------------------------------------------------------------------------------
1 | /* The following structure has been taken
2 | * from Monkey's Audio SDK with permission
3 | */
4 |
5 | #ifndef _MSM_AUDIO_APE_H
6 | #define _MSM_AUDIO_APE_H
7 |
8 | #define AUDIO_GET_APE_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
9 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_ape_config)
10 | #define AUDIO_SET_APE_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
11 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_ape_config)
12 |
13 | struct msm_audio_ape_config {
14 | uint16_t compatibleVersion;
15 | uint16_t compressionLevel;
16 | uint32_t formatFlags;
17 | uint32_t blocksPerFrame;
18 | uint32_t finalFrameBlocks;
19 | uint32_t totalFrames;
20 | uint16_t bitsPerSample;
21 | uint16_t numChannels;
22 | uint32_t sampleRate;
23 | uint32_t seekTablePresent;
24 | };
25 |
26 | #endif /* _MSM_AUDIO_APE_H */
27 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_qcp.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_QCP_H
2 | #define _MSM_AUDIO_QCP_H
3 |
4 | #include
5 |
6 | #define AUDIO_SET_QCELP_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | 0, struct msm_audio_qcelp_enc_config)
8 |
9 | #define AUDIO_GET_QCELP_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
10 | 1, struct msm_audio_qcelp_enc_config)
11 |
12 | #define AUDIO_SET_EVRC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
13 | 2, struct msm_audio_evrc_enc_config)
14 |
15 | #define AUDIO_GET_EVRC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
16 | 3, struct msm_audio_evrc_enc_config)
17 |
18 | #define CDMA_RATE_BLANK 0x00
19 | #define CDMA_RATE_EIGHTH 0x01
20 | #define CDMA_RATE_QUARTER 0x02
21 | #define CDMA_RATE_HALF 0x03
22 | #define CDMA_RATE_FULL 0x04
23 | #define CDMA_RATE_ERASURE 0x05
24 |
25 | struct msm_audio_qcelp_enc_config {
26 | uint32_t cdma_rate;
27 | uint32_t min_bit_rate;
28 | uint32_t max_bit_rate;
29 | };
30 |
31 | struct msm_audio_evrc_enc_config {
32 | uint32_t cdma_rate;
33 | uint32_t min_bit_rate;
34 | uint32_t max_bit_rate;
35 | };
36 |
37 | #endif /* _MSM_AUDIO_QCP_H */
38 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_sbc.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_SBC_H
2 | #define _MSM_AUDIO_SBC_H
3 |
4 | #include
5 |
6 | #define AUDIO_SET_SBC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_sbc_enc_config)
8 |
9 | #define AUDIO_GET_SBC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
10 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_sbc_enc_config)
11 |
12 | #define AUDIO_SBC_BA_LOUDNESS 0x0
13 | #define AUDIO_SBC_BA_SNR 0x1
14 |
15 | #define AUDIO_SBC_MODE_MONO 0x0
16 | #define AUDIO_SBC_MODE_DUAL 0x1
17 | #define AUDIO_SBC_MODE_STEREO 0x2
18 | #define AUDIO_SBC_MODE_JSTEREO 0x3
19 |
20 | #define AUDIO_SBC_BANDS_8 0x1
21 |
22 | #define AUDIO_SBC_BLOCKS_4 0x0
23 | #define AUDIO_SBC_BLOCKS_8 0x1
24 | #define AUDIO_SBC_BLOCKS_12 0x2
25 | #define AUDIO_SBC_BLOCKS_16 0x3
26 |
27 | struct msm_audio_sbc_enc_config {
28 | uint32_t channels;
29 | uint32_t sample_rate;
30 | uint32_t bit_allocation;
31 | uint32_t number_of_subbands;
32 | uint32_t number_of_blocks;
33 | uint32_t bit_rate;
34 | uint32_t mode;
35 | };
36 | #endif /* _MSM_AUDIO_SBC_H */
37 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_wma.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_WMA_H
2 | #define _MSM_AUDIO_WMA_H
3 |
4 | #define AUDIO_GET_WMA_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
5 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned int)
6 | #define AUDIO_SET_WMA_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned int)
8 |
9 | #define AUDIO_GET_WMA_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
10 | (AUDIO_MAX_COMMON_IOCTL_NUM+2), struct msm_audio_wma_config_v2)
11 | #define AUDIO_SET_WMA_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, \
12 | (AUDIO_MAX_COMMON_IOCTL_NUM+3), struct msm_audio_wma_config_v2)
13 |
14 | struct msm_audio_wma_config {
15 | unsigned short armdatareqthr;
16 | unsigned short channelsdecoded;
17 | unsigned short wmabytespersec;
18 | unsigned short wmasamplingfreq;
19 | unsigned short wmaencoderopts;
20 | };
21 |
22 | struct msm_audio_wma_config_v2 {
23 | unsigned short format_tag;
24 | unsigned short numchannels;
25 | uint32_t samplingrate;
26 | uint32_t avgbytespersecond;
27 | unsigned short block_align;
28 | unsigned short validbitspersample;
29 | uint32_t channelmask;
30 | unsigned short encodeopt;
31 | };
32 |
33 | #endif /* _MSM_AUDIO_WMA_H */
34 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_audio_wmapro.h:
--------------------------------------------------------------------------------
1 | #ifndef _MSM_AUDIO_WMAPRO_H
2 | #define _MSM_AUDIO_WMAPRO_H
3 |
4 | #define AUDIO_GET_WMAPRO_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
5 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_wmapro_config)
6 | #define AUDIO_SET_WMAPRO_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
7 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_wmapro_config)
8 |
9 | struct msm_audio_wmapro_config {
10 | unsigned short armdatareqthr;
11 | uint8_t validbitspersample;
12 | uint8_t numchannels;
13 | unsigned short formattag;
14 | uint32_t samplingrate;
15 | uint32_t avgbytespersecond;
16 | unsigned short asfpacketlength;
17 | uint32_t channelmask;
18 | unsigned short encodeopt;
19 | unsigned short advancedencodeopt;
20 | uint32_t advancedencodeopt2;
21 | };
22 | #endif /* _MSM_AUDIO_WMAPRO_H */
23 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/msm_dsps.h:
--------------------------------------------------------------------------------
1 | #ifndef _DSPS_H_
2 | #define _DSPS_H_
3 |
4 | #include
5 |
6 | #define DSPS_IOCTL_MAGIC 'd'
7 |
8 | #define DSPS_IOCTL_ON _IO(DSPS_IOCTL_MAGIC, 1)
9 | #define DSPS_IOCTL_OFF _IO(DSPS_IOCTL_MAGIC, 2)
10 |
11 | #define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int*)
12 | #define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int*)
13 |
14 | #define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5)
15 |
16 | #endif /* _DSPS_H_ */
17 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/linux/sockev.h:
--------------------------------------------------------------------------------
1 | #ifndef _SOCKEV_H_
2 | #define _SOCKEV_H_
3 |
4 | #include
5 | #include
6 | #include
7 |
8 | enum sknetlink_groups {
9 | SKNLGRP_UNICAST,
10 | SKNLGRP_SOCKEV,
11 | __SKNLGRP_MAX
12 | };
13 |
14 | #define SOCKEV_STR_MAX 32
15 |
16 | /********************************************************************
17 | * Socket operation messages
18 | ****/
19 |
20 | struct sknlsockevmsg {
21 | __u8 event[SOCKEV_STR_MAX];
22 | __u32 pid; /* (struct task_struct*)->pid */
23 | __u16 skfamily; /* (struct socket*)->sk->sk_family */
24 | __u8 skstate; /* (struct socket*)->sk->sk_state */
25 | __u8 skprotocol; /* (struct socket*)->sk->sk_protocol */
26 | __u16 sktype; /* (struct socket*)->sk->sk_type */
27 | __u64 skflags; /* (struct socket*)->sk->sk_flags */
28 | };
29 |
30 | #endif /* _SOCKEV_H_ */
31 |
32 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/media/cam_cpas.h:
--------------------------------------------------------------------------------
1 | #ifndef __UAPI_CAM_CPAS_H__
2 | #define __UAPI_CAM_CPAS_H__
3 |
4 | #include "cam_defs.h"
5 |
6 | #define CAM_FAMILY_CAMERA_SS 1
7 | #define CAM_FAMILY_CPAS_SS 2
8 |
9 | /**
10 | * struct cam_cpas_query_cap - CPAS query device capability payload
11 | *
12 | * @camera_family : Camera family type
13 | * @reserved : Reserved field for alignment
14 | * @camera_version : Camera platform version
15 | * @cpas_version : Camera CPAS version within camera platform
16 | *
17 | */
18 | struct cam_cpas_query_cap {
19 | uint32_t camera_family;
20 | uint32_t reserved;
21 | struct cam_hw_version camera_version;
22 | struct cam_hw_version cpas_version;
23 | };
24 |
25 | #endif /* __UAPI_CAM_CPAS_H__ */
26 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/media/msm_jpeg_dma.h:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2015-2016, 2018, The Linux Foundation. All rights reserved.
2 | *
3 | * This program is free software; you can redistribute it and/or modify
4 | * it under the terms of the GNU General Public License version 2 and
5 | * only version 2 as published by the Free Software Foundation.
6 | *
7 | * This program is distributed in the hope that it will be useful,
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | * GNU General Public License for more details.
11 | */
12 |
13 | #ifndef __UAPI_MSM_JPEG_DMA__
14 | #define __UAPI_MSM_JPEG_DMA__
15 |
16 | #include
17 |
18 | /* msm jpeg dma control ID's */
19 | #define V4L2_CID_JPEG_DMA_SPEED (V4L2_CID_PRIVATE_BASE)
20 | #define V4L2_CID_JPEG_DMA_MAX_DOWN_SCALE (V4L2_CID_PRIVATE_BASE + 1)
21 |
22 | /* msm_jpeg_dma_buf */
23 | struct msm_jpeg_dma_buff {
24 | int32_t fd;
25 | uint32_t offset;
26 | };
27 |
28 | #endif /* __UAPI_MSM_JPEG_DMA__ */
29 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/sound/msmcal-hwdep.h:
--------------------------------------------------------------------------------
1 | #ifndef _CALIB_HWDEP_H
2 | #define _CALIB_HWDEP_H
3 |
4 | #define WCD9XXX_CODEC_HWDEP_NODE 1000
5 | enum wcd_cal_type {
6 | WCD9XXX_MIN_CAL,
7 | WCD9XXX_ANC_CAL = WCD9XXX_MIN_CAL,
8 | WCD9XXX_MAD_CAL,
9 | WCD9XXX_MBHC_CAL,
10 | WCD9XXX_VBAT_CAL,
11 | WCD9XXX_MAX_CAL,
12 | };
13 |
14 | struct wcdcal_ioctl_buffer {
15 | __u32 size;
16 | __u8 *buffer;
17 | enum wcd_cal_type cal_type;
18 | };
19 |
20 | #define SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE \
21 | _IOW('U', 0x1, struct wcdcal_ioctl_buffer)
22 |
23 | #endif /*_CALIB_HWDEP_H*/
24 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/sound/voice_params.h:
--------------------------------------------------------------------------------
1 | #ifndef __VOICE_PARAMS_H__
2 | #define __VOICE_PARAMS_H__
3 |
4 | #include
5 | #include
6 |
7 | enum voice_lch_mode {
8 | VOICE_LCH_START = 1,
9 | VOICE_LCH_STOP
10 | };
11 |
12 | #define SNDRV_VOICE_IOCTL_LCH _IOW('U', 0x00, enum voice_lch_mode)
13 |
14 | #endif
15 |
--------------------------------------------------------------------------------
/sdm845/original-kernel-headers/sound/voice_svc.h:
--------------------------------------------------------------------------------
1 | #ifndef __VOICE_SVC_H__
2 | #define __VOICE_SVC_H__
3 |
4 | #include
5 | #include
6 |
7 | #define VOICE_SVC_DRIVER_NAME "voice_svc"
8 |
9 | #define VOICE_SVC_MVM_STR "MVM"
10 | #define VOICE_SVC_CVS_STR "CVS"
11 | #define MAX_APR_SERVICE_NAME_LEN 64
12 |
13 | #define MSG_REGISTER 0x1
14 | #define MSG_REQUEST 0x2
15 | #define MSG_RESPONSE 0x3
16 |
17 | struct voice_svc_write_msg {
18 | __u32 msg_type;
19 | __u8 payload[0];
20 | };
21 |
22 | struct voice_svc_register {
23 | char svc_name[MAX_APR_SERVICE_NAME_LEN];
24 | __u32 src_port;
25 | __u8 reg_flag;
26 | };
27 |
28 | struct voice_svc_cmd_response {
29 | __u32 src_port;
30 | __u32 dest_port;
31 | __u32 token;
32 | __u32 opcode;
33 | __u32 payload_size;
34 | __u8 payload[0];
35 | };
36 |
37 | struct voice_svc_cmd_request {
38 | char svc_name[MAX_APR_SERVICE_NAME_LEN];
39 | __u32 src_port;
40 | __u32 dest_port;
41 | __u32 token;
42 | __u32 opcode;
43 | __u32 payload_size;
44 | __u8 payload[0];
45 | };
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/sdm845/thermal-engine/Android.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # @file device/qcom/common/thermal-engine/Android.mk
3 | # @Makefile for installing thermal-engine client header on Android.
4 | ################################################################################
5 |
6 | LOCAL_PATH:= $(call my-dir)
7 |
8 | include $(CLEAR_VARS)
9 | LOCAL_MODULE := libThermal_headers
10 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD
11 | LOCAL_LICENSE_CONDITIONS := notice
12 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
13 | LOCAL_VENDOR_MODULE := true
14 | include $(BUILD_HEADER_LIBRARY)
15 |
--------------------------------------------------------------------------------
/seccomp_policy/mediacodec.policy:
--------------------------------------------------------------------------------
1 | # device specific syscalls
2 | pselect6: 1
3 | eventfd2: 1
4 | sendto: 1
5 | recvfrom: 1
6 | _llseek: 1
7 | sysinfo: 1
8 | getcwd: 1
9 | getdents64: 1
10 |
--------------------------------------------------------------------------------
/self-extractors/Android.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/self-extractors/Android.mk
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/self-extractors/PROLOGUE:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 |
--------------------------------------------------------------------------------
/self-extractors/google_devices/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Google Inc.
2 |
--------------------------------------------------------------------------------
/self-extractors/google_devices/staging/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2019 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 | ifneq ($(filter crosshatch,$(TARGET_DEVICE)),)
20 | $(call add-radio-file,bootloader.img)
21 | $(call add-radio-file,radio.img)
22 | endif
23 |
--------------------------------------------------------------------------------
/self-extractors/google_devices/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 | BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/crosshatch/proprietary/vendor.img
16 |
17 | -include vendor/google/tools/android-info.mk
18 | ifdef USE_ANDROID_INFO
19 | TARGET_BOARD_INFO_FILE := vendor/google_devices/crosshatch/android-info.txt
20 | endif
21 |
22 | AB_OTA_PARTITIONS += \
23 | vendor
24 |
--------------------------------------------------------------------------------
/self-extractors/google_devices/staging/device-partial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Qualcomm Technologies, Inc.
2 |
--------------------------------------------------------------------------------
/self-extractors/qcom/staging/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | ifneq ($(filter crosshatch, $(TARGET_DEVICE)),)
4 | include $(CLEAR_VARS)
5 | LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
6 | LOCAL_MODULE := ims
7 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
8 | LOCAL_LICENSE_CONDITIONS := notice
9 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
10 | LOCAL_MODULE_TAGS := optional
11 | LOCAL_BUILT_MODULE_STEM := package.apk
12 | LOCAL_MODULE_OWNER := qcom
13 | LOCAL_MODULE_CLASS := APPS
14 | LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
15 | LOCAL_CERTIFICATE := platform
16 | include $(BUILD_PREBUILT)
17 |
18 | include $(CLEAR_VARS)
19 | LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
20 | LOCAL_MODULE := QtiTelephonyService
21 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
22 | LOCAL_LICENSE_CONDITIONS := notice
23 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
24 | LOCAL_MODULE_TAGS := optional
25 | LOCAL_BUILT_MODULE_STEM := package.apk
26 | LOCAL_MODULE_OWNER := qcom
27 | LOCAL_MODULE_CLASS := APPS
28 | LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
29 | LOCAL_CERTIFICATE := platform
30 | include $(BUILD_PREBUILT)
31 | endif
32 |
--------------------------------------------------------------------------------
/self-extractors/qcom/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | VENDOR_BLOBS_LICENSE := vendor/qcom/crosshatch/LICENSE
16 |
--------------------------------------------------------------------------------
/self-extractors/root/android-info.txt:
--------------------------------------------------------------------------------
1 | require board=crosshatch|blueline
2 | require partition-exists=product
3 |
4 | require version-bootloader=b1c1-0.2-6085603
5 |
6 |
7 | require version-baseband=g845-00096-200114-B-6134206
8 |
--------------------------------------------------------------------------------
/self-extractors/root/proprietary/BoardConfigVendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 | ifneq ($(filter blueline,$(TARGET_DEVICE)),)
16 | LOCAL_STEM := blueline/BoardConfigPartial.mk
17 | else
18 | LOCAL_STEM := crosshatch/BoardConfigPartial.mk
19 | endif
20 |
21 | -include vendor/google_devices/$(LOCAL_STEM)
22 | -include vendor/qcom/$(LOCAL_STEM)
23 |
--------------------------------------------------------------------------------
/self-extractors/root/proprietary/device-vendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 := crosshatch/device-partial.mk
16 |
17 | $(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
18 | $(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
19 |
--------------------------------------------------------------------------------
/self-extractors_blueline/Android.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/self-extractors_blueline/Android.mk
--------------------------------------------------------------------------------
/self-extractors_blueline/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 |
--------------------------------------------------------------------------------
/self-extractors_blueline/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 |
--------------------------------------------------------------------------------
/self-extractors_blueline/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 |
--------------------------------------------------------------------------------
/self-extractors_blueline/PROLOGUE:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 |
--------------------------------------------------------------------------------
/self-extractors_blueline/google_devices/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Google Inc.
2 |
--------------------------------------------------------------------------------
/self-extractors_blueline/google_devices/staging/Android.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2019 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 | ifneq ($(filter blueline,$(TARGET_DEVICE)),)
20 | $(call add-radio-file,bootloader.img)
21 | $(call add-radio-file,radio.img)
22 | endif
23 |
--------------------------------------------------------------------------------
/self-extractors_blueline/google_devices/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 | BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/blueline/proprietary/vendor.img
16 |
17 | -include vendor/google/tools/android-info.mk
18 | ifdef USE_ANDROID_INFO
19 | TARGET_BOARD_INFO_FILE := vendor/google_devices/blueline/android-info.txt
20 | endif
21 |
22 | AB_OTA_PARTITIONS += \
23 | vendor
24 |
--------------------------------------------------------------------------------
/self-extractors_blueline/google_devices/staging/device-partial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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_blueline/qcom/COPYRIGHT:
--------------------------------------------------------------------------------
1 | # (C) Qualcomm Technologies, Inc.
2 |
--------------------------------------------------------------------------------
/self-extractors_blueline/qcom/staging/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 |
3 | ifneq ($(filter blueline, $(TARGET_DEVICE)),)
4 | include $(CLEAR_VARS)
5 | LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
6 | LOCAL_MODULE := ims
7 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
8 | LOCAL_LICENSE_CONDITIONS := notice
9 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
10 | LOCAL_MODULE_TAGS := optional
11 | LOCAL_BUILT_MODULE_STEM := package.apk
12 | LOCAL_MODULE_OWNER := qcom
13 | LOCAL_MODULE_CLASS := APPS
14 | LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
15 | LOCAL_CERTIFICATE := platform
16 | include $(BUILD_PREBUILT)
17 |
18 | include $(CLEAR_VARS)
19 | LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
20 | LOCAL_MODULE := QtiTelephonyService
21 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
22 | LOCAL_LICENSE_CONDITIONS := notice
23 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
24 | LOCAL_MODULE_TAGS := optional
25 | LOCAL_BUILT_MODULE_STEM := package.apk
26 | LOCAL_MODULE_OWNER := qcom
27 | LOCAL_MODULE_CLASS := APPS
28 | LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
29 | LOCAL_CERTIFICATE := platform
30 | include $(BUILD_PREBUILT)
31 | endif
32 |
--------------------------------------------------------------------------------
/self-extractors_blueline/qcom/staging/BoardConfigPartial.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 The Android Open Source Project
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | VENDOR_BLOBS_LICENSE := vendor/qcom/blueline/LICENSE
16 |
--------------------------------------------------------------------------------
/self-extractors_blueline/root/android-info.txt:
--------------------------------------------------------------------------------
1 | require board=crosshatch|blueline
2 | require partition-exists=product
3 |
4 | require version-bootloader=b1c1-0.1-4768668
5 |
6 |
7 | require version-baseband=g845-00008-180429-B-4752067
8 |
--------------------------------------------------------------------------------
/self-extractors_blueline/root/proprietary/BoardConfigVendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 | ifneq ($(filter blueline,$(TARGET_DEVICE)),)
16 | LOCAL_STEM := blueline/BoardConfigPartial.mk
17 | else
18 | LOCAL_STEM := crosshatch/BoardConfigPartial.mk
19 | endif
20 |
21 | -include vendor/google_devices/$(LOCAL_STEM)
22 | -include vendor/qcom/$(LOCAL_STEM)
23 |
--------------------------------------------------------------------------------
/self-extractors_blueline/root/proprietary/device-vendor.mk:
--------------------------------------------------------------------------------
1 | # Copyright 2018 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 := blueline/device-partial.mk
16 |
17 | $(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
18 | $(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
19 |
--------------------------------------------------------------------------------
/sensors/hals.conf:
--------------------------------------------------------------------------------
1 | sensors.ssc.so
2 |
--------------------------------------------------------------------------------
/small_hals/Android.bp:
--------------------------------------------------------------------------------
1 | // A binary for small, single-threaded HALs
2 | package {
3 | default_applicable_licenses: ["Android-Apache-2.0"],
4 | }
5 |
6 | cc_binary {
7 | name: "small_hals.crosshatch-service",
8 | defaults: ["hidl_defaults"],
9 | relative_install_path: "hw",
10 | proprietary: true,
11 | init_rc: ["small_hals.crosshatch-service.rc"],
12 | vintf_fragments: ["small_hals.crosshatch-service.xml"],
13 | srcs: ["service.cpp"],
14 |
15 | shared_libs: [
16 | "android.hardware.memtrack@1.0",
17 | "android.hardware.vibrator@1.0",
18 | "android.hardware.vibrator@1.1",
19 | "android.hardware.vibrator@1.2",
20 | "libbase",
21 | "libhidlbase",
22 | "liblog",
23 | "libutils",
24 | ],
25 | }
26 |
--------------------------------------------------------------------------------
/small_hals/service.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2019 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 | #define LOG_TAG "small_hals.crosshatch"
18 |
19 | #include
20 | #include
21 | #include
22 |
23 | using android::OK;
24 | using android::hardware::configureRpcThreadpool;
25 | using android::hardware::joinRpcThreadpool;
26 | using android::hardware::registerPassthroughServiceImplementation;
27 | using android::hardware::memtrack::V1_0::IMemtrack;
28 | using android::hardware::vibrator::V1_2::IVibrator;
29 |
30 | int main(int /*argc*/, char ** /*argv*/) {
31 | configureRpcThreadpool(1, true /* callerWillJoin */);
32 | LOG_ALWAYS_FATAL_IF(OK != registerPassthroughServiceImplementation());
33 | LOG_ALWAYS_FATAL_IF(OK != registerPassthroughServiceImplementation());
34 | joinRpcThreadpool();
35 | }
36 |
--------------------------------------------------------------------------------
/small_hals/small_hals.crosshatch-service.rc:
--------------------------------------------------------------------------------
1 | service vendor.small_hals /vendor/bin/hw/small_hals.crosshatch-service
2 | class hal
3 | user system
4 | group system
5 | shutdown critical
6 |
--------------------------------------------------------------------------------
/small_hals/small_hals.crosshatch-service.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.memtrack
4 | hwbinder
5 | 1.0
6 |
7 | IMemtrack
8 | default
9 |
10 |
11 |
12 | android.hardware.vibrator
13 | hwbinder
14 | 1.2
15 |
16 | IVibrator
17 | default
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/teeui/tests/blueline/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | cc_test_host {
6 | name: "system.teeui_localization_rendering_test.blueline",
7 | cflags: [
8 | "-Wall",
9 | "-Werror",
10 | "-Wextra",
11 | "-O0",
12 | ],
13 | srcs: [
14 | "test_main.cpp",
15 | ],
16 | test_suites: ["device-tests"],
17 | shared_libs: [
18 | "libbase",
19 | "libteeui_localization_rendering_test",
20 | ],
21 | }
22 |
--------------------------------------------------------------------------------
/teeui/tests/blueline/TEST_MAPPING:
--------------------------------------------------------------------------------
1 | {
2 | "postsubmit": [
3 | {
4 | "name": "system.teeui_localization_rendering_test.blueline",
5 | "host" : true,
6 | "options": [
7 | {
8 | "native-test-flag": "--width=1080"
9 | },
10 | {
11 | "native-test-flag": "--height=2160"
12 | },
13 | {
14 | "native-test-flag": "--dp2px=2.62135"
15 | },
16 | {
17 | "native-test-flag": "--mm2px=17.42075974"
18 | },
19 | {
20 | "native-test-flag": "--powerButtonTop=20.26"
21 | },
22 | {
23 | "native-test-flag": "--powerButtonBottom=30.26"
24 | },
25 | {
26 | "native-test-flag": "--volUpButtonTop=40.26"
27 | },
28 | {
29 | "native-test-flag": "--volUpButtonBottom=50.26"
30 | }
31 | ]
32 | }
33 | ]
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/teeui/tests/blueline/test_main.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | #include
18 | #include
19 |
20 | int main(int argc, char **argv) {
21 | ::testing::InitGoogleTest(&argc, argv);
22 | teeui::test::initRenderTest(argc, argv);
23 | return RUN_ALL_TESTS();
24 | }
25 |
--------------------------------------------------------------------------------
/teeui/tests/crosshatch/Android.bp:
--------------------------------------------------------------------------------
1 | package {
2 | default_applicable_licenses: ["Android-Apache-2.0"],
3 | }
4 |
5 | cc_test_host {
6 | name: "system.teeui_localization_rendering_test.crosshatch",
7 | cflags: [
8 | "-Wall",
9 | "-Werror",
10 | "-Wextra",
11 | "-O0",
12 | ],
13 | srcs: [
14 | "test_main.cpp",
15 | ],
16 | test_suites: ["device-tests"],
17 | shared_libs: [
18 | "libbase",
19 | "libteeui_localization_rendering_test",
20 | ],
21 | }
22 |
--------------------------------------------------------------------------------
/teeui/tests/crosshatch/TEST_MAPPING:
--------------------------------------------------------------------------------
1 | {
2 | "postsubmit": [
3 | {
4 | "name": "system.teeui_localization_rendering_test.crosshatch",
5 | "host" : true,
6 | "options": [
7 | {
8 | "native-test-flag": "--width=1440"
9 | },
10 | {
11 | "native-test-flag": "--height=2950"
12 | },
13 | {
14 | "native-test-flag": "--dp2px=3.495145631"
15 | },
16 | {
17 | "native-test-flag": "--mm2px=20.42958729"
18 | },
19 | {
20 | "native-test-flag": "--powerButtonTop=34.146"
21 | },
22 | {
23 | "native-test-flag": "--powerButtonBottom=44.146"
24 | },
25 | {
26 | "native-test-flag": "--volUpButtonTop=54.146"
27 | },
28 | {
29 | "native-test-flag": "--volUpButtonBottom=64.146"
30 | }
31 | ]
32 | }
33 | ]
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/teeui/tests/crosshatch/test_main.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | #include
18 | #include
19 |
20 | int main(int argc, char **argv) {
21 | ::testing::InitGoogleTest(&argc, argv);
22 | teeui::test::initRenderTest(argc, argv);
23 | return RUN_ALL_TESTS();
24 | }
25 |
--------------------------------------------------------------------------------
/thermal-engine-blueline-vr-evt.conf:
--------------------------------------------------------------------------------
1 | [SKIN-MONITOR]
2 | algo_type monitor
3 | sampling 2000
4 | sensor quiet-therm-adc
5 | thresholds 52000 62000
6 | thresholds_clr 48000 61000
7 | actions cpu0+cpu4+gpu shutdown
8 | action_info 825600+902400+257000000 1
9 |
10 | [BATTERY-MONITOR]
11 | algo_type monitor
12 | sampling 2000
13 | sensor quiet-therm-adc
14 | thresholds 42000 44000 46000
15 | thresholds_clr 41000 43000 45000
16 | actions battery battery battery
17 | action_info 1 2 3
18 |
19 | [MODEM-MONITOR]
20 | algo_type monitor
21 | sampling 1000
22 | sensor quiet-therm-adc
23 | thresholds 51000 56000 58000
24 | thresholds_clr 48000 54000 56000
25 | actions modem+modem_proc modem+modem_proc modem+modem_proc
26 | action_info 1+1 1+2 3+3
27 |
--------------------------------------------------------------------------------
/thermal-engine-blueline-vr-prod.conf:
--------------------------------------------------------------------------------
1 | [SKIN-MONITOR]
2 | algo_type monitor
3 | sampling 2000
4 | sensor fps-therm-adc
5 | thresholds 49000 57000
6 | thresholds_clr 45000 56000
7 | actions cpu0+cpu4+gpu shutdown
8 | action_info 825600+902400+257000000 1
9 |
10 | [BATTERY-MONITOR]
11 | algo_type monitor
12 | sampling 2000
13 | sensor fps-therm-adc
14 | thresholds 39000 41000 43000 48000
15 | thresholds_clr 38000 40000 42000 46000
16 | actions battery battery battery battery
17 | action_info 1 2 3 4
18 |
19 | [MODEM-MONITOR]
20 | algo_type monitor
21 | sampling 1000
22 | sensor fps-therm-adc
23 | thresholds 48000 51000 53000
24 | thresholds_clr 45000 49000 51000
25 | actions modem+modem_proc modem+modem_proc modem+modem_proc
26 | action_info 1+1 1+2 3+3
27 |
--------------------------------------------------------------------------------
/thermal-engine-crosshatch-vr-evt.conf:
--------------------------------------------------------------------------------
1 | [SKIN-MONITOR]
2 | algo_type monitor
3 | sampling 2000
4 | sensor quiet-therm-adc
5 | thresholds 52000 62000
6 | thresholds_clr 48000 61000
7 | actions cpu0+cpu4+gpu shutdown
8 | action_info 825600+902400+257000000 1
9 |
10 | [BATTERY-MONITOR]
11 | algo_type monitor
12 | sampling 2000
13 | sensor quiet-therm-adc
14 | thresholds 42000 44000 46000
15 | thresholds_clr 41000 43000 45000
16 | actions battery battery battery
17 | action_info 1 2 3
18 |
19 | [MODEM-MONITOR]
20 | algo_type monitor
21 | sampling 1000
22 | sensor quiet-therm-adc
23 | thresholds 51000 56000 58000
24 | thresholds_clr 48000 54000 56000
25 | actions modem+modem_proc modem+modem_proc modem+modem_proc
26 | action_info 1+1 1+2 3+3
27 |
--------------------------------------------------------------------------------
/thermal-engine-crosshatch-vr-prod.conf:
--------------------------------------------------------------------------------
1 | [SKIN-MONITOR]
2 | algo_type monitor
3 | sampling 2000
4 | sensor fps-therm-adc
5 | thresholds 49000 57000
6 | thresholds_clr 45000 56000
7 | actions cpu0+cpu4+gpu shutdown
8 | action_info 825600+902400+257000000 1
9 |
10 | [BATTERY-MONITOR]
11 | algo_type monitor
12 | sampling 2000
13 | sensor fps-therm-adc
14 | thresholds 39000 41000 43000 48000
15 | thresholds_clr 38000 40000 42000 46000
16 | actions battery battery battery battery
17 | action_info 1 2 3 4
18 |
19 | [MODEM-MONITOR]
20 | algo_type monitor
21 | sampling 1000
22 | sensor fps-therm-adc
23 | thresholds 48000 51000 53000
24 | thresholds_clr 45000 49000 51000
25 | actions modem+modem_proc modem+modem_proc modem+modem_proc
26 | action_info 1+1 1+2 3+3
27 |
--------------------------------------------------------------------------------
/twrp.dependencies:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "remote": "aosp",
4 | "repository": "platform/hardware/google/interfaces",
5 | "target_path": "hardware/google/interfaces",
6 | "branch": "refs/tags/android-12.1.0_r4"
7 | },
8 | {
9 | "remote": "aosp",
10 | "repository": "platform/hardware/google/pixel",
11 | "target_path": "hardware/google/pixel",
12 | "branch": "refs/tags/android-12.1.0_r4"
13 | },
14 | {
15 | "remote": "aosp",
16 | "repository": "platform/hardware/google/pixel-sepolicy",
17 | "target_path": "hardware/google/pixel-sepolicy",
18 | "branch": "refs/tags/android-12.1.0_r4"
19 | },
20 | {
21 | "remote": "aosp",
22 | "repository": "device/google/crosshatch-kernel",
23 | "target_path": "device/google/crosshatch-kernel",
24 | "branch": "refs/tags/android-12.1.0_r4"
25 | },
26 | {
27 | "remote": "aosp",
28 | "repository": "device/google/crosshatch-sepolicy",
29 | "target_path": "device/google/crosshatch-sepolicy",
30 | "branch": "refs/tags/android-12.1.0_r4"
31 | }
32 | ]
33 |
--------------------------------------------------------------------------------
/uinput-fpc.idc:
--------------------------------------------------------------------------------
1 | # Copyright (C) 2017 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 | # Fingerprint navigation configuration file
17 | #
18 | keyboard.orientationAware = 1
19 | keyboard.builtIn = 1
20 |
21 |
--------------------------------------------------------------------------------
/uinput-fpc.kl:
--------------------------------------------------------------------------------
1 | key 106 SYSTEM_NAVIGATION_LEFT
2 | key 108 SYSTEM_NAVIGATION_DOWN
3 | key 103 SYSTEM_NAVIGATION_UP
4 | key 105 SYSTEM_NAVIGATION_RIGHT
5 |
--------------------------------------------------------------------------------
/usb/android.hardware.usb.gadget@1.1-service.crosshatch.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.usb.gadget
4 | hwbinder
5 | 1.1
6 |
7 | IUsbGadget
8 | default
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/usb/android.hardware.usb@1.3-service.crosshatch.rc:
--------------------------------------------------------------------------------
1 | service vendor.usb-hal-1-3 /vendor/bin/hw/android.hardware.usb@1.3-service.crosshatch
2 | class hal
3 | user root
4 | group root system shell mtp
5 |
6 | on boot
7 | chown root system /sys/class/typec/port0/power_role
8 | chown root system /sys/class/typec/port0/data_role
9 | chown root system /sys/class/typec/port0/port_type
10 | chmod 664 /sys/class/typec/port0/power_role
11 | chmod 664 /sys/class/typec/port0/data_role
12 | chmod 664 /sys/class/typec/port0/port_type
13 |
14 | on post-fs
15 | chown root system /sys/devices/platform/soc/a600000.ssusb/b_sess
16 | chown root system /sys/devices/platform/soc/a600000.ssusb/id
17 | chown root system /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
18 | chmod 664 /sys/devices/platform/soc/a600000.ssusb/b_sess
19 | chmod 664 /sys/devices/platform/soc/a600000.ssusb/id
20 | chmod 664 /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
21 |
--------------------------------------------------------------------------------
/usb/android.hardware.usb@1.3-service.crosshatch.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | android.hardware.usb
4 | hwbinder
5 | 1.3
6 |
7 | IUsb
8 | default
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/vendorsetup.sh:
--------------------------------------------------------------------------------
1 | export ALLOW_MISSING_DEPENDENCIES=true
2 |
--------------------------------------------------------------------------------
/vf/OWNERS:
--------------------------------------------------------------------------------
1 | # Treble team for Vendor Freeze
2 | bpeckham@google.com
3 | chrisgross@google.com
4 | danielnorman@google.com
5 | inseob@google.com
6 | jjdemartino@google.com
7 | justinyun@google.com
8 |
--------------------------------------------------------------------------------
/vf/aosp_crosshatch_vf.mk:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2020 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 | # Makefile for the system-only partial build of aosp_crosshatch.
18 | # Used for creating a merged Vendor Freeze device.
19 |
20 | # Include VNDK v30, needed by the Android 11 vendor half.
21 | PRODUCT_EXTRA_VNDK_VERSIONS = 30
22 |
23 | # Disable building certain non-system partitions in this build.
24 | PRODUCT_BUILD_BOOT_IMAGE := false
25 | PRODUCT_BUILD_RAMDISK_IMAGE := false
26 | PRODUCT_BUILD_RECOVERY_IMAGE := false
27 | PRODUCT_BUILD_VBMETA_IMAGE := false
28 | PRODUCT_BUILD_VENDOR_IMAGE := false
29 | PRODUCT_BUILD_VENDOR_BOOT_IMAGE := false
30 |
31 | $(call inherit-product, device/google/crosshatch/aosp_crosshatch.mk)
32 |
33 | PRODUCT_NAME := aosp_crosshatch_vf
34 |
--------------------------------------------------------------------------------
/vf/framework_item_list.txt:
--------------------------------------------------------------------------------
1 | IMAGES/product.img
2 | IMAGES/product.map
3 | IMAGES/system_ext.img
4 | IMAGES/system_ext.map
5 | IMAGES/system.img
6 | IMAGES/system.map
7 | IMAGES/system_other.img
8 | IMAGES/userdata.img
9 | META/apexkeys.txt
10 | META/apkcerts.txt
11 | META/filesystem_config.txt
12 | META/postinstall_config.txt
13 | META/product_filesystem_config.txt
14 | META/root_filesystem_config.txt
15 | META/system_ext_filesystem_config.txt
16 | META/system_other_filesystem_config.txt
17 | META/update_engine_config.txt
18 | PRODUCT/*
19 | ROOT/*
20 | SYSTEM/*
21 | SYSTEM_EXT/*
22 | SYSTEM_OTHER/*
23 |
--------------------------------------------------------------------------------
/vf/framework_misc_info_keys.txt:
--------------------------------------------------------------------------------
1 | ab_update
2 | avb_product_add_hashtree_footer_args
3 | avb_product_hashtree_enable
4 | avb_system_add_hashtree_footer_args
5 | avb_system_ext_add_hashtree_footer_args
6 | avb_system_ext_hashtree_enable
7 | avb_system_hashtree_enable
8 | avb_system_other_add_hashtree_footer_args
9 | avb_system_other_hashtree_enable
10 | building_product_image
11 | building_system_ext_image
12 | building_system_image
13 | building_system_other_image
14 | default_system_dev_certificate
15 | product_fs_type
16 | root_dir
17 | system_ext_fs_type
18 |
--------------------------------------------------------------------------------
/vf/vendor_item_list.txt:
--------------------------------------------------------------------------------
1 | BOOT/*
2 | DATA/*
3 | IMAGES/boot.img
4 | IMAGES/dtbo.img
5 | IMAGES/vendor_boot.img
6 | IMAGES/vendor.img
7 | IMAGES/vendor.map
8 | META/boot_filesystem_config.txt
9 | META/care_map.pb
10 | META/kernel_configs.txt
11 | META/kernel_version.txt
12 | META/otakeys.txt
13 | META/releasetools.py
14 | META/vendor_boot_filesystem_config.txt
15 | META/vendor_filesystem_config.txt
16 | ODM/*
17 | OTA/android-info.txt
18 | PREBUILT_IMAGES/*
19 | RADIO/*
20 | VENDOR/*
21 | VENDOR_BOOT/*
22 |
--------------------------------------------------------------------------------
/vibrator/Android.bp:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (C) 2017 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 | package {
17 | default_applicable_licenses: ["Android-Apache-2.0"],
18 | }
19 |
20 | cc_library_shared {
21 | name: "android.hardware.vibrator@1.2-impl.crosshatch",
22 | relative_install_path: "hw",
23 | srcs: [
24 | "impl.cpp",
25 | "Vibrator.cpp",
26 | ],
27 | cflags: [
28 | "-Wall",
29 | "-Werror",
30 | ],
31 | shared_libs: [
32 | "android.hardware.vibrator@1.0",
33 | "android.hardware.vibrator@1.1",
34 | "android.hardware.vibrator@1.2",
35 | "libcutils",
36 | "libhardware",
37 | "libhidlbase",
38 | "liblog",
39 | "libutils",
40 | ],
41 | proprietary: true,
42 | }
43 |
--------------------------------------------------------------------------------
/vibrator/OWNERS:
--------------------------------------------------------------------------------
1 | eliptus@google.com
2 | michaelwr@google.com
3 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/cs40l20.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/cs40l20.bin
--------------------------------------------------------------------------------
/vibrator/cs40l20/cs40l20.wmfw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/cs40l20.wmfw
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/09_POP(SNAP)_0503.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/09_POP(SNAP)_0503.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/09_POP(SNAP)_0503.wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/10_THUD_0503.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/10_THUD_0503.json
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/10_THUD_0503.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/10_THUD_0503.wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/11_The_big_adventure.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "11", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0" ,
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "392" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "392" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "260" , "Level12" : "0" , "Frequency12" : "0"
17 | }
18 | ]
19 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/12_Copycat.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "5", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "236" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "708" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "236" , "Level12" : "0" , "Frequency12" : "0",
17 | "Time13" : "4" , "Level13" : "0.46" , "Frequency13" : "0",
18 | "Time14" : "8" , "Level14" : "0.46" , "Frequency14" : "0",
19 | "Time15" : "4" , "Level15" : "0" , "Frequency15" : "0",
20 | "Time16" : "724" , "Level16" : "0" , "Frequency16" : "0"
21 | }
22 | ]
23 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/13_Crackle.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "3", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "184" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "88" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "88" , "Level12" : "0" , "Frequency12" : "0",
17 | "Time13" : "4" , "Level13" : "0.46" , "Frequency13" : "0",
18 | "Time14" : "8" , "Level14" : "0.46" , "Frequency14" : "0",
19 | "Time15" : "4" , "Level15" : "0" , "Frequency15" : "0",
20 | "Time16" : "384" , "Level16" : "0" , "Frequency16" : "0"
21 | }
22 | ]
23 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/14_Flutterby.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "1", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "300" , "Level1" : "0.23" , "Frequency1" : "0",
6 | "Time2" : "100" , "Level2" : "0.23" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "296" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "300" , "Level5" : "0.23" , "Frequency5" : "0",
10 | "Time6" : "100" , "Level6" : "0.23" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "1020" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "260" , "Level9" : "0" , "Frequency9" : "0"
14 | }
15 | ]
16 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/15_Hotline.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "1", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "300" , "Level1" : "0.23" , "Frequency1" : "0",
6 | "Time2" : "100" , "Level2" : "0.23" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "596" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "300" , "Level5" : "0.23" , "Frequency5" : "0",
10 | "Time6" : "100" , "Level6" : "0.23" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "1020" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "908" , "Level9" : "0" , "Frequency9" : "0"
14 | }
15 | ]
16 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/16_Leaps_and_bounds.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "23", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "244" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "116" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "112" , "Level12" : "0" , "Frequency12" : "0",
17 | "Time13" : "100" , "Level13" : "0.23" , "Frequency13" : "0",
18 | "Time14" : "100" , "Level14" : "0.23" , "Frequency14" : "0",
19 | "Time15" : "4" , "Level15" : "0" , "Frequency15" : "0",
20 | "Time16" : "276" , "Level16" : "0" , "Frequency16" : "0"
21 | }
22 | ]
23 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/17_Lollipop.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "10", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "312" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "312" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "312" , "Level12" : "0" , "Frequency12" : "0",
17 | "Time13" : "4" , "Level13" : "0.46" , "Frequency13" : "0",
18 | "Time14" : "8" , "Level14" : "0.46" , "Frequency14" : "0",
19 | "Time15" : "4" , "Level15" : "0" , "Frequency15" : "0",
20 | "Time16" : "204" , "Level16" : "0" , "Frequency16" : "0",
21 | "Time17" : "4" , "Level17" : "0.46" , "Frequency17" : "0",
22 | "Time18" : "8" , "Level18" : "0.46" , "Frequency18" : "0",
23 | "Time19" : "4" , "Level19" : "0" , "Frequency19" : "0",
24 | "Time20" : "88" , "Level20" : "0" , "Frequency20" : "0"
25 |
26 | }
27 | ]
28 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/21_Schools_out.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "0", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "300" , "Level1" : "0.23" , "Frequency1" : "0",
6 | "Time2" : "100" , "Level2" : "0.23" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "596" , "Level4" : "0" , "Frequency4" : "0"
9 | }
10 | ]
11 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/22_Zen_too.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "7", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "4" , "Level1" : "0.46" , "Frequency1" : "0",
6 | "Time2" : "8" , "Level2" : "0.46" , "Frequency2" : "0",
7 | "Time3" : "4" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "388" , "Level4" : "0" , "Frequency4" : "0",
9 | "Time5" : "4" , "Level5" : "0.46" , "Frequency5" : "0",
10 | "Time6" : "8" , "Level6" : "0.46" , "Frequency6" : "0",
11 | "Time7" : "4" , "Level7" : "0" , "Frequency7" : "0",
12 | "Time8" : "92" , "Level8" : "0" , "Frequency8" : "0",
13 | "Time9" : "4" , "Level9" : "0.46" , "Frequency9" : "0",
14 | "Time10" : "8" , "Level10" : "0.46" , "Frequency10" : "0",
15 | "Time11" : "4" , "Level11" : "0" , "Frequency11" : "0",
16 | "Time12" : "316" , "Level12" : "0" , "Frequency12" : "0",
17 | "Time13" : "300" , "Level13" : "0.23" , "Frequency13" : "0",
18 | "Time14" : "100" , "Level14" : "0.23" , "Frequency14" : "0",
19 | "Time15" : "4" , "Level15" : "0" , "Frequency15" : "0",
20 | "Time16" : "972" , "Level16" : "0" , "Frequency16" : "0"
21 | }
22 | ]
23 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/23_Extra1_100x8.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.0", "Repeat": "7", "WaitTime": "0",
4 | "Time0" : "0" , "Level0" : "0" , "Frequency0" : "0",
5 | "Time1" : "40" , "Level1" : "0.23" , "Frequency1" : "0",
6 | "Time2" : "20" , "Level2" : "0.23" , "Frequency2" : "0",
7 | "Time3" : "20" , "Level3" : "0" , "Frequency3" : "0",
8 | "Time4" : "20" , "Level4" : "0" , "Frequency4" : "0"
9 | }
10 | ]
11 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/README:
--------------------------------------------------------------------------------
1 | Bin file generated by the following command:
2 |
3 | python2 pdata2bin.py \
4 | continuous_sine_f0.json \
5 | \[#1\]\ 00\ \(23%\).json \
6 | \[#2\]\ 00\ \(39%\).json \
7 | \[#3\]\ 00\ \(55%\).json \
8 | \[#4\]\ 00\ \(75%\).json \
9 | \[#4\]\ 00\ \(75%\).json \
10 | \[#6\]\ Double\ \(L\)\ \=\ #1\ +\ #2.json \
11 | \[#7\]\ Double\ \(M\)\ \=\ #2\ +\ #3.json \
12 | \[#8\]\ Double\ \(H\)\ \=\ #3\ +\ #4.json \
13 | \[#4\]\ 00\ \(75%\).json \
14 | \[#4\]\ 00\ \(75%\).json \
15 | 11_The_big_adventure.json \
16 | 12_Copycat.json \
17 | 13_Crackle.json \
18 | 14_Flutterby.json \
19 | 15_Hotline.json \
20 | 16_Leaps_and_bounds.json \
21 | 17_Lollipop.json \
22 | 18_Lost_and_found.json \
23 | 19_Mash_up.json \
24 | 20_Monkey_around.json \
25 | 21_Schools_out.json \
26 | 22_Zen_too.json \
27 | 23_Extra1_100x8.json \
28 | cs40l20.bin
29 |
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#1] 00 (23%).json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#1] 00 (23%).wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#1] 00 (23%).wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#2] 00 (39%).json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#2] 00 (39%).wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#2] 00 (39%).wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#3] 00 (55%).json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#3] 00 (55%).wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#3] 00 (55%).wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#4] 00 (75%).json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#4] 00 (75%).wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#4] 00 (75%).wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#5] 11-2 (-3).json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#5] 11-2 (-3).wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#5] 11-2 (-3).wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#6] Double (L) = #1 + #2.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#6] Double (L) = #1 + #2.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#6] Double (L) = #1 + #2.wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#7] Double (M) = #2 + #3.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#7] Double (M) = #2 + #3.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#7] Double (M) = #2 + #3.wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#8] Double (H) = #3 + #4.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "F0": "160",
4 | "ReDC": "15"
5 | }
6 | ]
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/[#8] Double (H) = #3 + #4.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TeamWin/android_device_google_crosshatch/aae312a32322f9631f4516d452e5ddbd4e314e9f/vibrator/cs40l20/wav_wavetable/[#8] Double (H) = #3 + #4.wav
--------------------------------------------------------------------------------
/vibrator/cs40l20/wav_wavetable/continuous_sine_f0.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Version": "1.4.2",
4 | "Repeat": "0",
5 | "WaitTime": "0",
6 |
7 | "Time0": "0",
8 | "Level0": "0.23",
9 | "Frequency0": "0",
10 |
11 | "Time1": "-1",
12 | "Level1": "0.23",
13 | "Frequency1": "0"
14 | }
15 | ]
16 |
--------------------------------------------------------------------------------
/vibrator/drv2624/drv2624.bin:
--------------------------------------------------------------------------------
1 | $&