/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 42 AssetManager2 assets; in BM_AssetManagerLoadAssets() local 43 assets.SetApkAssets({apk.get()}); in BM_AssetManagerLoadAssets() 51 AssetManager assets; in BM_AssetManagerLoadAssetsOld() local 52 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadAssetsOld() 56 assets.getResources(true); in BM_AssetManagerLoadAssetsOld() 65 AssetManager2 assets; in BM_AssetManagerLoadFrameworkAssets() local 66 assets.SetApkAssets({apk.get()}); in BM_AssetManagerLoadFrameworkAssets() 74 AssetManager assets; in BM_AssetManagerLoadFrameworkAssetsOld() local 75 assets.addAssetPath(path, nullptr /* cookie */, false /* appAsLib */, in BM_AssetManagerLoadFrameworkAssetsOld() 79 assets.getResources(true); in BM_AssetManagerLoadFrameworkAssetsOld() [all …]
|
D | Theme_bench.cpp | 37 AssetManager2 assets; in BM_ThemeApplyStyleFramework() local 38 assets.SetApkAssets({apk.get()}); in BM_ThemeApplyStyleFramework() 41 auto theme = assets.NewTheme(); in BM_ThemeApplyStyleFramework() 48 AssetManager assets; in BM_ThemeApplyStyleFrameworkOld() local 49 if (!assets.addAssetPath(String8(kFrameworkPath), nullptr /* cookie */, false /* appAsLib */, in BM_ThemeApplyStyleFrameworkOld() 55 const ResTable& res_table = assets.getResources(true); in BM_ThemeApplyStyleFrameworkOld() 67 AssetManager2 assets; in BM_ThemeGetAttribute() local 68 assets.SetApkAssets({apk.get()}); in BM_ThemeGetAttribute() 70 auto theme = assets.NewTheme(); in BM_ThemeGetAttribute() 83 AssetManager assets; in BM_ThemeGetAttributeOld() local [all …]
|
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitAssetDependencyLoader.java | 83 final AssetManager assets = new AssetManager(); in createAssetManagerWithAssets() local 84 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in createAssetManagerWithAssets() 86 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in createAssetManagerWithAssets() 87 return assets; in createAssetManagerWithAssets() 93 final ArrayList<ApkAssets> assets = new ArrayList<>(); in constructSplit() local 97 Collections.addAll(assets, mCachedSplitApks[parentSplitIdx]); in constructSplit() 101 assets.add(loadApkAssets(mSplitPaths[splitIdx], mFlags)); in constructSplit() 105 assets.add(loadApkAssets(mSplitPaths[configSplitIdx], mFlags)); in constructSplit() 109 mCachedSplitApks[splitIdx] = assets.toArray(new ApkAssets[assets.size()]); in constructSplit() 129 for (AssetManager assets : mCachedAssetManagers) { in close() [all …]
|
D | DefaultSplitAssetLoader.java | 85 AssetManager assets = new AssetManager(); in getBaseAssetManager() local 86 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in getBaseAssetManager() 88 assets.setApkAssets(apkAssets, false /*invalidateCaches*/); in getBaseAssetManager() 90 mCachedAssetManager = assets; in getBaseAssetManager()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 220 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage() argument 263 assets->setPackage(String8(block.getAttributeStringValue(nameIndex, &len))); in parsePackage() 293 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, in makeFileResources() argument 326 String16(assets->getPackage()), in makeFileResources() 335 assets->addResource(it.getLeafName(), resPath, it.getFile(), type8); in makeFileResources() 344 PreProcessImageWorkUnit(const Bundle* bundle, const sp<AaptAssets>& assets, in PreProcessImageWorkUnit() argument 346 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit() 364 static status_t preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, in preProcessImages() argument 374 bundle, assets, it.getFile(), &hasErrors); in preProcessImages() 594 const sp<AaptAssets>& assets, in applyFileOverlay() argument [all …]
|
D | Main.h | 50 const sp<AaptAssets>& assets, sp<ApkBuilder>& builder); 53 const sp<AaptAssets>& assets, const String8& pkgName, 56 extern android::status_t writeProguardFile(Bundle* bundle, const sp<AaptAssets>& assets); 57 extern android::status_t writeMainDexProguardFile(Bundle* bundle, const sp<AaptAssets>& assets); 61 extern status_t filterResources(Bundle* bundle, const sp<AaptAssets>& assets); 65 status_t writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets,
|
D | Command.cpp | 194 AssetManager assets; in doList() local 195 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList() 205 const ResTable& res = assets.getResources(false); in doList() 211 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList() 400 Vector<String8> getNfcAidCategories(AssetManager& assets, const String8& xmlPath, bool offHost, in getNfcAidCategories() argument 403 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); in getNfcAidCategories() 742 AssetManager assets; in doDump() local 748 if (!assets.addAssetPath(assetPath, NULL)) { in doDump() 754 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump() 777 assets.setConfiguration(config); in doDump() [all …]
|
D | Images.h | 18 status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, 23 status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
|
D | XMLNode.h | 138 status_t parseValues(const sp<AaptAssets>& assets, ResourceTable* table); 140 status_t assignResourceIds(const sp<AaptAssets>& assets,
|
D | ResourceTable.h | 38 const sp<AaptAssets>& assets, 45 const sp<AaptAssets>& assets, 53 const sp<AaptAssets>& assets, 61 const sp<AaptAssets>& assets, 133 status_t addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets);
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 83 void CompileApkAssetsLayouts(const std::unique_ptr<const android::ApkAssets>& assets, in CompileApkAssetsLayouts() argument 86 resources.SetApkAssets({assets.get()}); in CompileApkAssetsLayouts() 92 for (const auto& package : assets->GetLoadedArsc()->GetPackages()) { in CompileApkAssetsLayouts() 103 assets->ForEachFile("res/", [&](const android::StringPiece& s, android::FileType) { in CompileApkAssetsLayouts() 106 assets->ForEachFile(path, [&](const android::StringPiece& layout_file, android::FileType) { in CompileApkAssetsLayouts() 162 auto assets = android::ApkAssets::Load(filename); in CompileApkLayouts() local 163 CompileApkAssetsLayouts(assets, target, target_out); in CompileApkLayouts() 169 auto assets = android::ApkAssets::LoadFromFd( in CompileApkLayoutsFd() local 171 CompileApkAssetsLayouts(assets, target, target_out); in CompileApkLayoutsFd()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 114 final AssetManager assets = res.getAssets(); in testMultithreadCacheStressTest() local 125 Typeface.createFromAsset(assets, "fonts/a3em.ttf"), in testMultithreadCacheStressTest() 126 Typeface.createFromAsset(assets, "fonts/b3em.ttf"), in testMultithreadCacheStressTest() 127 Typeface.createFromAsset(assets, "fonts/c3em.ttf"), in testMultithreadCacheStressTest() 128 Typeface.createFromAsset(assets, "fonts/all2em.ttf"), in testMultithreadCacheStressTest() 129 Typeface.createFromAsset(assets, "fonts/hasGlyphTestFont.ttf"), in testMultithreadCacheStressTest() 130 Typeface.createFromAsset(assets, "fonts/samplefont1.ttf"), in testMultithreadCacheStressTest() 131 Typeface.createFromAsset(assets, "fonts/no_coverage.ttf"), in testMultithreadCacheStressTest()
|
/frameworks/base/core/java/android/content/pm/ |
D | FallbackCategoryProvider.java | 46 final AssetManager assets = new AssetManager(); in loadFallbacks() local 47 assets.addAssetPath("/system/framework/framework-res.apk"); in loadFallbacks() 48 final Resources res = new Resources(assets, null, null); in loadFallbacks()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 45 final AssetManager assets = new AssetManager(); in createResourcesWithApk() local 46 assertTrue(assets.addAssetPath(extractApkAndGetPath(rawApkId)) != 0); in createResourcesWithApk() 50 return new Resources(assets, dm, new Configuration()); in createResourcesWithApk()
|
/frameworks/base/cmds/idmap2/tests/data/target/ |
D | build | 16 aapt2 link --manifest AndroidManifest.xml -A assets -o target.apk compiled.flata 20 aapt2 link --manifest AndroidManifest.xml -A assets -o target-no-overlayable.apk values_values.arsc…
|
/frameworks/base/data/sounds/ |
D | README.txt | 1 This README describes the audio assets, and how they relate to each other. 4 which installs the appropriate assets into the destination directory.
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/assets/ |
D | test.txt | 1 test.txt came from assets
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/assets/subdir/subsubdir/ |
D | test.txt | 1 subdir/subsubdir/test.txt comes from assets
|
/frameworks/base/libs/androidfw/tests/data/system/ |
D | build | 21 aapt2 link --manifest AndroidManifest.xml -A assets -o system.apk compiled.flata
|
/frameworks/base/libs/androidfw/tests/data/app/ |
D | build | 24 -A assets \
|
/frameworks/av/drm/mediacas/plugins/clearkey/protos/ |
D | license_protos.proto | 26 // The asset_id must not be set on creation. It is only used for assets of 37 // Must be unset on creation. Required for mutate operations on CLEARKEY_CAS assets.
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 75 String packageName, AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources() argument 76 super(assets, metrics, config); in Resources()
|
/frameworks/base/libs/androidfw/tests/data/basic/ |
D | build | 26 -A assets \
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 163 final ApkAssets[] assets; in AssetManager() local 166 assets = sSystemApkAssets; in AssetManager() 176 setApkAssets(assets, false /*invalidateCaches*/); in AssetManager() 440 final ApkAssets assets; in addAssetPathInternal() local 448 assets = ApkAssets.loadOverlayFromPath(idmapPath, false /*system*/); in addAssetPathInternal() 450 assets = ApkAssets.loadFromPath(path, false /*system*/, appAsLib); in addAssetPathInternal() 457 mApkAssets[count] = assets; in addAssetPathInternal()
|
/frameworks/base/tools/aapt2/integration-tests/StaticLibTest/App/ |
D | Android.bp | 23 "assets",
|