Home
last modified time | relevance | path

Searched refs:assetPath (Results 1 – 9 of 9) sorted by relevance

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java35 public TestAssetRepository(@NonNull String assetPath) { in TestAssetRepository() argument
36 mAssetPath = assetPath; in TestAssetRepository()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java101 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument
105 context.getResources().getAssets().open(assetPath)))) { in readAsset()
DWatchlistSettingsTests.java116 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument
120 context.getResources().getAssets().open(assetPath)))) { in readAsset()
DWatchlistConfigTests.java143 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument
147 context.getResources().getAssets().open(assetPath)))) { in readAsset()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java115 public static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument
119 context.getResources().getAssets().open(assetPath)))) { in readAsset()
/frameworks/base/core/java/android/app/
DResourcesManager.java1095 public void appendLibAssetForMainAssetPath(String assetPath, String libAsset) { in appendLibAssetForMainAssetPath() argument
1096 appendLibAssetsForMainAssetPath(assetPath, new String[] { libAsset }); in appendLibAssetForMainAssetPath()
1105 public void appendLibAssetsForMainAssetPath(String assetPath, String[] libAssets) { in appendLibAssetsForMainAssetPath() argument
1116 if (impl != null && Objects.equals(key.mResDir, assetPath)) { in appendLibAssetsForMainAssetPath()
/frameworks/base/tools/aapt/
DCommand.cpp747 const String8& assetPath = bundle->getPackageIncludes()[i]; in doDump() local
748 if (!assets.addAssetPath(assetPath, NULL)) { in doDump()
749 fprintf(stderr, "ERROR: included asset path %s could not be loaded\n", assetPath.string()); in doDump()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java2055 final String assetPath = NETPOLICY_DIR + "/" + mNetpolicyXml; in setNetpolicyXml() local
2057 Log.d(TAG, "Creating " + netConfigFile + " from asset " + assetPath); in setNetpolicyXml()
2058 try (InputStream in = context.getResources().getAssets().open(assetPath); in setNetpolicyXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2172 public String readTestAsset(String assetPath) throws IOException {
2176 getTestContext().getResources().getAssets().open(assetPath)))) {