Home
last modified time | relevance | path

Searched refs:assetManager (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginArchiveManager.java223 AssetManager assetManager; in getArchiveChecksum() local
231 assetManager = packageAssetManager(pluginArchive.packageName()); in getArchiveChecksum()
237 assetManager = mApplicationContext.getAssets(); in getArchiveChecksum()
242 try (InputStream checksumInAssets = assetManager.open(checksumFile); in getArchiveChecksum()
293 AssetManager assetManager = packageAssetManager(pluginArchive.packageName()); in copyPluginFromPackageAssetsToCacheDir() local
294 return copyPluginToCacheDir(pluginArchive.filename(), assetManager); in copyPluginFromPackageAssetsToCacheDir()
313 private boolean copyPluginToCacheDir(String pluginArchive, AssetManager assetManager) { in copyPluginToCacheDir() argument
316 if (canReusePluginInCacheDir(pluginArchive, checksumFile, assetManager)) { in copyPluginToCacheDir()
322 try (InputStream pluginSrc = assetManager.open(pluginArchive); in copyPluginToCacheDir()
324 InputStream checksumSrc = assetManager.open(checksumFile); in copyPluginToCacheDir()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DCobaltRegistryLoader.java49 AssetManager assetManager = context.getAssets(); in getRegistry() local
50 try (InputStream inputStream = assetManager.open(REGISTRY_ASSET_FILE)) { in getRegistry()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDeleteApiIntegrationTest.java73 AssetManager assetManager = sContext.getAssets(); in data() local
75 String[] testFileList = assetManager.list(TEST_DIR); in data()
77 inputStreams.add(assetManager.open(TEST_DIR + "/" + testFile)); in data()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DCommonClassifierHelper.java71 @NonNull AssetManager assetManager, @NonNull String classifierAssetsMetadataPath) { in computeClassifierAssetChecksum()
76 try (InputStream inputStream = assetManager.open(classifierAssetsMetadataPath)) { in computeClassifierAssetChecksum()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfigHelper.java214 AssetManager assetManager =
216 XmlResourceParser parser = assetManager.openXmlResourceParser(ANDROID_MANIFEST_FILE);
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DPhrOptionsFragment.kt195 val assetManager = context.assets in <lambda>() constant
197 assetManager.list(path)?.toList() ?: emptyList() in <lambda>()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DJNIImsMediaService.java90 public static native void setAssetManager(AssetManager assetManager); in setAssetManager() argument
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2ETest.java264 AssetManager assetManager = sContext.getAssets(); in data() local
270 String[] testAssets = assetManager.list(testDirName); in data()
275 inputStreams.add(assetManager.open(testDirName + "/" + testAsset)); in data()