pax_global_header 0000666 0000000 0000000 00000000064 15244426601 0014516 g ustar 00root root 0000000 0000000 52 comment=e003409d302e0ba3bd8f2385e8f237d191896b0e
LineageOS-android_vendor_apn-e003409/ 0000775 0000000 0000000 00000000000 15244426601 0017423 5 ustar 00root root 0000000 0000000 LineageOS-android_vendor_apn-e003409/.github/ 0000775 0000000 0000000 00000000000 15244426601 0020763 5 ustar 00root root 0000000 0000000 LineageOS-android_vendor_apn-e003409/.github/workflows/ 0000775 0000000 0000000 00000000000 15244426601 0023020 5 ustar 00root root 0000000 0000000 LineageOS-android_vendor_apn-e003409/.github/workflows/build/ 0000775 0000000 0000000 00000000000 15244426601 0024117 5 ustar 00root root 0000000 0000000 LineageOS-android_vendor_apn-e003409/.github/workflows/build/action.yml 0000664 0000000 0000000 00000000327 15244426601 0026121 0 ustar 00root root 0000000 0000000 name: build
runs:
using: composite
steps:
- name: Install dependencies
shell: bash
run: pip install pre-commit xmlschema
- name: Lint
shell: bash
run: pre-commit run --all
LineageOS-android_vendor_apn-e003409/.github/workflows/gerrit.yml 0000664 0000000 0000000 00000001551 15244426601 0025041 0 ustar 00root root 0000000 0000000 name: gerrit checks
on:
workflow_dispatch:
inputs:
ref:
type: string
gerrit-ref:
type: string
change:
type: string
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: lineageos-infra/fetch-gerrit-change@main
with:
gerrit-ref: ${{ inputs.gerrit-ref }}
ref: ${{ inputs.ref }}
- name: Check if build/action.yml exists
id: check
run: |
if [ -f ./.github/workflows/build/action.yml ]; then
echo "run=1" >> "$GITHUB_OUTPUT"
fi
- name: Build
if: ${{ steps.check.outputs.run }}
uses: ./.github/workflows/build
- uses: lineageos-infra/gerrit-vote@main
if: ${{ steps.check.outputs.run && always() }}
with:
auth: ${{ secrets.GERRIT_VOTE_CREDS }}
change: ${{ inputs.change }}
ref: ${{ inputs.ref }}
LineageOS-android_vendor_apn-e003409/.pre-commit-config.yaml 0000664 0000000 0000000 00000001462 15244426601 0023707 0 ustar 00root root 0000000 0000000 # SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.4
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: validate-schema
name: validate schema
entry: ./validate.py
language: system
files: ^.*\.xml$
- id: format-apns
name: format apns
entry: ./format.py
language: system
files: ^.*\.xml$
LineageOS-android_vendor_apn-e003409/AE.xml 0000664 0000000 0000000 00000004272 15244426601 0020437 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AF.xml 0000664 0000000 0000000 00000003376 15244426601 0020444 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AG.xml 0000664 0000000 0000000 00000003606 15244426601 0020441 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AI.xml 0000664 0000000 0000000 00000002175 15244426601 0020443 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AL.xml 0000664 0000000 0000000 00000002316 15244426601 0020443 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AM.xml 0000664 0000000 0000000 00000004340 15244426601 0020443 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AN.xml 0000664 0000000 0000000 00000001230 15244426601 0020437 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AO.xml 0000664 0000000 0000000 00000001742 15244426601 0020450 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AR.xml 0000664 0000000 0000000 00000014332 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AT.xml 0000664 0000000 0000000 00000006367 15244426601 0020465 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AU.xml 0000664 0000000 0000000 00000023136 15244426601 0020457 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AW.xml 0000664 0000000 0000000 00000002222 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/AZ.xml 0000664 0000000 0000000 00000002412 15244426601 0020456 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/Android.bp 0000664 0000000 0000000 00000001123 15244426601 0021323 0 ustar 00root root 0000000 0000000 //
// SPDX-FileCopyrightText: The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
genrule {
name: "apns-conf",
out: ["apns-conf.xml"],
srcs: ["*.xml"],
tools: ["make-apns", "xmllint"],
cmd: "XMLLINT=$(location xmllint) $(location make-apns) $(in) > $(out)",
}
prebuilt_etc_xml {
name: "apns-conf.xml",
product_specific: true,
src: ":apns-conf",
schema: ":apns-conf-schema",
}
filegroup {
name: "apns-conf-schema",
srcs: ["apns-conf.xsd"],
}
sh_binary_host {
name: "make-apns",
src: "make-apns.sh",
required: ["xmllint"],
}
LineageOS-android_vendor_apn-e003409/BA.xml 0000664 0000000 0000000 00000006215 15244426601 0020433 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BB.xml 0000664 0000000 0000000 00000003270 15244426601 0020432 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BD.xml 0000664 0000000 0000000 00000011431 15244426601 0020432 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BE.xml 0000664 0000000 0000000 00000015114 15244426601 0020435 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BG.xml 0000664 0000000 0000000 00000004535 15244426601 0020444 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BH.xml 0000664 0000000 0000000 00000005775 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BI.xml 0000664 0000000 0000000 00000000530 15244426601 0020435 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BN.xml 0000664 0000000 0000000 00000001753 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BO.xml 0000664 0000000 0000000 00000004151 15244426601 0020446 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BR.xml 0000664 0000000 0000000 00000030202 15244426601 0020445 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BS.xml 0000664 0000000 0000000 00000002456 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BW.xml 0000664 0000000 0000000 00000002025 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/BY.xml 0000664 0000000 0000000 00000005657 15244426601 0020474 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CA.xml 0000664 0000000 0000000 00000210735 15244426601 0020440 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CD.xml 0000664 0000000 0000000 00000001105 15244426601 0020430 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CH.xml 0000664 0000000 0000000 00000003545 15244426601 0020446 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CI.xml 0000664 0000000 0000000 00000003007 15244426601 0020440 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CL.xml 0000664 0000000 0000000 00000012156 15244426601 0020450 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CM.xml 0000664 0000000 0000000 00000002275 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CN.xml 0000664 0000000 0000000 00000030673 15244426601 0020456 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CO.xml 0000664 0000000 0000000 00000006442 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CR.xml 0000664 0000000 0000000 00000004213 15244426601 0020451 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CV.xml 0000664 0000000 0000000 00000000612 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CY.xml 0000664 0000000 0000000 00000001732 15244426601 0020463 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/CZ.xml 0000664 0000000 0000000 00000005137 15244426601 0020467 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/DE.xml 0000664 0000000 0000000 00000023134 15244426601 0020440 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/DK.xml 0000664 0000000 0000000 00000036026 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/DM.xml 0000664 0000000 0000000 00000002175 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/DO.xml 0000664 0000000 0000000 00000004745 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/DZ.xml 0000664 0000000 0000000 00000002645 15244426601 0020471 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/EC.xml 0000664 0000000 0000000 00000003372 15244426601 0020441 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/EE.xml 0000664 0000000 0000000 00000003644 15244426601 0020445 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/EG.xml 0000664 0000000 0000000 00000006342 15244426601 0020445 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ES.xml 0000664 0000000 0000000 00000046443 15244426601 0020467 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ET.xml 0000664 0000000 0000000 00000000546 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/FI.xml 0000664 0000000 0000000 00000037403 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/FJ.xml 0000664 0000000 0000000 00000003427 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/FR.xml 0000664 0000000 0000000 00000101660 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GB.xml 0000664 0000000 0000000 00000113444 15244426601 0020444 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GD.xml 0000664 0000000 0000000 00000002175 15244426601 0020444 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GE.xml 0000664 0000000 0000000 00000001327 15244426601 0020443 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GF.xml 0000664 0000000 0000000 00000005003 15244426601 0020437 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GH.xml 0000664 0000000 0000000 00000003606 15244426601 0020450 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GL.xml 0000664 0000000 0000000 00000001305 15244426601 0020446 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GM.xml 0000664 0000000 0000000 00000000527 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GQ.xml 0000664 0000000 0000000 00000001211 15244426601 0020447 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GR.xml 0000664 0000000 0000000 00000006006 15244426601 0020457 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GT.xml 0000664 0000000 0000000 00000003234 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/GY.xml 0000664 0000000 0000000 00000004173 15244426601 0020471 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/HK.xml 0000664 0000000 0000000 00000043000 15244426601 0020444 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/HN.xml 0000664 0000000 0000000 00000002136 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/HR.xml 0000664 0000000 0000000 00000004244 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/HT.xml 0000664 0000000 0000000 00000001252 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/HU.xml 0000664 0000000 0000000 00000006571 15244426601 0020472 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ID.xml 0000664 0000000 0000000 00000020035 15244426601 0020441 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IE.xml 0000664 0000000 0000000 00000016057 15244426601 0020453 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IL.xml 0000664 0000000 0000000 00000014046 15244426601 0020456 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IN.xml 0000664 0000000 0000000 00000477067 15244426601 0020500 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/INTL.xml 0000664 0000000 0000000 00000000556 15244426601 0020721 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IQ.xml 0000664 0000000 0000000 00000005522 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IR.xml 0000664 0000000 0000000 00000002337 15244426601 0020464 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IS.xml 0000664 0000000 0000000 00000004314 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/IT.xml 0000664 0000000 0000000 00000056036 15244426601 0020473 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/JM.xml 0000664 0000000 0000000 00000014540 15244426601 0020457 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/JO.xml 0000664 0000000 0000000 00000004744 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/JP.xml 0000664 0000000 0000000 00000027005 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KE.xml 0000664 0000000 0000000 00000005403 15244426601 0020446 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KH.xml 0000664 0000000 0000000 00000006205 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KN.xml 0000664 0000000 0000000 00000002175 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KP.xml 0000664 0000000 0000000 00000002032 15244426601 0020454 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KR.xml 0000664 0000000 0000000 00000007763 15244426601 0020476 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KW.xml 0000664 0000000 0000000 00000003754 15244426601 0020477 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KY.xml 0000664 0000000 0000000 00000002175 15244426601 0020475 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/KZ.xml 0000664 0000000 0000000 00000003201 15244426601 0020465 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LB.xml 0000664 0000000 0000000 00000004351 15244426601 0020445 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LC.xml 0000664 0000000 0000000 00000002175 15244426601 0020450 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LI.xml 0000664 0000000 0000000 00000000627 15244426601 0020456 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LICENSES/ 0000775 0000000 0000000 00000000000 15244426601 0020630 5 ustar 00root root 0000000 0000000 LineageOS-android_vendor_apn-e003409/LICENSES/Apache-2.0.txt 0000664 0000000 0000000 00000024050 15244426601 0023050 0 ustar 00root root 0000000 0000000 Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.
LineageOS-android_vendor_apn-e003409/LK.xml 0000664 0000000 0000000 00000007162 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LT.xml 0000664 0000000 0000000 00000010401 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LU.xml 0000664 0000000 0000000 00000003270 15244426601 0020467 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LV.xml 0000664 0000000 0000000 00000003310 15244426601 0020463 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/LY.xml 0000664 0000000 0000000 00000001667 15244426601 0020503 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MA.xml 0000664 0000000 0000000 00000005164 15244426601 0020450 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MD.xml 0000664 0000000 0000000 00000003351 15244426601 0020447 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ME.xml 0000664 0000000 0000000 00000003433 15244426601 0020451 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MG.xml 0000664 0000000 0000000 00000005256 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MK.xml 0000664 0000000 0000000 00000002454 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ML.xml 0000664 0000000 0000000 00000002476 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MM.xml 0000664 0000000 0000000 00000000566 15244426601 0020465 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MO.xml 0000664 0000000 0000000 00000012720 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MS.xml 0000664 0000000 0000000 00000002175 15244426601 0020471 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MU.xml 0000664 0000000 0000000 00000001410 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MW.xml 0000664 0000000 0000000 00000000510 15244426601 0020464 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MX.xml 0000664 0000000 0000000 00000012260 15244426601 0020472 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/MY.xml 0000664 0000000 0000000 00000013202 15244426601 0020470 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NC.xml 0000664 0000000 0000000 00000001742 15244426601 0020451 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NE.xml 0000664 0000000 0000000 00000001143 15244426601 0020446 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NG.xml 0000664 0000000 0000000 00000005133 15244426601 0020453 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NI.xml 0000664 0000000 0000000 00000005430 15244426601 0020455 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NL.xml 0000664 0000000 0000000 00000030355 15244426601 0020464 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NO.xml 0000664 0000000 0000000 00000005547 15244426601 0020474 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NP.xml 0000664 0000000 0000000 00000004546 15244426601 0020473 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/NZ.xml 0000664 0000000 0000000 00000007115 15244426601 0020500 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/OM.xml 0000664 0000000 0000000 00000005042 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PA.xml 0000664 0000000 0000000 00000013723 15244426601 0020453 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PE.xml 0000664 0000000 0000000 00000003323 15244426601 0020452 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PG.xml 0000664 0000000 0000000 00000001263 15244426601 0020455 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PH.xml 0000664 0000000 0000000 00000006724 15244426601 0020465 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PK.xml 0000664 0000000 0000000 00000004310 15244426601 0020455 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PL.xml 0000664 0000000 0000000 00000013605 15244426601 0020465 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PR.xml 0000664 0000000 0000000 00000002177 15244426601 0020475 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PS.xml 0000664 0000000 0000000 00000014046 15244426601 0020474 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PT.xml 0000664 0000000 0000000 00000006347 15244426601 0020502 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/PY.xml 0000664 0000000 0000000 00000004011 15244426601 0020471 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/QA.xml 0000664 0000000 0000000 00000003757 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/RE.xml 0000664 0000000 0000000 00000006506 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/REUSE.toml 0000664 0000000 0000000 00000000636 15244426601 0021210 0 ustar 00root root 0000000 0000000 # SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
version = 1
SPDX-PackageName = "apn"
SPDX-PackageSupplier = "The LineageOS Project"
SPDX-PackageDownloadLocation = "https://github.com/LineageOS/android_vendor_apn"
[[annotations]]
path = [".github/workflows/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "The LineageOS Project"
SPDX-License-Identifier = "Apache-2.0"
LineageOS-android_vendor_apn-e003409/RO.xml 0000664 0000000 0000000 00000005572 15244426601 0020476 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/RS.xml 0000664 0000000 0000000 00000006612 15244426601 0020476 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/RU.xml 0000664 0000000 0000000 00000031270 15244426601 0020476 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/RW.xml 0000664 0000000 0000000 00000000573 15244426601 0020502 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SA.xml 0000664 0000000 0000000 00000003670 15244426601 0020456 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SD.xml 0000664 0000000 0000000 00000002624 15244426601 0020457 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SE.xml 0000664 0000000 0000000 00000047277 15244426601 0020475 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SG.xml 0000664 0000000 0000000 00000010146 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SI.xml 0000664 0000000 0000000 00000004536 15244426601 0020470 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SK.xml 0000664 0000000 0000000 00000011030 15244426601 0020455 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SL.xml 0000664 0000000 0000000 00000000535 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SN.xml 0000664 0000000 0000000 00000002702 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SR.xml 0000664 0000000 0000000 00000001233 15244426601 0020470 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SV.xml 0000664 0000000 0000000 00000007225 15244426601 0020503 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SY.xml 0000664 0000000 0000000 00000002026 15244426601 0020500 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/SZ.xml 0000664 0000000 0000000 00000000665 15244426601 0020510 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TC.xml 0000664 0000000 0000000 00000002175 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TH.xml 0000664 0000000 0000000 00000005371 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TN.xml 0000664 0000000 0000000 00000004773 15244426601 0020501 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TO.xml 0000664 0000000 0000000 00000001272 15244426601 0020471 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TR.xml 0000664 0000000 0000000 00000006753 15244426601 0020505 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TT.xml 0000664 0000000 0000000 00000023774 15244426601 0020511 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TW.xml 0000664 0000000 0000000 00000013005 15244426601 0020476 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/TZ.xml 0000664 0000000 0000000 00000001706 15244426601 0020506 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/UA.xml 0000664 0000000 0000000 00000005607 15244426601 0020462 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/UG.xml 0000664 0000000 0000000 00000003641 15244426601 0020464 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/US.xml 0000664 0000000 0000000 00000334714 15244426601 0020510 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/UY.xml 0000664 0000000 0000000 00000010604 15244426601 0020503 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/UZ.xml 0000664 0000000 0000000 00000003501 15244426601 0020502 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/VC.xml 0000664 0000000 0000000 00000003064 15244426601 0020460 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/VE.xml 0000664 0000000 0000000 00000007215 15244426601 0020464 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/VG.xml 0000664 0000000 0000000 00000003115 15244426601 0020461 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/VN.xml 0000664 0000000 0000000 00000004571 15244426601 0020477 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/VU.xml 0000664 0000000 0000000 00000001272 15244426601 0020501 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/WS.xml 0000664 0000000 0000000 00000001264 15244426601 0020501 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/YE.xml 0000664 0000000 0000000 00000001373 15244426601 0020466 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/YT.xml 0000664 0000000 0000000 00000006506 15244426601 0020510 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ZA.xml 0000664 0000000 0000000 00000006755 15244426601 0020474 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ZM.xml 0000664 0000000 0000000 00000002232 15244426601 0020472 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/ZW.xml 0000664 0000000 0000000 00000000561 15244426601 0020507 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/apns-conf.xsd 0000664 0000000 0000000 00000014205 15244426601 0022031 0 ustar 00root root 0000000 0000000
LineageOS-android_vendor_apn-e003409/format.py 0000775 0000000 0000000 00000003764 15244426601 0021302 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python3
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
import sys
from xml.etree import ElementTree
from xml.sax.saxutils import escape
apn_attribute_order = ['mcc', 'mnc', 'carrier', 'apn']
def sort_apn_attributes(item):
key, _ = item
try:
return (0, apn_attribute_order.index(key))
except ValueError:
return (1, key)
def pretty_apn(elem, indent):
attrs = sorted(elem.attrib.items(), key=sort_apn_attributes)
lines = [f'{indent}<{elem.tag}']
for k, v in attrs:
lines.append(f'{indent} {k}="{escape(v)}"')
lines.append(f'{indent}/>')
return '\n'.join(lines)
def format_elem(elem, depth=0):
indent = ' ' * 4 * depth
out = []
if elem.tag == 'apn':
out.append(pretty_apn(elem, indent))
else:
attrs = ' '.join(f'{k}="{v}"' for k, v in elem.attrib.items())
if attrs:
out.append(f'{indent}<{elem.tag} {attrs}>')
else:
out.append(f'{indent}<{elem.tag}>')
for child in sorted(
elem,
key=lambda e: tuple(
e.get(attr) or '' for attr in apn_attribute_order
),
):
out.append(format_elem(child, depth + 1))
out.append(f'{indent}{elem.tag}>')
return '\n'.join(out)
def process_file(xml_path):
tree = ElementTree.parse(xml_path)
formatted = format_elem(tree.getroot())
with open(xml_path, 'w', encoding='utf-8') as f:
header = [
'',
# REUSE-IgnoreStart
'\n',
# REUSE-IgnoreEnd
]
f.write('\n'.join(header))
f.write(formatted + '\n')
if __name__ == '__main__':
for xml_path in sys.argv[1:]:
process_file(xml_path)
LineageOS-android_vendor_apn-e003409/make-apns.sh 0000775 0000000 0000000 00000001256 15244426601 0021642 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
APNS="\n"
# REUSE-IgnoreStart
APNS+="\n"
# REUSE-IgnoreEnd
APNS+="\n"
for f in "$@"; do
APNS+="\n"
APNS+="\n"
done
APNS+="\n"
printf "$APNS" | "${XMLLINT:-xmllint}" --format --nofixup-base-uris --xinclude -
LineageOS-android_vendor_apn-e003409/ruff.toml 0000664 0000000 0000000 00000000276 15244426601 0021267 0 ustar 00root root 0000000 0000000 # SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
line-length = 80
[lint]
extend-select = ['A', 'FA100', 'FA102', 'I']
[format]
quote-style = 'single'
LineageOS-android_vendor_apn-e003409/validate.py 0000775 0000000 0000000 00000000710 15244426601 0021567 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python3
#
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
import sys
import xmlschema
schema = xmlschema.XMLSchema('apns-conf.xsd')
if __name__ == '__main__':
ret = 0
for xml_path in sys.argv[1:]:
try:
schema.validate(xml_path)
except xmlschema.XMLSchemaValidationError as e:
print(xml_path, e, file=sys.stderr)
ret = -1
exit(ret)