/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApplicationVisibilityTest.java | 127 final Map<String, String> testArgs = new HashMap<>(); in testPackageListOtherUserCrossUserGrant() local 128 testArgs.put("testUser", Integer.toString(installUserId)); in testPackageListOtherUserCrossUserGrant() 139 testArgs); in testPackageListOtherUserCrossUserGrant() local 151 final Map<String, String> testArgs = new HashMap<>(); in testPackageListOtherUserCrossUserNoGrant() local 152 testArgs.put("testUser", Integer.toString(installUserId)); in testPackageListOtherUserCrossUserNoGrant() 163 testArgs); in testPackageListOtherUserCrossUserNoGrant() local 229 final Map<String, String> testArgs = new HashMap<>(); in testApplicationListOtherUserCrossUserGrant() local 230 testArgs.put("testUser", Integer.toString(installUserId)); in testApplicationListOtherUserCrossUserGrant() 241 testArgs); in testApplicationListOtherUserCrossUserGrant() local 253 final Map<String, String> testArgs = new HashMap<>(); in testApplicationListOtherUserCrossUserNoGrant() local [all …]
|
D | EphemeralTest.java | 317 for (Map<String, String> testArgs : EXPECTED_EXPOSED_INTENTS) { in testExposedSystemActivities() 318 final boolean exposed = isIntentExposed(testArgs); in testExposedSystemActivities() 321 "testExposedActivity", testArgs); in testExposedSystemActivities() local 323 CLog.w("Skip intent; " + dumpArgs(testArgs)); in testExposedSystemActivities() 547 final HashMap<String, String> testArgs = new HashMap<>(); in makeArgs() local 548 testArgs.put("action", action); in makeArgs() 550 testArgs.put("category", category); in makeArgs() 553 testArgs.put("mime_type", mimeType); in makeArgs() 555 return testArgs; in makeArgs() 571 private boolean isIntentExposed(Map<String, String> testArgs) in isIntentExposed() argument [all …]
|
D | Utils.java | 47 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTestsAsCurrentUser() argument 50 testArgs); in runDeviceTestsAsCurrentUser() 59 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 70 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument 73 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests() 78 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 94 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 95 for (String name : testArgs.keySet()) { in runDeviceTests() 96 final String value = testArgs.get(name); in runDeviceTests()
|
D | BaseAppSecurityTest.java | 71 final HashMap<String, String> testArgs; in runDeviceTests() local 73 testArgs = new HashMap<>(); in runDeviceTests() 74 testArgs.put("is_instant", Boolean.TRUE.toString()); in runDeviceTests() 76 testArgs = null; in runDeviceTests() 79 testArgs); in runDeviceTests() local
|
D | PackageSetInstallerTest.kt | 120 val testArgs: Map<String, String?> = mapOf( in runTest() constant 152 testArgs.plus(SHOULD_THROW_EXCEPTION_KEY to (!failSilently).toString())) in runTest() 161 val whitelistArgs = testArgs in runTest() 182 testArgs.plus(SHOULD_THROW_EXCEPTION_KEY to (!failSilently).toString())) in runTest()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 41 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 52 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument 55 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests() 60 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 76 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 77 for (String name : testArgs.keySet()) { in runDeviceTests() 78 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/src/android/appsecurity/cts/apkveritytestapp/ |
D | InstalledFilesCheck.java | 58 android.os.Bundle testArgs = InstrumentationRegistry.getArguments(); in getInterestedFiles() local 59 assertNotEquals(testArgs, null); in getInterestedFiles() 60 int number = Integer.valueOf(testArgs.getString("Number")); in getInterestedFiles() 64 String basename = testArgs.getString("File" + Integer.toString(i)); in getInterestedFiles()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | BaseContextCrossProfileTest.java | 142 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 158 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 159 for (String name : testArgs.keySet()) { in runDeviceTests() 160 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | Utils.java | 57 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 71 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 72 for (String name : testArgs.keySet()) { in runDeviceTests() 73 final String value = testArgs.get(name); in runDeviceTests()
|
D | IncrementalAppErrorStatsTests.java | 84 final HashMap<String, String> testArgs = new HashMap<>(); in setUp() local 85 testArgs.put(HELPER_ARG, remoteApkPath); in setUp() 87 HELPER_CLASS, HELPER_METHOD, testArgs); in setUp()
|
/cts/hostsidetests/packagemanager/codepath/src/com/android/tests/codepath/host/ |
D | CodePathTest.java | 72 final Map<String, String> testArgs = new HashMap<>(); in runDeviceTest() local 73 testArgs.put("expectedCodePath", codePathToMatch); in runDeviceTest() 76 0L, true, false, testArgs); in runDeviceTest() local
|
/cts/hostsidetests/accounts/src/android/host/accounts/ |
D | AccountManagerXUserTest.java | 207 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 223 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 224 for (String name : testArgs.keySet()) { in runDeviceTests() 225 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | IncrementalAppErrorStatsTestsHelper.java | 46 final Bundle testArgs = InstrumentationRegistry.getArguments(); in getPageIndexToBlock() local 47 final String apkPath = (String) testArgs.get(HELPER_ARG); in getPageIndexToBlock()
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 304 std::vector<SeekTestParams*> testArgs; in generateSeekTestArgs() local 305 if (mime == nullptr) return testArgs; in generateSeekTestArgs() 312 return testArgs; in generateSeekTestArgs() 318 return testArgs; in generateSeekTestArgs() 340 testArgs.push_back((new SeekTestParams(currInfo, pts, (SeekMode)mode))); in generateSeekTestArgs() 351 if (bookmarks.empty()) return testArgs; in generateSeekTestArgs() 372 testArgs.push_back( in generateSeekTestArgs() 374 testArgs.push_back((new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs() 375 testArgs.push_back( in generateSeekTestArgs() 381 testArgs.push_back(( in generateSeekTestArgs() [all …]
|
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/ |
D | CtsExtractNativeLibsHostTestBase.java | 137 String testMethodName, Map<String, String> testArgs) throws Exception { in runDeviceTestsWithArgs() argument 143 0L, true, false, testArgs); in runDeviceTestsWithArgs() 166 final Map<String, String> testArgs = new HashMap<>(); in checkExtractedNativeLibDirForAbi() local 167 testArgs.put(expectedSubDirArg, expectedNativeLibSubDir); in checkExtractedNativeLibDirForAbi() 169 testArgs); in checkExtractedNativeLibDirForAbi()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 104 final Bundle testArgs = InstrumentationRegistry.getArguments(); in testNoAccessibleListeningPorts() local 105 final String procFileContents = testArgs.getString(PROC_FILE_CONTENTS_PARAM); in testNoAccessibleListeningPorts() 106 final boolean isTcp = Boolean.valueOf(testArgs.getString(IS_TCP_PARAM)); in testNoAccessibleListeningPorts() 107 final boolean loopback = Boolean.valueOf(testArgs.getString(LOOPBACK_PARAM)); in testNoAccessibleListeningPorts()
|
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/ |
D | PreferredActivityTests.java | 116 String testMethodName, Map<String, String> testArgs) throws Exception { in runDeviceTestsWithArgs() argument 122 0L, true, false, testArgs); in runDeviceTestsWithArgs()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 908 ArrayList<SeekTestParams> testArgs = new ArrayList<>(); 927 testArgs.add(new SeekTestParams(currInfo, pts, mode)); 956 testArgs.add( 958 testArgs.add( 960 testArgs.add( 967 testArgs.add(new SeekTestParams(currInfo, ptsMinus, 969 testArgs.add(new SeekTestParams(currInfo, ptsMinus, 971 testArgs.add(new SeekTestParams(prevInfo, ptsMinus, 978 testArgs.add(new SeekTestParams(currInfo, ptsPlus, 980 testArgs.add(new SeekTestParams(nextInfo, ptsPlus, [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1202 final Bundle testArgs = InstrumentationRegistry.getArguments(); in testExposedActivity() local 1203 assertThat(testArgs, is(notNullValue())); in testExposedActivity() 1204 final String action = testArgs.getString("action"); in testExposedActivity() 1205 final String category = testArgs.getString("category"); in testExposedActivity() 1206 final String mimeType = testArgs.getString("mime_type"); in testExposedActivity()
|