Searched refs:assetPath (Results 1 – 9 of 9) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 35 public TestAssetRepository(@NonNull String assetPath) { in TestAssetRepository() argument 36 mAssetPath = assetPath; in TestAssetRepository()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | ReportEncoderTests.java | 101 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument 105 context.getResources().getAssets().open(assetPath)))) { in readAsset()
|
D | WatchlistSettingsTests.java | 116 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() argument 120 context.getResources().getAssets().open(assetPath)))) { in readAsset()
|
D | WatchlistConfigTests.java | 143 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/ |
D | DpmTestUtils.java | 115 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/ |
D | ResourcesManager.java | 1095 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/ |
D | Command.cpp | 747 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/ |
D | NetworkPolicyManagerServiceTest.java | 2055 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/ |
D | BaseShortcutManagerTest.java | 2172 public String readTestAsset(String assetPath) throws IOException { 2176 getTestContext().getResources().getAssets().open(assetPath)))) {
|