Home
last modified time | relevance | path

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

123

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java1456 @NonNull Bundle arguments) {
1459 }, arguments);
1468 @NonNull Supplier<T> supplier, @NonNull Bundle arguments) {
1476 0, enterState, null, arguments,
1491 exitWallTime, enterState, exitState, arguments, result));
1504 final Bundle arguments = new Bundle();
1505 arguments.putString("name", name);
1506 recordEventInternal("onVerify", supplier::getAsBoolean, arguments);
1511 final Bundle arguments = new Bundle();
1512 arguments.putParcelable("newSubtype", newSubtype);
[all …]
DImeEvent.java105 @NonNull Bundle arguments, @Nullable Object returnValue) { in ImeEvent() argument
107 exitTimestamp, enterWallTime, exitWallTime, enterState, exitState, arguments, in ImeEvent()
114 @Nullable ImeState exitState, @NonNull Bundle arguments, @Nullable Object returnValue, in ImeEvent() argument
127 mArguments = arguments; in ImeEvent()
199 final Bundle arguments = bundle.getBundle("mArguments"); in fromBundle() local
237 enterState, exitState, arguments, result, returnType); in fromBundle()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java67 String arguments; field in AdbUtils.pocConfig
135 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc() argument
138 runPoc(pocName, device, timeout, arguments, receiver); in runPoc()
167 String pocName, ITestDevice device, int timeout, String arguments) throws Exception { in runPocNoOutput() argument
168 runPoc(pocName, device, timeout, arguments, null); in runPocNoOutput()
186 String arguments, in runPoc() argument
189 return runPoc(pocName, device, timeout, arguments, null, receiver); in runPoc()
208 String arguments, in runPoc() argument
219 if (arguments == null) { in runPoc()
220 arguments = ""; in runPoc()
[all …]
DCVE_2019_2180.java39 String arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2019_2180() local
42 AdbUtils.runPocAssertExitStatusNotVulnerable(binaryName, arguments, null, getDevice(), in testPocCVE_2019_2180()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java376 @NonNull Bundle arguments) { in recordEventInternal() argument
379 }, arguments); in recordEventInternal()
388 @NonNull Supplier<T> supplier, @NonNull Bundle arguments) { in recordEventInternal() argument
392 MockA11yImeBundleUtils.dumpBundle(sb, arguments); in recordEventInternal()
401 0, true /* isEnter */, arguments, in recordEventInternal()
415 exitWallTime, false /* isEnter */, arguments, result)); in recordEventInternal()
421 final Bundle arguments = new Bundle(); in onHandleCommand() local
422 arguments.putBundle("command", command.toBundle()); in onHandleCommand()
423 recordEventInternal("onHandleCommand", resultSupplier, arguments); in onHandleCommand()
436 final Bundle arguments = new Bundle(); in onAccessibilityEvent() local
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java124 final Bundle arguments = new Bundle(); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription() local
125 arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
134 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
164 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
194 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
220 arguments)); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
228 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
258 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
288 arguments); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
314 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/tests/tests/uirendering/src/android/uirendering/cts/runner/
DUiRenderingRunner.java52 public void onCreate(Bundle arguments) { in onCreate() argument
54 String listeners = arguments.getString("listener"); in onCreate()
60 arguments.putString("listener", listeners); in onCreate()
62 super.onCreate(arguments); in onCreate()
/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/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/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/text/src/android/text/cts/runner/
DCtsTextRunner.java38 public void onCreate(Bundle arguments) { in onCreate() argument
39 super.onCreate(arguments); in onCreate()
/cts/tests/app/src/android/app/cts/
DBaseChainedInstrumentation.java45 public void onCreate(Bundle arguments) { in onCreate() argument
46 super.onCreate(arguments); in onCreate()
71 final Messenger messenger = arguments.getParcelable(EXTRA_MESSENGER, Messenger.class); in onCreate()
DBaseProcessInstrumentation.java39 public void onCreate(Bundle arguments) { in onCreate() argument
40 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/service/src/android/voiceinteraction/service/
DDirectActionsSession.java194 final Bundle arguments = args.getBundle(Utils.VOICE_INTERACTION_KEY_ARGUMENTS); in performDirectAction() local
198 performDirectAction(action, arguments, null, AsyncTask.THREAD_POOL_EXECUTOR, (b) -> { in performDirectAction()
211 final Bundle arguments = args.getBundle(Utils.VOICE_INTERACTION_KEY_ARGUMENTS); in performDirectActionAndCancel() local
220 arguments.putParcelable(Utils.DIRECT_ACTIONS_KEY_CANCEL_CALLBACK, cancelCallback); in performDirectActionAndCancel()
226 performDirectAction(action, arguments, cancellationSignal, in performDirectActionAndCancel()
264 final Bundle arguments = args.getBundle(Utils.VOICE_INTERACTION_KEY_ARGUMENTS); in registerVisibleActivityCallbackInternal() local
265 final int callbackParameter = arguments.getInt( in registerVisibleActivityCallbackInternal()
/cts/tests/tests/widget/src/android/widget/cts/runner/
DWidgetRunner.java45 public void onCreate(Bundle arguments) { in onCreate() argument
46 super.onCreate(arguments); in onCreate()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeEvent.java103 long enterWallTime, long exitWallTime, boolean isEnter, @NonNull Bundle arguments, in MockA11yImeEvent() argument
106 exitTimestamp, enterWallTime, exitWallTime, isEnter, arguments, in MockA11yImeEvent()
112 long enterWallTime, long exitWallTime, boolean isEnter, @NonNull Bundle arguments, in MockA11yImeEvent() argument
125 mArguments = arguments; in MockA11yImeEvent()
189 final Bundle arguments = bundle.getBundle("mArguments"); in fromBundle() local
224 isEnter, arguments, result, returnType); in fromBundle()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/instrumentation/
DInstrumentation.java28 public Arguments arguments() { in arguments() method in Instrumentation
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java118 public void onPerformDirectAction(String actionId, Bundle arguments, in onPerformDirectAction() argument
120 Log.v(TAG, "onPerformDirectAction(): " + Utils.toBundleString(arguments)); in onPerformDirectAction()
121 if (arguments == null || !arguments.getString(Utils.VOICE_INTERACTION_KEY_ARGUMENTS) in onPerformDirectAction()
126 final RemoteCallback cancelCallback = arguments.getParcelable( in onPerformDirectAction()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java187 Bundle arguments = InstrumentationRegistry.getArguments(); in getSupplierOfAnOptionalCommaSeparatedListArgument()
188 return getCommaSeparatedListOptional(arguments, key); in getSupplierOfAnOptionalCommaSeparatedListArgument()
218 Bundle arguments = InstrumentationRegistry.getArguments(); in getSupplierOfAMandatoryCommaSeparatedListArgument()
219 return getCommaSeparatedListRequired(arguments, key); in getSupplierOfAMandatoryCommaSeparatedListArgument()
/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/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/
DVoiceInteractionSessionControl.java77 @Nullable Bundle arguments, @Nullable ThrowingRunnable postActionCommand) in executeCommand() argument
91 command.putBundle(Utils.VOICE_INTERACTION_KEY_ARGUMENTS, arguments); in executeCommand()
/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/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java84 .arguments()
124 && TestApis.instrumentation().arguments().getBoolean("ENABLE_AUTOMATION", true)) { in execute()
145 if (TestApis.instrumentation().arguments().getBoolean("ENABLE_MANUAL", false)) { in execute()
190 if (TestApis.instrumentation().arguments().getBoolean("ENABLE_MANUAL", false)) { in execute()
424 && TestApis.instrumentation().arguments().getBoolean("TAKE_SCREENSHOT", false)) { in close()

123