/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApplicationVisibilityTest.java | 129 final Map<String, String> testArgs = new HashMap<>(); in testPackageListOtherUserCrossUserGrant() local 130 testArgs.put("installUser", Integer.toString(installUserId)); in testPackageListOtherUserCrossUserGrant() 141 testArgs); in testPackageListOtherUserCrossUserGrant() local 153 final Map<String, String> testArgs = new HashMap<>(); in testPackageListOtherUserCrossUserNoGrant() local 154 testArgs.put("installUser", Integer.toString(installUserId)); in testPackageListOtherUserCrossUserNoGrant() 165 testArgs); in testPackageListOtherUserCrossUserNoGrant() local 231 final Map<String, String> testArgs = new HashMap<>(); in testApplicationListOtherUserCrossUserGrant() local 232 testArgs.put("installUser", Integer.toString(installUserId)); in testApplicationListOtherUserCrossUserGrant() 243 testArgs); in testApplicationListOtherUserCrossUserGrant() local 255 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 | BaseAppSecurityTest.java | 70 final HashMap<String, String> testArgs; in runDeviceTests() local 72 testArgs = new HashMap<>(); in runDeviceTests() 73 testArgs.put("is_instant", Boolean.TRUE.toString()); in runDeviceTests() 75 testArgs = null; in runDeviceTests() 78 testArgs); in runDeviceTests() local
|
D | OverlayHostTest.java | 170 HashMap<String, String> testArgs) throws Exception { 172 testArgs); 334 final HashMap<String, String> testArgs = new HashMap<>(); 335 testArgs.put(PARAM_START_SERVICE, Boolean.FALSE.toString()); 341 "overlayEnabled_activityInForeground", testArgs); 350 final HashMap<String, String> testArgs = new HashMap<>(); 351 testArgs.put(PARAM_START_SERVICE, Boolean.FALSE.toString()); 357 "overlayEnabled_activityInBackground_toForeground", testArgs); 366 final HashMap<String, String> testArgs = new HashMap<>(); 367 testArgs.put(PARAM_START_SERVICE, Boolean.TRUE.toString()); [all …]
|
D | Utils.java | 80 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTestsAsCurrentUser() argument 83 testArgs); in runDeviceTestsAsCurrentUser() 92 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 94 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 103 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument 106 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests() 111 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 132 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 133 for (String name : testArgs.keySet()) { in runDeviceTests() 134 final String value = testArgs.get(name); in runDeviceTests()
|
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/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderSurfaceTest.java | 187 Object[] testArgs = new Object[8]; in input() local 188 testArgs[0] = arg[0]; // encoder mediaType in input() 189 testArgs[1] = arg[1]; // test file mediaType in input() 190 testArgs[2] = arg[2]; // test file in input() 191 testArgs[3] = getVideoEncoderCfgParams(mediaType, br, fps, 8, maxBFrame); in input() 192 testArgs[4] = colorFormat; // color format in input() 193 testArgs[5] = arg[5]; // tone map in input() 194 testArgs[6] = usePersistentSurface; in input() 195 testArgs[7] = String.format("%dkbps_%dfps_%s_%s", br / 1000, fps, in input() 198 exhaustiveArgsList.add(testArgs); in input() [all …]
|
D | EncoderLevelTest.java | 127 Object[] testArgs = new Object[3]; in input() local 128 testArgs[0] = arg[0]; in input() 129 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input() 132 testArgs[2] = String.format("%dkbps_%dx%d_%dfps_%s_%d-level", br / 1000, width, in input() 135 argsList.add(testArgs); in input() 140 Object[] testArgs = new Object[3]; in input() local 141 testArgs[0] = arg[0]; in input() 142 testArgs[1] = getVideoEncoderCfgParams(mediaType, br, width, height, fps, in input() 145 testArgs[2] = String.format("%dkbps_%dx%d_%dfps_%s_%d-level", br / 1000, width, in input() 147 argsList.add(testArgs); in input()
|
D | DecoderPushBlankBufferOnStopTest.java | 88 Object[] testArgs = new Object[arg.length + 2]; in input() local 89 testArgs[0] = arg[0]; // mediaType in input() 90 testArgs[1] = arg[1]; // test file in input() 91 testArgs[2] = pushBlankOnStop; in input() 92 testArgs[3] = String.format("%s", pushBlankOnStop ? "pushBlank" : "pushNone"); in input() 93 exhaustiveArgsList.add(testArgs); in input()
|
D | VideoEncoderTest.java | 102 Object[] testArgs = new Object[4]; in prepareTestArgs() local 109 testArgs[0] = arg[0]; in prepareTestArgs() 110 testArgs[1] = getVideoEncoderCfgParams(mediaType, bitRate, width, height, frameRate, in prepareTestArgs() 112 testArgs[2] = arg[6]; in prepareTestArgs() 113 testArgs[3] = String.format("%dkbps_%dx%d_%s_%d-bframes", bitRate / 1000, width, in prepareTestArgs() 115 argsList.add(testArgs); in prepareTestArgs()
|
D | AudioEncoderTest.java | 95 Object[] testArgs = new Object[3]; in flattenParams() local 96 testArgs[0] = param[0]; in flattenParams() 97 testArgs[1] = getAudioEncoderCfgParams(mediaType, qualityPreset, sampleRate, in flattenParams() 99 testArgs[2] = String.format("%d%s_%dkHz_%dch_%s", in flattenParams() 105 argsList.add(testArgs); in flattenParams()
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 42 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 44 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 53 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument 56 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests() 61 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 77 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 78 for (String name : testArgs.keySet()) { in runDeviceTests() 79 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/hostsidetests/packagemanager/packagesetting/src/com/android/tests/packagesetting/host/ |
D | PackageSettingTest.java | 72 final Map<String, String> testArgs = new HashMap<>(); in testCodePathMatchesDumpsys() local 73 testArgs.put("expectedCodePath", codePathToMatch); in testCodePathMatchesDumpsys() 75 null, DEFAULT_TIMEOUT, DEFAULT_TIMEOUT, 0L, true, false, testArgs); in testCodePathMatchesDumpsys() local 101 final Map<String, String> testArgs = new HashMap<>(); in testFirstInstallTimeMatchesDumpsys() local 106 testArgs.put("expectedFirstInstallTime", String.valueOf(firstInstallTs)); in testFirstInstallTimeMatchesDumpsys() 109 0L, true, false, testArgs); in testFirstInstallTimeMatchesDumpsys() local
|
/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/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | IncrementalAppErrorStatsTestsHelper.java | 50 final Bundle testArgs = InstrumentationRegistry.getArguments(); in getPageIndexToBlock() local 51 final String apkPath = testArgs.getString(HELPER_ARG_APK_PATH); in getPageIndexToBlock() 68 final Bundle testArgs = InstrumentationRegistry.getArguments(); in loadingApks() local 69 final String packageName = testArgs.getString(HELPER_ARG_PKG_NAME); in loadingApks()
|
D | PackageInstallationSessionReportedStatsTestsHelper.java | 42 final Bundle testArgs = InstrumentationRegistry.getArguments(); in getUserTypeIntegers() local 43 final String userIdsString = testArgs.getString(USER_IDS_ARG); in getUserTypeIntegers()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | BaseContextCrossProfileTest.java | 140 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 156 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 157 for (String name : testArgs.keySet()) { in runDeviceTests() 158 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | Utils.java | 55 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument 69 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 70 for (String name : testArgs.keySet()) { in runDeviceTests() 71 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerMultiTest.java | 92 final Object[] testArgs = new Object[4]; in getArgs() local 94 testArgs[0] = codecName; in getArgs() 96 testArgs[1] = mimeType; in getArgs() 98 testArgs[2] = width; in getArgs() 99 testArgs[3] = height; in getArgs() 101 return testArgs; in getArgs()
|
/cts/hostsidetests/accounts/src/android/host/accounts/ |
D | AccountManagerXUserTest.java | 209 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument 225 if (testArgs != null && testArgs.size() > 0) { in runDeviceTests() 226 for (String name : testArgs.keySet()) { in runDeviceTests() 227 final String value = testArgs.get(name); in runDeviceTests()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | VideoEncodingStatisticsTest.java | 91 Object[] testArgs = new Object[argLength + 1]; in prepareParamList() local 92 testArgs[0] = encoder; in prepareParamList() 93 System.arraycopy(arg, 0, testArgs, 1, argLength); in prepareParamList() 94 argsList.add(testArgs); in prepareParamList()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Bug_261036568.java | 79 String testMethodName, Map<String, String> testArgs) in runDeviceTestsWithArgs() argument 95 testArgs); in runDeviceTestsWithArgs()
|
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/ |
D | CtsExtractNativeLibsHostTestBase.java | 138 String testMethodName, Map<String, String> testArgs) throws Exception { in runDeviceTestsWithArgs() argument 144 0L, true, false, testArgs); in runDeviceTestsWithArgs() 167 final Map<String, String> testArgs = new HashMap<>(); in checkExtractedNativeLibDirForAbi() local 168 testArgs.put(expectedSubDirArg, expectedNativeLibSubDir); in checkExtractedNativeLibDirForAbi() 170 testArgs); in checkExtractedNativeLibDirForAbi()
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 308 std::vector<SeekTestParams*> testArgs; in generateSeekTestArgs() local 309 if (mediaType == nullptr) return testArgs; in generateSeekTestArgs() 316 return testArgs; in generateSeekTestArgs() 322 return testArgs; in generateSeekTestArgs() 344 testArgs.push_back((new SeekTestParams(currInfo, pts, (SeekMode)mode))); in generateSeekTestArgs() 355 if (bookmarks.empty()) return testArgs; in generateSeekTestArgs() 376 testArgs.push_back( in generateSeekTestArgs() 378 testArgs.push_back((new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs() 379 testArgs.push_back( in generateSeekTestArgs() 385 testArgs.push_back(( in generateSeekTestArgs() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/ |
D | OverlayTargetTest.java | 116 private void launchOverlayTargetActivity(Bundle testArgs) { in launchOverlayTargetActivity() argument 119 final boolean startService = (testArgs != null in launchOverlayTargetActivity() 120 && "true".equalsIgnoreCase(testArgs.getString(PARAM_START_SERVICE))); in launchOverlayTargetActivity()
|