Searched refs:readAsset (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | OwnersTest.java | 65 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/profile_owner_1.xml")); in loadProfileOwner() 86 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/device_owner_1.xml")); in loadDeviceOwner() 109 DpmTestUtils.readAsset(mRealTestContext, "OwnersTest/device_owner_1.xml")); in testDeviceOwnerType()
|
H A D | DevicePolicyManagerServiceMigrationTest.java | 105 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner() 109 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner() 113 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner()
|
H A D | DpmTestUtils.java | 134 public static String readAsset(Context context, String assetPath) throws IOException { in readAsset() method in DpmTestUtils
|
H A D | PolicyVersionUpgraderTest.java | 481 DpmTestUtils.readAsset(mRealTestContext, "PolicyVersionUpgraderTest/" + assetFile)); in preparePoliciesFile() 487 String doFileContent = DpmTestUtils.readAsset(mRealTestContext, in prepareDeviceOwnerFile()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
H A D | ReportEncoderTests.java | 98 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistConfigXml() 101 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() method in ReportEncoderTests
|
H A D | WatchlistSettingsTests.java | 113 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistSettingsXml() 116 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() method in WatchlistSettingsTests
|
H A D | WatchlistConfigTests.java | 140 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistConfigXml() 143 private static String readAsset(Context context, String assetPath) throws IOException { in readAsset() method in WatchlistConfigTests
|
/aosp14/frameworks/base/apct-tests/perftests/rubidium/src/android/rubidium/js/ |
H A D | JSScriptEnginePerfTests.java | 327 String jsTestFile = readAsset("generate_bid_using_wasm.js"); in evaluate_turtledoveWasm() 440 private String readAsset(@NonNull String assetName) throws IOException { in readAsset() method in JSScriptEnginePerfTests
|