Initialize tequila
2
.gitignore
vendored
|
@ -1,2 +0,0 @@
|
||||||
proprietary/*
|
|
||||||
prebuilt/archive
|
|
26
README.mkdn
|
@ -1,26 +0,0 @@
|
||||||
LineageOS
|
|
||||||
===========
|
|
||||||
|
|
||||||
Getting started
|
|
||||||
---------------
|
|
||||||
|
|
||||||
Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device.
|
|
||||||
|
|
||||||
|
|
||||||
Submitting patches
|
|
||||||
------------------
|
|
||||||
Patches are always welcome! Please submit your patches via LineageOS Gerrit!
|
|
||||||
|
|
||||||
Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html).
|
|
||||||
|
|
||||||
To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/).
|
|
||||||
|
|
||||||
|
|
||||||
Buildbot
|
|
||||||
--------
|
|
||||||
|
|
||||||
All supported devices are built weekly and periodically as changes are committed to ensure the source trees remain buildable.
|
|
||||||
|
|
||||||
You can view the current build statuses at [LineageOS Buildkite](https://buildkite.com/lineageos).
|
|
||||||
|
|
||||||
Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/).
|
|
|
@ -1,147 +0,0 @@
|
||||||
|
|
||||||
******************************
|
|
||||||
You have tried to change the API from what has been previously approved.
|
|
||||||
|
|
||||||
STOP.
|
|
||||||
Read this:
|
|
||||||
https://github.com/LineageOS/android_lineage-sdk/wiki/Creating-an-API-for-the-SDK#updating--verifying-the-api
|
|
||||||
|
|
||||||
To make these errors go away, you have two choices:
|
|
||||||
1) You can add "@hide" javadoc comments to the methods, etc. listed in the
|
|
||||||
errors above.
|
|
||||||
|
|
||||||
2) You can update current.txt (locally) by executing the following command:
|
|
||||||
make update-lineage-api
|
|
||||||
|
|
||||||
^^^^^^^^^^^^^^^^^^
|
|
||||||
CONGRATS YOU EARNED A STINKEYE FROM CID!
|
|
||||||
|
|
||||||
|
|
||||||
. ``
|
|
||||||
`+++++ ;++++'
|
|
||||||
+++++++ ;++++++'
|
|
||||||
++++++++, ++++++++
|
|
||||||
+++++++++ :++++++++`
|
|
||||||
+++++++++ +++++++++`
|
|
||||||
++++++++++ +++++++++
|
|
||||||
+++++++++ ++++++++++
|
|
||||||
+++++++++: +++++++++
|
|
||||||
:+++++++++ ;+++++++++
|
|
||||||
+++++++++` +++++++++,
|
|
||||||
++++++++++ `+++++++++
|
|
||||||
+++++++++ ++++++++++
|
|
||||||
+++++++++; +++++++++
|
|
||||||
,+++++++++ '+++++++++
|
|
||||||
+++++++++. +++++++++,
|
|
||||||
'+++++++++ .+++++++++
|
|
||||||
+++++++++ +++++++++'
|
|
||||||
+++++++++' +++++++++
|
|
||||||
.+++++++++ '+++++++++
|
|
||||||
+++++++++, +++++++++.
|
|
||||||
;+++++++++ ,+++++++++
|
|
||||||
+++++++++ +++++++++;
|
|
||||||
++++++++++ .,;;+++++++++++++++++++++++++++++++++;,,. +++++++++
|
|
||||||
`+++++++++ ,;++++++++++++++++++++++++++++++++++++++++++++++++++++++++',` ++++++++++
|
|
||||||
+++++++++, :++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;. +++++++++`
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++:
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++`
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++`
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
`+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'. ,+++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++' .++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++' `++++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ;++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++' +++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++; ++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++; +++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ;+++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++` +++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++.
|
|
||||||
++++++++++++++++++ .,;+++++++++++++++++++++++++++++++++++++++++++++++++++++ .+++++++++++++.
|
|
||||||
++++++++++++++++++ .,;++++++++++++++++++++++++++++++++++++++: +++++++++++++.
|
|
||||||
++++++++++++++++++ .,+++++++++++++++++++++++++ +++++++++++++.
|
|
||||||
+++++++++++++++++. +++++++++++++++++++++++++ ,++++++++++++.
|
|
||||||
+++++++++++++++++ ;++++++++++++++++++++++++ ++++++++++++.
|
|
||||||
+++++++++++++++++ ,+++++++++++++++++++++++; ++++++++++++.
|
|
||||||
+++++++++++++++++ .+++++++++++++++++++++++, ++++++++++++.
|
|
||||||
+++++++++++++++++ .+++++++++++++++++++++++, ++++++++++++.
|
|
||||||
+++++++++++++++++ .+++++++++++++++++++++++, ++++++++++++.
|
|
||||||
+++++++++++++++++ :+++++++++++++++++++++++; ++++++++++++.
|
|
||||||
+++++++++++++++++` +++++++++++++++++++++++++ ++++++++++++.
|
|
||||||
+++++++++++++++++; +++++++++++++++++++++++++ ++++++++++++.
|
|
||||||
++++++++++++++++++ +++++++++++++++++++++++++ ;++++++++++++.
|
|
||||||
++++++++++++++++++ ,+++++++++++++++++++++++++ +++++++++++++.
|
|
||||||
++++++++++++++++++: ++++++++++++++++++++++++++' +++++++++++++.
|
|
||||||
+++++++++++++++++++ +++++++++++++++++++++++++++ ;+++++++++++++.
|
|
||||||
+++++++++++++++++++, ++++++++++++++++++++++++++++, ++++++++++++++.
|
|
||||||
++++++++++++++++++++ +++++++++++++++++++++++++++++ ;++++++++++++++.
|
|
||||||
++++++++++++++++++++' ++++++++++++++++++++++++++++++' +++++++++++++++.
|
|
||||||
+++++++++++++++++++++, ++++++++++++++++++++++++++++++++ ++++++++++++++++.
|
|
||||||
++++++++++++++++++++++ ;+++++++++++++++++++++++++++++++++ '++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++ ;+++++++++++++++++++++++++++++++++++ :+++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++, '+++++++++++++++++++++++++++++++++++++ ;++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++' ++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++, '++++++++++++++++++++++++++++++++++++++++++' +++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++: '++++++++++++++++++++++++++++++++++++++++++++++, +++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++;` .++++++++++++++++++++++++++++++++++++++++++++++++++++' ,+++++++++++++++++++++++++.
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++',..,;+++++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++`
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++: .,++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++: :+++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, .++++++++++++++++++++++++++++++++++++++++++++++++++++++'
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,
|
|
||||||
.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++'
|
|
||||||
,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++;
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++`
|
|
||||||
:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++`
|
|
||||||
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,
|
|
||||||
.;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,
|
|
||||||
,;+++++++++++++++++++++++++++++++++++++++++++++++++++++++:.
|
|
||||||
..,;;+++++++++++++++++++++++++++++;:,.
|
|
||||||
|
|
||||||
To submit the revised current.txt to the main LineageOS repository,
|
|
||||||
you will need approval.
|
|
||||||
******************************
|
|
|
@ -13,12 +13,5 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
LINEAGE_SRC_API_DIR := $(TOPDIR)prebuilts/lineage-sdk/api
|
|
||||||
INTERNAL_LINEAGE_PLATFORM_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/lineage_public_api.txt
|
|
||||||
INTERNAL_LINEAGE_PLATFORM_REMOVED_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/lineage_removed.txt
|
|
||||||
FRAMEWORK_LINEAGE_PLATFORM_API_FILE := $(TOPDIR)lineage-sdk/api/lineage_current.txt
|
|
||||||
FRAMEWORK_LINEAGE_PLATFORM_REMOVED_API_FILE := $(TOPDIR)lineage-sdk/api/lineage_removed.txt
|
|
||||||
FRAMEWORK_LINEAGE_API_NEEDS_UPDATE_TEXT := $(TOPDIR)vendor/lineage/build/core/apicheck_msg_current.txt
|
|
||||||
|
|
||||||
# Rules for QCOM targets
|
# Rules for QCOM targets
|
||||||
include $(TOPDIR)vendor/lineage/build/core/qcom_target.mk
|
include $(TOPDIR)vendor/tequila/build/core/qcom_target.mk
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#
|
#
|
||||||
# Lineage-specific macros
|
# tequila-specific macros
|
||||||
#
|
#
|
||||||
define uniq
|
define uniq
|
||||||
$(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
|
$(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Include board/platform macros
|
# Include board/platform macros
|
||||||
include vendor/lineage/build/core/utils.mk
|
include vendor/tequila/build/core/utils.mk
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# Include LineageOS versions
|
# Include tequilaOS versions
|
||||||
include $(TOPDIR)vendor/lineage/build/core/main_version.mk
|
include $(TOPDIR)vendor/tequila/build/core/main_version.mk
|
||||||
|
|
|
@ -4,22 +4,10 @@ ADDITIONAL_SYSTEM_PROPERTIES += \
|
||||||
ro.build.fingerprint=$(BUILD_FINGERPRINT)
|
ro.build.fingerprint=$(BUILD_FINGERPRINT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# LineageOS System Version
|
# tequilaOS System Version
|
||||||
ADDITIONAL_SYSTEM_PROPERTIES += \
|
ADDITIONAL_SYSTEM_PROPERTIES += \
|
||||||
ro.lineage.version=$(LINEAGE_VERSION) \
|
ro.tequila.version=$(TEQUILA_VERSION) \
|
||||||
ro.lineage.releasetype=$(LINEAGE_BUILDTYPE) \
|
ro.tequila.releasetype=$(TEQUILA_BUILDTYPE) \
|
||||||
ro.lineage.build.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR) \
|
ro.tequila.build.version=$(TEQUILA_PLATFORM_VERSION) \
|
||||||
ro.modversion=$(LINEAGE_VERSION) \
|
ro.tequila.display.version=$(TEQUILA_DISPLAY_VERSION)
|
||||||
ro.lineagelegal.url=https://lineageos.org/legal
|
ro.modversion=$(TEQUILA_VERSION) \
|
||||||
|
|
||||||
# LineageOS Platform Display Version
|
|
||||||
ADDITIONAL_SYSTEM_PROPERTIES += \
|
|
||||||
ro.lineage.display.version=$(LINEAGE_DISPLAY_VERSION)
|
|
||||||
|
|
||||||
# LineageOS Platform SDK Version
|
|
||||||
ADDITIONAL_SYSTEM_PROPERTIES += \
|
|
||||||
ro.lineage.build.version.plat.sdk=$(LINEAGE_PLATFORM_SDK_VERSION)
|
|
||||||
|
|
||||||
# LineageOS Platform Internal Version
|
|
||||||
ADDITIONAL_SYSTEM_PROPERTIES += \
|
|
||||||
ro.lineage.build.version.plat.rev=$(LINEAGE_PLATFORM_REV)
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
function __print_lineage_functions_help() {
|
function __print_tequila_functions_help() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Additional LineageOS functions:
|
Additional tequilaOS functions:
|
||||||
- cout: Changes directory to out.
|
- cout: Changes directory to out.
|
||||||
- mmp: Builds all of the modules in the current directory and pushes them to the device.
|
- mmp: Builds all of the modules in the current directory and pushes them to the device.
|
||||||
- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
|
- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
|
||||||
- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
|
- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
|
||||||
- lineagegerrit: A Git wrapper that fetches/pushes patch from/to LineageOS Gerrit Review.
|
- tequilagerrit: A Git wrapper that fetches/pushes patch from/to tequilaOS Gerrit Review.
|
||||||
- lineagerebase: Rebase a Gerrit change and push it again.
|
- tequilarebase: Rebase a Gerrit change and push it again.
|
||||||
- lineageremote: Add git remote for LineageOS Gerrit Review.
|
- githubremote: Add git remote for tequilaOS Github.
|
||||||
|
- gerritremote: Add git remote for tequilaOS Gerrit Review.
|
||||||
- aospremote: Add git remote for matching AOSP repository.
|
- aospremote: Add git remote for matching AOSP repository.
|
||||||
- cloremote: Add git remote for matching CodeLinaro repository.
|
- cloremote: Add git remote for matching CodeLinaro repository.
|
||||||
- githubremote: Add git remote for LineageOS Github.
|
|
||||||
- mka: Builds using SCHED_BATCH on all processors.
|
- mka: Builds using SCHED_BATCH on all processors.
|
||||||
- mkap: Builds the module(s) using mka and pushes them to the device.
|
- mkap: Builds the module(s) using mka and pushes them to the device.
|
||||||
- cmka: Cleans and builds using mka.
|
- cmka: Cleans and builds using mka.
|
||||||
|
@ -69,7 +69,7 @@ function breakfast()
|
||||||
{
|
{
|
||||||
target=$1
|
target=$1
|
||||||
local variant=$2
|
local variant=$2
|
||||||
source ${ANDROID_BUILD_TOP}/vendor/lineage/vars/aosp_target_release
|
source ${ANDROID_BUILD_TOP}/vendor/tequila/vars/aosp_target_release
|
||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
# No arguments, so let's have the full menu
|
# No arguments, so let's have the full menu
|
||||||
|
@ -79,12 +79,12 @@ function breakfast()
|
||||||
# A buildtype was specified, assume a full device name
|
# A buildtype was specified, assume a full device name
|
||||||
lunch $target
|
lunch $target
|
||||||
else
|
else
|
||||||
# This is probably just the Lineage model name
|
# This is probably just the tequila model name
|
||||||
if [ -z "$variant" ]; then
|
if [ -z "$variant" ]; then
|
||||||
variant="userdebug"
|
variant="userdebug"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lunch lineage_$target-$aosp_target_release-$variant
|
lunch tequila_$target-$aosp_target_release-$variant
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
return $?
|
return $?
|
||||||
|
@ -95,7 +95,7 @@ alias bib=breakfast
|
||||||
function eat()
|
function eat()
|
||||||
{
|
{
|
||||||
if [ "$OUT" ] ; then
|
if [ "$OUT" ] ; then
|
||||||
ZIPPATH=`ls -tr "$OUT"/lineage-*.zip | tail -1`
|
ZIPPATH=`ls -tr "$OUT"/teq-*.zip | tail -1`
|
||||||
if [ ! -f $ZIPPATH ] ; then
|
if [ ! -f $ZIPPATH ] ; then
|
||||||
echo "Nothing to eat"
|
echo "Nothing to eat"
|
||||||
return 1
|
return 1
|
||||||
|
@ -103,13 +103,13 @@ function eat()
|
||||||
echo "Waiting for device..."
|
echo "Waiting for device..."
|
||||||
adb wait-for-device-recovery
|
adb wait-for-device-recovery
|
||||||
echo "Found device"
|
echo "Found device"
|
||||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD"); then
|
if (adb shell getprop ro.tequila.device | grep -q "$TEQUILA_BUILD"); then
|
||||||
echo "Rebooting to sideload for install"
|
echo "Rebooting to sideload for install"
|
||||||
adb reboot sideload-auto-reboot
|
adb reboot sideload-auto-reboot
|
||||||
adb wait-for-sideload
|
adb wait-for-sideload
|
||||||
adb sideload $ZIPPATH
|
adb sideload $ZIPPATH
|
||||||
else
|
else
|
||||||
echo "The connected device does not appear to be $LINEAGE_BUILD, run away!"
|
echo "The connected device does not appear to be $TEQUILA_BUILD, run away!"
|
||||||
fi
|
fi
|
||||||
return $?
|
return $?
|
||||||
else
|
else
|
||||||
|
@ -233,43 +233,43 @@ function dddclient()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function lineageremote()
|
function gerritremote()
|
||||||
{
|
{
|
||||||
if ! git rev-parse --git-dir &> /dev/null
|
if ! git rev-parse --git-dir &> /dev/null
|
||||||
then
|
then
|
||||||
echo ".git directory not found. Please run this from the root directory of the Android repository you wish to set up."
|
echo ".git directory not found. Please run this from the root directory of the Android repository you wish to set up."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
git remote rm lineage 2> /dev/null
|
git remote rm gerrit 2> /dev/null
|
||||||
local REMOTE=$(git config --get remote.github.projectname)
|
local REMOTE=$(git config --get remote.tequila.projectname)
|
||||||
local LINEAGE="true"
|
local TEQUILA="true"
|
||||||
if [ -z "$REMOTE" ]
|
if [ -z "$REMOTE" ]
|
||||||
then
|
then
|
||||||
REMOTE=$(git config --get remote.aosp.projectname)
|
REMOTE=$(git config --get remote.aosp.projectname)
|
||||||
LINEAGE="false"
|
TEQUILA="false"
|
||||||
fi
|
fi
|
||||||
if [ -z "$REMOTE" ]
|
if [ -z "$REMOTE" ]
|
||||||
then
|
then
|
||||||
REMOTE=$(git config --get remote.clo.projectname)
|
REMOTE=$(git config --get remote.clo.projectname)
|
||||||
LINEAGE="false"
|
TEQUILA="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $LINEAGE = "false" ]
|
if [ $TEQUILA = "false" ]
|
||||||
then
|
then
|
||||||
local PROJECT=$(echo $REMOTE | sed -e "s#platform/#android/#g; s#/#_#g")
|
local PROJECT=$(echo $REMOTE | sed -e "s#/#_#g")
|
||||||
local PFX="LineageOS/"
|
local PFX="tequilaOS/"
|
||||||
else
|
else
|
||||||
local PROJECT=$REMOTE
|
local PROJECT=$REMOTE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local LINEAGE_USER=$(git config --get review.review.lineageos.org.username)
|
local TEQUILA_USER=$(git config --get review.review.tequilaos.org.username)
|
||||||
if [ -z "$LINEAGE_USER" ]
|
if [ -z "$TEQUILA_USER" ]
|
||||||
then
|
then
|
||||||
git remote add lineage ssh://review.lineageos.org:29418/$PFX$PROJECT
|
git remote add gerrit ssh://review.tequilaos.org:29418/$PFX$PROJECT
|
||||||
else
|
else
|
||||||
git remote add lineage ssh://$LINEAGE_USER@review.lineageos.org:29418/$PFX$PROJECT
|
git remote add gerrit ssh://$TEQUILA_USER@review.tequilaos.org:29418/$PFX$PROJECT
|
||||||
fi
|
fi
|
||||||
echo "Remote 'lineage' created"
|
echo "Remote 'gerrit' created"
|
||||||
}
|
}
|
||||||
|
|
||||||
function aospremote()
|
function aospremote()
|
||||||
|
@ -332,14 +332,14 @@ function cloremote()
|
||||||
echo "Remote 'clo' created"
|
echo "Remote 'clo' created"
|
||||||
}
|
}
|
||||||
|
|
||||||
function githubremote()
|
function tequilaremote()
|
||||||
{
|
{
|
||||||
if ! git rev-parse --git-dir &> /dev/null
|
if ! git rev-parse --git-dir &> /dev/null
|
||||||
then
|
then
|
||||||
echo ".git directory not found. Please run this from the root directory of the Android repository you wish to set up."
|
echo ".git directory not found. Please run this from the root directory of the Android repository you wish to set up."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
git remote rm github 2> /dev/null
|
git remote rm tequila 2> /dev/null
|
||||||
local REMOTE=$(git config --get remote.aosp.projectname)
|
local REMOTE=$(git config --get remote.aosp.projectname)
|
||||||
|
|
||||||
if [ -z "$REMOTE" ]
|
if [ -z "$REMOTE" ]
|
||||||
|
@ -347,10 +347,10 @@ function githubremote()
|
||||||
REMOTE=$(git config --get remote.clo.projectname)
|
REMOTE=$(git config --get remote.clo.projectname)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local PROJECT=$(echo $REMOTE | sed -e "s#platform/#android/#g; s#/#_#g")
|
local PROJECT=$(echo $REMOTE | sed -e "s#/#_#g")
|
||||||
|
|
||||||
git remote add github https://github.com/LineageOS/$PROJECT
|
git remote add tequila https://github.com/tequilaOS/$PROJECT
|
||||||
echo "Remote 'github' created"
|
echo "Remote 'tequila' created"
|
||||||
}
|
}
|
||||||
|
|
||||||
function installboot()
|
function installboot()
|
||||||
|
@ -380,14 +380,14 @@ function installboot()
|
||||||
adb wait-for-device-recovery
|
adb wait-for-device-recovery
|
||||||
adb root
|
adb root
|
||||||
adb wait-for-device-recovery
|
adb wait-for-device-recovery
|
||||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD");
|
if (adb shell getprop ro.tequila.device | grep -q "$TEQUILA_BUILD");
|
||||||
then
|
then
|
||||||
adb push $OUT/boot.img /cache/
|
adb push $OUT/boot.img /cache/
|
||||||
adb shell dd if=/cache/boot.img of=$PARTITION
|
adb shell dd if=/cache/boot.img of=$PARTITION
|
||||||
adb shell rm -rf /cache/boot.img
|
adb shell rm -rf /cache/boot.img
|
||||||
echo "Installation complete."
|
echo "Installation complete."
|
||||||
else
|
else
|
||||||
echo "The connected device does not appear to be $LINEAGE_BUILD, run away!"
|
echo "The connected device does not appear to be $TEQUILA_BUILD, run away!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,14 +418,14 @@ function installrecovery()
|
||||||
adb wait-for-device-recovery
|
adb wait-for-device-recovery
|
||||||
adb root
|
adb root
|
||||||
adb wait-for-device-recovery
|
adb wait-for-device-recovery
|
||||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD");
|
if (adb shell getprop ro.tequila.device | grep -q "$TEQUILA_BUILD");
|
||||||
then
|
then
|
||||||
adb push $OUT/recovery.img /cache/
|
adb push $OUT/recovery.img /cache/
|
||||||
adb shell dd if=/cache/recovery.img of=$PARTITION
|
adb shell dd if=/cache/recovery.img of=$PARTITION
|
||||||
adb shell rm -rf /cache/recovery.img
|
adb shell rm -rf /cache/recovery.img
|
||||||
echo "Installation complete."
|
echo "Installation complete."
|
||||||
else
|
else
|
||||||
echo "The connected device does not appear to be $LINEAGE_BUILD, run away!"
|
echo "The connected device does not appear to be $TEQUILA_BUILD, run away!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -445,13 +445,13 @@ function makerecipe() {
|
||||||
if [ "$REPO_REMOTE" = "github" ]
|
if [ "$REPO_REMOTE" = "github" ]
|
||||||
then
|
then
|
||||||
pwd
|
pwd
|
||||||
lineageremote
|
gerritremote
|
||||||
git push lineage HEAD:refs/heads/'$1'
|
git push gerrit HEAD:refs/heads/'$1'
|
||||||
fi
|
fi
|
||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
function lineagegerrit() {
|
function tequilagerrit() {
|
||||||
if [ "$(basename $SHELL)" = "zsh" ]; then
|
if [ "$(basename $SHELL)" = "zsh" ]; then
|
||||||
# zsh does not define FUNCNAME, derive from funcstack
|
# zsh does not define FUNCNAME, derive from funcstack
|
||||||
local FUNCNAME=$funcstack[1]
|
local FUNCNAME=$funcstack[1]
|
||||||
|
@ -461,9 +461,9 @@ function lineagegerrit() {
|
||||||
$FUNCNAME help
|
$FUNCNAME help
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
local user=`git config --get review.review.lineageos.org.username`
|
local user=`git config --get review.review.tequilaos.org.username`
|
||||||
local review=`git config --get remote.github.review`
|
local review=`git config --get remote.tequila.review`
|
||||||
local project=`git config --get remote.github.projectname`
|
local project=`git config --get remote.tequila.projectname`
|
||||||
local command=$1
|
local command=$1
|
||||||
shift
|
shift
|
||||||
case $command in
|
case $command in
|
||||||
|
@ -497,7 +497,7 @@ EOF
|
||||||
case $1 in
|
case $1 in
|
||||||
__cmg_*) echo "For internal use only." ;;
|
__cmg_*) echo "For internal use only." ;;
|
||||||
changes|for)
|
changes|for)
|
||||||
if [ "$FUNCNAME" = "lineagegerrit" ]; then
|
if [ "$FUNCNAME" = "tequilagerrit" ]; then
|
||||||
echo "'$FUNCNAME $1' is deprecated."
|
echo "'$FUNCNAME $1' is deprecated."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -590,7 +590,7 @@ EOF
|
||||||
${local_branch}:refs/for/$remote_branch || return 1
|
${local_branch}:refs/for/$remote_branch || return 1
|
||||||
;;
|
;;
|
||||||
changes|for)
|
changes|for)
|
||||||
if [ "$FUNCNAME" = "lineagegerrit" ]; then
|
if [ "$FUNCNAME" = "tequilagerrit" ]; then
|
||||||
echo >&2 "'$FUNCNAME $command' is deprecated."
|
echo >&2 "'$FUNCNAME $command' is deprecated."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -689,15 +689,15 @@ EOF
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
function lineagerebase() {
|
function tequilarebase() {
|
||||||
local repo=$1
|
local repo=$1
|
||||||
local refs=$2
|
local refs=$2
|
||||||
local pwd="$(pwd)"
|
local pwd="$(pwd)"
|
||||||
local dir="$(gettop)/$repo"
|
local dir="$(gettop)/$repo"
|
||||||
|
|
||||||
if [ -z $repo ] || [ -z $refs ]; then
|
if [ -z $repo ] || [ -z $refs ]; then
|
||||||
echo "LineageOS Gerrit Rebase Usage: "
|
echo "tequilaOS Gerrit Rebase Usage: "
|
||||||
echo " lineagerebase <path to project> <patch IDs on Gerrit>"
|
echo " tequilarebase <path to project> <patch IDs on Gerrit>"
|
||||||
echo " The patch IDs appear on the Gerrit commands that are offered."
|
echo " The patch IDs appear on the Gerrit commands that are offered."
|
||||||
echo " They consist on a series of numbers and slashes, after the text"
|
echo " They consist on a series of numbers and slashes, after the text"
|
||||||
echo " refs/changes. For example, the ID in the following command is 26/8126/2"
|
echo " refs/changes. For example, the ID in the following command is 26/8126/2"
|
||||||
|
@ -718,7 +718,7 @@ function lineagerebase() {
|
||||||
echo "Bringing it up to date..."
|
echo "Bringing it up to date..."
|
||||||
repo sync .
|
repo sync .
|
||||||
echo "Fetching change..."
|
echo "Fetching change..."
|
||||||
git fetch "http://review.lineageos.org/p/$repo" "refs/changes/$refs" && git cherry-pick FETCH_HEAD
|
git fetch "http://review.tequilaos.org/p/$repo" "refs/changes/$refs" && git cherry-pick FETCH_HEAD
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
echo "Error cherry-picking. Not uploading!"
|
echo "Error cherry-picking. Not uploading!"
|
||||||
return
|
return
|
||||||
|
@ -802,7 +802,7 @@ function dopush()
|
||||||
echo "Device Found."
|
echo "Device Found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD") || [ "$FORCE_PUSH" = "true" ];
|
if (adb shell getprop ro.tequila.device | grep -q "$TEQUILA_BUILD") || [ "$FORCE_PUSH" = "true" ];
|
||||||
then
|
then
|
||||||
# retrieve IP and PORT info if we're using a TCP connection
|
# retrieve IP and PORT info if we're using a TCP connection
|
||||||
TCPIPPORT=$(adb devices \
|
TCPIPPORT=$(adb devices \
|
||||||
|
@ -921,7 +921,7 @@ EOF
|
||||||
rm -f $OUT/.log
|
rm -f $OUT/.log
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo "The connected device does not appear to be $LINEAGE_BUILD, run away!"
|
echo "The connected device does not appear to be $TEQUILA_BUILD, run away!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -934,7 +934,7 @@ alias cmkap='dopush cmka'
|
||||||
|
|
||||||
function repopick() {
|
function repopick() {
|
||||||
T=$(gettop)
|
T=$(gettop)
|
||||||
$T/vendor/lineage/build/tools/repopick.py $@
|
$T/vendor/tequila/build/tools/repopick.py $@
|
||||||
}
|
}
|
||||||
|
|
||||||
function sort-blobs-list() {
|
function sort-blobs-list() {
|
||||||
|
@ -946,7 +946,7 @@ function fixup_common_out_dir() {
|
||||||
common_out_dir=$(get_build_var OUT_DIR)/target/common
|
common_out_dir=$(get_build_var OUT_DIR)/target/common
|
||||||
target_device=$(get_build_var TARGET_DEVICE)
|
target_device=$(get_build_var TARGET_DEVICE)
|
||||||
common_target_out=common-${target_device}
|
common_target_out=common-${target_device}
|
||||||
if [ ! -z $LINEAGE_FIXUP_COMMON_OUT ]; then
|
if [ ! -z $TEQUILA_FIXUP_COMMON_OUT ]; then
|
||||||
if [ -d ${common_out_dir} ] && [ ! -L ${common_out_dir} ]; then
|
if [ -d ${common_out_dir} ] && [ ! -L ${common_out_dir} ]; then
|
||||||
mv ${common_out_dir} ${common_out_dir}-${target_device}
|
mv ${common_out_dir} ${common_out_dir}-${target_device}
|
||||||
ln -s ${common_target_out} ${common_out_dir}
|
ln -s ${common_target_out} ${common_out_dir}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// LineageOS soong configs
|
// tequilaOS soong configs
|
||||||
|
|
||||||
bootstrap_go_package {
|
bootstrap_go_package {
|
||||||
name: "soong-lineage-generator",
|
name: "soong-tequila-generator",
|
||||||
pkgPath: "lineage/soong/generator",
|
pkgPath: "tequila/soong/generator",
|
||||||
deps: [
|
deps: [
|
||||||
"blueprint",
|
"blueprint",
|
||||||
"blueprint-pathtools",
|
"blueprint-pathtools",
|
||||||
|
@ -17,11 +17,11 @@ bootstrap_go_package {
|
||||||
pluginFor: ["soong_build"],
|
pluginFor: ["soong_build"],
|
||||||
}
|
}
|
||||||
|
|
||||||
lineage_generator {
|
tequila_generator {
|
||||||
name: "generated_kernel_includes",
|
name: "generated_kernel_includes",
|
||||||
|
|
||||||
// The headers make command
|
// The headers make command
|
||||||
cmd: "$(PATH_OVERRIDE_SOONG) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(TARGET_KERNEL_SOURCE) O=$(KERNEL_BUILD_OUT_PREFIX)$(genDir) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) headers_install && vendor/lineage/tools/clean_headers.sh $(KERNEL_BUILD_OUT_PREFIX)$(genDir)",
|
cmd: "$(PATH_OVERRIDE_SOONG) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(TARGET_KERNEL_SOURCE) O=$(KERNEL_BUILD_OUT_PREFIX)$(genDir) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) headers_install && vendor/tequila/tools/clean_headers.sh $(KERNEL_BUILD_OUT_PREFIX)$(genDir)",
|
||||||
|
|
||||||
// Directories that can be imported by a cc_* module generated_headers property
|
// Directories that can be imported by a cc_* module generated_headers property
|
||||||
export_include_dirs: [
|
export_include_dirs: [
|
||||||
|
@ -64,7 +64,7 @@ cc_library_headers {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "aapt_version_code",
|
name: "aapt_version_code",
|
||||||
module_type: "java_defaults",
|
module_type: "java_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["aapt_version_code"],
|
value_variables: ["aapt_version_code"],
|
||||||
properties: ["aaptflags"],
|
properties: ["aaptflags"],
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ aapt_version_code {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "camera_override_format_from_reserved",
|
name: "camera_override_format_from_reserved",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: ["camera_override_format_from_reserved"],
|
bool_variables: ["camera_override_format_from_reserved"],
|
||||||
properties: ["cppflags"],
|
properties: ["cppflags"],
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,7 @@ camera_override_format_from_reserved {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "gralloc_10_usage_bits",
|
name: "gralloc_10_usage_bits",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["additional_gralloc_10_usage_bits"],
|
value_variables: ["additional_gralloc_10_usage_bits"],
|
||||||
properties: ["cppflags"],
|
properties: ["cppflags"],
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ gralloc_10_usage_bits {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "gralloc_handle_custom_content_md_reserved_size",
|
name: "gralloc_handle_custom_content_md_reserved_size",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: ["gralloc_handle_has_custom_content_md_reserved_size"],
|
bool_variables: ["gralloc_handle_has_custom_content_md_reserved_size"],
|
||||||
properties: ["export_cflags"],
|
properties: ["export_cflags"],
|
||||||
}
|
}
|
||||||
|
@ -135,7 +135,7 @@ gralloc_handle_custom_content_md_reserved_size {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "gralloc_handle_reserved_size",
|
name: "gralloc_handle_reserved_size",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: ["gralloc_handle_has_reserved_size"],
|
bool_variables: ["gralloc_handle_has_reserved_size"],
|
||||||
properties: ["export_cflags"],
|
properties: ["export_cflags"],
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ gralloc_handle_reserved_size {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "gralloc_handle_ubwcp_format",
|
name: "gralloc_handle_ubwcp_format",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: ["gralloc_handle_has_ubwcp_format"],
|
bool_variables: ["gralloc_handle_has_ubwcp_format"],
|
||||||
properties: ["export_cflags"],
|
properties: ["export_cflags"],
|
||||||
}
|
}
|
||||||
|
@ -169,7 +169,7 @@ gralloc_handle_ubwcp_format {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "target_shim_libs",
|
name: "target_shim_libs",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["target_ld_shim_libs"],
|
value_variables: ["target_ld_shim_libs"],
|
||||||
properties: ["cppflags"],
|
properties: ["cppflags"],
|
||||||
}
|
}
|
||||||
|
@ -186,7 +186,7 @@ target_shim_libs {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "vendor_init",
|
name: "vendor_init",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["target_init_vendor_lib"],
|
value_variables: ["target_init_vendor_lib"],
|
||||||
properties: ["whole_static_libs"],
|
properties: ["whole_static_libs"],
|
||||||
}
|
}
|
||||||
|
@ -203,7 +203,7 @@ vendor_init {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "power_libperfmgr",
|
name: "power_libperfmgr",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["target_power_libperfmgr_mode_extension_lib"],
|
value_variables: ["target_power_libperfmgr_mode_extension_lib"],
|
||||||
properties: [
|
properties: [
|
||||||
"whole_static_libs",
|
"whole_static_libs",
|
||||||
|
@ -222,7 +222,7 @@ power_libperfmgr {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "surfaceflinger_udfps_lib",
|
name: "surfaceflinger_udfps_lib",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["target_surfaceflinger_udfps_lib"],
|
value_variables: ["target_surfaceflinger_udfps_lib"],
|
||||||
properties: [
|
properties: [
|
||||||
"cppflags",
|
"cppflags",
|
||||||
|
@ -243,7 +243,7 @@ surfaceflinger_udfps_lib {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "trust_usb_control",
|
name: "trust_usb_control",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: [
|
value_variables: [
|
||||||
"target_trust_usb_control_path",
|
"target_trust_usb_control_path",
|
||||||
"target_trust_usb_control_enable",
|
"target_trust_usb_control_enable",
|
||||||
|
@ -270,7 +270,7 @@ trust_usb_control {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "bootloader_message_offset",
|
name: "bootloader_message_offset",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
value_variables: ["bootloader_message_offset"],
|
value_variables: ["bootloader_message_offset"],
|
||||||
properties: [
|
properties: [
|
||||||
"cflags",
|
"cflags",
|
||||||
|
@ -291,7 +291,7 @@ bootloader_message_offset {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "egl_display_array",
|
name: "egl_display_array",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: ["uses_egl_display_array"],
|
bool_variables: ["uses_egl_display_array"],
|
||||||
properties: ["cflags"],
|
properties: ["cflags"],
|
||||||
}
|
}
|
||||||
|
@ -308,7 +308,7 @@ egl_display_array {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "health_charging_control",
|
name: "health_charging_control",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageGlobalVars",
|
config_namespace: "tequilaGlobalVars",
|
||||||
bool_variables: [
|
bool_variables: [
|
||||||
"target_health_charging_control_supports_toggle",
|
"target_health_charging_control_supports_toggle",
|
||||||
"target_health_charging_control_supports_bypass",
|
"target_health_charging_control_supports_bypass",
|
||||||
|
@ -354,7 +354,7 @@ health_charging_control {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "librmnetctl_pre_uplink",
|
name: "librmnetctl_pre_uplink",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageQcomVars",
|
config_namespace: "tequilaQcomVars",
|
||||||
bool_variables: ["uses_pre_uplink_features_netmgrd"],
|
bool_variables: ["uses_pre_uplink_features_netmgrd"],
|
||||||
properties: ["cflags"],
|
properties: ["cflags"],
|
||||||
}
|
}
|
||||||
|
@ -371,7 +371,7 @@ librmnetctl_pre_uplink {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "extended_compress_format",
|
name: "extended_compress_format",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageQcomVars",
|
config_namespace: "tequilaQcomVars",
|
||||||
bool_variables: ["supports_extended_compress_format"],
|
bool_variables: ["supports_extended_compress_format"],
|
||||||
properties: ["cflags"],
|
properties: ["cflags"],
|
||||||
}
|
}
|
||||||
|
@ -388,7 +388,7 @@ extended_compress_format {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "surfaceflinger_qcom_extensions",
|
name: "surfaceflinger_qcom_extensions",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageQcomVars",
|
config_namespace: "tequilaQcomVars",
|
||||||
value_variables: ["qcom_display_headers_namespace"],
|
value_variables: ["qcom_display_headers_namespace"],
|
||||||
properties: [
|
properties: [
|
||||||
"cppflags",
|
"cppflags",
|
||||||
|
@ -409,7 +409,7 @@ surfaceflinger_qcom_extensions {
|
||||||
soong_config_module_type {
|
soong_config_module_type {
|
||||||
name: "qti_vibrator_hal",
|
name: "qti_vibrator_hal",
|
||||||
module_type: "cc_defaults",
|
module_type: "cc_defaults",
|
||||||
config_namespace: "lineageQcomVars",
|
config_namespace: "tequilaQcomVars",
|
||||||
bool_variables: ["qti_vibrator_use_effect_stream"],
|
bool_variables: ["qti_vibrator_use_effect_stream"],
|
||||||
value_variables: ["qti_vibrator_effect_lib"],
|
value_variables: ["qti_vibrator_effect_lib"],
|
||||||
properties: [
|
properties: [
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
android.RegisterModuleType("lineage_generator", GeneratorFactory)
|
android.RegisterModuleType("tequila_generator", GeneratorFactory)
|
||||||
}
|
}
|
||||||
|
|
||||||
var String = proptools.String
|
var String = proptools.String
|
||||||
|
@ -210,12 +210,12 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||||
if depRoot == "" {
|
if depRoot == "" {
|
||||||
depRoot = ctx.ModuleDir()
|
depRoot = ctx.ModuleDir()
|
||||||
} else {
|
} else {
|
||||||
depRoot = lineageExpandVariables(ctx, depRoot)
|
depRoot = tequilaExpandVariables(ctx, depRoot)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Glob dep_files property
|
// Glob dep_files property
|
||||||
for _, dep_file := range g.properties.Dep_files {
|
for _, dep_file := range g.properties.Dep_files {
|
||||||
dep_file = lineageExpandVariables(ctx, dep_file)
|
dep_file = tequilaExpandVariables(ctx, dep_file)
|
||||||
globPath := filepath.Join(depRoot, dep_file)
|
globPath := filepath.Join(depRoot, dep_file)
|
||||||
paths, err := ctx.GlobWithDeps(globPath, nil)
|
paths, err := ctx.GlobWithDeps(globPath, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -227,7 +227,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd := lineageExpandVariables(ctx, String(g.properties.Cmd))
|
cmd := tequilaExpandVariables(ctx, String(g.properties.Cmd))
|
||||||
|
|
||||||
rawCommand, err := android.Expand(cmd, func(name string) (string, error) {
|
rawCommand, err := android.Expand(cmd, func(name string) (string, error) {
|
||||||
switch name {
|
switch name {
|
||||||
|
|
|
@ -6,12 +6,12 @@ import (
|
||||||
"android/soong/android"
|
"android/soong/android"
|
||||||
)
|
)
|
||||||
|
|
||||||
func lineageExpandVariables(ctx android.ModuleContext, in string) string {
|
func tequilaExpandVariables(ctx android.ModuleContext, in string) string {
|
||||||
lineageVars := ctx.Config().VendorConfig("lineageVarsPlugin")
|
tequilaVars := ctx.Config().VendorConfig("tequilaVarsPlugin")
|
||||||
|
|
||||||
out, err := android.Expand(in, func(name string) (string, error) {
|
out, err := android.Expand(in, func(name string) (string, error) {
|
||||||
if lineageVars.IsSet(name) {
|
if tequilaVars.IsSet(name) {
|
||||||
return lineageVars.String(name), nil
|
return tequilaVars.String(name), nil
|
||||||
}
|
}
|
||||||
// This variable is not for us, restore what the original
|
// This variable is not for us, restore what the original
|
||||||
// variable string will have looked like for an Expand
|
// variable string will have looked like for an Expand
|
||||||
|
|
|
@ -15,37 +15,37 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/lineage_gsi_arm.mk \
|
$(LOCAL_DIR)/tequila_gsi_arm.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_arm64.mk \
|
$(LOCAL_DIR)/tequila_gsi_arm64.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_x86.mk \
|
$(LOCAL_DIR)/tequila_gsi_x86.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_x86_64.mk \
|
$(LOCAL_DIR)/tequila_gsi_x86_64.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_car_arm64.mk \
|
$(LOCAL_DIR)/tequila_gsi_car_arm64.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_car_x86_64.mk \
|
$(LOCAL_DIR)/tequila_gsi_car_x86_64.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_tv_arm.mk \
|
$(LOCAL_DIR)/tequila_gsi_tv_arm.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_tv_arm64.mk \
|
$(LOCAL_DIR)/tequila_gsi_tv_arm64.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_tv_x86.mk \
|
$(LOCAL_DIR)/tequila_gsi_tv_x86.mk \
|
||||||
$(LOCAL_DIR)/lineage_gsi_tv_x86_64.mk \
|
$(LOCAL_DIR)/tequila_gsi_tv_x86_64.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_car_arm64.mk \
|
$(LOCAL_DIR)/tequila_sdk_car_arm64.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_car_x86_64.mk \
|
$(LOCAL_DIR)/tequila_sdk_car_x86_64.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_phone_arm64.mk \
|
$(LOCAL_DIR)/tequila_sdk_phone_arm64.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_phone_x86_64.mk \
|
$(LOCAL_DIR)/tequila_sdk_phone_x86_64.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_tv_arm.mk \
|
$(LOCAL_DIR)/tequila_sdk_tv_arm.mk \
|
||||||
$(LOCAL_DIR)/lineage_sdk_tv_x86.mk
|
$(LOCAL_DIR)/tequila_sdk_tv_x86.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
lineage_gsi_arm-userdebug \
|
tequila_gsi_arm-userdebug \
|
||||||
lineage_gsi_arm64-userdebug \
|
tequila_gsi_arm64-userdebug \
|
||||||
lineage_gsi_x86-userdebug \
|
tequila_gsi_x86-userdebug \
|
||||||
lineage_gsi_x86_64-userdebug \
|
tequila_gsi_x86_64-userdebug \
|
||||||
lineage_gsi_car_arm64-userdebug \
|
tequila_gsi_car_arm64-userdebug \
|
||||||
lineage_gsi_car_x86_64-userdebug \
|
tequila_gsi_car_x86_64-userdebug \
|
||||||
lineage_gsi_tv_arm-userdebug \
|
tequila_gsi_tv_arm-userdebug \
|
||||||
lineage_gsi_tv_arm64-userdebug \
|
tequila_gsi_tv_arm64-userdebug \
|
||||||
lineage_gsi_tv_x86-userdebug \
|
tequila_gsi_tv_x86-userdebug \
|
||||||
lineage_gsi_tv_x86_64-userdebug \
|
tequila_gsi_tv_x86_64-userdebug \
|
||||||
lineage_sdk_car_arm64-userdebug \
|
tequila_sdk_car_arm64-userdebug \
|
||||||
lineage_sdk_car_x86_64-userdebug \
|
tequila_sdk_car_x86_64-userdebug \
|
||||||
lineage_sdk_phone_arm64-userdebug \
|
tequila_sdk_phone_arm64-userdebug \
|
||||||
lineage_sdk_phone_x86_64-userdebug \
|
tequila_sdk_phone_x86_64-userdebug \
|
||||||
lineage_sdk_tv_arm-userdebug \
|
tequila_sdk_tv_arm-userdebug \
|
||||||
lineage_sdk_tv_x86-userdebug
|
tequila_sdk_tv_x86-userdebug
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIDszCCApugAwIBAgIJAOEEE8dzw8VPMA0GCSqGSIb3DQEBBQUAMHAxCzAJBgNV
|
|
||||||
BAYTAlVTMRMwEQYDVQQIDApXYXNoaW5ndG9uMRAwDgYDVQQHDAdTZWF0dGxlMRIw
|
|
||||||
EAYDVQQKDAlMaW5lYWdlT1MxEjAQBgNVBAsMCUxpbmVhZ2VPUzESMBAGA1UEAwwJ
|
|
||||||
TGluZWFnZU9TMB4XDTE3MDEwNzA0MjEyNVoXDTQ0MDUyNTA0MjEyNVowcDELMAkG
|
|
||||||
A1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUx
|
|
||||||
EjAQBgNVBAoMCUxpbmVhZ2VPUzESMBAGA1UECwwJTGluZWFnZU9TMRIwEAYDVQQD
|
|
||||||
DAlMaW5lYWdlT1MwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCmTdPh
|
|
||||||
+EIDj/A/Z7jpvwlTD8KRPLU+NlTHjsINvIsecRNijKWrwIYFYMtELBtR+Yttzl5Z
|
|
||||||
xJA38n9k9IrvBJCrmRBvCAeiEw4aizqs2DTmVvCFS2Amd7ZsAHsUwtDCjQ3GE0He
|
|
||||||
ZI2HnbWannnhKIhzGjuxxh+1j3JawHHeErYQk97MVoWsJHTO4s8i8ORL8ghBDZHF
|
|
||||||
0fYKp5RVSIIrrXVqcOD+F8g/NeX6Wb5N0rRGBI+bQjMhhv8KpH7TnCEN6f2YHFVx
|
|
||||||
nsjzDKrEQVwhYF8T9X0OzfBoLEhOlFZ0jevoDi8uCxz0f7ldkv/0Zz4W9jeB87LH
|
|
||||||
zUuQQEGr6134UFmZAgMBAAGjUDBOMB0GA1UdDgQWBBRyljIn1mxMTV+gkWrCLHk8
|
|
||||||
1F9DXDAfBgNVHSMEGDAWgBRyljIn1mxMTV+gkWrCLHk81F9DXDAMBgNVHRMEBTAD
|
|
||||||
AQH/MA0GCSqGSIb3DQEBBQUAA4IBAQCKJH4ByccucWfewkmT8j9TnAdhjCgZ7k0+
|
|
||||||
rpbSgxc66+ESRpQFxMSAUu8exy8pSawGd7SerFBVvqL+dajdPfyLPM+I+xDEoMJ3
|
|
||||||
ncKGHoC0RRKMGEhc4rS090/wOJJHZZtThlcjdND5vybMwmHngzl8o4CNWhneJvjb
|
|
||||||
hNkqxocrC9vGCsdo5Kx00ULn8sXVwcq7yl0bqtuSMlKxm6CVA3DVVnB8N8OZyTam
|
|
||||||
fgj9F0jOpWVtit1/ohd+1jB5bY3g+ulXCydKBFkJhNXAZf4welNG61SWLkH1gNGk
|
|
||||||
SEYxEuLV9JGjm7n5oqDKxYVcKKNfvbGtSmrqsq6i+QVuc/xIdzfr
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Pkg.Desc=LineageOS System Image API ${PLATFORM_VERSION} ${TARGET_CPU_ABI}
|
Pkg.Desc=tequilaOS System Image API ${PLATFORM_VERSION} ${TARGET_CPU_ABI}
|
||||||
Pkg.Revision=1
|
Pkg.Revision=1
|
||||||
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
|
AndroidVersion.ApiLevel=${PLATFORM_SDK_VERSION}
|
||||||
SystemImage.Abi=${TARGET_CPU_ABI}
|
SystemImage.Abi=${TARGET_CPU_ABI}
|
||||||
SystemImage.TagId=lineage
|
SystemImage.TagId=tequila
|
||||||
SystemImage.TagDisplay=LineageOS
|
SystemImage.TagDisplay=tequilaOS
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
$(call inherit-product, vendor/tequila/config/common_full_phone.mk)
|
||||||
|
|
||||||
# Allow building otatools
|
# Allow building otatools
|
||||||
TARGET_FORCE_OTA_PACKAGE := true
|
TARGET_FORCE_OTA_PACKAGE := true
|
|
@ -14,10 +14,10 @@
|
||||||
|
|
||||||
$(call inherit-product, device/generic/common/gsi_arm.mk)
|
$(call inherit-product, device/generic/common/gsi_arm.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||||
|
|
||||||
TARGET_NO_KERNEL_OVERRIDE := true
|
TARGET_NO_KERNEL_OVERRIDE := true
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_gsi_arm
|
PRODUCT_NAME := tequila_gsi_arm
|
|
@ -14,10 +14,10 @@
|
||||||
|
|
||||||
$(call inherit-product, device/generic/common/gsi_arm64.mk)
|
$(call inherit-product, device/generic/common/gsi_arm64.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||||
|
|
||||||
TARGET_NO_KERNEL_OVERRIDE := true
|
TARGET_NO_KERNEL_OVERRIDE := true
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_gsi_arm64
|
PRODUCT_NAME := tequila_gsi_arm64
|
|
@ -14,10 +14,10 @@
|
||||||
|
|
||||||
$(call inherit-product, device/generic/common/gsi_x86.mk)
|
$(call inherit-product, device/generic/common/gsi_x86.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||||
|
|
||||||
TARGET_NO_KERNEL_OVERRIDE := true
|
TARGET_NO_KERNEL_OVERRIDE := true
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_gsi_x86
|
PRODUCT_NAME := tequila_gsi_x86
|
|
@ -14,10 +14,10 @@
|
||||||
|
|
||||||
$(call inherit-product, device/generic/common/gsi_x86_64.mk)
|
$(call inherit-product, device/generic/common/gsi_x86_64.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
|
|
||||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||||
|
|
||||||
TARGET_NO_KERNEL_OVERRIDE := true
|
TARGET_NO_KERNEL_OVERRIDE := true
|
||||||
|
|
||||||
PRODUCT_NAME := lineage_gsi_x86_64
|
PRODUCT_NAME := tequila_gsi_x86_64
|
|
@ -13,9 +13,9 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
$(call inherit-product, device/generic/goldfish/64bitonly/product/sdk_phone64_arm64.mk)
|
$(call inherit-product, device/generic/goldfish/64bitonly/product/sdk_phone64_arm64.mk)
|
||||||
$(call inherit-product, vendor/lineage/build/target/product/lineage_sdk_phone_arm64_board.mk)
|
$(call inherit-product, vendor/tequila/build/target/product/tequila_sdk_phone_arm64_board.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
|
|
||||||
# Always build modules from source
|
# Always build modules from source
|
||||||
PRODUCT_MODULE_BUILD_FROM_SOURCE := true
|
PRODUCT_MODULE_BUILD_FROM_SOURCE := true
|
||||||
|
@ -24,8 +24,8 @@ PRODUCT_MODULE_BUILD_FROM_SOURCE := true
|
||||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||||
|
|
||||||
# Overrides
|
# Overrides
|
||||||
PRODUCT_NAME := lineage_sdk_phone_arm64
|
PRODUCT_NAME := tequila_sdk_phone_arm64
|
||||||
PRODUCT_MODEL := LineageOS Android SDK built for arm64
|
PRODUCT_MODEL := tequilaOS Android SDK built for arm64
|
||||||
|
|
||||||
PRODUCT_SDK_ADDON_NAME := lineage
|
PRODUCT_SDK_ADDON_NAME := tequila
|
||||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := vendor/lineage/build/target/product/source.properties
|
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := vendor/tequila/build/target/product/source.properties
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
$(call inherit-product, device/generic/goldfish/64bitonly/product/sdk_phone64_x86_64.mk)
|
$(call inherit-product, device/generic/goldfish/64bitonly/product/sdk_phone64_x86_64.mk)
|
||||||
|
|
||||||
include vendor/lineage/build/target/product/lineage_generic_target.mk
|
include vendor/tequila/build/target/product/tequila_generic_target.mk
|
||||||
include device/generic/goldfish/board/kernel/x86_64.mk
|
include device/generic/goldfish/board/kernel/x86_64.mk
|
||||||
|
|
||||||
# Always build modules from source
|
# Always build modules from source
|
||||||
|
@ -24,10 +24,10 @@ PRODUCT_MODULE_BUILD_FROM_SOURCE := true
|
||||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||||
|
|
||||||
# Overrides
|
# Overrides
|
||||||
PRODUCT_NAME := lineage_sdk_phone_x86_64
|
PRODUCT_NAME := tequila_sdk_phone_x86_64
|
||||||
PRODUCT_MODEL := LineageOS Android SDK built for x86_64
|
PRODUCT_MODEL := tequilaOS Android SDK built for x86_64
|
||||||
|
|
||||||
PRODUCT_SDK_ADDON_NAME := lineage
|
PRODUCT_SDK_ADDON_NAME := tequila
|
||||||
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
|
||||||
|
|
||||||
# Increase Partition size: 8G+8M
|
# Increase Partition size: 8G+8M
|
|
@ -14,14 +14,14 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# Lineage OTA update package
|
# tequila OTA update package
|
||||||
|
|
||||||
LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip
|
TEQUILA_TARGET_PACKAGE := $(PRODUCT_OUT)/teq-$(TEQUILA_VERSION).zip
|
||||||
|
|
||||||
SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum
|
SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum
|
||||||
|
|
||||||
.PHONY: bacon
|
.PHONY: bacon
|
||||||
bacon: $(DEFAULT_GOAL) $(INTERNAL_OTA_PACKAGE_TARGET)
|
bacon: $(DEFAULT_GOAL) $(INTERNAL_OTA_PACKAGE_TARGET)
|
||||||
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE)
|
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(TEQUILA_TARGET_PACKAGE)
|
||||||
$(hide) $(SHA256) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).sha256sum
|
$(hide) $(SHA256) $(TEQUILA_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(TEQUILA_TARGET_PACKAGE).sha256sum
|
||||||
@echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2
|
@echo "Package Complete: $(TEQUILA_TARGET_PACKAGE)" >&2
|
||||||
|
|
|
@ -8,7 +8,7 @@ INSTALLED_DTIMAGE_TARGET := $(PRODUCT_OUT)/dt.img
|
||||||
ifeq ($(strip $(BOARD_KERNEL_PREBUILT_DT)),)
|
ifeq ($(strip $(BOARD_KERNEL_PREBUILT_DT)),)
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
|
ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
|
||||||
DTBTOOL_NAME := dtbToolLineage
|
DTBTOOL_NAME := dtbTooltequila
|
||||||
else
|
else
|
||||||
DTBTOOL_NAME := $(TARGET_CUSTOM_DTBTOOL)
|
DTBTOOL_NAME := $(TARGET_CUSTOM_DTBTOOL)
|
||||||
endif
|
endif
|
||||||
|
@ -16,7 +16,7 @@ endif
|
||||||
DTBTOOL := $(HOST_OUT_EXECUTABLES)/$(DTBTOOL_NAME)$(HOST_EXECUTABLE_SUFFIX)
|
DTBTOOL := $(HOST_OUT_EXECUTABLES)/$(DTBTOOL_NAME)$(HOST_EXECUTABLE_SUFFIX)
|
||||||
|
|
||||||
ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
|
ifeq ($(strip $(TARGET_CUSTOM_DTBTOOL)),)
|
||||||
# dtbToolLineage will search subdirectories
|
# dtbTooltequila will search subdirectories
|
||||||
possible_dtb_dirs = $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/
|
possible_dtb_dirs = $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/
|
||||||
else
|
else
|
||||||
# Most specific paths must come first in possible_dtb_dirs
|
# Most specific paths must come first in possible_dtb_dirs
|
||||||
|
@ -42,7 +42,7 @@ endif
|
||||||
$(INSTALLED_DTIMAGE_TARGET): $(DTBTOOL) $(INSTALLED_KERNEL_TARGET)
|
$(INSTALLED_DTIMAGE_TARGET): $(DTBTOOL) $(INSTALLED_KERNEL_TARGET)
|
||||||
$(build-dtimage-target)
|
$(build-dtimage-target)
|
||||||
ifeq ($(strip $(BOARD_KERNEL_LZ4C_DT)),true)
|
ifeq ($(strip $(BOARD_KERNEL_LZ4C_DT)),true)
|
||||||
prebuilts/tools-lineage/${HOST_OS}-x86/bin/lz4 -9 < $@ > $(LZ4_DT_IMAGE)
|
prebuilts/tools-tequila/${HOST_OS}-x86/bin/lz4 -9 < $@ > $(LZ4_DT_IMAGE)
|
||||||
$(hide) $(ACP) $(LZ4_DT_IMAGE) $@
|
$(hide) $(ACP) $(LZ4_DT_IMAGE) $@
|
||||||
endif
|
endif
|
||||||
@echo "Made DT image: $@"
|
@echo "Made DT image: $@"
|
||||||
|
|
|
@ -1,77 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2010 The Android Open Source Project
|
|
||||||
# Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Makefile for producing lineage sdk coverage reports.
|
|
||||||
# Run "make lineage-sdk-test-coverage" in the $ANDROID_BUILD_TOP directory.
|
|
||||||
|
|
||||||
lineage_sdk_api_coverage_exe := $(HOST_OUT_EXECUTABLES)/lineage-sdk-api-coverage
|
|
||||||
dexdeps_exe := $(HOST_OUT_EXECUTABLES)/dexdeps
|
|
||||||
|
|
||||||
coverage_out := $(HOST_OUT)/lineage-sdk-api-coverage
|
|
||||||
|
|
||||||
api_text_description := lineage-sdk/api/lineage_current.txt
|
|
||||||
api_xml_description := $(coverage_out)/api.xml
|
|
||||||
$(api_xml_description) : $(api_text_description) $(APICHECK)
|
|
||||||
$(hide) echo "Converting API file to XML: $@"
|
|
||||||
$(hide) mkdir -p $(dir $@)
|
|
||||||
$(hide) $(APICHECK_COMMAND) -convert2xml $< $@
|
|
||||||
|
|
||||||
lineage-sdk-test-coverage-report := $(coverage_out)/lineage-sdk-test-coverage.html
|
|
||||||
|
|
||||||
lineage_sdk_tests_apk := $(call intermediates-dir-for,APPS,LineagePlatformTests)/package.apk
|
|
||||||
lineagesettingsprovider_tests_apk := $(call intermediates-dir-for,APPS,LineageSettingsProviderTests)/package.apk
|
|
||||||
lineage_sdk_api_coverage_dependencies := $(lineage_sdk_api_coverage_exe) $(dexdeps_exe) $(api_xml_description)
|
|
||||||
|
|
||||||
$(lineage-sdk-test-coverage-report): PRIVATE_TEST_CASES := $(lineage_sdk_tests_apk) $(lineagesettingsprovider_tests_apk)
|
|
||||||
$(lineage-sdk-test-coverage-report): PRIVATE_LINEAGE_SDK_API_COVERAGE_EXE := $(lineage_sdk_api_coverage_exe)
|
|
||||||
$(lineage-sdk-test-coverage-report): PRIVATE_DEXDEPS_EXE := $(dexdeps_exe)
|
|
||||||
$(lineage-sdk-test-coverage-report): PRIVATE_API_XML_DESC := $(api_xml_description)
|
|
||||||
$(lineage-sdk-test-coverage-report): $(lineage_sdk_tests_apk) $(lineagesettingsprovider_tests_apk) $(lineage_sdk_api_coverage_dependencies) | $(ACP)
|
|
||||||
$(call generate-lineage-coverage-report,"LINEAGE-SDK API Coverage Report",\
|
|
||||||
$(PRIVATE_TEST_CASES),html)
|
|
||||||
|
|
||||||
.PHONY: lineage-sdk-test-coverage
|
|
||||||
lineage-sdk-test-coverage : $(lineage-sdk-test-coverage-report)
|
|
||||||
|
|
||||||
# Put the test coverage report in the dist dir if "lineage-sdk" is among the build goals.
|
|
||||||
ifneq ($(filter lineage-sdk, $(MAKECMDGOALS)),)
|
|
||||||
$(call dist-for-goals, lineage-sdk, $(lineage-sdk-test-coverage-report):lineage-sdk-test-coverage-report.html)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Arguments;
|
|
||||||
# 1 - Name of the report printed out on the screen
|
|
||||||
# 2 - List of apk files that will be scanned to generate the report
|
|
||||||
# 3 - Format of the report
|
|
||||||
define generate-lineage-coverage-report
|
|
||||||
$(hide) mkdir -p $(dir $@)
|
|
||||||
$(hide) $(PRIVATE_LINEAGE_SDK_API_COVERAGE_EXE) -d $(PRIVATE_DEXDEPS_EXE) -a $(PRIVATE_API_XML_DESC) -f $(3) -o $@ $(2) -cm
|
|
||||||
@ echo $(1): file://$@
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Reset temp vars
|
|
||||||
lineage_sdk_api_coverage_dependencies :=
|
|
||||||
lineage-sdk-combined-coverage-report :=
|
|
||||||
lineage-sdk-combined-xml-coverage-report :=
|
|
||||||
lineage-sdk-verifier-coverage-report :=
|
|
||||||
lineage-sdk-test-coverage-report :=
|
|
||||||
api_xml_description :=
|
|
||||||
api_text_description :=
|
|
||||||
coverage_out :=
|
|
||||||
dexdeps_exe :=
|
|
||||||
lineage_sdk_api_coverage_exe :=
|
|
||||||
lineage_sdk_verifier_apk :=
|
|
||||||
android_lineage_sdk_zip :=
|
|
|
@ -358,7 +358,7 @@ endef
|
||||||
# $(5): module load list
|
# $(5): module load list
|
||||||
# $(6): suffix for output dir, needed for GKI modules usecase, empty otherwise
|
# $(6): suffix for output dir, needed for GKI modules usecase, empty otherwise
|
||||||
# Depmod requires a well-formed kernel version so 0.0 is used as a placeholder.
|
# Depmod requires a well-formed kernel version so 0.0 is used as a placeholder.
|
||||||
define build-image-kernel-modules-lineage
|
define build-image-kernel-modules-tequila
|
||||||
mkdir -p $(2)/lib/modules$(6)
|
mkdir -p $(2)/lib/modules$(6)
|
||||||
cp $(1) $(2)/lib/modules$(6)
|
cp $(1) $(2)/lib/modules$(6)
|
||||||
rm -rf $(4)
|
rm -rf $(4)
|
||||||
|
@ -493,14 +493,14 @@ $(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_CONFIG) $(DEPMOD) $(DTC)
|
||||||
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from SYSTEM_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from SYSTEM_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
||||||
done); \
|
done); \
|
||||||
[ $$? -ne 0 ] && exit 1; \
|
[ $$? -ne 0 ] && exit 1; \
|
||||||
($(call build-image-kernel-modules-lineage,$$gki_modules,$(SYSTEM_KERNEL_MODULES_OUT),$(SYSTEM_KERNEL_MODULE_MOUNTPOINT)/,$(SYSTEM_KERNEL_DEPMOD_STAGING_DIR),$(BOARD_SYSTEM_KERNEL_MODULES_LOAD),/$(GKI_SUFFIX))) || exit "$$?"; \
|
($(call build-image-kernel-modules-tequila,$$gki_modules,$(SYSTEM_KERNEL_MODULES_OUT),$(SYSTEM_KERNEL_MODULE_MOUNTPOINT)/,$(SYSTEM_KERNEL_DEPMOD_STAGING_DIR),$(BOARD_SYSTEM_KERNEL_MODULES_LOAD),/$(GKI_SUFFIX))) || exit "$$?"; \
|
||||||
filtered_modules=$$(for n in $$all_modules; do \
|
filtered_modules=$$(for n in $$all_modules; do \
|
||||||
module_name=$$(basename $$n); \
|
module_name=$$(basename $$n); \
|
||||||
if [[ ! "$(SYSTEM_KERNEL_MODULES)" =~ "$$module_name" ]]; then echo $$n; fi; \
|
if [[ ! "$(SYSTEM_KERNEL_MODULES)" =~ "$$module_name" ]]; then echo $$n; fi; \
|
||||||
done); \
|
done); \
|
||||||
($(call build-image-kernel-modules-lineage,$$filtered_modules,$(KERNEL_MODULES_OUT),$(KERNEL_MODULE_MOUNTPOINT)/,$(KERNEL_DEPMOD_STAGING_DIR),$(BOARD_VENDOR_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
($(call build-image-kernel-modules-tequila,$$filtered_modules,$(KERNEL_MODULES_OUT),$(KERNEL_MODULE_MOUNTPOINT)/,$(KERNEL_DEPMOD_STAGING_DIR),$(BOARD_VENDOR_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
||||||
,\
|
,\
|
||||||
($(call build-image-kernel-modules-lineage,$$all_modules,$(KERNEL_MODULES_OUT),$(KERNEL_MODULE_MOUNTPOINT)/,$(KERNEL_DEPMOD_STAGING_DIR),$(BOARD_VENDOR_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
($(call build-image-kernel-modules-tequila,$$all_modules,$(KERNEL_MODULES_OUT),$(KERNEL_MODULE_MOUNTPOINT)/,$(KERNEL_DEPMOD_STAGING_DIR),$(BOARD_VENDOR_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
||||||
) \
|
) \
|
||||||
$(if $(BOOT_KERNEL_MODULES),\
|
$(if $(BOOT_KERNEL_MODULES),\
|
||||||
vendor_boot_modules=$$(for m in $(BOOT_KERNEL_MODULES); do \
|
vendor_boot_modules=$$(for m in $(BOOT_KERNEL_MODULES); do \
|
||||||
|
@ -508,7 +508,7 @@ $(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_CONFIG) $(DEPMOD) $(DTC)
|
||||||
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from BOOT_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from BOOT_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
||||||
done); \
|
done); \
|
||||||
[ $$? -ne 0 ] && exit 1; \
|
[ $$? -ne 0 ] && exit 1; \
|
||||||
($(call build-image-kernel-modules-lineage,$$vendor_boot_modules,$(KERNEL_VENDOR_RAMDISK_MODULES_OUT),/,$(KERNEL_VENDOR_RAMDISK_DEPMOD_STAGING_DIR),$(KERNEL_VENDOR_RAMDISK_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
($(call build-image-kernel-modules-tequila,$$vendor_boot_modules,$(KERNEL_VENDOR_RAMDISK_MODULES_OUT),/,$(KERNEL_VENDOR_RAMDISK_DEPMOD_STAGING_DIR),$(KERNEL_VENDOR_RAMDISK_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
||||||
) \
|
) \
|
||||||
$(if $(RECOVERY_KERNEL_MODULES),\
|
$(if $(RECOVERY_KERNEL_MODULES),\
|
||||||
recovery_modules=$$(for m in $(RECOVERY_KERNEL_MODULES); do \
|
recovery_modules=$$(for m in $(RECOVERY_KERNEL_MODULES); do \
|
||||||
|
@ -516,7 +516,7 @@ $(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_CONFIG) $(DEPMOD) $(DTC)
|
||||||
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from RECOVERY_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
if [ -n "$$p" ]; then echo $$p; else echo "ERROR: $$m from RECOVERY_KERNEL_MODULES was not found" 1>&2 && exit 1; fi; \
|
||||||
done); \
|
done); \
|
||||||
[ $$? -ne 0 ] && exit 1; \
|
[ $$? -ne 0 ] && exit 1; \
|
||||||
($(call build-image-kernel-modules-lineage,$$recovery_modules,$(KERNEL_RECOVERY_MODULES_OUT),/,$(KERNEL_RECOVERY_DEPMOD_STAGING_DIR),$(BOARD_RECOVERY_RAMDISK_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
($(call build-image-kernel-modules-tequila,$$recovery_modules,$(KERNEL_RECOVERY_MODULES_OUT),/,$(KERNEL_RECOVERY_DEPMOD_STAGING_DIR),$(BOARD_RECOVERY_RAMDISK_KERNEL_MODULES_LOAD),/)) || exit "$$?"; \
|
||||||
) \
|
) \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -610,7 +610,7 @@ ifeq ($(BOARD_USES_QCOM_MERGE_DTBS_SCRIPT),true)
|
||||||
$(hide) find $(DTBS_BASE) -type f -name "*.dtb*" | xargs rm -f
|
$(hide) find $(DTBS_BASE) -type f -name "*.dtb*" | xargs rm -f
|
||||||
$(hide) find $(DTBS_OUT) -type f -name "*.dtb*" | xargs rm -f
|
$(hide) find $(DTBS_OUT) -type f -name "*.dtb*" | xargs rm -f
|
||||||
mv $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/qcom/*.dtb $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/*/*.dtbo $(DTBS_BASE)/
|
mv $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/qcom/*.dtb $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/*/*.dtbo $(DTBS_BASE)/
|
||||||
PATH=$(abspath $(HOST_OUT_EXECUTABLES)):$${PATH} python3 $(BUILD_TOP)/vendor/lineage/build/tools/merge_dtbs.py $(DTBS_BASE) $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/qcom $(DTBS_OUT)
|
PATH=$(abspath $(HOST_OUT_EXECUTABLES)):$${PATH} python3 $(BUILD_TOP)/vendor/tequila/build/tools/merge_dtbs.py $(DTBS_BASE) $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts/vendor/qcom $(DTBS_OUT)
|
||||||
cat $(shell find $(DTB_OUT)/out -type f -name "${TARGET_MERGE_DTBS_WILDCARD}.dtb" | sort) > $@
|
cat $(shell find $(DTB_OUT)/out -type f -name "${TARGET_MERGE_DTBS_WILDCARD}.dtb" | sort) > $@
|
||||||
else
|
else
|
||||||
cat $(shell find $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts -type f -name "*.dtb" | sort) > $@
|
cat $(shell find $(DTB_OUT)/arch/$(KERNEL_ARCH)/boot/dts -type f -name "*.dtb" | sort) > $@
|
||||||
|
|
|
@ -1,208 +0,0 @@
|
||||||
|
|
||||||
/* =============================================================================
|
|
||||||
Columns
|
|
||||||
========================================================================== */
|
|
||||||
/* Applied to body to debug layout alignments
|
|
||||||
.grid {
|
|
||||||
width:100%;
|
|
||||||
height:100%;
|
|
||||||
background:url(../images/grid.png) center repeat-y;
|
|
||||||
top:0px;
|
|
||||||
margin:auto;
|
|
||||||
position:absolute;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
@media screen, projection, print {
|
|
||||||
.full {
|
|
||||||
padding: 2.5em 0;
|
|
||||||
border-top: solid 1px #ddd;
|
|
||||||
border-bottom: solid 1px #ddd;
|
|
||||||
background: #f7f7f7;
|
|
||||||
}
|
|
||||||
.wrap {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 100%;
|
|
||||||
min-width:600px;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
.cols {
|
|
||||||
height: 1%;
|
|
||||||
margin: 0 -1.533742331288343558282%;
|
|
||||||
width: 103.06748466257669%}
|
|
||||||
*+html .cols {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.cols:after {
|
|
||||||
clear: both;
|
|
||||||
content: ' ';
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
|
|
||||||
.col-13, .col-14, .col-15, .col-16 {
|
|
||||||
float: left;
|
|
||||||
margin: 0 1.063829787234% 20px 1.063829787234%;
|
|
||||||
}
|
|
||||||
* html .col-1, * html .col-2, * html .col-3, * html .col-4, * html .col-5, * html .col-6, * html
|
|
||||||
.col-7, * html .col-8, * html .col-9, * html .col-10, * html .col-11, * html .col-12, * html
|
|
||||||
.col-13, * html .col-14, * html .col-15, * html .col-16 {
|
|
||||||
margin: 0;
|
|
||||||
margin: 0 1.063829787234% 20px 1.063829787234%;
|
|
||||||
}
|
|
||||||
[dir='rtl'] .col-1, [dir='rtl'] .col-2, [dir='rtl'] .col-3, [dir='rtl'] .col-4, [dir='rtl'] .col-5,
|
|
||||||
[dir='rtl'] .col-6, [dir='rtl'] .col-7, [dir='rtl'] .col-8, [dir='rtl'] .col-9, [dir='rtl'] .col-10,
|
|
||||||
[dir='rtl'] .col-11, [dir='rtl'] .col-12 {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.col-1 {
|
|
||||||
width: 4.16666666666667%;
|
|
||||||
}
|
|
||||||
.col-2 {
|
|
||||||
width: 10.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-3 {
|
|
||||||
width: 16.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-4 {
|
|
||||||
width: 22.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-5 {
|
|
||||||
width: 29.1666666666667%;
|
|
||||||
}
|
|
||||||
.col-6 {
|
|
||||||
width: 35.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-7 {
|
|
||||||
width: 41.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-8 {
|
|
||||||
width: 47.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-9 {
|
|
||||||
width: 55.3333333333333%;
|
|
||||||
}
|
|
||||||
.col-10 {
|
|
||||||
width: 60.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-11 {
|
|
||||||
width: 66.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-12 {
|
|
||||||
width: 72.9166666666667%;
|
|
||||||
}
|
|
||||||
.col-13 {
|
|
||||||
width: 79.1666666666667%;
|
|
||||||
}
|
|
||||||
.col-14 {
|
|
||||||
width: 85.4166666666667%;
|
|
||||||
}
|
|
||||||
.col-15 {
|
|
||||||
width: 91.6666666666667%;
|
|
||||||
}
|
|
||||||
.col-16 {
|
|
||||||
width: 97.9166666666667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#header .col-1,
|
|
||||||
#nav-x .col-1 { width: 40px }
|
|
||||||
#header .col-2,
|
|
||||||
#nav-x .col-2 { width: 100px }
|
|
||||||
#header .col-3,
|
|
||||||
#nav-x .col-3 { width: 160px }
|
|
||||||
#header .col-4,
|
|
||||||
#nav-x .col-4 { width: 220px }
|
|
||||||
#header .col-5,
|
|
||||||
#nav-x .col-5 { width: 280px }
|
|
||||||
#header .col-6,
|
|
||||||
#nav-x .col-6 { width: 340px }
|
|
||||||
#header .col-7,
|
|
||||||
#nav-x .col-7 { width: 400px }
|
|
||||||
#header .col-8,
|
|
||||||
#nav-x .col-8 { width: 460px }
|
|
||||||
#header .col-9,
|
|
||||||
#nav-x .col-9 { width: 520px }
|
|
||||||
#header .col-10,
|
|
||||||
#nav-x .col-10 { width: 580px }
|
|
||||||
#header .col-11,
|
|
||||||
#nav-x .col-11 { width: 640px }
|
|
||||||
#header .col-12,
|
|
||||||
#nav-x .col-12 { width: 700px }
|
|
||||||
#header .col-13,
|
|
||||||
#nav-x .col-13 { width: 760px }
|
|
||||||
#header .col-14,
|
|
||||||
#nav-x .col-14 { width: 820px }
|
|
||||||
#header .col-15,
|
|
||||||
#nav-x .col-15 { width: 880px }
|
|
||||||
#header .col-16,
|
|
||||||
#nav-x .col-16 { width: 940px }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
body {
|
|
||||||
padding:0 20px;
|
|
||||||
}
|
|
||||||
#header,
|
|
||||||
#searchResults,
|
|
||||||
#nav-x {
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
#body-content {
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
#body-content > .col-12 {
|
|
||||||
width:77.9804965%;
|
|
||||||
margin:0 0 0 0.97%; /* this percentage chosen to make IE9 happy */
|
|
||||||
}
|
|
||||||
#side-nav {
|
|
||||||
width: 19.9804965%;
|
|
||||||
margin:0 1.063829787234% 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header .wrap {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header-wrapper #nav-x div.wrap,
|
|
||||||
#searchResults.wrap {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-x {
|
|
||||||
margin:-2px 0 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#devdoc-nav.fixed,
|
|
||||||
#devdoc-nav.fixed a.totop {
|
|
||||||
left:20px; /* !important ... for IE i think */
|
|
||||||
}
|
|
||||||
|
|
||||||
#sticky-header {
|
|
||||||
padding: 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sticky-header > div {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sticky-menu {
|
|
||||||
width:100%;
|
|
||||||
left:-20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.col-right {
|
|
||||||
margin-right:0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width:772px) {
|
|
||||||
.col-5, .col-6, .col-7 {
|
|
||||||
clear: both;
|
|
||||||
width: 97.0238096%}
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
#masthead-title {
|
|
||||||
color: #373332;
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#headerLeft a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header {
|
|
||||||
border-bottom: 4px solid rgb(22, 124, 128);
|
|
||||||
}
|
|
|
@ -1,188 +0,0 @@
|
||||||
$(document).ready(function() {
|
|
||||||
// prep nav expandos
|
|
||||||
var pagePath = document.location.pathname;
|
|
||||||
if (pagePath.indexOf(SITE_ROOT) == 0) {
|
|
||||||
pagePath = pagePath.substr(SITE_ROOT.length);
|
|
||||||
if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
|
|
||||||
pagePath += 'index.html';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (SITE_ROOT.match(/\.\.\//) || SITE_ROOT == '') {
|
|
||||||
// If running locally, SITE_ROOT will be a relative path, so account for that by
|
|
||||||
// finding the relative URL to this page. This will allow us to find links on the page
|
|
||||||
// leading back to this page.
|
|
||||||
var pathParts = pagePath.split('/');
|
|
||||||
var relativePagePathParts = [];
|
|
||||||
var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
|
|
||||||
for (var i = 0; i < upDirs; i++) {
|
|
||||||
relativePagePathParts.push('..');
|
|
||||||
}
|
|
||||||
for (var i = 0; i < upDirs; i++) {
|
|
||||||
relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
|
|
||||||
}
|
|
||||||
relativePagePathParts.push(pathParts[pathParts.length - 1]);
|
|
||||||
pagePath = relativePagePathParts.join('/');
|
|
||||||
} else {
|
|
||||||
// Otherwise the page path should be an absolute URL.
|
|
||||||
pagePath = SITE_ROOT + pagePath;
|
|
||||||
}
|
|
||||||
|
|
||||||
// select current page in sidenav and set up prev/next links if they exist
|
|
||||||
var $selNavLink = $('.nav-y').find('a[href="' + pagePath + '"]');
|
|
||||||
if ($selNavLink.length) {
|
|
||||||
$selListItem = $selNavLink.closest('li');
|
|
||||||
|
|
||||||
$selListItem.addClass('selected');
|
|
||||||
$selListItem.closest('li>ul').addClass('expanded');
|
|
||||||
|
|
||||||
// set up prev links
|
|
||||||
var $prevLink = [];
|
|
||||||
var $prevListItem = $selListItem.prev('li');
|
|
||||||
if ($prevListItem.length) {
|
|
||||||
if ($prevListItem.hasClass('nav-section')) {
|
|
||||||
// jump to last topic of previous section
|
|
||||||
$prevLink = $prevListItem.find('a:last');
|
|
||||||
} else {
|
|
||||||
// jump to previous topic in this section
|
|
||||||
$prevLink = $prevListItem.find('a:eq(0)');
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// jump to this section's index page (if it exists)
|
|
||||||
$prevLink = $selListItem.parents('li').find('a');
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($prevLink.length) {
|
|
||||||
var prevHref = $prevLink.attr('href');
|
|
||||||
if (prevHref == SITE_ROOT + 'index.html') {
|
|
||||||
// Don't show Previous when it leads to the homepage
|
|
||||||
$('.prev-page-link').hide();
|
|
||||||
} else {
|
|
||||||
$('.prev-page-link').attr('href', prevHref).show();
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$('.prev-page-link').hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
// set up next links
|
|
||||||
var $nextLink = [];
|
|
||||||
if ($selListItem.hasClass('nav-section')) {
|
|
||||||
// we're on an index page, jump to the first topic
|
|
||||||
$nextLink = $selListItem.find('ul').find('a:eq(0)')
|
|
||||||
} else {
|
|
||||||
// jump to the next topic in this section (if it exists)
|
|
||||||
$nextLink = $selListItem.next('li').find('a:eq(0)');
|
|
||||||
if (!$nextLink.length) {
|
|
||||||
// no more topics in this section, jump to the first topic in the next section
|
|
||||||
$nextLink = $selListItem.parents('li').next('li.nav-section').find('a:eq(0)');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ($nextLink.length) {
|
|
||||||
$('.next-page-link').attr('href', $nextLink.attr('href')).show();
|
|
||||||
} else {
|
|
||||||
$('.next-page-link').hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set up expand/collapse behavior
|
|
||||||
$('.nav-y li').has('ul').click(function() {
|
|
||||||
if ($(this).hasClass('expanded')) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// hide other
|
|
||||||
var $old = $('.nav-y li.expanded');
|
|
||||||
if ($old.length) {
|
|
||||||
var $oldUl = $old.children('ul');
|
|
||||||
$oldUl.css('height', $oldUl.height() + 'px');
|
|
||||||
window.setTimeout(function() {
|
|
||||||
$oldUl
|
|
||||||
.addClass('animate-height')
|
|
||||||
.css('height', '');
|
|
||||||
}, 0);
|
|
||||||
$old.removeClass('expanded');
|
|
||||||
}
|
|
||||||
|
|
||||||
// show me
|
|
||||||
$(this).addClass('expanded');
|
|
||||||
var $ul = $(this).children('ul');
|
|
||||||
var expandedHeight = $ul.height();
|
|
||||||
$ul
|
|
||||||
.removeClass('animate-height')
|
|
||||||
.css('height', 0);
|
|
||||||
window.setTimeout(function() {
|
|
||||||
$ul
|
|
||||||
.addClass('animate-height')
|
|
||||||
.css('height', expandedHeight + 'px');
|
|
||||||
}, 0);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Stop expand/collapse behavior when clicking on nav section links (since we're navigating away
|
|
||||||
// from the page)
|
|
||||||
$('.nav-y li').has('ul').find('a:eq(0)').click(function(evt) {
|
|
||||||
window.location.href = $(this).attr('href');
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Set up play-on-hover <video> tags.
|
|
||||||
$('video.play-on-hover').bind('click', function(){
|
|
||||||
$(this).get(0).load(); // in case the video isn't seekable
|
|
||||||
$(this).get(0).play();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Set up tooltips
|
|
||||||
var TOOLTIP_MARGIN = 10;
|
|
||||||
$('acronym').each(function() {
|
|
||||||
var $target = $(this);
|
|
||||||
var $tooltip = $('<div>')
|
|
||||||
.addClass('tooltip-box')
|
|
||||||
.text($target.attr('title'))
|
|
||||||
.hide()
|
|
||||||
.appendTo('body');
|
|
||||||
$target.removeAttr('title');
|
|
||||||
|
|
||||||
$target.hover(function() {
|
|
||||||
// in
|
|
||||||
var targetRect = $target.offset();
|
|
||||||
targetRect.width = $target.width();
|
|
||||||
targetRect.height = $target.height();
|
|
||||||
|
|
||||||
$tooltip.css({
|
|
||||||
left: targetRect.left,
|
|
||||||
top: targetRect.top + targetRect.height + TOOLTIP_MARGIN
|
|
||||||
});
|
|
||||||
$tooltip.addClass('below');
|
|
||||||
$tooltip.show();
|
|
||||||
}, function() {
|
|
||||||
// out
|
|
||||||
$tooltip.hide();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Set up <h2> deeplinks
|
|
||||||
$('h2').click(function() {
|
|
||||||
var id = $(this).attr('id');
|
|
||||||
if (id) {
|
|
||||||
document.location.hash = id;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Set up fixed navbar
|
|
||||||
var navBarIsFixed = false;
|
|
||||||
$(window).scroll(function() {
|
|
||||||
var scrollTop = $(window).scrollTop();
|
|
||||||
var navBarShouldBeFixed = (scrollTop > (100 - 40));
|
|
||||||
if (navBarIsFixed != navBarShouldBeFixed) {
|
|
||||||
if (navBarShouldBeFixed) {
|
|
||||||
$('#nav')
|
|
||||||
.addClass('fixed')
|
|
||||||
.prependTo('#page-container');
|
|
||||||
} else {
|
|
||||||
$('#nav')
|
|
||||||
.removeClass('fixed')
|
|
||||||
.prependTo('#nav-container');
|
|
||||||
}
|
|
||||||
navBarIsFixed = navBarShouldBeFixed;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
Before Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 221 B |
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 72"><defs><style>.cls-1{fill:#167c80;}</style></defs><title>lineage_logo_mark_ltrbox_teal_144x72</title><g id="mark_-_letterbox" data-name="mark - letterbox"><path class="cls-1" d="M112,36a10,10,0,0,0-7.78,3.72l-.38-.15A73.82,73.82,0,0,0,92,36s0,0,0,0a20,20,0,0,0-40,0v0l-.43.09a73.47,73.47,0,0,0-11.42,3.44l-.38.15a10.1,10.1,0,1,0,1.84,3.57h0A69.34,69.34,0,0,1,52.41,40a20,20,0,0,0,39.18,0,69.32,69.32,0,0,1,10.78,3.24h0A10,10,0,1,0,112,36ZM32,52a6,6,0,1,1,6-6A6,6,0,0,1,32,52Zm40,0A16,16,0,1,1,88,36,16,16,0,0,1,72,52Zm40,0a6,6,0,1,1,6-6A6,6,0,0,1,112,52ZM80,36a8,8,0,1,1-8-8A8,8,0,0,1,80,36Z"/></g></svg>
|
|
Before Width: | Height: | Size: 664 B |
|
@ -1,679 +0,0 @@
|
||||||
<?cs include:"doctype.cs" ?>
|
|
||||||
<?cs include:"macros.cs" ?>
|
|
||||||
<?cs include:"macros_override.cs" ?>
|
|
||||||
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
|
||||||
<?cs include:"head_tag.cs" ?>
|
|
||||||
<body class="gc-documentation <?cs if:(reference.gms || reference.gcm) ?>google<?cs /if ?>
|
|
||||||
<?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
|
|
||||||
if:reference ?> reference<?cs
|
|
||||||
/if ?><?cs
|
|
||||||
elif:design ?>design<?cs
|
|
||||||
elif:distribute ?>distribute<?cs
|
|
||||||
/if ?>" itemscope itemtype="http://schema.org/Article">
|
|
||||||
<div id="doc-api-level" class="<?cs var:class.since ?>" style="display:none"></div>
|
|
||||||
<a name="top"></a>
|
|
||||||
<?cs include:"header.cs" ?>
|
|
||||||
|
|
||||||
<div class="col-12" id="doc-col">
|
|
||||||
|
|
||||||
<div id="api-info-block">
|
|
||||||
|
|
||||||
<?cs # are there inherited members ?>
|
|
||||||
<?cs each:cl=class.inherited ?>
|
|
||||||
<?cs if:subcount(cl.methods) ?>
|
|
||||||
<?cs set:inhmethods = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(cl.constants) ?>
|
|
||||||
<?cs set:inhconstants = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(cl.fields) ?>
|
|
||||||
<?cs set:inhfields = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(cl.attrs) ?>
|
|
||||||
<?cs set:inhattrs = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
|
|
||||||
<div class="sum-details-links">
|
|
||||||
<?cs if:inhattrs || inhconstants || inhfields || inhmethods || (!class.subclasses.hidden &&
|
|
||||||
(subcount(class.subclasses.direct) || subcount(class.subclasses.indirect))) ?>
|
|
||||||
Summary:
|
|
||||||
<?cs if:subcount(class.inners) ?>
|
|
||||||
<a href="#nestedclasses">Nested Classes</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.attrs) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#lattrs">XML Attrs</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:inhattrs ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#inhattrs">Inherited XML Attrs</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.enumConstants) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#enumconstants">Enums</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.constants) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#constants">Constants</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:inhconstants ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#inhconstants">Inherited Constants</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.fields) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#lfields">Fields</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:inhfields ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#inhfields">Inherited Fields</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.ctors.public) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#pubctors">Ctors</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.ctors.protected) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#proctors">Protected Ctors</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.methods.public) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#pubmethods">Methods</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:subcount(class.methods.protected) ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#promethods">Protected Methods</a>
|
|
||||||
<?cs set:linkcount = #1 ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:inhmethods ?>
|
|
||||||
<?cs if:linkcount ?>| <?cs /if ?><a href="#inhmethods">Inherited Methods</a>
|
|
||||||
<?cs /if ?>
|
|
||||||
| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
|
|
||||||
<?cs /if ?>
|
|
||||||
</div><!-- end sum-details-links -->
|
|
||||||
<div class="api-level">
|
|
||||||
<?cs call:since_tags(class) ?><?cs
|
|
||||||
if:class.deprecatedsince
|
|
||||||
?><br>Deprecated since <a href="<?cs var:toroot ?>guide/topics/manifest/uses-sdk-element.html#ApiLevels"
|
|
||||||
>API level <?cs var:class.deprecatedsince ?></a><?cs
|
|
||||||
/if ?>
|
|
||||||
<?cs call:federated_refs(class) ?>
|
|
||||||
</div>
|
|
||||||
</div><!-- end api-info-block -->
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ======== START OF CLASS DATA ======== -->
|
|
||||||
|
|
||||||
<div id="jd-header">
|
|
||||||
<?cs var:class.scope ?>
|
|
||||||
<?cs var:class.static ?>
|
|
||||||
<?cs var:class.final ?>
|
|
||||||
<?cs var:class.abstract ?>
|
|
||||||
<?cs var:class.kind ?>
|
|
||||||
<h1 itemprop="name"><?cs var:class.name ?></h1>
|
|
||||||
|
|
||||||
<?cs set:colspan = subcount(class.inheritance) ?>
|
|
||||||
<?cs each:supr = class.inheritance ?>
|
|
||||||
<?cs if:colspan == 2 ?>
|
|
||||||
extends <?cs call:type_link(supr.short_class) ?><br/>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:last(supr) && subcount(supr.interfaces) ?>
|
|
||||||
implements
|
|
||||||
<?cs each:t=supr.interfaces ?>
|
|
||||||
<?cs call:type_link(t) ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs set:colspan = colspan-1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs call:show_annotations_list(class) ?>
|
|
||||||
|
|
||||||
</div><!-- end header -->
|
|
||||||
|
|
||||||
<div id="naMessage"></div>
|
|
||||||
|
|
||||||
<div id="jd-content" class="api apilevel-<?cs var:class.since ?>">
|
|
||||||
<table class="jd-inheritance-table">
|
|
||||||
<?cs set:colspan = subcount(class.inheritance) ?>
|
|
||||||
<?cs each:supr = class.inheritance ?>
|
|
||||||
<tr>
|
|
||||||
<?cs loop:i = 1, (subcount(class.inheritance)-colspan), 1 ?>
|
|
||||||
<td class="jd-inheritance-space"> <?cs if:(subcount(class.inheritance)-colspan) == i ?> ↳<?cs /if ?></td>
|
|
||||||
<?cs /loop ?>
|
|
||||||
<td colspan="<?cs var:colspan ?>" class="jd-inheritance-class-cell"><?cs
|
|
||||||
if:colspan == 1
|
|
||||||
?><?cs call:class_name(class.qualifiedType) ?><?cs
|
|
||||||
else
|
|
||||||
?><?cs call:type_link(supr.class) ?><?cs
|
|
||||||
/if ?></td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:colspan = colspan-1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.subclasses.direct) && !class.subclasses.hidden ?>
|
|
||||||
<table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;">
|
|
||||||
<?cs call:expando_trigger("subclasses-direct", "closed") ?>Known Direct Subclasses
|
|
||||||
<?cs call:expandable_class_list("subclasses-direct", class.subclasses.direct, "list") ?>
|
|
||||||
</td></tr></table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.subclasses.indirect) && !class.subclasses.hidden ?>
|
|
||||||
<table class="jd-sumtable jd-sumtable-subclasses"><tr><td colspan="12" style="border:none;margin:0;padding:0;">
|
|
||||||
<?cs call:expando_trigger("subclasses-indirect", "closed") ?>Known Indirect Subclasses
|
|
||||||
<?cs call:expandable_class_list("subclasses-indirect", class.subclasses.indirect, "list") ?>
|
|
||||||
</td></tr></table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<div class="jd-descr">
|
|
||||||
<?cs call:deprecated_warning(class) ?>
|
|
||||||
<?cs if:subcount(class.descr) ?>
|
|
||||||
<h2>Class Overview</h2>
|
|
||||||
<p itemprop="articleBody"><?cs call:tag_list(class.descr) ?></p>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs call:see_also_tags(class.seeAlso) ?>
|
|
||||||
|
|
||||||
</div><!-- jd-descr -->
|
|
||||||
|
|
||||||
|
|
||||||
<?cs # summary macros ?>
|
|
||||||
|
|
||||||
<?cs def:write_method_summary(methods, included) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<?cs each:method = methods ?>
|
|
||||||
<?cs # The apilevel-N class MUST BE LAST in the sequence of class names ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:method.since ?>" >
|
|
||||||
<td class="jd-typecol"><nobr>
|
|
||||||
<?cs var:method.abstract ?>
|
|
||||||
<?cs var:method.synchronized ?>
|
|
||||||
<?cs var:method.final ?>
|
|
||||||
<?cs var:method.static ?>
|
|
||||||
<?cs call:type_link(method.generic) ?>
|
|
||||||
<?cs call:type_link(method.returnType) ?></nobr>
|
|
||||||
</td>
|
|
||||||
<td class="jd-linkcol" width="100%"><nobr>
|
|
||||||
<span class="sympad"><?cs call:cond_link(method.name, toroot, method.href, included) ?></span>(<?cs call:parameter_list(method.params) ?>)</nobr>
|
|
||||||
<?cs if:subcount(method.shortDescr) || subcount(method.deprecated) ?>
|
|
||||||
<div class="jd-descrdiv">
|
|
||||||
<?cs call:short_descr(method) ?>
|
|
||||||
<?cs call:show_annotations_list(method) ?>
|
|
||||||
</div>
|
|
||||||
<?cs /if ?>
|
|
||||||
</td></tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_field_summary(fields, included) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<?cs each:field=fields ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:field.since ?>" >
|
|
||||||
<td class="jd-typecol"><nobr>
|
|
||||||
<?cs var:field.scope ?>
|
|
||||||
<?cs var:field.static ?>
|
|
||||||
<?cs var:field.final ?>
|
|
||||||
<?cs call:type_link(field.type) ?></nobr></td>
|
|
||||||
<td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, included) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(field) ?>
|
|
||||||
<?cs call:show_annotations_list(field) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_constant_summary(fields, included) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<?cs each:field=fields ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:field.since ?>" >
|
|
||||||
<td class="jd-typecol"><?cs call:type_link(field.type) ?></td>
|
|
||||||
<td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, included) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(field) ?>
|
|
||||||
<?cs call:show_annotations_list(field) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_attr_summary(attrs, included) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<tr>
|
|
||||||
<td><nobr><em>Attribute Name</em></nobr></td>
|
|
||||||
<td><nobr><em>Related Method</em></nobr></td>
|
|
||||||
<td><nobr><em>Description</em></nobr></td>
|
|
||||||
</tr>
|
|
||||||
<?cs each:attr=attrs ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:attr.since ?>" >
|
|
||||||
<td class="jd-linkcol"><?cs if:included ?><a href="<?cs var:toroot ?><?cs var:attr.href ?>"><?cs /if ?><?cs var:attr.name ?><?cs if:included ?></a><?cs /if ?></td>
|
|
||||||
<td class="jd-linkcol"><?cs each:m=attr.methods ?>
|
|
||||||
<?cs call:cond_link(m.name, toroot, m.href, included) ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(attr) ?>
|
|
||||||
<?cs call:show_annotations_list(attr) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_inners_summary(classes) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<?cs each:cl=class.inners ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td class="jd-typecol"><nobr>
|
|
||||||
<?cs var:cl.scope ?>
|
|
||||||
<?cs var:cl.static ?>
|
|
||||||
<?cs var:cl.final ?>
|
|
||||||
<?cs var:cl.abstract ?>
|
|
||||||
<?cs var:cl.kind ?></nobr></td>
|
|
||||||
<td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(cl) ?>
|
|
||||||
<?cs call:show_annotations_list(cl) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs # end macros ?>
|
|
||||||
|
|
||||||
<div class="jd-descr">
|
|
||||||
<?cs # make sure there's a summary view to display ?>
|
|
||||||
<?cs if:subcount(class.inners)
|
|
||||||
|| subcount(class.attrs)
|
|
||||||
|| inhattrs
|
|
||||||
|| subcount(class.enumConstants)
|
|
||||||
|| subcount(class.constants)
|
|
||||||
|| inhconstants
|
|
||||||
|| subcount(class.fields)
|
|
||||||
|| inhfields
|
|
||||||
|| subcount(class.ctors.public)
|
|
||||||
|| subcount(class.ctors.protected)
|
|
||||||
|| subcount(class.methods.public)
|
|
||||||
|| subcount(class.methods.protected)
|
|
||||||
|| inhmethods ?>
|
|
||||||
<h2>Summary</h2>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.inners) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
||||||
<table id="nestedclasses" class="jd-sumtable"><tr><th colspan="12">Nested Classes</th></tr>
|
|
||||||
<?cs call:write_inners_summary(class.inners) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<?cs if:subcount(class.attrs) ?>
|
|
||||||
<!-- =========== FIELD SUMMARY =========== -->
|
|
||||||
<table id="lattrs" class="jd-sumtable"><tr><th colspan="12">XML Attributes</th></tr>
|
|
||||||
<?cs call:write_attr_summary(class.attrs, 1) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # if there are inherited attrs, write the table ?>
|
|
||||||
<?cs if:inhattrs ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== FIELD SUMMARY =========== -->
|
|
||||||
<table id="inhattrs" class="jd-sumtable"><tr><th>
|
|
||||||
<a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
|
|
||||||
<div style="clear:left;">Inherited XML Attributes</div></th></tr>
|
|
||||||
<?cs each:cl=class.inherited ?>
|
|
||||||
<?cs if:subcount(cl.attrs) ?>
|
|
||||||
<tr class="api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td colspan="12">
|
|
||||||
<?cs call:expando_trigger("inherited-attrs-"+cl.qualified, "closed") ?>From <?cs var:cl.kind ?>
|
|
||||||
<?cs call:cond_link(cl.qualified, toroot, cl.link, cl.included) ?>
|
|
||||||
<div id="inherited-attrs-<?cs var:cl.qualified ?>">
|
|
||||||
<div id="inherited-attrs-<?cs var:cl.qualified ?>-list"
|
|
||||||
class="jd-inheritedlinks">
|
|
||||||
</div>
|
|
||||||
<div id="inherited-attrs-<?cs var:cl.qualified ?>-summary" style="display: none;">
|
|
||||||
<table class="jd-sumtable-expando">
|
|
||||||
<?cs call:write_attr_summary(cl.attrs, cl.included) ?></table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td></tr>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.enumConstants) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
||||||
<table id="enumconstants" class="jd-sumtable"><tr><th colspan="12">Enum Values</th></tr>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<?cs each:field=class.enumConstants ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:field.since ?>" >
|
|
||||||
<td class="jd-descrcol"><?cs call:type_link(field.type) ?> </td>
|
|
||||||
<td class="jd-linkcol"><?cs call:cond_link(field.name, toroot, field.href, cl.included) ?> </td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(field) ?>
|
|
||||||
<?cs call:show_annotations_list(field) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.constants) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
||||||
<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr>
|
|
||||||
<?cs call:write_constant_summary(class.constants, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # if there are inherited constants, write the table ?>
|
|
||||||
<?cs if:inhconstants ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
||||||
<table id="inhconstants" class="jd-sumtable"><tr><th>
|
|
||||||
<a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
|
|
||||||
<div style="clear:left;">Inherited Constants</div></th></tr>
|
|
||||||
<?cs each:cl=class.inherited ?>
|
|
||||||
<?cs if:subcount(cl.constants) ?>
|
|
||||||
<tr class="api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td colspan="12">
|
|
||||||
<?cs call:expando_trigger("inherited-constants-"+cl.qualified, "closed") ?>From <?cs var:cl.kind ?>
|
|
||||||
<?cs call:cond_link(cl.qualified, toroot, cl.link, cl.included) ?>
|
|
||||||
<div id="inherited-constants-<?cs var:cl.qualified ?>">
|
|
||||||
<div id="inherited-constants-<?cs var:cl.qualified ?>-list"
|
|
||||||
class="jd-inheritedlinks">
|
|
||||||
</div>
|
|
||||||
<div id="inherited-constants-<?cs var:cl.qualified ?>-summary" style="display: none;">
|
|
||||||
<table class="jd-sumtable-expando">
|
|
||||||
<?cs call:write_constant_summary(cl.constants, cl.included) ?></table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td></tr>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.fields) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== FIELD SUMMARY =========== -->
|
|
||||||
<table id="lfields" class="jd-sumtable"><tr><th colspan="12">Fields</th></tr>
|
|
||||||
<?cs call:write_field_summary(class.fields, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # if there are inherited fields, write the table ?>
|
|
||||||
<?cs if:inhfields ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- =========== FIELD SUMMARY =========== -->
|
|
||||||
<table id="inhfields" class="jd-sumtable"><tr><th>
|
|
||||||
<a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
|
|
||||||
<div style="clear:left;">Inherited Fields</div></th></tr>
|
|
||||||
<?cs each:cl=class.inherited ?>
|
|
||||||
<?cs if:subcount(cl.fields) ?>
|
|
||||||
<tr class="api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td colspan="12">
|
|
||||||
<?cs call:expando_trigger("inherited-fields-"+cl.qualified, "closed") ?>From <?cs var:cl.kind ?>
|
|
||||||
<?cs call:cond_link(cl.qualified, toroot, cl.link, cl.included) ?>
|
|
||||||
<div id="inherited-fields-<?cs var:cl.qualified ?>">
|
|
||||||
<div id="inherited-fields-<?cs var:cl.qualified ?>-list"
|
|
||||||
class="jd-inheritedlinks">
|
|
||||||
</div>
|
|
||||||
<div id="inherited-fields-<?cs var:cl.qualified ?>-summary" style="display: none;">
|
|
||||||
<table class="jd-sumtable-expando">
|
|
||||||
<?cs call:write_field_summary(cl.fields, cl.included) ?></table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td></tr>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.ctors.public) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
||||||
<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
|
|
||||||
<?cs call:write_method_summary(class.ctors.public, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.ctors.protected) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
||||||
<table id="proctors" class="jd-sumtable"><tr><th colspan="12">Protected Constructors</th></tr>
|
|
||||||
<?cs call:write_method_summary(class.ctors.protected, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.methods.public) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========== METHOD SUMMARY =========== -->
|
|
||||||
<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
|
|
||||||
<?cs call:write_method_summary(class.methods.public, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs if:subcount(class.methods.protected) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========== METHOD SUMMARY =========== -->
|
|
||||||
<table id="promethods" class="jd-sumtable"><tr><th colspan="12">Protected Methods</th></tr>
|
|
||||||
<?cs call:write_method_summary(class.methods.protected, 1) ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # if there are inherited methods, write the table ?>
|
|
||||||
<?cs if:inhmethods ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========== METHOD SUMMARY =========== -->
|
|
||||||
<table id="inhmethods" class="jd-sumtable"><tr><th>
|
|
||||||
<a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
|
|
||||||
<div style="clear:left;">Inherited Methods</div></th></tr>
|
|
||||||
<?cs each:cl=class.inherited ?>
|
|
||||||
<?cs if:subcount(cl.methods) ?>
|
|
||||||
<tr class="api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td colspan="12"><?cs call:expando_trigger("inherited-methods-"+cl.qualified, "closed") ?>
|
|
||||||
From <?cs var:cl.kind ?>
|
|
||||||
<?cs if:cl.included ?>
|
|
||||||
<a href="<?cs var:toroot ?><?cs var:cl.link ?>"><?cs var:cl.qualified ?></a>
|
|
||||||
<?cs elif:cl.federated ?>
|
|
||||||
<a href="<?cs var:cl.link ?>"><?cs var:cl.qualified ?></a>
|
|
||||||
<?cs else ?>
|
|
||||||
<?cs var:cl.qualified ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
<div id="inherited-methods-<?cs var:cl.qualified ?>">
|
|
||||||
<div id="inherited-methods-<?cs var:cl.qualified ?>-list"
|
|
||||||
class="jd-inheritedlinks">
|
|
||||||
</div>
|
|
||||||
<div id="inherited-methods-<?cs var:cl.qualified ?>-summary" style="display: none;">
|
|
||||||
<table class="jd-sumtable-expando">
|
|
||||||
<?cs call:write_method_summary(cl.methods, cl.included) ?></table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</td></tr>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
</div><!-- jd-descr (summary) -->
|
|
||||||
|
|
||||||
<!-- Details -->
|
|
||||||
|
|
||||||
<?cs def:write_field_details(fields) ?>
|
|
||||||
<?cs each:field=fields ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<?cs # the A tag in the next line must remain where it is, so that Eclipse can parse the docs ?>
|
|
||||||
<A NAME="<?cs var:field.anchor ?>"></A>
|
|
||||||
<?cs # The apilevel-N class MUST BE LAST in the sequence of class names ?>
|
|
||||||
<div class="jd-details api apilevel-<?cs var:field.since ?>">
|
|
||||||
<h4 class="jd-details-title">
|
|
||||||
<span class="normal">
|
|
||||||
<?cs var:field.scope ?>
|
|
||||||
<?cs var:field.static ?>
|
|
||||||
<?cs var:field.final ?>
|
|
||||||
<?cs call:type_link(field.type) ?>
|
|
||||||
</span>
|
|
||||||
<?cs var:field.name ?>
|
|
||||||
</h4>
|
|
||||||
<div class="api-level">
|
|
||||||
<?cs call:since_tags(field) ?>
|
|
||||||
<?cs call:federated_refs(field) ?>
|
|
||||||
</div>
|
|
||||||
<div class="jd-details-descr">
|
|
||||||
<?cs call:show_annotations_list(field) ?>
|
|
||||||
<?cs call:description(field) ?>
|
|
||||||
<?cs if:subcount(field.constantValue) ?>
|
|
||||||
<div class="jd-tagdata">
|
|
||||||
<span class="jd-tagtitle">Constant Value: </span>
|
|
||||||
<span>
|
|
||||||
<?cs if:field.constantValue.isString ?>
|
|
||||||
<?cs var:field.constantValue.str ?>
|
|
||||||
<?cs else ?>
|
|
||||||
<?cs var:field.constantValue.dec ?>
|
|
||||||
(<?cs var:field.constantValue.hex ?>)
|
|
||||||
<?cs /if ?>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<?cs /if ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_method_details(methods) ?>
|
|
||||||
<?cs each:method=methods ?>
|
|
||||||
<?cs # the A tag in the next line must remain where it is, so that Eclipse can parse the docs ?>
|
|
||||||
<A NAME="<?cs var:method.anchor ?>"></A>
|
|
||||||
<?cs # The apilevel-N class MUST BE LAST in the sequence of class names ?>
|
|
||||||
<div class="jd-details api apilevel-<?cs var:method.since ?>">
|
|
||||||
<h4 class="jd-details-title">
|
|
||||||
<span class="normal">
|
|
||||||
<?cs var:method.scope ?>
|
|
||||||
<?cs var:method.static ?>
|
|
||||||
<?cs var:method.final ?>
|
|
||||||
<?cs var:method.abstract ?>
|
|
||||||
<?cs var:method.synchronized ?>
|
|
||||||
<?cs call:type_link(method.returnType) ?>
|
|
||||||
</span>
|
|
||||||
<span class="sympad"><?cs var:method.name ?></span>
|
|
||||||
<span class="normal">(<?cs call:parameter_list(method.params) ?>)</span>
|
|
||||||
</h4>
|
|
||||||
<div class="api-level">
|
|
||||||
<div><?cs call:since_tags(method) ?></div>
|
|
||||||
<?cs call:federated_refs(method) ?>
|
|
||||||
</div>
|
|
||||||
<div class="jd-details-descr">
|
|
||||||
<?cs call:show_annotations_list(method) ?>
|
|
||||||
<?cs call:description(method) ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs def:write_attr_details(attrs) ?>
|
|
||||||
<?cs each:attr=attrs ?>
|
|
||||||
<?cs # the A tag in the next line must remain where it is, so that Eclipse can parse the docs ?>
|
|
||||||
<A NAME="<?cs var:attr.anchor ?>"></A>
|
|
||||||
<div class="jd-details">
|
|
||||||
<h4 class="jd-details-title"><?cs var:attr.name ?>
|
|
||||||
</h4>
|
|
||||||
<div class="jd-details-descr">
|
|
||||||
<?cs call:show_annotations_list(attr) ?>
|
|
||||||
<?cs call:description(attr) ?>
|
|
||||||
|
|
||||||
<div class="jd-tagdata">
|
|
||||||
<h5 class="jd-tagtitle">Related Methods</h5>
|
|
||||||
<ul class="nolist">
|
|
||||||
<?cs each:m=attr.methods ?>
|
|
||||||
<li><a href="<?cs var:toroot ?><?cs var:m.href ?>"><?cs var:m.name ?></a></li>
|
|
||||||
<?cs /each ?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- XML Attributes -->
|
|
||||||
<?cs if:subcount(class.attrs) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= FIELD DETAIL ======== -->
|
|
||||||
<h2>XML Attributes</h2>
|
|
||||||
<?cs call:write_attr_details(class.attrs) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<!-- Enum Values -->
|
|
||||||
<?cs if:subcount(class.enumConstants) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= ENUM CONSTANTS DETAIL ======== -->
|
|
||||||
<h2>Enum Values</h2>
|
|
||||||
<?cs call:write_field_details(class.enumConstants) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<!-- Constants -->
|
|
||||||
<?cs if:subcount(class.constants) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= ENUM CONSTANTS DETAIL ======== -->
|
|
||||||
<h2>Constants</h2>
|
|
||||||
<?cs call:write_field_details(class.constants) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<!-- Fields -->
|
|
||||||
<?cs if:subcount(class.fields) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= FIELD DETAIL ======== -->
|
|
||||||
<h2>Fields</h2>
|
|
||||||
<?cs call:write_field_details(class.fields) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<!-- Public ctors -->
|
|
||||||
<?cs if:subcount(class.ctors.public) ?>
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
||||||
<h2>Public Constructors</h2>
|
|
||||||
<?cs call:write_method_details(class.ctors.public) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
||||||
<!-- Protected ctors -->
|
|
||||||
<?cs if:subcount(class.ctors.protected) ?>
|
|
||||||
<h2>Protected Constructors</h2>
|
|
||||||
<?cs call:write_method_details(class.ctors.protected) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= METHOD DETAIL ======== -->
|
|
||||||
<!-- Public methdos -->
|
|
||||||
<?cs if:subcount(class.methods.public) ?>
|
|
||||||
<h2>Public Methods</h2>
|
|
||||||
<?cs call:write_method_details(class.methods.public) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # this next line must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= METHOD DETAIL ======== -->
|
|
||||||
<?cs if:subcount(class.methods.protected) ?>
|
|
||||||
<h2>Protected Methods</h2>
|
|
||||||
<?cs call:write_method_details(class.methods.protected) ?>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs # the next two lines must be exactly like this to be parsed by eclipse ?>
|
|
||||||
<!-- ========= END OF CLASS DATA ========= -->
|
|
||||||
<A NAME="navbar_top"></A>
|
|
||||||
|
|
||||||
<?cs include:"footer.cs" ?>
|
|
||||||
</div> <!-- jd-content -->
|
|
||||||
|
|
||||||
</div><!-- end doc-content -->
|
|
||||||
|
|
||||||
<?cs include:"trailer.cs" ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,53 +0,0 @@
|
||||||
<?cs include:"doctype.cs" ?>
|
|
||||||
<?cs include:"macros.cs" ?>
|
|
||||||
<?cs include:"macros_override.cs" ?>
|
|
||||||
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
|
||||||
<?cs include:"head_tag.cs" ?>
|
|
||||||
<body class="gc-documentation <?cs if:(reference.gms || reference.gcm) ?>google<?cs /if ?>
|
|
||||||
<?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
|
|
||||||
if:reference ?> reference<?cs
|
|
||||||
/if ?><?cs
|
|
||||||
elif:design ?>design<?cs
|
|
||||||
elif:distribute ?>distribute<?cs
|
|
||||||
/if ?>" itemscope itemtype="http://schema.org/Article">
|
|
||||||
<a name="top"></a>
|
|
||||||
<?cs include:"header.cs" ?>
|
|
||||||
|
|
||||||
<div class="col-12" id="doc-col">
|
|
||||||
|
|
||||||
<div id="jd-header">
|
|
||||||
<h1><?cs var:page.title ?></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="jd-content">
|
|
||||||
<p>These are the LineageOS Platform API classes. See all <a href="packages.html">API packages</a>.</p>
|
|
||||||
<div class="jd-letterlist"><?cs each:letter=docs.classes ?>
|
|
||||||
<a href="#letter_<?cs name:letter ?>"><?cs name:letter ?></a> <?cs /each?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?cs each:letter=docs.classes ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<h2 id="letter_<?cs name:letter ?>"><?cs name:letter ?></h2>
|
|
||||||
<table class="jd-sumtable">
|
|
||||||
<?cs set:cur_row = #0 ?>
|
|
||||||
<?cs each:cl = letter ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:cl.since ?>" >
|
|
||||||
<td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(cl) ?>
|
|
||||||
<?cs call:show_annotations_list(cl) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /each ?>
|
|
||||||
|
|
||||||
<?cs include:"footer.cs" ?>
|
|
||||||
</div><!-- end jd-content -->
|
|
||||||
</div><!-- end doc-content -->
|
|
||||||
|
|
||||||
<?cs include:"trailer.cs" ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,10 +0,0 @@
|
||||||
<?cs def:custom_masthead() ?>
|
|
||||||
<div id="header">
|
|
||||||
<div id="headerLeft">
|
|
||||||
<a href="<?cs var:toroot ?>reference/packages.html" tabindex="-1"><img
|
|
||||||
src="<?cs var:toroot ?>assets/lineage_logo.svg" alt="CID" width="144" height="72"/>
|
|
||||||
<span id="masthead-title" style="font-size: 28px;">LineageOS Platform SDK</span></a>
|
|
||||||
</div>
|
|
||||||
</div><!-- header --><?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
|
@ -1,516 +0,0 @@
|
||||||
<?cs
|
|
||||||
def:fullpage() ?>
|
|
||||||
<div id="body-content">
|
|
||||||
<?cs /def ?>
|
|
||||||
<?cs
|
|
||||||
def:sdk_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:no_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:tools_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/tools/tools_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
<?cs
|
|
||||||
def:training_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/training/training_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:googleplay_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:essentials_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/essentials/essentials_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:users_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/users/users_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:engage_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/engage/engage_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:analyze_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/analyze/analyze_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:monetize_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/monetize/monetize_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:disttools_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/tools/disttools_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:stories_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs include:"../../../../frameworks/base/docs/html/distribute/stories/stories_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?><?cs
|
|
||||||
|
|
||||||
def:guide_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/guide/guide_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
<?cs
|
|
||||||
def:design_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/design/design_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
<?cs
|
|
||||||
def:distribute_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/distribute/distribute_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:samples_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/samples/samples_toc.cs" ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:google_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/google/google_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
showGoogleRefTree();
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:about_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/about/about_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:wear_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/wear/wear_toc.cs" ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:preview_nav() ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav" class="scroll-pane">
|
|
||||||
<?cs
|
|
||||||
include:"../../../../frameworks/base/docs/html/preview/preview_toc.cs" ?>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("devdoc-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs # The default side navigation for the reference docs ?><?cs
|
|
||||||
def:default_left_nav() ?>
|
|
||||||
<?cs if:reference.gcm || reference.gms ?>
|
|
||||||
<?cs call:google_nav() ?>
|
|
||||||
<?cs else ?>
|
|
||||||
<div class="wrap clearfix" id="body-content">
|
|
||||||
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
||||||
<div id="devdoc-nav">
|
|
||||||
<div id="api-nav-header">
|
|
||||||
<div id="api-level-toggle">
|
|
||||||
<label for="apiLevelCheckbox" class="disabled"
|
|
||||||
title="Select your target API level to dim unavailable APIs">API level: </label>
|
|
||||||
<div class="select-wrapper">
|
|
||||||
<select id="apiLevelSelector">
|
|
||||||
<!-- option elements added by buildApiLevelSelector() -->
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div><!-- end toggle -->
|
|
||||||
<div id="api-nav-title">LineageOS APIs</div>
|
|
||||||
</div><!-- end nav header -->
|
|
||||||
<script>
|
|
||||||
var SINCE_DATA = [ <?cs
|
|
||||||
each:since = since ?>'<?cs
|
|
||||||
var:since.name ?>'<?cs
|
|
||||||
if:!last(since) ?>, <?cs /if ?><?cs
|
|
||||||
/each
|
|
||||||
?> ];
|
|
||||||
buildApiLevelSelector();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="swapper">
|
|
||||||
<div id="nav-panels">
|
|
||||||
<div id="resize-packages-nav">
|
|
||||||
<div id="packages-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<?cs call:package_link_list(docs.packages) ?>
|
|
||||||
</ul><br/>
|
|
||||||
|
|
||||||
</div> <!-- end packages-nav -->
|
|
||||||
</div> <!-- end resize-packages -->
|
|
||||||
<div id="classes-nav" class="scroll-pane">
|
|
||||||
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
if:subcount(class.package) ?>
|
|
||||||
<ul>
|
|
||||||
<?cs call:list("Annotations", class.package.annotations) ?>
|
|
||||||
<?cs call:list("Interfaces", class.package.interfaces) ?>
|
|
||||||
<?cs call:list("Classes", class.package.classes) ?>
|
|
||||||
<?cs call:list("Enums", class.package.enums) ?>
|
|
||||||
<?cs call:list("Exceptions", class.package.exceptions) ?>
|
|
||||||
<?cs call:list("Errors", class.package.errors) ?>
|
|
||||||
</ul><?cs
|
|
||||||
elif:subcount(package) ?>
|
|
||||||
<ul>
|
|
||||||
<?cs call:class_link_list("Annotations", package.annotations) ?>
|
|
||||||
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
|
|
||||||
<?cs call:class_link_list("Classes", package.classes) ?>
|
|
||||||
<?cs call:class_link_list("Enums", package.enums) ?>
|
|
||||||
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
|
|
||||||
<?cs call:class_link_list("Errors", package.errors) ?>
|
|
||||||
</ul><?cs
|
|
||||||
else ?>
|
|
||||||
<p style="padding:10px">Select a package to view its members</p><?cs
|
|
||||||
/if ?><br/>
|
|
||||||
|
|
||||||
|
|
||||||
</div><!-- end classes -->
|
|
||||||
</div><!-- end nav-panels -->
|
|
||||||
<div id="nav-tree" style="display:none" class="scroll-pane">
|
|
||||||
<div id="tree-list"></div>
|
|
||||||
</div><!-- end nav-tree -->
|
|
||||||
</div><!-- end swapper -->
|
|
||||||
<div id="nav-swap">
|
|
||||||
<a class="fullscreen">fullscreen</a>
|
|
||||||
<a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
|
|
||||||
</div>
|
|
||||||
</div> <!-- end devdoc-nav -->
|
|
||||||
</div> <!-- end side-nav -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
// init fullscreen based on user pref
|
|
||||||
var fullscreen = readCookie("fullscreen");
|
|
||||||
if (fullscreen != 0) {
|
|
||||||
if (fullscreen == "false") {
|
|
||||||
toggleFullscreen(false);
|
|
||||||
} else {
|
|
||||||
toggleFullscreen(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// init nav version for mobile
|
|
||||||
if (isMobile) {
|
|
||||||
swapNav(); // tree view should be used on mobile
|
|
||||||
$('#nav-swap').hide();
|
|
||||||
} else {
|
|
||||||
chooseDefaultNav();
|
|
||||||
if ($("#nav-tree").is(':visible')) {
|
|
||||||
init_default_navtree("<?cs var:toroot ?>");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// scroll the selected page into view
|
|
||||||
$(document).ready(function() {
|
|
||||||
scrollIntoView("packages-nav");
|
|
||||||
scrollIntoView("classes-nav");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:custom_left_nav() ?><?cs
|
|
||||||
if:fullpage ?><?cs
|
|
||||||
call:fullpage() ?><?cs
|
|
||||||
elif:nonavpage ?><?cs
|
|
||||||
call:no_nav() ?><?cs
|
|
||||||
elif:guide ?><?cs
|
|
||||||
call:guide_nav() ?><?cs
|
|
||||||
elif:design ?><?cs
|
|
||||||
call:design_nav() ?><?cs
|
|
||||||
elif:training ?><?cs
|
|
||||||
call:training_nav() ?><?cs
|
|
||||||
elif:tools ?><?cs
|
|
||||||
call:tools_nav() ?><?cs
|
|
||||||
elif:google ?><?cs
|
|
||||||
call:google_nav() ?><?cs
|
|
||||||
elif:samples ?><?cs
|
|
||||||
call:samples_nav() ?><?cs
|
|
||||||
elif:distribute ?><?cs
|
|
||||||
if:googleplay ?><?cs
|
|
||||||
call:googleplay_nav() ?><?cs
|
|
||||||
elif:essentials ?><?cs
|
|
||||||
call:essentials_nav() ?><?cs
|
|
||||||
elif:users ?><?cs
|
|
||||||
call:users_nav() ?><?cs
|
|
||||||
elif:engage ?><?cs
|
|
||||||
call:engage_nav() ?><?cs
|
|
||||||
elif:monetize ?><?cs
|
|
||||||
call:monetize_nav() ?><?cs
|
|
||||||
elif:analyze ?><?cs
|
|
||||||
call:analyze_nav() ?><?cs
|
|
||||||
elif:disttools ?><?cs
|
|
||||||
call:disttools_nav() ?><?cs
|
|
||||||
elif:stories ?><?cs
|
|
||||||
call:stories_nav() ?><?cs
|
|
||||||
/if ?><?cs
|
|
||||||
elif:about ?><?cs
|
|
||||||
call:about_nav() ?><?cs
|
|
||||||
elif:distribute ?><?cs
|
|
||||||
call:distribute_nav() ?><?cs
|
|
||||||
elif:wear ?><?cs
|
|
||||||
call:wear_nav() ?><?cs
|
|
||||||
elif:preview ?><?cs
|
|
||||||
call:preview_nav() ?><?cs
|
|
||||||
else ?><?cs
|
|
||||||
call:default_left_nav() ?> <?cs
|
|
||||||
/if ?><?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
||||||
<?cs # appears at the bottom of every page ?><?cs
|
|
||||||
def:custom_cc_copyright() ?>
|
|
||||||
Except as noted, this content is
|
|
||||||
licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
|
|
||||||
Creative Commons Attribution 2.5</a>. For details and
|
|
||||||
restrictions, see the <a href="<?cs var:toroot ?>license.html">Content
|
|
||||||
License</a>.<?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:custom_copyright() ?>
|
|
||||||
Except as noted, this content is licensed under <a
|
|
||||||
href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
|
|
||||||
For details and restrictions, see the <a href="<?cs var:toroot ?>license.html">
|
|
||||||
Content License</a>.<?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
||||||
<?cs
|
|
||||||
def:custom_footerlinks() ?>
|
|
||||||
<p>
|
|
||||||
<a href="<?cs var:toroot ?>about/index.html">About Android</a> |
|
|
||||||
<a href="<?cs var:toroot ?>legal.html">Legal</a> |
|
|
||||||
<a href="<?cs var:toroot ?>support.html">Support</a>
|
|
||||||
</p><?cs
|
|
||||||
/def ?>
|
|
||||||
|
|
||||||
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
|
||||||
def:custom_buildinfo() ?><?cs
|
|
||||||
if:!google && !reference.gcm && !reference.gms ?>
|
|
||||||
Android <?cs var:sdk.version ?> r<?cs var:sdk.rel.id ?> — <?cs
|
|
||||||
/if ?>
|
|
||||||
<script src="<?cs var:toroot ?>timestamp.js" type="text/javascript"></script>
|
|
||||||
<script>document.write(BUILD_TIMESTAMP)</script>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
<head>
|
|
||||||
<?cs
|
|
||||||
####### If building devsite, add some meta data needed for when generating the top nav ######### ?>
|
|
||||||
<?cs
|
|
||||||
if:devsite ?><?cs
|
|
||||||
if:guide||develop||training||reference||tools||sdk||google||samples
|
|
||||||
?><meta name="top_category" value="develop" /><?cs
|
|
||||||
elif:google
|
|
||||||
?><meta name="top_category" value="google" /><?cs
|
|
||||||
elif:reference && !(reference.gms || reference.gcm)
|
|
||||||
?><meta name="top_category" value="css-fullscreen" /><?cs
|
|
||||||
/if ?>
|
|
||||||
<?cs
|
|
||||||
/if
|
|
||||||
?><?cs
|
|
||||||
# END if/else devsite ?>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<meta name="viewport" content="width=<?cs
|
|
||||||
if:page.viewport_width ?><?cs
|
|
||||||
var:page.viewport_width ?><?cs
|
|
||||||
else ?>device-width<?cs /if ?>" />
|
|
||||||
<?cs
|
|
||||||
if:page.metaDescription ?>
|
|
||||||
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
|
|
||||||
/if ?>
|
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>assets/favicon.ico" />
|
|
||||||
<title><?cs
|
|
||||||
if:page.title ?><?cs
|
|
||||||
var:page.title ?> | <?cs
|
|
||||||
/if ?>Android Developers</title>
|
|
||||||
|
|
||||||
<!-- STYLESHEETS -->
|
|
||||||
<link rel="stylesheet"
|
|
||||||
href="<?cs
|
|
||||||
if:android.whichdoc != 'online' ?>http:<?cs
|
|
||||||
/if ?>//fonts.googleapis.com/css?family=Roboto+Condensed">
|
|
||||||
<link rel="stylesheet" href="<?cs
|
|
||||||
if:android.whichdoc != 'online' ?>http:<?cs
|
|
||||||
/if ?>//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
|
|
||||||
title="roboto">
|
|
||||||
<link href="<?cs var:toroot ?>assets/css/default.css?v=5" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<?cs if:reference && !(reference.gms || reference.gcm || preview) ?>
|
|
||||||
<!-- FULLSCREEN STYLESHEET -->
|
|
||||||
<link href="<?cs var:toroot ?>assets/css/fullscreen.css" rel="stylesheet" class="fullscreen"
|
|
||||||
type="text/css">
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<!-- JAVASCRIPT -->
|
|
||||||
<script src="<?cs if:android.whichdoc != 'online' ?>http:<?cs /if ?>//www.google.com/jsapi" type="text/javascript"></script>
|
|
||||||
<?cs
|
|
||||||
if:devsite
|
|
||||||
?><script src="<?cs var:toroot ?>_static/js/android_3p-bundle.js" type="text/javascript"></script><?cs
|
|
||||||
else
|
|
||||||
?><script src="<?cs var:toroot ?>assets/js/android_3p-bundle.js" type="text/javascript"></script><?cs
|
|
||||||
/if ?><?cs
|
|
||||||
if:page.customHeadTag ?>
|
|
||||||
<?cs var:page.customHeadTag ?><?cs
|
|
||||||
/if ?>
|
|
||||||
<script type="text/javascript">
|
|
||||||
var toRoot = "<?cs var:toroot ?>";
|
|
||||||
var metaTags = [<?cs var:meta.tags ?>];
|
|
||||||
var devsite = <?cs if:devsite ?>true<?cs else ?>false<?cs /if ?>;
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?cs if:helpoutsWidget ?>
|
|
||||||
<script type="text/javascript" src="https://helpouts.google.com/ps/res/embed.js" defer async
|
|
||||||
data-helpouts-embed data-helpouts-vertical="programming"
|
|
||||||
data-helpouts-tags="<?cs var:page.tags ?>" data-helpouts-prefix="android"
|
|
||||||
data-helpouts-standalone="true"></script>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
||||||
|
|
||||||
ga('create', 'UA-5831155-1', 'android.com');
|
|
||||||
ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
|
|
||||||
ga('send', 'pageview');
|
|
||||||
ga('universal.send', 'pageview'); // Send page view for new tracker.
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
||||||
<script src="<?cs var:toroot ?>assets/docs.js?v=3" type="text/javascript"></script>
|
|
||||||
</head>
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?cs # Create a comma separated list of annotations on obj that were in showAnnotations in Doclava ?>
|
|
||||||
<?cs # pre is an HTML string to start the list, post is an HTML string to close the list ?>
|
|
||||||
<?cs # for example call:show_annotations_list(cl, "<td>Annotations: ", "</td>") ?>
|
|
||||||
<?cs # if obj has nothing on obj.showAnnotations, nothing will be output ?>
|
|
||||||
<?cs def:show_annotations_list(obj) ?>
|
|
||||||
<?cs each:anno = obj.showAnnotations ?>
|
|
||||||
<?cs if:first(anno) ?>
|
|
||||||
<span class='annotation-message'>
|
|
||||||
Included in documentation by the annotations:
|
|
||||||
<?cs /if ?>
|
|
||||||
@<?cs var:anno.type.label ?>
|
|
||||||
<?cs if:last(anno) == 0 ?>
|
|
||||||
,
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs if:last(anno)?>
|
|
||||||
</span>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs # Override default class_link_table to display annotations ?>
|
|
||||||
<?cs def:class_link_table(classes) ?>
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<table class="jd-sumtable-expando">
|
|
||||||
<?cs each:cl=classes ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:cl.type.since ?>" >
|
|
||||||
<td class="jd-linkcol"><?cs call:type_link(cl.type) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%">
|
|
||||||
<?cs call:short_descr(cl) ?>
|
|
||||||
<?cs call:show_annotations_list(cl) ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
<?cs /def ?>
|
|
|
@ -1,65 +0,0 @@
|
||||||
<?cs include:"doctype.cs" ?>
|
|
||||||
<?cs include:"macros.cs" ?>
|
|
||||||
<?cs include:"macros_override.cs" ?>
|
|
||||||
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
|
||||||
<?cs include:"head_tag.cs" ?>
|
|
||||||
|
|
||||||
<body class="gc-documentation <?cs if:(reference.gms || reference.gcm) ?>google<?cs /if ?>
|
|
||||||
<?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
|
|
||||||
if:reference ?> reference<?cs
|
|
||||||
/if ?><?cs
|
|
||||||
elif:design ?>design<?cs
|
|
||||||
elif:distribute ?>distribute<?cs
|
|
||||||
/if ?>">
|
|
||||||
<div id="doc-api-level" class="<?cs var:package.since ?>" style="display:none"></div>
|
|
||||||
<a name="top"></a>
|
|
||||||
<?cs include:"header.cs" ?>
|
|
||||||
|
|
||||||
<div class="col-12" id="doc-col">
|
|
||||||
|
|
||||||
<div id="api-info-block">
|
|
||||||
<div class="api-level">
|
|
||||||
<?cs call:since_tags(package) ?>
|
|
||||||
<?cs call:federated_refs(package) ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="jd-header">
|
|
||||||
package
|
|
||||||
<h1><?cs var:package.name ?></h1>
|
|
||||||
</div><!-- end header -->
|
|
||||||
|
|
||||||
<div id="naMessage"></div>
|
|
||||||
|
|
||||||
<div id="jd-content" class="api apilevel-<?cs var:package.since ?>">
|
|
||||||
|
|
||||||
<?cs if:subcount(package.descr) ?>
|
|
||||||
<div class="jd-descr">
|
|
||||||
<?cs call:tag_list(package.descr) ?>
|
|
||||||
</div>
|
|
||||||
<?cs /if ?>
|
|
||||||
|
|
||||||
<?cs def:class_table(label, classes) ?>
|
|
||||||
<?cs if:subcount(classes) ?>
|
|
||||||
<h2><?cs var:label ?></h2>
|
|
||||||
<div class="jd-sumtable">
|
|
||||||
<?cs call:class_link_table(classes) ?>
|
|
||||||
</div>
|
|
||||||
<?cs /if ?>
|
|
||||||
<?cs /def ?>
|
|
||||||
|
|
||||||
<?cs call:class_table("Annotations", package.annotations) ?>
|
|
||||||
<?cs call:class_table("Interfaces", package.interfaces) ?>
|
|
||||||
<?cs call:class_table("Classes", package.classes) ?>
|
|
||||||
<?cs call:class_table("Enums", package.enums) ?>
|
|
||||||
<?cs call:class_table("Exceptions", package.exceptions) ?>
|
|
||||||
<?cs call:class_table("Errors", package.errors) ?>
|
|
||||||
|
|
||||||
<?cs include:"footer.cs" ?>
|
|
||||||
</div><!-- end jd-content -->
|
|
||||||
</div><!-- doc-content -->
|
|
||||||
|
|
||||||
<?cs include:"trailer.cs" ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,45 +0,0 @@
|
||||||
<?cs include:"doctype.cs" ?>
|
|
||||||
<?cs include:"macros.cs" ?>
|
|
||||||
<html<?cs if:devsite ?> devsite<?cs /if ?>>
|
|
||||||
<?cs include:"head_tag.cs" ?>
|
|
||||||
<body class="gc-documentation <?cs if:(reference.gms || reference.gcm) ?>google<?cs /if ?>
|
|
||||||
<?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
|
|
||||||
if:reference ?> reference<?cs
|
|
||||||
/if ?><?cs
|
|
||||||
elif:design ?>design<?cs
|
|
||||||
elif:distribute ?>distribute<?cs
|
|
||||||
/if ?>">
|
|
||||||
<a name="top"></a>
|
|
||||||
<?cs include:"header.cs" ?>
|
|
||||||
|
|
||||||
<div class="col-12" id="doc-col">
|
|
||||||
|
|
||||||
<div id="jd-header">
|
|
||||||
<h1><?cs var:page.title ?></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="jd-content">
|
|
||||||
|
|
||||||
<div class="jd-descr">
|
|
||||||
<p><?cs call:tag_list(root.descr) ?></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?cs set:count = #1 ?>
|
|
||||||
<table class="jd-sumtable">
|
|
||||||
<?cs each:pkg = docs.packages ?>
|
|
||||||
<tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:pkg.since ?>" >
|
|
||||||
<td class="jd-linkcol"><?cs call:package_link(pkg) ?></td>
|
|
||||||
<td class="jd-descrcol" width="100%"><?cs call:tag_list(pkg.shortDescr) ?></td>
|
|
||||||
</tr>
|
|
||||||
<?cs set:count = count + #1 ?>
|
|
||||||
<?cs /each ?>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<?cs include:"footer.cs" ?>
|
|
||||||
</div><!-- end jd-content -->
|
|
||||||
</div> <!-- end doc-content -->
|
|
||||||
|
|
||||||
<?cs include:"trailer.cs" ?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1 +0,0 @@
|
||||||
var BUILD_TIMESTAMP = "<?cs var:page.now ?>";
|
|
|
@ -184,9 +184,9 @@ def is_closed(status):
|
||||||
return status not in ("OPEN", "NEW", "DRAFT")
|
return status not in ("OPEN", "NEW", "DRAFT")
|
||||||
|
|
||||||
|
|
||||||
def is_lineage_gerrit(remote_url):
|
def is_tequila_gerrit(remote_url):
|
||||||
p = urllib.parse.urlparse(remote_url)
|
p = urllib.parse.urlparse(remote_url)
|
||||||
return p.hostname == "review.lineageos.org"
|
return p.hostname == "review.tequilaos.org"
|
||||||
|
|
||||||
|
|
||||||
def commit_exists(project_path, revision):
|
def commit_exists(project_path, revision):
|
||||||
|
@ -206,7 +206,7 @@ def main():
|
||||||
description=textwrap.dedent(
|
description=textwrap.dedent(
|
||||||
"""\
|
"""\
|
||||||
repopick.py is a utility to simplify the process of cherry picking
|
repopick.py is a utility to simplify the process of cherry picking
|
||||||
patches from LineageOS's Gerrit instance (or any gerrit instance of your choosing)
|
patches from tequilaOS's Gerrit instance (or any gerrit instance of your choosing)
|
||||||
|
|
||||||
Given a list of change numbers, repopick will cd into the project path
|
Given a list of change numbers, repopick will cd into the project path
|
||||||
and cherry pick the latest patch available.
|
and cherry pick the latest patch available.
|
||||||
|
@ -287,7 +287,7 @@ def main():
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-g",
|
"-g",
|
||||||
"--gerrit",
|
"--gerrit",
|
||||||
default="https://review.lineageos.org",
|
default="https://review.tequilaos.org",
|
||||||
metavar="",
|
metavar="",
|
||||||
help="Gerrit Instance to use. Form proto://[user@]host[:port]",
|
help="Gerrit Instance to use. Form proto://[user@]host[:port]",
|
||||||
)
|
)
|
||||||
|
@ -640,8 +640,8 @@ def do_git_fetch_pull(args, item):
|
||||||
cmd.append("--quiet")
|
cmd.append("--quiet")
|
||||||
cmd.extend(["", item["fetch"][method]["ref"]])
|
cmd.extend(["", item["fetch"][method]["ref"]])
|
||||||
|
|
||||||
# Try fetching from GitHub first if using lineage gerrit
|
# Try fetching from GitHub first if using tequila gerrit
|
||||||
if is_lineage_gerrit(args.gerrit):
|
if is_tequila_gerrit(args.gerrit):
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
print("Trying to fetch the change from GitHub")
|
print("Trying to fetch the change from GitHub")
|
||||||
|
|
||||||
|
@ -654,9 +654,9 @@ def do_git_fetch_pull(args, item):
|
||||||
return
|
return
|
||||||
print("ERROR: git command failed")
|
print("ERROR: git command failed")
|
||||||
|
|
||||||
# If not using the lineage gerrit or github failed, fetch from gerrit.
|
# If not using the tequila gerrit or github failed, fetch from gerrit.
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
if is_lineage_gerrit(args.gerrit):
|
if is_tequila_gerrit(args.gerrit):
|
||||||
print(
|
print(
|
||||||
"Fetching from GitHub didn't work, trying to fetch the change from Gerrit"
|
"Fetching from GitHub didn't work, trying to fetch the change from Gerrit"
|
||||||
)
|
)
|
||||||
|
|
|
@ -46,7 +46,7 @@ except:
|
||||||
device = product
|
device = product
|
||||||
|
|
||||||
if not depsonly:
|
if not depsonly:
|
||||||
print("Device %s not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS)." % device)
|
print("Device %s not found. Attempting to retrieve device repository from tequilaOS Github (http://github.com/tequilaOS)." % device)
|
||||||
|
|
||||||
repositories = []
|
repositories = []
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ def add_auth(githubreq):
|
||||||
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
githubreq.add_header("Authorization","Basic %s" % githubauth)
|
||||||
|
|
||||||
if not depsonly:
|
if not depsonly:
|
||||||
githubreq = urllib.request.Request("https://raw.githubusercontent.com/LineageOS/mirror/main/default.xml")
|
githubreq = urllib.request.Request("https://raw.githubusercontent.com/tequilaOS/mirror/main/default.xml")
|
||||||
try:
|
try:
|
||||||
result = ElementTree.fromstring(urllib.request.urlopen(githubreq).read().decode())
|
result = ElementTree.fromstring(urllib.request.urlopen(githubreq).read().decode())
|
||||||
except urllib.error.URLError:
|
except urllib.error.URLError:
|
||||||
|
@ -159,9 +159,9 @@ def is_in_manifest(projectpath):
|
||||||
if localpath.get("path") == projectpath:
|
if localpath.get("path") == projectpath:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# ... and don't forget the lineage snippet
|
# ... and don't forget the tequila snippet
|
||||||
try:
|
try:
|
||||||
lm = ElementTree.parse(".repo/manifests/snippets/lineage.xml")
|
lm = ElementTree.parse(".repo/manifests/tequila.xml")
|
||||||
lm = lm.getroot()
|
lm = lm.getroot()
|
||||||
except:
|
except:
|
||||||
lm = ElementTree.Element("manifest")
|
lm = ElementTree.Element("manifest")
|
||||||
|
@ -188,13 +188,13 @@ def add_to_manifest(repositories):
|
||||||
repo_revision = repository['branch']
|
repo_revision = repository['branch']
|
||||||
print('Checking if %s is fetched from %s' % (repo_target, repo_name))
|
print('Checking if %s is fetched from %s' % (repo_target, repo_name))
|
||||||
if is_in_manifest(repo_target):
|
if is_in_manifest(repo_target):
|
||||||
print('LineageOS/%s already fetched to %s' % (repo_name, repo_target))
|
print('tequilaOS/%s already fetched to %s' % (repo_name, repo_target))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
project = ElementTree.Element("project", attrib = {
|
project = ElementTree.Element("project", attrib = {
|
||||||
"path": repo_target,
|
"path": repo_target,
|
||||||
"remote": "github",
|
"remote": "tequila",
|
||||||
"name": "LineageOS/%s" % repo_name,
|
"name": repo_name,
|
||||||
"revision": repo_revision })
|
"revision": repo_revision })
|
||||||
if repo_remote := repository.get("remote", None):
|
if repo_remote := repository.get("remote", None):
|
||||||
# aosp- remotes are only used for kernel prebuilts, thus they
|
# aosp- remotes are only used for kernel prebuilts, thus they
|
||||||
|
@ -217,7 +217,7 @@ def add_to_manifest(repositories):
|
||||||
|
|
||||||
def fetch_dependencies(repo_path):
|
def fetch_dependencies(repo_path):
|
||||||
print('Looking for dependencies in %s' % repo_path)
|
print('Looking for dependencies in %s' % repo_path)
|
||||||
dependencies_path = repo_path + '/lineage.dependencies'
|
dependencies_path = repo_path + '/tequila.dependencies'
|
||||||
syncable_repos = []
|
syncable_repos = []
|
||||||
verify_repos = []
|
verify_repos = []
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ def get_default_or_fallback_revision(repo_name):
|
||||||
print("Default revision: %s" % default_revision)
|
print("Default revision: %s" % default_revision)
|
||||||
print("Checking branch info")
|
print("Checking branch info")
|
||||||
|
|
||||||
githubreq = urllib.request.Request("https://api.github.com/repos/LineageOS/" + repo_name + "/branches")
|
githubreq = urllib.request.Request("https://api.github.com/repos/tequilaOS/" + repo_name + "/branches")
|
||||||
add_auth(githubreq)
|
add_auth(githubreq)
|
||||||
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
|
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
|
||||||
if has_branch(result, default_revision):
|
if has_branch(result, default_revision):
|
||||||
|
@ -318,4 +318,4 @@ else:
|
||||||
print("Done")
|
print("Done")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
print("Repository for %s not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml." % device)
|
print("Repository for %s not found in the tequilaOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml." % device)
|
||||||
|
|
|
@ -110,7 +110,7 @@ KERNEL_MAKE_FLAGS :=
|
||||||
KERNEL_MAKE_FLAGS += -j$(shell getconf _NPROCESSORS_ONLN)
|
KERNEL_MAKE_FLAGS += -j$(shell getconf _NPROCESSORS_ONLN)
|
||||||
|
|
||||||
TOOLS_PATH_OVERRIDE := \
|
TOOLS_PATH_OVERRIDE := \
|
||||||
PERL5LIB=$(BUILD_TOP)/prebuilts/tools-lineage/common/perl-base
|
PERL5LIB=$(BUILD_TOP)/prebuilts/tools-tequila/common/perl-base
|
||||||
|
|
||||||
ifneq ($(KERNEL_NO_GCC), true)
|
ifneq ($(KERNEL_NO_GCC), true)
|
||||||
GCC_PREBUILTS := $(BUILD_TOP)/prebuilts/gcc/$(HOST_PREBUILT_TAG)
|
GCC_PREBUILTS := $(BUILD_TOP)/prebuilts/gcc/$(HOST_PREBUILT_TAG)
|
||||||
|
@ -170,9 +170,9 @@ ifneq ($(KERNEL_NO_GCC), true)
|
||||||
|
|
||||||
ifeq ($(KERNEL_ARCH),arm64)
|
ifeq ($(KERNEL_ARCH),arm64)
|
||||||
# Add 32-bit GCC to PATH so that arm-linux-androidkernel-as is available for CONFIG_COMPAT_VDSO
|
# Add 32-bit GCC to PATH so that arm-linux-androidkernel-as is available for CONFIG_COMPAT_VDSO
|
||||||
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-lineage/$(HOST_PREBUILT_TAG)/bin:$(KERNEL_TOOLCHAIN_arm):$$PATH
|
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-tequila/$(HOST_PREBUILT_TAG)/bin:$(KERNEL_TOOLCHAIN_arm):$$PATH
|
||||||
else
|
else
|
||||||
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-lineage/$(HOST_PREBUILT_TAG)/bin:$$PATH
|
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-tequila/$(HOST_PREBUILT_TAG)/bin:$$PATH
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Set the full path to the clang command and LLVM binutils
|
# Set the full path to the clang command and LLVM binutils
|
||||||
|
@ -188,7 +188,7 @@ else
|
||||||
KERNEL_MAKE_FLAGS += HOSTCFLAGS="--sysroot=$(BUILD_TOP)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I$(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/include"
|
KERNEL_MAKE_FLAGS += HOSTCFLAGS="--sysroot=$(BUILD_TOP)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -I$(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/include"
|
||||||
KERNEL_MAKE_FLAGS += HOSTLDFLAGS="--sysroot=$(BUILD_TOP)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,$(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/lib64 -L $(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt"
|
KERNEL_MAKE_FLAGS += HOSTLDFLAGS="--sysroot=$(BUILD_TOP)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -Wl,-rpath,$(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/lib64 -L $(BUILD_TOP)/prebuilts/kernel-build-tools/linux-x86/lib64 -fuse-ld=lld --rtlib=compiler-rt"
|
||||||
|
|
||||||
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-lineage/$(HOST_PREBUILT_TAG)/bin:$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
TOOLS_PATH_OVERRIDE += PATH=$(BUILD_TOP)/prebuilts/tools-tequila/$(HOST_PREBUILT_TAG)/bin:$(TARGET_KERNEL_CLANG_PATH)/bin:$$PATH
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Set DTBO image locations so the build system knows to build them
|
# Set DTBO image locations so the build system knows to build them
|
||||||
|
|
|
@ -15,19 +15,19 @@ EXPORT_TO_SOONG := \
|
||||||
# Documentation here:
|
# Documentation here:
|
||||||
# https://github.com/LineageOS/android_build_soong/commit/8328367c44085b948c003116c0ed74a047237a69
|
# https://github.com/LineageOS/android_build_soong/commit/8328367c44085b948c003116c0ed74a047237a69
|
||||||
|
|
||||||
SOONG_CONFIG_NAMESPACES += lineageVarsPlugin
|
SOONG_CONFIG_NAMESPACES += tequilaVarsPlugin
|
||||||
|
|
||||||
SOONG_CONFIG_lineageVarsPlugin :=
|
SOONG_CONFIG_tequilaVarsPlugin :=
|
||||||
|
|
||||||
define addVar
|
define addVar
|
||||||
SOONG_CONFIG_lineageVarsPlugin += $(1)
|
SOONG_CONFIG_tequilaVarsPlugin += $(1)
|
||||||
SOONG_CONFIG_lineageVarsPlugin_$(1) := $($1)
|
SOONG_CONFIG_tequilaVarsPlugin_$(1) := $($1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call addVar,$(v))))
|
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call addVar,$(v))))
|
||||||
|
|
||||||
SOONG_CONFIG_NAMESPACES += lineageGlobalVars
|
SOONG_CONFIG_NAMESPACES += tequilaGlobalVars
|
||||||
SOONG_CONFIG_lineageGlobalVars += \
|
SOONG_CONFIG_tequilaGlobalVars += \
|
||||||
aapt_version_code \
|
aapt_version_code \
|
||||||
additional_gralloc_10_usage_bits \
|
additional_gralloc_10_usage_bits \
|
||||||
bootloader_message_offset \
|
bootloader_message_offset \
|
||||||
|
@ -50,8 +50,8 @@ SOONG_CONFIG_lineageGlobalVars += \
|
||||||
target_trust_usb_control_disable \
|
target_trust_usb_control_disable \
|
||||||
uses_egl_display_array
|
uses_egl_display_array
|
||||||
|
|
||||||
SOONG_CONFIG_NAMESPACES += lineageQcomVars
|
SOONG_CONFIG_NAMESPACES += tequilaQcomVars
|
||||||
SOONG_CONFIG_lineageQcomVars += \
|
SOONG_CONFIG_tequilaQcomVars += \
|
||||||
qti_vibrator_effect_lib \
|
qti_vibrator_effect_lib \
|
||||||
qti_vibrator_use_effect_stream \
|
qti_vibrator_use_effect_stream \
|
||||||
supports_extended_compress_format \
|
supports_extended_compress_format \
|
||||||
|
@ -59,19 +59,19 @@ SOONG_CONFIG_lineageQcomVars += \
|
||||||
|
|
||||||
# Only create display_headers_namespace var if dealing with UM platforms to avoid breaking build for all other platforms
|
# Only create display_headers_namespace var if dealing with UM platforms to avoid breaking build for all other platforms
|
||||||
ifneq ($(filter $(UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
|
ifneq ($(filter $(UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
|
||||||
SOONG_CONFIG_lineageQcomVars += \
|
SOONG_CONFIG_tequilaQcomVars += \
|
||||||
qcom_display_headers_namespace
|
qcom_display_headers_namespace
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Soong bool variables
|
# Soong bool variables
|
||||||
SOONG_CONFIG_lineageGlobalVars_camera_override_format_from_reserved := $(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED)
|
SOONG_CONFIG_tequilaGlobalVars_camera_override_format_from_reserved := $(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED)
|
||||||
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_custom_content_md_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE)
|
SOONG_CONFIG_tequilaGlobalVars_gralloc_handle_has_custom_content_md_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE)
|
||||||
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE)
|
SOONG_CONFIG_tequilaGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE)
|
||||||
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_ubwcp_format := $(TARGET_GRALLOC_HANDLE_HAS_UBWCP_FORMAT)
|
SOONG_CONFIG_tequilaGlobalVars_gralloc_handle_has_ubwcp_format := $(TARGET_GRALLOC_HANDLE_HAS_UBWCP_FORMAT)
|
||||||
SOONG_CONFIG_lineageGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY)
|
SOONG_CONFIG_tequilaGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY)
|
||||||
SOONG_CONFIG_lineageQcomVars_qti_vibrator_use_effect_stream := $(TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM)
|
SOONG_CONFIG_tequilaQcomVars_qti_vibrator_use_effect_stream := $(TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM)
|
||||||
SOONG_CONFIG_lineageQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT)
|
SOONG_CONFIG_tequilaQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT)
|
||||||
SOONG_CONFIG_lineageQcomVars_uses_pre_uplink_features_netmgrd := $(TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD)
|
SOONG_CONFIG_tequilaQcomVars_uses_pre_uplink_features_netmgrd := $(TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD)
|
||||||
|
|
||||||
# Set default values
|
# Set default values
|
||||||
BOOTLOADER_MESSAGE_OFFSET ?= 0
|
BOOTLOADER_MESSAGE_OFFSET ?= 0
|
||||||
|
@ -94,26 +94,26 @@ TARGET_TRUST_USB_CONTROL_ENABLE ?= 1
|
||||||
TARGET_TRUST_USB_CONTROL_DISABLE ?= 0
|
TARGET_TRUST_USB_CONTROL_DISABLE ?= 0
|
||||||
|
|
||||||
# Soong value variables
|
# Soong value variables
|
||||||
SOONG_CONFIG_lineageGlobalVars_aapt_version_code := $(shell date -u +%Y%m%d)
|
SOONG_CONFIG_tequilaGlobalVars_aapt_version_code := $(shell date -u +%Y%m%d)
|
||||||
SOONG_CONFIG_lineageGlobalVars_additional_gralloc_10_usage_bits := $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS)
|
SOONG_CONFIG_tequilaGlobalVars_additional_gralloc_10_usage_bits := $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS)
|
||||||
SOONG_CONFIG_lineageGlobalVars_bootloader_message_offset := $(BOOTLOADER_MESSAGE_OFFSET)
|
SOONG_CONFIG_tequilaGlobalVars_bootloader_message_offset := $(BOOTLOADER_MESSAGE_OFFSET)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_charging_path := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_charging_path := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_charging_enabled := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_charging_enabled := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_charging_disabled := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_charging_disabled := $(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_deadline_path := $(TARGET_HEALTH_CHARGING_CONTROL_DEADLINE_PATH)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_deadline_path := $(TARGET_HEALTH_CHARGING_CONTROL_DEADLINE_PATH)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_supports_bypass := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_supports_bypass := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_supports_deadline := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_supports_deadline := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_DEADLINE)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_health_charging_control_supports_toggle := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE)
|
SOONG_CONFIG_tequilaGlobalVars_target_health_charging_control_supports_toggle := $(TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_TOGGLE)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_init_vendor_lib := $(TARGET_INIT_VENDOR_LIB)
|
SOONG_CONFIG_tequilaGlobalVars_target_init_vendor_lib := $(TARGET_INIT_VENDOR_LIB)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_ld_shim_libs := $(subst $(space),:,$(TARGET_LD_SHIM_LIBS))
|
SOONG_CONFIG_tequilaGlobalVars_target_ld_shim_libs := $(subst $(space),:,$(TARGET_LD_SHIM_LIBS))
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_power_libperfmgr_mode_extension_lib := $(TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB)
|
SOONG_CONFIG_tequilaGlobalVars_target_power_libperfmgr_mode_extension_lib := $(TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_surfaceflinger_udfps_lib := $(TARGET_SURFACEFLINGER_UDFPS_LIB)
|
SOONG_CONFIG_tequilaGlobalVars_target_surfaceflinger_udfps_lib := $(TARGET_SURFACEFLINGER_UDFPS_LIB)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_trust_usb_control_path := $(TARGET_TRUST_USB_CONTROL_PATH)
|
SOONG_CONFIG_tequilaGlobalVars_target_trust_usb_control_path := $(TARGET_TRUST_USB_CONTROL_PATH)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_trust_usb_control_enable := $(TARGET_TRUST_USB_CONTROL_ENABLE)
|
SOONG_CONFIG_tequilaGlobalVars_target_trust_usb_control_enable := $(TARGET_TRUST_USB_CONTROL_ENABLE)
|
||||||
SOONG_CONFIG_lineageGlobalVars_target_trust_usb_control_disable := $(TARGET_TRUST_USB_CONTROL_DISABLE)
|
SOONG_CONFIG_tequilaGlobalVars_target_trust_usb_control_disable := $(TARGET_TRUST_USB_CONTROL_DISABLE)
|
||||||
ifneq ($(filter $(QSSI_SUPPORTED_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
|
ifneq ($(filter $(QSSI_SUPPORTED_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
|
||||||
SOONG_CONFIG_lineageQcomVars_qcom_display_headers_namespace := vendor/qcom/opensource/commonsys-intf/display
|
SOONG_CONFIG_tequilaQcomVars_qcom_display_headers_namespace := vendor/qcom/opensource/commonsys-intf/display
|
||||||
else
|
else
|
||||||
SOONG_CONFIG_lineageQcomVars_qcom_display_headers_namespace := $(QCOM_SOONG_NAMESPACE)/display
|
SOONG_CONFIG_tequilaQcomVars_qcom_display_headers_namespace := $(QCOM_SOONG_NAMESPACE)/display
|
||||||
endif
|
endif
|
||||||
SOONG_CONFIG_lineageQcomVars_qti_vibrator_effect_lib := $(TARGET_QTI_VIBRATOR_EFFECT_LIB)
|
SOONG_CONFIG_tequilaQcomVars_qti_vibrator_effect_lib := $(TARGET_QTI_VIBRATOR_EFFECT_LIB)
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Recovery
|
# Recovery
|
||||||
BOARD_USES_FULL_RECOVERY_IMAGE ?= true
|
BOARD_USES_FULL_RECOVERY_IMAGE ?= true
|
||||||
|
|
||||||
include vendor/lineage/config/BoardConfigKernel.mk
|
include vendor/tequila/config/BoardConfigKernel.mk
|
||||||
|
|
||||||
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
||||||
include hardware/qcom-caf/common/BoardConfigQcom.mk
|
include hardware/qcom-caf/common/BoardConfigQcom.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include vendor/lineage/config/BoardConfigSoong.mk
|
include vendor/tequila/config/BoardConfigSoong.mk
|
|
@ -24,13 +24,13 @@ PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/alarms/ogg/Barium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Barium.ogg \
|
$(LOCAL_PATH)/alarms/ogg/Barium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Barium.ogg \
|
||||||
$(LOCAL_PATH)/alarms/ogg/Hassium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Hassium.ogg \
|
$(LOCAL_PATH)/alarms/ogg/Hassium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Hassium.ogg \
|
||||||
$(LOCAL_PATH)/alarms/ogg/Scandium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Scandium.ogg \
|
$(LOCAL_PATH)/alarms/ogg/Scandium.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Scandium.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Argon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Argon-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Argon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Argon-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Carbon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Carbon-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Carbon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Carbon-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Krypton-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Krypton-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Krypton-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Krypton-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Neon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Neon-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Neon-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Neon-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Osmium-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Osmium-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Osmium-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Osmium-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Oxygen-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Oxygen-old.ogg \
|
vendor/tequila/prebuilt/common/media/audio/alarms/Oxygen-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Oxygen-old.ogg \
|
||||||
vendor/lineage/prebuilt/common/media/audio/alarms/Platinum-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Platinum-old.ogg
|
vendor/tequila/prebuilt/common/media/audio/alarms/Platinum-old.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/alarms/Platinum-old.ogg
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/F1_New_SMS.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/F1_New_SMS.ogg \
|
$(LOCAL_PATH)/F1_New_SMS.ogg:$(TARGET_COPY_OUT_PRODUCT)/media/audio/notifications/F1_New_SMS.ogg \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Allow vendor/extra to override any property by setting it first
|
# Allow vendor/extra to override any property by setting it first
|
||||||
$(call inherit-product-if-exists, vendor/extra/product.mk)
|
$(call inherit-product-if-exists, vendor/extra/product.mk)
|
||||||
|
|
||||||
PRODUCT_BRAND ?= LineageOS
|
PRODUCT_BRAND ?= tequilaOS
|
||||||
|
|
||||||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
||||||
|
|
||||||
|
@ -26,18 +26,18 @@ endif
|
||||||
|
|
||||||
# Backup Tool
|
# Backup Tool
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
vendor/tequila/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
||||||
vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
vendor/tequila/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||||
vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh
|
vendor/tequila/prebuilt/common/bin/50-tequila.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-tequila.sh
|
||||||
|
|
||||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||||
system/addon.d/50-lineage.sh
|
system/addon.d/50-tequila.sh
|
||||||
|
|
||||||
ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),)
|
ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),)
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
|
vendor/tequila/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
|
||||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
|
vendor/tequila/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
|
||||||
vendor/lineage/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
|
vendor/tequila/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
|
||||||
|
|
||||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||||
system/bin/backuptool_ab.sh \
|
system/bin/backuptool_ab.sh \
|
||||||
|
@ -50,13 +50,13 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Lineage-specific broadcast actions whitelist
|
# tequila-specific broadcast actions whitelist
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/config/permissions/lineage-sysconfig.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/lineage-sysconfig.xml
|
vendor/tequila/config/permissions/tequila-sysconfig.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/tequila-sysconfig.xml
|
||||||
|
|
||||||
# Lineage-specific init rc file
|
# tequila-specific init rc file
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/prebuilt/common/etc/init/init.lineage-system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.lineage-system_ext.rc
|
vendor/tequila/prebuilt/common/etc/init/init.tequila-system_ext.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.tequila-system_ext.rc
|
||||||
|
|
||||||
# Enable SIP+VoIP on all targets
|
# Enable SIP+VoIP on all targets
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
@ -66,19 +66,14 @@ PRODUCT_COPY_FILES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:$(TARGET_COPY_OUT_PRODUCT)/usr/keylayout/Vendor_045e_Product_0719.kl
|
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:$(TARGET_COPY_OUT_PRODUCT)/usr/keylayout/Vendor_045e_Product_0719.kl
|
||||||
|
|
||||||
# This is Lineage!
|
# This is tequila!
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/config/permissions/org.lineageos.android.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.android.xml
|
vendor/tequila/config/permissions/org.tequila.android.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.tequila.android.xml
|
||||||
|
|
||||||
# Log privapp-permissions whitelist
|
# Log privapp-permissions whitelist
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
ro.control_privapp_permissions=log
|
ro.control_privapp_permissions=log
|
||||||
|
|
||||||
ifneq ($(TARGET_DISABLE_LINEAGE_SDK), true)
|
|
||||||
# Lineage SDK
|
|
||||||
include vendor/lineage/config/lineage_sdk_common.mk
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Do not include art debug targets
|
# Do not include art debug targets
|
||||||
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
|
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
|
||||||
|
|
||||||
|
@ -92,27 +87,26 @@ PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||||
|
|
||||||
ifneq ($(TARGET_DISABLE_EPPE),true)
|
ifneq ($(TARGET_DISABLE_EPPE),true)
|
||||||
# Require all requested packages to exist
|
# Require all requested packages to exist
|
||||||
$(call enforce-product-packages-exist-internal,$(wildcard device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar Launcher3 Launcher3Go Launcher3QuickStep Launcher3QuickStepGo android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package)
|
$(call enforce-product-packages-exist-internal,$(wildcard device/*/$(TEQUILA_BUILD)/$(TARGET_PRODUCT).mk),product_manifest.xml rild Calendar Launcher3 Launcher3Go Launcher3QuickStep Launcher3QuickStepGo android.hidl.memory@1.0-impl.vendor vndk_apex_snapshot_package)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Build Manifest
|
# Build Manifest
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
build-manifest
|
build-manifest
|
||||||
|
|
||||||
# Lineage packages
|
# tequila packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LineageSettingsProvider \
|
|
||||||
Updater
|
Updater
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/prebuilt/common/etc/init/init.lineage-updater.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.lineage-updater.rc
|
vendor/tequila/prebuilt/common/etc/init/init.tequila-updater.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.tequila-updater.rc
|
||||||
|
|
||||||
# Config
|
# Config
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
SimpleDeviceConfig \
|
SimpleDeviceConfig \
|
||||||
SimpleSettingsConfig
|
SimpleSettingsConfig
|
||||||
|
|
||||||
# Extra tools in Lineage
|
# Extra tools in tequila
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
bash \
|
bash \
|
||||||
curl \
|
curl \
|
||||||
|
@ -151,7 +145,7 @@ PRODUCT_PACKAGES += \
|
||||||
start-ssh
|
start-ssh
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
vendor/lineage/prebuilt/common/etc/init/init.openssh.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.openssh.rc
|
vendor/tequila/prebuilt/common/etc/init/init.openssh.rc:$(TARGET_COPY_OUT_PRODUCT)/etc/init/init.openssh.rc
|
||||||
|
|
||||||
# rsync
|
# rsync
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -196,31 +190,18 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
setupwizard.theme=glif_v4 \
|
setupwizard.theme=glif_v4 \
|
||||||
setupwizard.feature.day_night_mode_enabled=true
|
setupwizard.feature.day_night_mode_enabled=true
|
||||||
|
|
||||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/no-rro
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/tequila/overlay/no-rro
|
||||||
PRODUCT_PACKAGE_OVERLAYS += \
|
PRODUCT_PACKAGE_OVERLAYS += \
|
||||||
vendor/lineage/overlay/common \
|
vendor/tequila/overlay/common \
|
||||||
vendor/lineage/overlay/no-rro
|
vendor/tequila/overlay/no-rro
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
DocumentsUIOverlay \
|
DocumentsUIOverlay \
|
||||||
NetworkStackOverlay
|
NetworkStackOverlay
|
||||||
|
|
||||||
# Translations
|
include vendor/tequila/config/version.mk
|
||||||
CUSTOM_LOCALES += \
|
|
||||||
ast_ES \
|
|
||||||
gd_GB \
|
|
||||||
cy_GB \
|
|
||||||
fur_IT
|
|
||||||
|
|
||||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/crowdin/overlay
|
-include vendor/tequila-priv/keys/keys.mk
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/crowdin/overlay
|
|
||||||
|
|
||||||
PRODUCT_EXTRA_RECOVERY_KEYS += \
|
|
||||||
vendor/lineage/build/target/product/security/lineage
|
|
||||||
|
|
||||||
include vendor/lineage/config/version.mk
|
|
||||||
|
|
||||||
-include vendor/lineage-priv/keys/keys.mk
|
|
||||||
|
|
||||||
-include $(WORKSPACE)/build_env/image-auto-bits.mk
|
-include $(WORKSPACE)/build_env/image-auto-bits.mk
|
||||||
-include vendor/lineage/config/partner_gms.mk
|
-include vendor/tequila/config/partner_gms.mk
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Inherit common Lineage stuff
|
# Inherit common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_mobile.mk)
|
$(call inherit-product, vendor/tequila/config/common_mobile.mk)
|
||||||
|
|
||||||
PRODUCT_SIZE := full
|
PRODUCT_SIZE := full
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Inherit full common Lineage stuff
|
# Inherit full common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_full.mk)
|
$(call inherit-product, vendor/tequila/config/common_full.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
# Include Lineage LatinIME dictionaries
|
# Include tequila LatinIME dictionaries
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_PACKAGE_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
|
|
||||||
# Enable support of one-handed mode
|
# Enable support of one-handed mode
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
ro.support_one_handed_mode?=true
|
ro.support_one_handed_mode?=true
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
$(call inherit-product, vendor/tequila/config/telephony.mk)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||||
|
|
||||||
# Inherit full common Lineage stuff
|
# Inherit full common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_full.mk)
|
$(call inherit-product, vendor/tequila/config/common_full.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
# Include Lineage LatinIME dictionaries
|
# Include tequila LatinIME dictionaries
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_PACKAGE_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.settings.large_screen_opt.enabled=true
|
persist.settings.large_screen_opt.enabled=true
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
$(call inherit-product, vendor/tequila/config/telephony.mk)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||||
|
|
||||||
# Inherit full common Lineage stuff
|
# Inherit full common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_full.mk)
|
$(call inherit-product, vendor/tequila/config/common_full.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
# Include Lineage LatinIME dictionaries
|
# Include tequila LatinIME dictionaries
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_PACKAGE_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/lineage/overlay/dictionaries
|
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/tequila/overlay/dictionaries
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.settings.large_screen_opt.enabled=true
|
persist.settings.large_screen_opt.enabled=true
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/wifionly.mk)
|
$(call inherit-product, vendor/tequila/config/wifionly.mk)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Inherit mini common Lineage stuff
|
# Inherit mini common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_mini.mk)
|
$(call inherit-product, vendor/tequila/config/common_mini.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
$(call inherit-product, vendor/tequila/config/telephony.mk)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Inherit mini common Lineage stuff
|
# Inherit mini common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_mini.mk)
|
$(call inherit-product, vendor/tequila/config/common_mini.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/telephony.mk)
|
$(call inherit-product, vendor/tequila/config/telephony.mk)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Inherit mini common Lineage stuff
|
# Inherit mini common tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common_mini.mk)
|
$(call inherit-product, vendor/tequila/config/common_mini.mk)
|
||||||
|
|
||||||
# Required packages
|
# Required packages
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LatinIME
|
LatinIME
|
||||||
|
|
||||||
$(call inherit-product, vendor/lineage/config/wifionly.mk)
|
$(call inherit-product, vendor/tequila/config/wifionly.mk)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Inherit common mobile Lineage stuff
|
# Inherit common mobile tequila stuff
|
||||||
$(call inherit-product, vendor/lineage/config/common.mk)
|
$(call inherit-product, vendor/tequila/config/common.mk)
|
||||||
|
|
||||||
# Include AOSP audio files
|
# Include AOSP audio files
|
||||||
$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage14.mk)
|
$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage14.mk)
|
||||||
include vendor/lineage/config/aosp_audio.mk
|
include vendor/tequila/config/aosp_audio.mk
|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -26,7 +26,7 @@ endif
|
||||||
|
|
||||||
# Customizations
|
# Customizations
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LineageNavigationBarNoHint \
|
tequilaNavigationBarNoHint \
|
||||||
NavigationBarMode2ButtonOverlay
|
NavigationBarMode2ButtonOverlay
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
|
@ -39,6 +39,6 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Themes
|
# Themes
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
LineageBlackTheme \
|
tequilaBlackTheme \
|
||||||
ThemePicker \
|
ThemePicker \
|
||||||
ThemesStub
|
ThemesStub
|
||||||
|
|
|
@ -4,152 +4,4 @@
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
-->
|
-->
|
||||||
<compatibility-matrix version="2.0" type="framework">
|
<compatibility-matrix version="2.0" type="framework">
|
||||||
<!-- Radio Config (backend) -->
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>lineage.hardware.radio.config</name>
|
|
||||||
<version>1.0-1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IRadioConfig</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<!-- Camera -->
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.camera.motor</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>ICameraMotor</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<!-- Charging -->
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.fastcharge</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IFastCharge</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="aidl" optional="true">
|
|
||||||
<name>vendor.lineage.health</name>
|
|
||||||
<interface>
|
|
||||||
<name>IChargingControl</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.powershare</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IPowerShare</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<!-- Display -->
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.livedisplay</name>
|
|
||||||
<version>2.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IAdaptiveBacklight</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IAutoContrast</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IColorBalance</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IDisplayColorCalibration</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IDisplayModes</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IPictureAdjustment</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IReadingEnhancement</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>ISunlightEnhancement</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.livedisplay</name>
|
|
||||||
<version>2.1</version>
|
|
||||||
<interface>
|
|
||||||
<name>IAdaptiveBacklight</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IAntiFlicker</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IAutoContrast</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IColorBalance</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IDisplayColorCalibration</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IDisplayModes</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IPictureAdjustment</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IReadingEnhancement</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>ISunlightEnhancement</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<!-- Touch -->
|
|
||||||
<hal format="hidl" optional="true">
|
|
||||||
<name>vendor.lineage.touch</name>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IGloveMode</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IHighTouchPollingRate</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IKeyDisabler</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IKeySwapper</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>ITouchscreenGesture</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
<interface>
|
|
||||||
<name>IStylusMode</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
</compatibility-matrix>
|
</compatibility-matrix>
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
# Permissions for lineage sdk services
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.globalactions.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.globalactions.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.hardware.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.hardware.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.health.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.health.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.livedisplay.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.profiles.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.settings.xml \
|
|
||||||
vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/org.lineageos.trust.xml
|
|
||||||
|
|
||||||
# Lineage Platform Library
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
org.lineageos.platform-res \
|
|
||||||
org.lineageos.platform
|
|
||||||
|
|
||||||
# AOSP has no support of loading framework resources from /system_ext
|
|
||||||
# so the SDK has to stay in /system for now
|
|
||||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
|
||||||
system/framework/oat/%/org.lineageos.platform.odex \
|
|
||||||
system/framework/oat/%/org.lineageos.platform.vdex \
|
|
||||||
system/framework/org.lineageos.platform-res.apk \
|
|
||||||
system/framework/org.lineageos.platform.jar
|
|
||||||
|
|
||||||
ifndef LINEAGE_PLATFORM_SDK_VERSION
|
|
||||||
# This is the canonical definition of the SDK version, which defines
|
|
||||||
# the set of APIs and functionality available in the platform. It
|
|
||||||
# is a single integer that increases monotonically as updates to
|
|
||||||
# the SDK are released. It should only be incremented when the APIs for
|
|
||||||
# the new release are frozen (so that developers don't write apps against
|
|
||||||
# intermediate builds).
|
|
||||||
LINEAGE_PLATFORM_SDK_VERSION := 9
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifndef LINEAGE_PLATFORM_REV
|
|
||||||
# For internal SDK revisions that are hotfixed/patched
|
|
||||||
# Reset after each LINEAGE_PLATFORM_SDK_VERSION release
|
|
||||||
# If you are doing a release and this is NOT 0, you are almost certainly doing it wrong
|
|
||||||
LINEAGE_PLATFORM_REV := 0
|
|
||||||
endif
|
|
|
@ -1,25 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2017-2018 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<config>
|
|
||||||
|
|
||||||
<!-- Broadcast actions that are currently exempted from O+ background
|
|
||||||
delivery restrictions. -->
|
|
||||||
<allow-implicit-broadcast action="android.intent.action.CAMERA_BUTTON" />
|
|
||||||
<allow-implicit-broadcast action="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
|
|
||||||
<allow-implicit-broadcast action="lineageos.intent.action.LID_STATE_CHANGED" />
|
|
||||||
|
|
||||||
</config>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2021 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<!-- The feature listed here coincides with the GlobalActionsManagerService declared as
|
|
||||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
|
||||||
on the device, the service will not be published as a binder service!
|
|
||||||
-->
|
|
||||||
<feature name="org.lineageos.globalactions" />
|
|
||||||
</permissions>
|
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<permissions>
|
|
||||||
<feature name="org.lineageos.hardware" />
|
|
||||||
</permissions>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2023 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<!-- The feature listed here coincides with the HealthInterfaceService declared as
|
|
||||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
|
||||||
on the device, the service will not be published as a binder service!
|
|
||||||
-->
|
|
||||||
<feature name="org.lineageos.health" />
|
|
||||||
</permissions>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<!-- The feature listed here coincides with the PerformanceManagerService declared as
|
|
||||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
|
||||||
on the device, the service will not be published as a binder service!
|
|
||||||
-->
|
|
||||||
<feature name="org.lineageos.livedisplay" />
|
|
||||||
</permissions>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<!-- The feature listed here coincides with the ProfileManagerService declared as
|
|
||||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
|
||||||
on the device, the service will not be published as a binder service!
|
|
||||||
-->
|
|
||||||
<feature name="org.lineageos.profiles" />
|
|
||||||
</permissions>
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2018 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<feature name="org.lineageos.settings" />
|
|
||||||
</permissions>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2018 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<permissions>
|
|
||||||
<!-- The feature listed here coincides with the TrustInterfaceService declared as
|
|
||||||
part of the external lineage service init in SystemServer. If this xml isn't present
|
|
||||||
on the device, the service will not be published as a binder service!
|
|
||||||
-->
|
|
||||||
<feature name="org.lineageos.trust" />
|
|
||||||
</permissions>
|
|
|
@ -14,8 +14,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- This feature shows that this is LineageOS -->
|
<!-- This feature shows that this is tequilaOS -->
|
||||||
<permissions>
|
<permissions>
|
||||||
<feature name="org.lineageos.android" />
|
<feature name="org.tequila.android" />
|
||||||
</permissions>
|
</permissions>
|
||||||
|
|
|
@ -1,38 +1,16 @@
|
||||||
PRODUCT_VERSION_MAJOR = 21
|
TEQUILA_PLATFORM_VERSION = uno
|
||||||
PRODUCT_VERSION_MINOR = 0
|
|
||||||
|
|
||||||
ifeq ($(LINEAGE_VERSION_APPEND_TIME_OF_DAY),true)
|
TEQUILA_BUILD_DATE := $(shell date -u +%Y%m%d_%H%M%S)
|
||||||
LINEAGE_BUILD_DATE := $(shell date -u +%Y%m%d_%H%M%S)
|
|
||||||
else
|
|
||||||
LINEAGE_BUILD_DATE := $(shell date -u +%Y%m%d)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Set LINEAGE_BUILDTYPE from the env RELEASE_TYPE, for jenkins compat
|
|
||||||
|
|
||||||
ifndef LINEAGE_BUILDTYPE
|
|
||||||
ifdef RELEASE_TYPE
|
|
||||||
# Starting with "LINEAGE_" is optional
|
|
||||||
RELEASE_TYPE := $(shell echo $(RELEASE_TYPE) | sed -e 's|^LINEAGE_||g')
|
|
||||||
LINEAGE_BUILDTYPE := $(RELEASE_TYPE)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Filter out random types, so it'll reset to UNOFFICIAL
|
# Filter out random types, so it'll reset to UNOFFICIAL
|
||||||
ifeq ($(filter RELEASE NIGHTLY SNAPSHOT EXPERIMENTAL,$(LINEAGE_BUILDTYPE)),)
|
ifeq ($(filter RELEASE EXPERIMENTAL,$(TEQUILA_BUILDTYPE)),)
|
||||||
LINEAGE_BUILDTYPE := UNOFFICIAL
|
TEQUILA_BUILDTYPE := UNOFFICIAL
|
||||||
LINEAGE_EXTRAVERSION :=
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LINEAGE_BUILDTYPE), UNOFFICIAL)
|
TEQUILA_VERSION_SUFFIX := $(TEQUILA_BUILD_DATE)-$(TEQUILA_BUILDTYPE)
|
||||||
ifneq ($(TARGET_UNOFFICIAL_BUILD_ID),)
|
|
||||||
LINEAGE_EXTRAVERSION := -$(TARGET_UNOFFICIAL_BUILD_ID)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
LINEAGE_VERSION_SUFFIX := $(LINEAGE_BUILD_DATE)-$(LINEAGE_BUILDTYPE)$(LINEAGE_EXTRAVERSION)-$(LINEAGE_BUILD)
|
|
||||||
|
|
||||||
# Internal version
|
# Internal version
|
||||||
LINEAGE_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(LINEAGE_VERSION_SUFFIX)
|
TEQUILA_VERSION := $(TEQUILA_PLATFORM_VERSION)-$(TEQUILA_VERSION_SUFFIX)-$(TEQUILA_BUILD)
|
||||||
|
|
||||||
# Display version
|
# Display version
|
||||||
LINEAGE_DISPLAY_VERSION := $(PRODUCT_VERSION_MAJOR)-$(LINEAGE_VERSION_SUFFIX)
|
TEQUILA_DISPLAY_VERSION := $(TEQUILA_PLATFORM_VERSION)-$(TEQUILA_VERSION_SUFFIX)
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
EmergencyInfo
|
EmergencyInfo
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += vendor/lineage/overlay/wifionly
|
PRODUCT_PACKAGE_OVERLAYS += vendor/tequila/overlay/wifionly
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2015 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
<!-- GLIF colors -->
|
|
||||||
<color name="sud_color_accent_glif_v3_dark">@*android:color/accent_device_default_dark</color>
|
|
||||||
<color name="sud_color_accent_glif_v3_light">@*android:color/accent_device_default_light</color>
|
|
||||||
</resources>
|
|
Before Width: | Height: | Size: 509 KiB |
Before Width: | Height: | Size: 400 KiB |
Before Width: | Height: | Size: 801 KiB |
Before Width: | Height: | Size: 801 KiB |
Before Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 626 KiB |
Before Width: | Height: | Size: 801 KiB |
Before Width: | Height: | Size: 1 MiB |
|
@ -33,6 +33,5 @@
|
||||||
<item>com.google.android.apps.messaging</item> <!-- Google messaging to enable text messaging -->
|
<item>com.google.android.apps.messaging</item> <!-- Google messaging to enable text messaging -->
|
||||||
<item>com.android.messaging</item> <!-- AOSP messaging -->
|
<item>com.android.messaging</item> <!-- AOSP messaging -->
|
||||||
<item>com.google.android.setupwizard</item> <!-- Google SetupWizard -->
|
<item>com.google.android.setupwizard</item> <!-- Google SetupWizard -->
|
||||||
<item>org.lineageos.setupwizard</item> <!-- LineageOS SetupWizard -->
|
|
||||||
</string-array>
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2016 The CyanogenMod Project
|
|
||||||
(C) 2019 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<webviewproviders>
|
|
||||||
|
|
||||||
<webviewprovider description="Google WebView" packageName="com.google.android.webview" availableByDefault="true">
|
|
||||||
<signature>MIIDuzCCAqOgAwIBAgIJANi6DgBQG4ZTMA0GCSqGSIb3DQEBBQUAMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKDAtHb29nbGUgSW5jLjEQMA4GA1UECwwHQW5kcm9pZDEQMA4GA1UEAwwHd2VidmlldzAeFw0xNDA4MDgyMzIwMjBaFw00MTEyMjQyMzIwMjBaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQHDA1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKDAtHb29nbGUgSW5jLjEQMA4GA1UECwwHQW5kcm9pZDEQMA4GA1UEAwwHd2VidmlldzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbtaFX0r5aZJMAbPVMAgK1ZZ29dTn91VsGxXv2hqrQo7IpqEy2JmPvPnoMsSiuTAe+UcQy8oKDQ2aYVSAd1DGIy+nSRyFTt3LSIAdwSBkB1qT4a+OqkpsR6bSNXQXQ18lCQu9gREY3h3QlYBQAyzRxw4hRGlrXAzuSz1Ec4W+6x4nLG5DG61MAMR8ClF9XSqbmGB3kyZ70A0X9OPYYxiMWP1ExaYvpaVqjyZZcrPwr+vtW8oCuGBUtHpBUH3OoG+9s2YMcgLG7vCK9awKDqlPcJSpIAAj6uGs4gORmkqxZRMskLSTWbhP4p+3Ap8jYzTVB6Y1/DMVmYTWRMcPW0macCAwEAAaNQME4wHQYDVR0OBBYEFJ6bAR6/QVm4w9LRSGQiaR5Rhp3TMB8GA1UdIwQYMBaAFJ6bAR6/QVm4w9LRSGQiaR5Rhp3TMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAEQu8QiVxax7/diEiJrgKE1LwdXsIygJK/KnaKdnYEkAQpeu/QmrLiycm+OFbL1qHJIB7OuI/PQBUtcaNSiJSCVgtwtEbZWWIdsynqG/Nf4aGOndXegSQNRH54M05sRHLoeRycPrY7xQlEwGikNFR76+5UdwFBQI3Gn22g6puJnVukQm/wXQ+ajoiS4QclrNlixoDQsZ4STLH4+Wju2wIWKFFArIhVEIlbamq+p6BghuzH3aIz/Fy0YTQKi7SA+0fuNeCaqlSm5pYSt6p5CH89y1Fr+wFc5r3iLRnUwRcy08ESC7bZJnxV3d/YQ5valTxBbzku/dQbXVj/xg69H8l8M</signature>
|
|
||||||
</webviewprovider>
|
|
||||||
<webviewprovider description="Google WebView Beta" packageName="com.google.android.webview.beta" availableByDefault="true">
|
|
||||||
<signature>MIIFxzCCA6+gAwIBAgIVAO+zzx6JOZx3HWDG+fzlC1m53BsqMA0GCSqGSIb3DQEBCwUAMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0xOTA0MDUxNzIxNTRaFw00OTA0MDUxNzIxNTRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIbFePU+vsq6CEYIREsFFhwzXDoCwO6aK9ic9WJubui5VV7OqPCZmoZ/LY3852JK1A1OrWU643Ra7Z/wcvBXHHy5g08bF35gfelz9l53rIiG/1ubAApmxMNqASmQ5bMseetUIrBVqFnWspOWyrNuD0UsF4YkLgm+T1X5Hz1RNZwIV7WcVlL5qC2tm6kEy50bcAhbo5dDDud+ft8oc9g7vAiUpV0yqtNjZ+tsdJI4DrW5Nf2UhB8E+91se2IzQyWT6Vs/wB67HwroGr8qwPQYLQvzcyxZo2yA+qU2+k1IgJGTG5/0K/LheNxjqOKj6Zuhceff0JlbmrGKKqbXlz1F/E582MfqjeETB1gjw9Y0tHWEofEGdL4+ub8ZBJmveH9iz4BVKplzmYACLYWCGICiHBvmkkvx9dhmf5SsUsL9o4axPtAOKtjcKIDXBVqOtYCZssoVe9FFlZDHxRhQlbGY6ip0CK/lYlcx8iLfvI8Hf2AlwZa4j7HpFityaAWgYvo9x7bMJbBHiN/HW/NuhCF1B54KnQUmzQoyEnr5Qb4NjiDiXNzR8gYWYa9a/6Zg9iggr4jIbbEVanvCw9FAAZKRR8rk0ToJuFk2fRJdi2NhKo1GbVWOjj1Cd/Xbahd/uZhZGf1Uc61bG4rn9NU4GqliO2Wl2L78EkxuLDKXdovdHFjzAgMBAAGjUDBOMAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFCAIx3WLD1UQ3YUE9ZBt36vfdQ6eMB8GA1UdIwQYMBaAFCAIx3WLD1UQ3YUE9ZBt36vfdQ6eMA0GCSqGSIb3DQEBCwUAA4ICAQBdHaxW69Hx4WPMXAVC5+S419L7/+AgxTyCn7YsD77aiKlIU20BMhvGln1d/Og6y1mf/z/x+GAm1ZfQniOih21Gxq3h4C3FvJ7gHgrjtZ6r0ymz7a1YOYc6LG1DNrTK7gKs5syifUd68PxUwNm5U5R9ixj0iglZDAC0apehGH/nfyJ4btS39N+oSQkUz3FpLoD5wYRlfdzhL2rMVDcv4WcEVDO8X8Md5Bk3hYtkh5MHzbVlu2yQ1qcNeXLUxUVeTjGebMu7B54Fgf+tHSBFBiyDdocpgF0B7RjF5579MXLpxdf9hoQImgzmp6xe0oHwqS1nQZR0pYfwP1Y8vxMSUWTPbY0YB9jQaElXznE/eQBuXe4kRkjEO6QvhziiQFxBlbfGSEFVySeqgWR91tJ0OiEWkMraQaI2bz941Qbt12PhS7r0KIkAsC5LpVRDOEgmo2e6+evst7DXpIAUvzNNSHrnmwmMGZ4QP4AUi7uIsclDJUT9sXDhwutx2Edic0X8+ZZ8D4e+HEupXI30z72En0U6ZyPqb6Ll9SOgK6pN6dbhdakucvRHCpmSfIlO8XXmPN5x3RsSteZl20Mc+ZSQuninApdirEs/9CfRoSSYXlNabxklBZd5jeb0py09FjjE+Nqf4EdZFYvzpYFSGJz1RUrsaDWOmx4gF3YeXo8iUbGtPA==</signature>
|
|
||||||
</webviewprovider>
|
|
||||||
<webviewprovider description="Google WebView Dev" packageName="com.google.android.webview.dev" availableByDefault="true">
|
|
||||||
<signature>MIIFxzCCA6+gAwIBAgIVAMQCAZgONsTyki5gq7E1h9s6KFvaMA0GCSqGSIb3DQEBCwUAMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0xOTA0MDUxNzE3MDJaFw00OTA0MDUxNzE3MDJaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJjFQ4Jm1Tf5BESiSnU1w5H5//IbLr6wNIfVbws8mbPb3fq9vs3LAHbtfzgWJ3eG2eNx7GH6ge+XjaNiZzQ8223Fqu9AxBinve4KSm6Mrkq7gk7lMCbUUIap6m0ftDa+7lrxbhjWHrFzFq8Muq43CM7i8CxLdKTGSx098dcvY6giOQstAKQyPmlbH6zjwnS8KNYakDKv0Fv4VdKi14T6ANXAblicfTaclA1HLWhFqv5DaKL8YobQu8FN2Egk9nlimwExbRs1twrmuyX2tNtgX7vMvt3+HHTrkYweARVvvqVoEXkNGfZPlIkExBZSHpJgqSIb6vcBzgntneo9X+iB7K0VRovkK20PDuxKvrt07dZ15qACGC364O1NKSK0+1tiRU6tPI8P1VI3JR2c8C5cnCg9zGCHinZR3iyY+ISA5G+bVEU8WWhwMuSuM2Vo5hmpDnX+p1K2XiuNdV2VblXPKZIfV3xahCZTvemVBt6WhrxeshhTBG2+Z2Qz0TSZSFkeX4ruo0WffOy7A2ybwhmCWryltgDe04Z+kkF+kmwZ6N/cQWWBqYPTILYfs/t9XWz3VyrFEJK+Uf6T+/JO3T0nGZZm4+kr5wH6YMbffrF5S8t0/DpIZfxExcyPnwxYAkI8TohMR4BPX4FPJL5j5ulZbnEbAqoVC6nphlVSulRLM5LFAgMBAAGjUDBOMAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFBDgxJQIS7rzqWgJ5oSIuvg3hos6MB8GA1UdIwQYMBaAFBDgxJQIS7rzqWgJ5oSIuvg3hos6MA0GCSqGSIb3DQEBCwUAA4ICAQAiEpFVrLKCY99LxFmIqUvE/pL2ULzhBtZ0YQvWT4QgMABrC2ZKsG0Ttx2OyGXjI3Hl9sEDGdCTA2D0lN3gS44RYSxCK0RANF2wamY5vGgEA4uqQ6o/JIH9VLTEk7A7g+Lu4fl4lnIX3+kw2Thfk4CQ15cWI9tISUPfC4rO2vG9Ct9G3kkXvEj1r7cRH7wmGJcOWKoiMVsLNVIfCYPO4qZOnj+ZpVkxLxRTTjJzqXPYNsHlfywM3zoqtexDdwXFVGP8M/cW7pIp46UE0bvU9jHurF+ECwUykLn/GHG36DYyKAFeIsgpGsLZXW9jHLspSaVF3kR77qPpvlhuF29rfY4E2Bd2d24HHWR3mHMosdzKomatOZbeh6Dj0wdrq+GmRpC70knWrXxmNshYSJri41jvAUEnXVAkbQznxeCct6ST2JhYzuNP8OGVxO0xqs/Hpu9x1aSN0BUotO7ZJPqVR5qCpgEWE1BuWljutrhpI5/d0Oz/DKs14TDrPjlrYJgmR766MnqxQAzYAcM1nC6QcxAkc+N1BLGujI+WQbz9sAlUC0fOf3KuVqemt9XoIh5Z33kJ1QI/VKflCQtlvgSBnJX9zge/iAEImud+Z3MyPT6FxVtkEM9KwBWytT1TvJTyPeOK9SV+2w7xbCoLC8apPlamx13yDngxg0c3eJAd9+p2OA==</signature>
|
|
||||||
</webviewprovider>
|
|
||||||
<webviewprovider description="Google WebView Canary" packageName="com.google.android.webview.canary" availableByDefault="true">
|
|
||||||
<signature>MIIFxzCCA6+gAwIBAgIVAMtzFe17x7TJnswywhkvEJa+6EIQMA0GCSqGSIb3DQEBCwUAMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0xOTA0MDUxNzIzMDZaFw00OTA0MDUxNzIzMDZaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJbi91Ehi2xTxKCzeC6XO+COhaJp4dv6LqA8EfTBZEKoLQZ6FQQcDE4dirK78tBIbF4SQLkWt+Lxh3LnV6yfOt3hNmK3Rc9IhFAi0A56dGWazNo0pY8DiCftmPwnkPNT2aTZzmvWuDQHjLoMju2y7nDOliZThOybF9KMKSVsAr2Ahcmx4cRdyxCZKAutzsYOoBk77dFIO0kSaEPof9/Zlan4mAEnQ6GWgbK5wyIYN7DuaCDkJ5FYxUJxyp53/c5jKF/zZRPoGzXlt5e22yymD8MPSj716OolmKPFLUtzCVUnrm4xmmtgheWS1X43tRWit0rPl92bBHFiSECyIQriNS5ZlLuh712G6D7A3uaQqIIRmKVRE6DT3xRWI3l78cDquWIgU+x99qS9bb/txv/oaT1SIlM/rJij11iOISJCJ++vcyuR4j3pydkfl5ePH8YKAmUOCFlDJM3vOt7aqYpx3Ql5GFLeHOoSw4vOzwvMSROV/i6mXBv1d5O1o5XzDUWuIsFFroC1yz11/s547eV091BGuB60pyv7pXZY2EFOjjFcqWfsKrmcxzqCwel9bDd1WvsUY2Dt6Xl13hFMZ9ab2XiZCqA+OF+PrZKJYhTcpcdEjTYbVYEofst5Zg6WWL28WfQlDq0QwVDWFAsBdnegp40dNKwdkjp0LTXYdykzu8otAgMBAAGjUDBOMAwGA1UdEwQFMAMBAf8wHQYDVR0OBBYEFI0WYMtA13YCvaXP3y7SD7+BUoGGMB8GA1UdIwQYMBaAFI0WYMtA13YCvaXP3y7SD7+BUoGGMA0GCSqGSIb3DQEBCwUAA4ICAQAmJmDx+9Bfshs9PtNPb+2PEckvwheOurS15JAV10OTvmcpu0AON56RpItaMm29Uea5wYxaPcPwUQDum0vahHt7FIYxnPIxQ0FxsBDSVDn5veWMVXf5oSVDzsR61+x7i67Qk3dsMgRrY0PS/HZv+cFl0fb87b54mrtFIl8P9KjV5g5PUNJI2BIwLOKgnlU2kDrE1emm7lIKvoJqwb9JjlWl0lB+xXmntNQ+ZNvCzULnr1o0QblVK1Iowe++17GzOtrUlkATTmGx2exaeEEsZcQ23J6u8XycAk9+80aspTjZHC9aneQVcIdbCEBdWkF3xQ0TSnytT/0jLnLBnk2/kIV2ynw2zu/nMczgW2eUnfiIjqzBuP0uRMJ8NFPv/4Agmdqex+A233K9wYc92iflm/aVT3qw7wQntsmSesSBfZgLVVQ++dVD0bd5qYtyELCA2DNCaORU62bfNnPNTkQQo/FeyFDBLNzfWxiDINk6SxNxrZLgQFj9gil+CBgltrJ90Qv8Ats1ES66A0o+2T/j0GA9nOkfznID0VU1SlmOub/0SMwZL98WpkYqYTu/9AOqwzZBO/uT4ADANnMrMd4dtzZ1n0AdSvr1QyqO9XJRmW0k1PlmBM6iPU9p3JMVEqeQ7/zYnYq0tCK+k1mvA5BQ20NVSfea27X7/9EgGanchrFdCQ==</signature>
|
|
||||||
</webviewprovider>
|
|
||||||
|
|
||||||
<!-- The default WebView implementation -->
|
|
||||||
<webviewprovider description="AOSP WebView" packageName="com.android.webview" availableByDefault="true" />
|
|
||||||
|
|
||||||
</webviewproviders>
|
|
|
@ -19,14 +19,9 @@
|
||||||
<resources>
|
<resources>
|
||||||
<bool name="def_wifi_on">true</bool>
|
<bool name="def_wifi_on">true</bool>
|
||||||
|
|
||||||
<string name="def_backup_transport">com.stevesoltys.seedvault.transport.ConfigurableBackupTransport</string>
|
|
||||||
|
|
||||||
<!-- Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting,
|
<!-- Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting,
|
||||||
which is a comma separated list of packages that no longer need confirmation
|
which is a comma separated list of packages that no longer need confirmation
|
||||||
for immersive mode.
|
for immersive mode.
|
||||||
Override to disable immersive mode confirmation for certain packages. -->
|
Override to disable immersive mode confirmation for certain packages. -->
|
||||||
<string name="def_immersive_mode_confirmations" translatable="false">confirmed</string>
|
<string name="def_immersive_mode_confirmations" translatable="false">confirmed</string>
|
||||||
|
|
||||||
<!-- This is disabled by default, but turned on in SetupWizard -->
|
|
||||||
<bool name="assisted_gps_enabled">false</bool>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
<string-array name="config_pluginAllowlist" translatable="false">
|
<string-array name="config_pluginAllowlist" translatable="false">
|
||||||
<item>com.android.systemui</item>
|
<item>com.android.systemui</item>
|
||||||
<item>com.android.systemui.plugin.globalactions.wallet</item>
|
<item>com.android.systemui.plugin.globalactions.wallet</item>
|
||||||
<item>org.lineageos.settings.device</item>
|
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- Icons that don't show in a collapsed non-keyguard statusbar -->
|
<!-- Icons that don't show in a collapsed non-keyguard statusbar -->
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
**
|
|
||||||
** Copyright 2018, The Android Open Source Project
|
|
||||||
**
|
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
** you may not use this file except in compliance with the License.
|
|
||||||
** You may obtain a copy of the License at
|
|
||||||
**
|
|
||||||
** http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
**
|
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<string name="calendar_component_name" translatable="false">org.lineageos.etar/com.android.calendar.AllInOneActivity</string>
|
|
||||||
<string name="clock_component_name" translatable="false">com.android.deskclock/com.android.deskclock.DeskClockApplication</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2015 The CyanogenMod Project
|
|
||||||
2017-2022 The LineageOS Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
<!-- The list of components which should be automatically disabled for all devices. -->
|
|
||||||
<string-array name="config_globallyDisabledComponents" translatable="false">
|
|
||||||
<!-- Disable stock OTA components if installed -->
|
|
||||||
<item>com.android.vending/com.google.android.finsky.systemupdate.SystemUpdateSettingsContentProvider</item>
|
|
||||||
<item>com.android.vending/com.google.android.finsky.systemupdateactivity.SettingsSecurityEntryPoint</item>
|
|
||||||
<item>com.android.vending/com.google.android.finsky.systemupdateactivity.SystemUpdateActivity</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.phone.PopupDialog</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.OtaSuggestionActivity</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.OtaSuggestionSummaryProvider</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateActivity</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateGcmTaskService</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdatePersistentListenerService</item>
|
|
||||||
<item>com.google.android.gms/com.google.android.gms.update.SystemUpdateService</item>
|
|
||||||
<item>com.google.android.setupwizard/com.google.android.setupwizard.update.OtaUpdateActivity</item>
|
|
||||||
</string-array>
|
|
||||||
</resources>
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2014-2015 The CyanogenMod Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
<!-- Defaults for Secure -->
|
|
||||||
|
|
||||||
<!-- Default for LineageSettings.Secure.STATS_COLLECTION -->
|
|
||||||
<bool name="def_stats_collection">true</bool>
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2021 The Android Open Source Project
|
|
||||||
SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<resources>
|
|
||||||
|
|
||||||
<!-- Manufacturer backup settings label -->
|
|
||||||
<string name="config_backup_settings_label" msgid="1623475653989899715">@string/backup_transport_setting_label</string>
|
|
||||||
|
|
||||||
</resources>
|
|