Home
last modified time | relevance | path

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

1234

/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java188 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
189 if (ARGUMENT_URI.equals(argument)) { in parseInsertCommand()
190 uri = Uri.parse(argumentValueRequired(argument)); in parseInsertCommand()
191 } else if (ARGUMENT_USER.equals(argument)) { in parseInsertCommand()
192 userId = Integer.parseInt(argumentValueRequired(argument)); in parseInsertCommand()
193 } else if (ARGUMENT_BIND.equals(argument)) { in parseInsertCommand()
196 throw new IllegalArgumentException("Unsupported argument: " + argument); in parseInsertCommand()
214 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
215 if (ARGUMENT_URI.equals(argument)) { in parseDeleteCommand()
216 uri = Uri.parse(argumentValueRequired(argument)); in parseDeleteCommand()
[all …]
/frameworks/base/cmds/appops/src/com/android/commands/appops/
DAppOpsCommand.java111 for (String argument; (argument = nextArg()) != null;) { in runSet()
112 if (ARGUMENT_USER.equals(argument)) { in runSet()
116 packageName = argument; in runSet()
118 op = argument; in runSet()
120 mode = argument; in runSet()
122 System.err.println("Error: Unsupported argument: " + argument); in runSet()
183 for (String argument; (argument = nextArg()) != null;) { in runGet()
184 if (ARGUMENT_USER.equals(argument)) { in runGet()
188 packageName = argument; in runGet()
190 op = argument; in runGet()
[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/cmds/dpm/src/com/android/commands/dpm/
DDpm.java155 private int parseInt(String argument) { in parseInt() argument
157 return Integer.parseInt(argument); in parseInt()
159 throw new IllegalArgumentException ("Invalid integer argument '" + argument + "'", e); in parseInt()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java62 public boolean matches(Object argument) { in matches() argument
63 if (!(argument instanceof Uri)) { in matches()
67 Uri actualUri = (Uri) argument; in matches()
/frameworks/base/docs/html/training/in-app-billing/
Dpurchase-iab-products.jd39 <li>The first argument is the calling {@code Activity}.</li>
40 <li>The second argument is the product ID (also called its SKU) of the item to purchase. Make sure …
41 <li>The third argument is a request code value. This value can be any positive integer. Google Pla…
42 <li>The fourth argument is a listener that is notified when the purchase operation has completed an…
43 <li>The fifth argument contains a ‘developer payload’ string that you can use to send supplemental …
80 …{@code IabHelper} instance. The {@code QueryInventoryFinishedListener} argument specifies a liste…
110 …nstance. The first argument that the method takes is the {@code Purchase} object representing the …
Dlist-iab-products.jd53 <li>The first input argument indicates whether product details should be retrieved (should be set t…
54 <li>The {@code List} argument consists of one or more product IDs (also called SKUs) for the produc…
55 <li>Finally, the {@code QueryInventoryFinishedListener} argument specifies a listener is notified w…
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DVariableSpeed.java398 private void checkNotNull(Object argument, String argumentName) { in checkNotNull() argument
399 if (argument == null) { in checkNotNull()
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.jar ... key java.util.regex.Matcher matcher Object argument java.util.Iterator i$ java.io ...
/frameworks/base/docs/html/tools/help/
Dlint.jd93 <td>The report is saved in the output file specified in the argument. The HTML output includes code…
99 …. You can specify multiple &lt;filepath&gt;=&lt;url&gt; mappings in the argument by separating eac…
105 <td>The report is saved in the output file specified in the argument.</td>
111 <td>The report is saved in the output file specified in the argument.</td>
Dmonkeyrunner_concepts.jd180 If you provide a filename as an argument, the <code>monkeyrunner</code> command
210 file, include the argument multiple times.
220 If you provide this argument, the <code>monkeyrunner</code> command runs the contents
221 of the file as a Python program. If the argument is not provided, the command starts an
262 <code>-plugin &lt;plugin_jar&gt;</code> argument described in
DMonkeyDevice.jd41 Use this with the <code>type</code> argument of
51 Use this with the <code>type</code> argument of
61 Use this with the <code>type</code> argument of
534 Using this argument will direct the Intent to a specific class within a specific
775 the componentName argument, then the result dictionary contains
1016 (see {@link android.content.ComponentName}). Using this argument will direct the
/frameworks/base/tools/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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java250 private void dispatchListeners(int message, boolean argument) { in dispatchListeners() argument
262 l.onFlashlightAvailabilityChanged(argument); in dispatchListeners()
/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/base/docs/html/tools/help/uiautomator/
Dindex.jd50 <td><strong>Required</strong>. The {@code &lt;JARS&gt;} argument is the name of one or more JAR fil…
56 argument is a list of test classes or test methods in {@code &lt;JARS&gt;} to run.
64 <p class="note"><strong>Note:</strong>This argument is not required for API 18
DUiCollection.jd140 argument.</div>
1070 It looks for any child matching the <code>childPattern</code> argument that has
1132 It looks for any child matching the <code>childPattern</code> argument that has
1196 It looks for any child matching the <code>childPattern</code> argument that has
1248 argument. The method returns the number of matching UI elements that are
/frameworks/rs/
Dupdate_rs_prebuilts.sh89 echo Unknown argument: "$1"
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd64 The third argument is a boolean that indicates whether the
139 and issue the notification. The first two arguments are ignored, and the third argument
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc8 …n, DiagnosticEngine::Fatal, "unknown command line argument `%0' at %1", "unknown command line argu…
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd55 the first argument.</p>
96 the argument.)</p>
149 <p>Every argument passed to a native method, and almost every object returned
163 local reference as an argument and returns a global one.
260 non-NULL pointer for the <code>isCopy</code> argument. This is rarely
263 <p>The <code>Release</code> call takes a <code>mode</code> argument that can
409 …t/jstring to a JNI call, or passing a NULL pointer to a JNI call with a non-nullable argument.</li>
462 <code>nativeClassInit</code>.) The argument is the "undecorated"
569 to be the same as the jclass passed as an implicit argument to your static
687 it, by declaring your native method to take a Class argument and
/frameworks/base/docs/html/training/basics/intents/
Dresult.jd49 an activity for a result, but you do need to pass an additional integer argument to the {@link
52 <p>The integer argument is a "request code" that identifies your request. When you receive the
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd78 argument is a {@link android.transition.TransitionValues} object that contains a reference
172 for the corresponding argument and <code>null</code> for the other.</p>
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd87 <code>in</code> argument and its type. In a RenderScript kernel, this is a special argument that is
298 android.renderscript.Script.LaunchOptions} as the last argument to the <code>forEach</code> method.

1234