Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java199 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
200 if (ARGUMENT_URI.equals(argument)) { in parseInsertCommand()
201 uri = Uri.parse(argumentValueRequired(argument)); in parseInsertCommand()
202 } else if (ARGUMENT_USER.equals(argument)) { in parseInsertCommand()
203 userId = Integer.parseInt(argumentValueRequired(argument)); in parseInsertCommand()
204 } else if (ARGUMENT_BIND.equals(argument)) { in parseInsertCommand()
207 throw new IllegalArgumentException("Unsupported argument: " + argument); in parseInsertCommand()
225 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
226 if (ARGUMENT_URI.equals(argument)) { in parseDeleteCommand()
227 uri = Uri.parse(argumentValueRequired(argument)); in parseDeleteCommand()
[all …]
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java89 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseSetGrantBindAppWidgetPermissionCommand()
90 if (ARGUMENT_PACKAGE.equals(argument)) { in parseSetGrantBindAppWidgetPermissionCommand()
91 packageName = argumentValueRequired(argument); in parseSetGrantBindAppWidgetPermissionCommand()
92 } else if (ARGUMENT_USER.equals(argument)) { in parseSetGrantBindAppWidgetPermissionCommand()
93 String user = argumentValueRequired(argument); in parseSetGrantBindAppWidgetPermissionCommand()
100 throw new IllegalArgumentException("Unsupported argument: " + argument); in parseSetGrantBindAppWidgetPermissionCommand()
110 private String argumentValueRequired(String argument) { in argumentValueRequired() argument
113 throw new IllegalArgumentException("No value for argument: " + argument); in argumentValueRequired()
/frameworks/compile/slang/tests/F_foreach_unexpected_kernel_arg/
Dstderr.txt.expect1 …ipt:11:13: error: Invalid kernel launch call. Expects a function designator for the first argument.
2 …ipt:12:13: error: Invalid kernel launch call. Expects a function designator for the first argument.
3 …ipt:13:24: error: Invalid kernel launch call. Expects a function designator for the first argument.
4 …ipt:14:24: error: Invalid kernel launch call. Expects a function designator for the first argument.
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java88 public boolean matches(LogMaker argument) { in testMetrics()
89 return checkField("category", argument.getCategory(), ACTION_NAV_BUTTON_EVENT) in testMetrics()
90 && checkField("type", argument.getType(), MetricsEvent.TYPE_ACTION) in testMetrics()
91 && checkField("subtype", argument.getSubtype(), code) in testMetrics()
92 && checkField("FIELD_FLAGS", argument.getTaggedData(FIELD_FLAGS), flags) in testMetrics()
93 && checkField("FIELD_NAV_ACTION", argument.getTaggedData(FIELD_NAV_ACTION), in testMetrics()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field.rscript50 // Fragment of incoming argument list: Fields for struct InnerOne.
55 // Fragment of incoming argument list: Fields for struct InnerOne
61 // Fragment of incoming argument list: Fields for element of array of
68 // Fragment of incoming argument list: Fields for element of array of
92 // Compare contents of a struct InnerOne instance against incoming argument values.
105 // variable "outer" against incoming argument values.
111 // instance within global variable "outer" against incoming argument values.
117 // instance within global variable "outer" against incoming argument values.
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field.rscript52 // Fragment of incoming argument list: Fields for struct InnerOne.
57 // Fragment of incoming argument list: Fields for struct InnerOne
63 // Fragment of incoming argument list: Fields for element of array of
70 // Fragment of incoming argument list: Fields for element of array of
94 // Compare contents of a struct InnerOne instance against incoming argument values.
107 // variable "outer" against incoming argument values.
113 // instance within global variable "outer" against incoming argument values.
119 // instance within global variable "outer" against incoming argument values.
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java668 protected Dialog createDialog(@NonNull CharSequence argument) { in createDialog() argument
669 String dlgText = getString(R.string.out_of_space_dlg_text, argument); in createDialog()
695 protected Dialog createDialog(@NonNull CharSequence argument) {
698 .setMessage(getString(R.string.install_failed_msg, argument))
714 protected Dialog createDialog(@NonNull CharSequence argument) {
718 ApplicationInfo sourceInfo = pm.getApplicationInfo(argument.toString(), 0);
729 final Uri packageUri = Uri.parse("package:" + argument);
743 Log.e(TAG, "Did not find app info for " + argument);
756 protected void setArgument(@NonNull CharSequence argument) {
758 args.putCharSequence(ARGUMENT_KEY, argument);
[all …]
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java268 private int parseInt(String argument) { in parseInt() argument
270 return Integer.parseInt(argument); in parseInt()
272 throw new IllegalArgumentException ("Invalid integer argument '" + argument + "'", e); in parseInt()
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp213 void ParseOpcodeOption(const std::string& argument) { in ParseOpcodeOption() argument
214 if (argument == "read") { in ParseOpcodeOption()
216 } else if (argument == "write") { in ParseOpcodeOption()
218 } else if (argument == "echo") { in ParseOpcodeOption()
220 } else if (argument == "writevec") { in ParseOpcodeOption()
222 } else if (argument == "echovec") { in ParseOpcodeOption()
224 } else if (argument == "quit") { in ParseOpcodeOption()
226 } else if (argument == "nop") { in ParseOpcodeOption()
228 } else if (argument == "stats") { in ParseOpcodeOption()
231 ProgramOptions.opcode = std::stoi(argument); in ParseOpcodeOption()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java178 private void dispatchListeners(int message, boolean argument) { in dispatchListeners() argument
188 l.onFlashlightChanged(argument); in dispatchListeners()
190 l.onFlashlightAvailabilityChanged(argument); in dispatchListeners()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp103 if (opt.argument) { in Parse()
150 if (opt.argument) { in Usage()
173 if (opt.argument) { in Usage()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java253 public boolean matches(Intent argument) { in matches() argument
254 return argument != null && argument.filterEquals(mIntent); in matches()
/frameworks/rs/script_api/
Drs_for_each.spec24 a @rs_kernel_context as argument.
106 @rs_kernel argument. If the specified kernel returns a value, an output allocation
107 must be specified as the last argument. All input allocations,
118 as specified by the kernel argument. The script argument is removed.
Drs_time.spec71 This functions returns the same pointer that is passed as first argument. If the
Drs_matrix.spec33 argument. E.g. to create a transformation matrix that applies the
39 style simply stores the transformation matrix in the first argument. The latter
411 Starting with API 14, this function takes a const matrix as the first argument.
/frameworks/rs/
Dupdate_rs_prebuilts.sh110 echo Expected numeric argument after "$1"
126 echo Unknown argument: "$1"
/frameworks/base/cmds/idmap2/include/idmap2/
DCommandLineOptions.h65 bool argument; member
/frameworks/compile/libbcc/
DREADME.rst190 argument in the function prototype, float2.x will go into r0, and float2.y,
193 Note: stack will be aligned to the coarsest-grained argument. In the case of
194 float2 above as an argument, parameter stack will be aligned to an 8-byte
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/
Drs_single_source.rscript50 // invoke kernel taking one argument
/frameworks/rs/script_api/include/
Drs_for_each.rsh26 * a rs_kernel_context as argument.
107 * rs_kernel argument. If the specified kernel returns a value, an output allocation
108 * must be specified as the last argument. All input allocations,
119 * as specified by the kernel argument. The script argument is removed.
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc30 "unknown command line argument `%0' at %1",
31 "unknown command line argument `%0' at %1")
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dreflection3264_reduce_mismatch.rscript36 // result type must match; ordinary argument types must match
/frameworks/hardware/interfaces/cameraservice/common/2.0/
Dtypes.hal41 * Call received illegal argument.
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3319 for (String argument; (argument = getNextArg()) != null;) { in parseUserOpMode()
3320 if ("--user".equals(argument)) { in parseUserOpMode()
3324 opStr = argument; in parseUserOpMode()
3326 modeStr = argument; in parseUserOpMode()
3353 for (String argument; (argument = getNextArg()) != null;) { in parseUserPackageOp()
3354 if ("--user".equals(argument)) { in parseUserPackageOp()
3356 } else if ("--uid".equals(argument)) { in parseUserPackageOp()
3360 packageName = argument; in parseUserPackageOp()
3362 opStr = argument; in parseUserPackageOp()
3614 for (String argument; (argument = shell.getNextArg()) != null;) { in onShellCommand()
[all …]
/frameworks/ml/nn/tools/api/
DREADME.md20 Invoked with the `--dryrun` argument, this script instead shows how it would
146 substring of the form `%{argnum}` will be replaced by the corresponding argument

12