Lines Matching refs:package

30 package or any associated overlay package. Any redirection is completely
36 * overlay package, matching config (eg res/values-en-land)
38 * original package, matching config
40 * overlay package, no config (eg res/values)
42 * original package, no config
82 * pp: corresponds to the package namespace (details below).
85 resource of the same type within the same package has the same
116 ResourceTypes.cpp supports package IDs between 0x01 and 0x7f
124 mPackageMap[0x00] -> system package
129 mPackageMap[0x7f - 1] -> application package
141 mPackageMap[0x00] -> system package -> system overlay package
146 mPackageMap[0x7f - 1] -> application package -> overlay 1 -> overlay 2
154 The package targeted by an overlay package is called the target or
155 original package.
158 override the string/str1 resources in a package, the overlay package
172 resources using the IDs defined in the original package, but there is no
174 an overlay package. To translate between the two, a resource ID mapping
175 {original ID -> overlay ID} is created during package installation
194 When a target package or a corresponding overlay package is installed,
195 the target package's process is stopped and a new idmap is generated.
204 the same type and name as in the original package, and be compiled with
207 The aapt -o flag instructs aapt to create an overlay package.
208 Technically, this means the package will be assigned package id 0x00.
211 convention <original.package.name>.overlay.<name> is recommended.
214 Example overlay package
217 To overlay the resource bool/b in package com.foo.bar, to be applied
218 when the display is in landscape mode, create a new package with
256 Name Target package Overlay package
276 0x216a8fe2 # CRC32 of the resources.arsc file in the original package
277 0x6b9beaec # CRC32 of the resources.arsc file in the overlay package
278 0x00000003 # header; three types (string, bool, integer) in the target package
280 0x00000000 # no bool type exists in overlay package -> no header_block
283 0x00000001 # the first string in target package is entry 1 == offset
285 0x00000000 # str2 not defined in overlay package