Searched refs:apkAssets (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 128 public Builder addApkAssets(ApkAssets apkAssets) { in addApkAssets() argument 129 mUserApkAssets.add(apkAssets); in addApkAssets() 150 final ApkAssets apkAssets = currentLoaderApkAssets.get(j); in build() local 151 if (uniqueLoaderApkAssets.add(apkAssets)) { in build() 152 loaderApkAssets.add(0, apkAssets); in build() 159 final ApkAssets[] apkAssets = new ApkAssets[totalApkAssetCount]; in build() local 161 System.arraycopy(systemApkAssets, 0, apkAssets, 0, systemApkAssets.length); in build() 165 apkAssets[i + systemApkAssets.length] = mUserApkAssets.get(i); in build() 170 apkAssets[i + systemApkAssets.length + mUserApkAssets.size()] = in build() 177 assetManager.mApkAssets = apkAssets; in build() [all …]
|
/frameworks/base/core/java/android/content/pm/split/ |
D | DefaultSplitAssetLoader.java | 71 ApkAssets[] apkAssets = new ApkAssets[(mSplitCodePaths != null in getBaseAssetManager() local 76 apkAssets[splitIdx++] = loadApkAssets(mBaseCodePath, mFlags); in getBaseAssetManager() 81 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags); in getBaseAssetManager() 88 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in getBaseAssetManager()
|
D | SplitAssetDependencyLoader.java | 82 private static AssetManager createAssetManagerWithAssets(ApkAssets[] apkAssets) { in createAssetManagerWithAssets() argument 86 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in createAssetManagerWithAssets()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 344 ApkAssets apkAssets = null; in loadApkAssets() local 346 apkAssets = mLoadedApkAssets.get(newKey); in loadApkAssets() 347 if (apkAssets != null && apkAssets.isUpToDate()) { in loadApkAssets() 348 return apkAssets; in loadApkAssets() 355 apkAssets = apkAssetsRef.get(); in loadApkAssets() 356 if (apkAssets != null && apkAssets.isUpToDate()) { in loadApkAssets() 358 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets() 361 return apkAssets; in loadApkAssets() 370 apkAssets = ApkAssets.loadOverlayFromPath(overlayPathToIdmapPath(path), 0 /*flags*/); in loadApkAssets() 372 apkAssets = ApkAssets.loadFromPath(path, sharedLib ? ApkAssets.PROPERTY_DYNAMIC : 0); in loadApkAssets() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 1142 ApkAssets apkAssets = null; in getOverlayableForTarget() local 1144 apkAssets = ApkAssets.loadFromPath(baseCodePath); in getOverlayableForTarget() 1145 return apkAssets.getOverlayableInfo(targetOverlayableName); in getOverlayableForTarget() 1147 if (apkAssets != null) { in getOverlayableForTarget() 1149 apkAssets.close(); in getOverlayableForTarget() 1166 ApkAssets apkAssets = null; in doesTargetDefineOverlayable() local 1168 apkAssets = ApkAssets.loadFromPath(baseCodePath); in doesTargetDefineOverlayable() 1169 return apkAssets.definesOverlayable(); in doesTargetDefineOverlayable() 1171 if (apkAssets != null) { in doesTargetDefineOverlayable() 1173 apkAssets.close(); in doesTargetDefineOverlayable()
|
/frameworks/base/core/java/android/content/res/loader/ |
D | ResourcesProvider.java | 229 private ResourcesProvider(@NonNull ApkAssets apkAssets) { in ResourcesProvider() argument 230 this.mApkAssets = apkAssets; in ResourcesProvider()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLiteParseUtils.java | 234 ApkAssets apkAssets = null; in parseApkLiteInner() local 237 apkAssets = fd != null in parseApkLiteInner() 245 parser = apkAssets.openXml(PackageParser.ANDROID_MANIFEST_FILENAME); in parseApkLiteInner() 276 if (apkAssets != null) { in parseApkLiteInner() 278 apkAssets.close(); in parseApkLiteInner()
|
D | ParsingPackageUtils.java | 393 ApkAssets apkAssets = assets.getApkAssets()[0]; in parseBaseApk() local 394 if (apkAssets.definesOverlayable()) { in parseBaseApk()
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 237 auto get_first_package_id = [&assetmanager](const ApkAssets* apkAssets) -> uint8_t { in TEST_F() argument 238 return assetmanager.GetAssignedPackageId(apkAssets->GetLoadedArsc()->GetPackages()[0].get()); in TEST_F()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1442 ApkAssets apkAssets = null; in parseApkLiteInner() local 1445 apkAssets = fd != null in parseApkLiteInner() 1453 parser = apkAssets.openXml(ANDROID_MANIFEST_FILENAME); in parseApkLiteInner() 1480 if (apkAssets != null) { in parseApkLiteInner() 1482 apkAssets.close(); in parseApkLiteInner()
|