Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestRunner.java87 public void onCreate(Bundle arguments) { in onCreate() argument
88 String val = arguments.getString("enable_iterations"); in onCreate()
97 val = arguments.getString("discoverable_iterations"); in onCreate()
106 val = arguments.getString("scan_iterations"); in onCreate()
115 val = arguments.getString("enable_pan_iterations"); in onCreate()
124 val = arguments.getString("pair_iterations"); in onCreate()
133 val = arguments.getString("connect_a2dp_iterations"); in onCreate()
142 val = arguments.getString("connect_headset_iterations"); in onCreate()
151 val = arguments.getString("connect_input_iterations"); in onCreate()
160 val = arguments.getString("connect_pan_iterations"); in onCreate()
[all …]
DBluetoothInstrumentation.java51 public void onCreate(Bundle arguments) { in onCreate() argument
52 super.onCreate(arguments); in onCreate()
53 mArgs = arguments; in onCreate()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageInstrumentation.java26 private Bundle arguments; field in MemoryUsageInstrumentation
29 public void onCreate(Bundle arguments) { in onCreate() argument
30 this.arguments = arguments; in onCreate()
31 super.onCreate(arguments); in onCreate()
35 return arguments; in getBundle()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResultInstrumentation.java34 public void onCreate(Bundle arguments) { in onCreate() argument
35 if (arguments == null) { in onCreate()
36 arguments = new Bundle(); in onCreate()
39 Boolean.parseBoolean(arguments.getString("realDeviceTest", "false")); in onCreate()
41 arguments.putString("notAnnotation", "com.android.mtp.RealDeviceTest"); in onCreate()
43 super.onCreate(arguments); in onCreate()
/frameworks/compile/slang/tests/F_kernel_badattr/
Dstderr.txt.expect1 kernel_badattr.rscript:4:20: error: 'kernel' attribute takes no arguments
2 kernel_badattr.rscript:8:20: error: 'kernel' attribute takes no arguments
3 kernel_badattr.rscript:12:20: error: 'kernel' attribute takes no arguments
4 kernel_badattr.rscript:16:20: error: 'kernel' attribute takes no arguments
/frameworks/native/cmds/cmd/
Dmain.cpp24 std::vector<std::string_view> arguments; in main() local
25 arguments.reserve(argc - 1); in main()
28 arguments.emplace_back(argv[i]); in main()
31 return cmdMain(arguments, android::aout, android::aerr, STDIN_FILENO, STDOUT_FILENO, in main()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java313 public void onCreate(Bundle arguments) { in onCreate() argument
314 super.onCreate(arguments); in onCreate()
315 mArguments = arguments; in onCreate()
328 if (arguments != null) { in onCreate()
330 testClassesArg = arguments.getString(ARGUMENT_TEST_CLASS); in onCreate()
331 mDebug = getBooleanArgument(arguments, "debug"); in onCreate()
332 mJustCount = getBooleanArgument(arguments, "count"); in onCreate()
333 mSuiteAssignmentMode = getBooleanArgument(arguments, "suiteAssignment"); in onCreate()
334 mPackageOfTests = arguments.getString(ARGUMENT_TEST_PACKAGE); in onCreate()
336 arguments.getString(ARGUMENT_TEST_SIZE_PREDICATE)); in onCreate()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java504 private boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
507 return performActionForHost(action, arguments); in performAction()
509 return performActionForChild(virtualViewId, action, arguments); in performAction()
513 private boolean performActionForHost(int action, Bundle arguments) { in performActionForHost() argument
514 return mView.performAccessibilityAction(action, arguments); in performActionForHost()
517 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { in performActionForChild() argument
523 return onPerformActionForVirtualView(virtualViewId, action, arguments); in performActionForChild()
810 int virtualViewId, int action, Bundle arguments); in onPerformActionForVirtualView() argument
823 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
824 return ExploreByTouchHelper.this.performAction(virtualViewId, action, arguments); in performAction()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintErrorFragment.java47 Bundle arguments = new Bundle(); in newInstance() local
48 arguments.putCharSequence(EXTRA_MESSAGE, message); in newInstance()
49 arguments.putInt(EXTRA_ACTION, action); in newInstance()
51 fragment.setArguments(arguments); in newInstance()
/frameworks/base/tools/aapt2/tools/consumers/
Dpositional_arguments.py27 if len(locator.arguments) > 0:
30 for arg in locator.arguments:
50 self.arguments = []
73 self.arguments += self._current_arguments
/frameworks/libs/net/common/devicetests/com/android/testutils/
DFakeDns.kt78 val hostname = it.arguments[posHos] as String in mockAnswer()
79 val executor = it.arguments[posExecutor] as Executor in mockAnswer()
80 val callback = it.arguments[posCallback] as DnsResolver.Callback<List<InetAddress>> in mockAnswer()
81 var type = if (posType != -1) it.arguments[posType] as Int else TYPE_UNSPECIFIED in mockAnswer()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java55 Bundle arguments = runner.getArguments(); in testWifiAssociation() local
57 String ssid = arguments.getString("ssid"); in testWifiAssociation()
60 String securityTypeStr = arguments.getString("security-type"); in testWifiAssociation()
64 String password = arguments.getString("password"); in testWifiAssociation()
/frameworks/multidex/instrumentation/src/com/android/test/runner/
DMultiDexTestRunner.java34 public void onCreate(Bundle arguments) { in onCreate() argument
36 super.onCreate(arguments); in onCreate()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/src/com/android/multidexlegacytestapp/test2/
DMultiDexAndroidJUnitRunner.java11 public void onCreate(Bundle arguments) { in onCreate() argument
13 super.onCreate(arguments); in onCreate()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/
DMultiDexAndroidJUnitRunner.java27 public void onCreate(Bundle arguments) { in onCreate() argument
29 super.onCreate(arguments); in onCreate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCustomTestRunner.java26 public void onCreate(Bundle arguments) { in onCreate() argument
30 super.onCreate(arguments); in onCreate()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java166 private void doTrace(Object[] arguments) { in doTrace() argument
176 log(String.format("%s (%s)", caller, join(", ", arguments))); in doTrace()
209 public static void trace(Object... arguments) { in trace() argument
210 Tracer.getInstance().doTrace(arguments); in trace()
/frameworks/base/core/java/android/app/
DFragmentContainer.java52 public Fragment instantiate(Context context, String className, Bundle arguments) { in instantiate() argument
53 return Fragment.instantiate(context, className, arguments); in instantiate()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeProvider.java220 int virtualViewId, AccessibilityNodeInfo info, String extraDataKey, Bundle arguments) { in addExtraDataToAccessibilityNodeInfo() argument
237 public boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
DIAccessibilityInteractionConnection.aidl37 in Bundle arguments); in findAccessibilityNodeInfoByAccessibilityId() argument
55 void performAccessibilityAction(long accessibilityNodeId, int action, in Bundle arguments, in performAccessibilityAction() argument
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp444 vector<const char*> arguments; in compile() local
450 optLevel, &arguments); in compile()
452 std::unique_ptr<const char> cmdLine(rsuJoinStrings(arguments.size() - 1, in compile()
453 arguments.data())); in compile()
509 arguments.pop_back(); in compile()
510 arguments.push_back(cloneName.c_str()); in compile()
521 arguments.push_back("-build-checksum"); in compile()
522 arguments.push_back(checksumStr.c_str()); in compile()
523 arguments.push_back(nullptr); in compile()
526 arguments.size()-1, in compile()
[all …]
/frameworks/base/core/java/android/text/style/
DAccessibilityClickableSpan.java133 Bundle arguments = new Bundle(); in onClick() local
134 arguments.putParcelable(ACTION_ARGUMENT_ACCESSIBLE_CLICKABLE_SPAN, this); in onClick()
144 R.id.accessibilityActionClickOnClickableSpan, arguments); in onClick()
/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java196 protected Fragment instantiate(Context context, String className, @Nullable Bundle arguments) { in instantiate() argument
197 return Fragment.instantiate(context, className, arguments); in instantiate()
219 public Fragment instantiate(Context context, String className, Bundle arguments) { in instantiate() argument
220 return BaseFragmentTest.this.instantiate(context, className, arguments); in instantiate()
/frameworks/compile/slang/tests/P_reflection3264_divergent/
Dreflection3264_divergent.rscript74 // for arguments, should get a helper struct that looks like struct NonDivergent
77 // for arguments, should get a helper struct that looks like struct Divergent
80 // for arguments, should get a helper struct that looks like struct DivergentNest
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
Dreflection3264_divergent.rscript76 // for arguments, should get a helper struct that looks like struct NonDivergent
79 // for arguments, should get a helper struct that looks like struct Divergent
82 // for arguments, should get a helper struct that looks like struct DivergentNest

123456