Home
last modified time | relevance | path

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

123

/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java202 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
203 if (ARGUMENT_URI.equals(argument)) { in parseInsertCommand()
204 uri = Uri.parse(argumentValueRequired(argument)); in parseInsertCommand()
205 } else if (ARGUMENT_USER.equals(argument)) { in parseInsertCommand()
206 userId = Integer.parseInt(argumentValueRequired(argument)); in parseInsertCommand()
207 } else if (ARGUMENT_BIND.equals(argument)) { in parseInsertCommand()
210 throw new IllegalArgumentException("Unsupported argument: " + argument); in parseInsertCommand()
228 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
229 if (ARGUMENT_URI.equals(argument)) { in parseDeleteCommand()
230 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java69 public boolean matches(LogMaker argument) { in testMetrics()
70 return checkField("category", argument.getCategory(), ACTION_NAV_BUTTON_EVENT) in testMetrics()
71 && checkField("type", argument.getType(), MetricsEvent.TYPE_ACTION) in testMetrics()
72 && checkField("subtype", argument.getSubtype(), code) in testMetrics()
73 && checkField("FIELD_FLAGS", argument.getTaggedData(FIELD_FLAGS), flags) in testMetrics()
74 && checkField("FIELD_NAV_ACTION", argument.getTaggedData(FIELD_NAV_ACTION), in testMetrics()
/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/support/paging/common/src/test/java/androidx/paging/
DTiledDataSourceTest.kt42 val argument = ArgumentCaptor.forClass(PageResult::class.java) in TiledDataSource() constant
44 verify(receiver).onPageResult(eq(PageResult.INIT), argument.capture()) in TiledDataSource()
47 val observed = argument.value in TiledDataSource()
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java234 private int parseInt(String argument) { in parseInt() argument
236 return Integer.parseInt(argument); in parseInt()
238 throw new IllegalArgumentException ("Invalid integer argument '" + argument + "'", e); in parseInt()
/frameworks/support/navigation/common/src/main/java/androidx/navigation/
DNavDeepLink.java71 String argument = mArguments.get(index); in getMatchingArguments() local
72 bundle.putString(argument, Uri.decode(matcher.group(index + 1))); in getMatchingArguments()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java169 private void dispatchListeners(int message, boolean argument) { in dispatchListeners() argument
179 l.onFlashlightChanged(argument); in dispatchListeners()
181 l.onFlashlightAvailabilityChanged(argument); in dispatchListeners()
/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.java252 public boolean matches(Intent argument) { in matches() argument
253 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.
/frameworks/rs/
Dupdate_rs_prebuilts.sh110 echo Expected numeric argument after "$1"
126 echo Unknown argument: "$1"
/frameworks/data-binding/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/extensions/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/integration-tests/MultiModuleTestApp/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/compiler/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/developmentPlugins/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/base/tests/TouchLatency/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/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

123