Searched defs:assetPath (Results 1 - 11 of 11) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java35 public TestAssetRepository(@NonNull String assetPath) { argument
36 mAssetPath = assetPath;
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
H A DReportEncoderTests.java100 private static String readAsset(Context context, String assetPath) throws IOException { argument
104 context.getResources().getAssets().open(assetPath)))) {
H A DWatchlistSettingsTests.java115 private static String readAsset(Context context, String assetPath) throws IOException { argument
119 context.getResources().getAssets().open(assetPath)))) {
H A DWatchlistConfigTests.java144 private static String readAsset(Context context, String assetPath) throws IOException { argument
148 context.getResources().getAssets().open(assetPath)))) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java115 public static String readAsset(Context context, String assetPath) throws IOException { argument
119 context.getResources().getAssets().open(assetPath)))) {
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
H A DMetadataListReader.java102 * @param assetPath asset manager path of the file that the Typeface and metadata will be
105 static MetadataList read(AssetManager assetManager, String assetPath) argument
107 try (InputStream inputStream = assetManager.open(assetPath)) {
H A DMetadataRepo.java124 * @param assetPath asset manager path of the file that the Typeface and metadata will be
128 final String assetPath) throws IOException {
129 final Typeface typeface = Typeface.createFromAsset(assetManager, assetPath);
130 return new MetadataRepo(typeface, MetadataListReader.read(assetManager, assetPath));
127 create(@onNull final AssetManager assetManager, final String assetPath) argument
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DFontRequestEmojiCompatConfigTest.java569 private static void copyToCacheFile(final Context context, final String assetPath, argument
571 try (InputStream is = context.getAssets().open(assetPath, ACCESS_BUFFER);
/frameworks/base/core/java/android/app/
H A DResourcesManager.java1064 * assetPath.
1065 * @param assetPath The main asset path for which to add the library asset path.
1068 public void appendLibAssetForMainAssetPath(String assetPath, String libAsset) { argument
1079 if (impl != null && Objects.equals(key.mResDir, assetPath)) {
/frameworks/base/tools/aapt/
H A DCommand.cpp747 const String8& assetPath = bundle->getPackageIncludes()[i]; local
748 if (!assets.addAssetPath(assetPath, NULL)) {
749 fprintf(stderr, "ERROR: included asset path %s could not be loaded\n", assetPath.string());
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java2116 public String readTestAsset(String assetPath) throws IOException { argument
2120 getTestContext().getResources().getAssets().open(assetPath)))) {

Completed in 215 milliseconds