Home
last modified time | relevance | path

Searched refs:readAsset (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DOwnersTest.java65 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 DDevicePolicyManagerServiceMigrationTest.java105 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner()
109 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner()
113 DpmTestUtils.readAsset(mRealTestContext, in testMigration_managedProfileOwner()
H A DDpmTestUtils.java134 public static String readAsset(Context context, String assetPath) throws IOException { in readAsset() method in DpmTestUtils
H A DPolicyVersionUpgraderTest.java481 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 DReportEncoderTests.java98 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 DWatchlistSettingsTests.java113 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 DWatchlistConfigTests.java140 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 DJSScriptEnginePerfTests.java327 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