Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 41) sorted by relevance

12

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java1022 @NonNull Bundle arguments) {
1025 }, arguments);
1034 @NonNull Supplier<T> supplier, @NonNull Bundle arguments) {
1042 0, enterState, null, arguments,
1057 exitWallTime, enterState, exitState, arguments, result));
1066 final Bundle arguments = new Bundle();
1067 arguments.putString("name", name);
1068 recordEventInternal("onVerify", supplier::getAsBoolean, arguments);
1073 final Bundle arguments = new Bundle();
1074 arguments.putBoolean("isFullscreen", isFullscreen);
[all …]
DImeEvent.java90 @NonNull Bundle arguments, @Nullable Object returnValue) { in ImeEvent() argument
92 exitTimestamp, enterWallTime, exitWallTime, enterState, exitState, arguments, in ImeEvent()
99 @Nullable ImeState exitState, @NonNull Bundle arguments, @Nullable Object returnValue, in ImeEvent() argument
112 mArguments = arguments; in ImeEvent()
175 final Bundle arguments = bundle.getBundle("mArguments"); in fromBundle() local
207 enterState, exitState, arguments, result, returnType); in fromBundle()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java65 String arguments; field in AdbUtils.pocConfig
125 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc() argument
128 runPoc(pocName, device, timeout, arguments, receiver); in runPoc()
154 String arguments) throws Exception { in runPocNoOutput() argument
155 runPoc(pocName, device, timeout, arguments, null); in runPocNoOutput()
169 String arguments, IShellOutputReceiver receiver) throws Exception { in runPoc() argument
170 return runPoc(pocName, device, timeout, arguments, null, receiver); in runPoc()
185 String arguments, Map<String, String> envVars, in runPoc() argument
194 if (arguments == null) { in runPoc()
195 arguments = ""; in runPoc()
[all …]
DTestMedia.java313 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2018_9466_CVE_2017_9049()
331 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2018_9466_CVE_2017_9050()
350 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2015_3873()
495 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2020_0451()
582 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2019_9308()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java119 final Bundle arguments = new Bundle(); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local
120 arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
129 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
159 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
189 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
215 arguments)); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
223 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
253 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
283 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
309 AccessibilityNodeInfo.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY, arguments)); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
[all …]
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DBaseNumberBlockingClientTest.java41 Bundle arguments = InstrumentationRegistry.getArguments(); in setUp() local
42 mBlockedPhoneNumber = arguments.getString("blocked_number"); in setUp()
44 mPhoneAccountId = arguments.getString("phone_account_id"); in setUp()
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/
DPermissionWhitelistTest.kt36 private val arguments: Bundle = InstrumentationRegistry.getArguments() constant in com.android.cts.packageinstallerpermissionwhitelistapp.PermissionWhitelistTest
37 private val shouldThrowException = arguments.getString(SHOULD_THROW_EXCEPTION_KEY)
39 private val permission = arguments.getString(PERMISSION_KEY)!!
84 val shouldSucceed = arguments.getString( in removeWhitelistRestrictedPermission()
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/
DPermissionRequestTest.kt39 private val arguments: Bundle = InstrumentationRegistry.getArguments() constant in com.android.cts.packageinstallerpermissionrequestapp.PermissionRequestTest
40 private val permission = arguments.getString(PackageSetInstallerConstants.PERMISSION_KEY)!!
58 val shouldThrowException = arguments.getString(SHOULD_THROW_EXCEPTION_KEY)!!.toBoolean() in setSelfAsInstallerAndWhitelistPermission()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/runner/
DUiRenderingRunner.java36 public void onCreate(Bundle arguments) { in onCreate() argument
37 super.onCreate(arguments); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DPhaseStartFragment.java44 Bundle arguments = new Bundle(); in newInstance() local
45 arguments.putSerializable(ARG_PHASE, phase); in newInstance()
46 fragment.setArguments(arguments); in newInstance()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java105 public void onPerformDirectAction(String actionId, Bundle arguments, in onPerformDirectAction() argument
107 Log.v(TAG, "onPerformDirectAction(): " + Utils.toBundleString(arguments)); in onPerformDirectAction()
108 if (arguments == null || !arguments.getString(Utils.DIRECT_ACTIONS_KEY_ARGUMENTS) in onPerformDirectAction()
113 final RemoteCallback cancelCallback = arguments.getParcelable( in onPerformDirectAction()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java162 final Bundle arguments = args.getBundle(Utils.DIRECT_ACTIONS_KEY_ARGUMENTS); in performDirectAction() local
166 performDirectAction(action, arguments, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in performDirectAction()
178 final Bundle arguments = args.getBundle(Utils.DIRECT_ACTIONS_KEY_ARGUMENTS); in performDirectActionAndCancel() local
187 arguments.putParcelable(Utils.DIRECT_ACTIONS_KEY_CANCEL_CALLBACK, cancelCallback); in performDirectActionAndCancel()
193 performDirectAction(action, arguments, cancellationSignal, in performDirectActionAndCancel()
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/
DUiRenderingRunner.java49 public void onCreate(Bundle arguments) { in onCreate() argument
50 super.onCreate(arguments); in onCreate()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DGeneralDelegateTest.java38 Bundle arguments = InstrumentationRegistry.getArguments(); in testGetsExpectedDelegationScopes() local
39 String[] expectedScopes = arguments.getString(PARAM_SCOPES).split(","); in testGetsExpectedDelegationScopes()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java182 @NonNull Bundle arguments) throws Exception { in performDirectAction() argument
184 directAction, arguments, null /*postActionCommand*/); in performDirectAction()
188 @NonNull Bundle arguments) throws Exception { in performDirectActionAndCancel() argument
190 directAction, arguments, null /*postActionCommand*/); in performDirectActionAndCancel()
203 @Nullable Bundle arguments, @Nullable ThrowingRunnable postActionCommand) in executeCommand() argument
217 command.putBundle(Utils.DIRECT_ACTIONS_KEY_ARGUMENTS, arguments); in executeCommand()
/cts/tests/app/src/android/app/cts/
DBaseProcessInstrumentation.java39 public void onCreate(Bundle arguments) { in onCreate() argument
40 super.onCreate(arguments); in onCreate()
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsNonTargetUserTest.java55 Bundle arguments = InstrumentationRegistry.getArguments(); in readTargetUser() local
57 final int userSn = Integer.parseInt(arguments.getString(PARAM_TARGET_USER)); in readTargetUser()
DCrossProfileAppsTargetUserTest.java79 Bundle arguments = InstrumentationRegistry.getArguments(); in readTargetUser() local
81 mUserSerialNumber = Long.parseLong(arguments.getString(PARAM_TARGET_USER)); in readTargetUser()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java114 Bundle arguments = getArguments(); in onCreateDialog() local
117 if (arguments.containsKey(KEY_VIDEO_URI)) { in onCreateDialog()
133 } else if (arguments.containsKey(KEY_IMAGE_FILE)) { in onCreateDialog()
177 } else if (arguments.containsKey(KEY_AUDIO_URI)) { in onCreateDialog()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupEligibilityHostSideTest.java206 private void runAdbCommand(String... arguments) throws Exception { in runAdbCommand() argument
220 device.executeAdbCommand(arguments); in runAdbCommand()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java300 final Bundle arguments = InstrumentationRegistry.getArguments(); in testOtherUserDirsNotPresent() local
301 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotPresent()
314 final Bundle arguments = InstrumentationRegistry.getArguments(); in testOtherUserDirsNotAccessible() local
315 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotAccessible()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityTests.java301 Map<String, String> arguments = new HashMap<>(); in runCrossPackageInstallerDeviceTest() local
302 arguments.put("runExplicit", "true"); in runCrossPackageInstallerDeviceTest()
304 testMethodName, null, 10 * 60 * 1000L, 10 * 60 * 1000L, 0L, true, false, arguments); in runCrossPackageInstallerDeviceTest() local
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DQuietModeTest.java91 Bundle arguments = InstrumentationRegistry.getArguments(); in readParams() local
93 final int userSn = Integer.parseInt(arguments.getString(PARAM_TARGET_USER)); in readParams()
95 mOriginalLauncher = arguments.getString(PARAM_ORIGINAL_DEFAULT_LAUNCHER); in readParams()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java420 final Bundle arguments = expectEvent(stream,
423 expectOnUpdateSelectionArguments(arguments, 0, 0, 1, 1, -1, -1);
845 private static void expectOnUpdateSelectionArguments(Bundle arguments,
848 assertEquals(expectedOldSelStart, arguments.getInt("oldSelStart"));
849 assertEquals(expectedOldSelEnd, arguments.getInt("oldSelEnd"));
850 assertEquals(expectedNewSelStart, arguments.getInt("newSelStart"));
851 assertEquals(expectedNewSelEnd, arguments.getInt("newSelEnd"));
852 assertEquals(expectedCandidateStart, arguments.getInt("candidatesStart"));
853 assertEquals(expectedCandidateEnd, arguments.getInt("candidatesEnd"));
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dkernel_input.rscript26 * This checks that modifications to input arguments done by a kernel
28 * this, we create kernels that modify their input arguments (the
31 * When the kernels modify their input arguments, these modifications

12