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.java134 public static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument
138 context.getResources().getAssets().open(assetPath)))) { in readAsset()
/frameworks/base/core/java/android/app/
DResourcesManager.java1155 public void appendLibAssetForMainAssetPath(String assetPath, String libAsset) { in appendLibAssetForMainAssetPath() argument
1156 appendLibAssetsForMainAssetPath(assetPath, new String[] { libAsset }); in appendLibAssetForMainAssetPath()
1165 public void appendLibAssetsForMainAssetPath(String assetPath, String[] libAssets) { in appendLibAssetsForMainAssetPath() argument
1176 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.java2242 final String assetPath = NETPOLICY_DIR + "/" + mNetpolicyXml; in setNetpolicyXml() local
2244 Log.d(TAG, "Creating " + netConfigFile + " from asset " + assetPath); in setNetpolicyXml()
2245 try (InputStream in = context.getResources().getAssets().open(assetPath); in setNetpolicyXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2250 public String readTestAsset(String assetPath) throws IOException {
2254 getTestContext().getResources().getAssets().open(assetPath)))) {