Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 44) 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 ….rs:11:13: error: Invalid kernel launch call. Expects a function designator for the first argument.
2 ….rs:12:13: error: Invalid kernel launch call. Expects a function designator for the first argument.
3 ….rs:13:24: error: Invalid kernel launch call. Expects a function designator for the first argument.
4 ….rs: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/opt/gamesdk/third_party/protobuf-3.0.0/
Dautogen.sh10 for argument in "$@"; do
11 case $argument in
/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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs63 public void IsAssignableFrom(Type target, Type argument, bool expected) in IsAssignableFrom() argument
65 Assert.AreEqual(expected, TypeExtensions.IsAssignableFrom(target, argument)); in IsAssignableFrom()
/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/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/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/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/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dreadme.txt31 5) Run the test. Arguments are given in pairs - the first 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/opt/gamesdk/samples/
Dgamesdk.cmake18 # Each argument can be specified using a variable instead of being passed in.
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc30 "unknown command line argument `%0' at %1",
31 "unknown command line argument `%0' at %1")
/frameworks/hardware/interfaces/cameraservice/common/2.0/
Dtypes.hal41 * Call received illegal argument.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java830 argThat(argument -> ImsService.SERVICE_INTERFACE.equals(argument.getAction())), in setupPackageQuery()
840 argThat(argument -> ImsService.SERVICE_INTERFACE.equals(argument.getAction())), in setupPackageQuery()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java3247 for (String argument; (argument = getNextArg()) != null;) { in parseUserOpMode()
3248 if ("--user".equals(argument)) { in parseUserOpMode()
3252 opStr = argument; in parseUserOpMode()
3254 modeStr = argument; in parseUserOpMode()
3281 for (String argument; (argument = getNextArg()) != null;) { in parseUserPackageOp()
3282 if ("--user".equals(argument)) { in parseUserPackageOp()
3284 } else if ("--uid".equals(argument)) { in parseUserPackageOp()
3288 packageName = argument; in parseUserPackageOp()
3290 opStr = argument; in parseUserPackageOp()
3542 for (String argument; (argument = shell.getNextArg()) != null;) { in onShellCommand()
[all …]

12