Searched refs:args (Results 26 - 50 of 357) sorted by relevance

1234567891011>>

/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DActivityCompatHoneycomb.java33 PrintWriter writer, String[] args) {
34 activity.dump(prefix, fd, writer, args);
32 dump(Activity activity, String prefix, FileDescriptor fd, PrintWriter writer, String[] args) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java96 SomeArgs args = (SomeArgs)msg.obj;
98 (KeyEvent)args.arg1,
100 (IInputMethodCallback)args.arg2));
101 args.recycle();
105 SomeArgs args = (SomeArgs)msg.obj;
107 (MotionEvent)args.arg1,
109 (IInputMethodCallback)args.arg2));
110 args.recycle();
114 SomeArgs args = (SomeArgs)msg.obj;
116 (MotionEvent)args
[all...]
H A DIInputMethodWrapper.java128 SomeArgs args = (SomeArgs)msg.obj;
130 target.dump((FileDescriptor)args.arg1,
131 (PrintWriter)args.arg2, (String[])args.arg3);
133 ((PrintWriter)args.arg2).println("Exception: " + e);
135 synchronized (args.arg4) {
136 ((CountDownLatch)args.arg4).countDown();
138 args.recycle();
154 SomeArgs args = (SomeArgs)msg.obj;
155 IInputContext inputContext = (IInputContext)args
200 dump(FileDescriptor fd, PrintWriter fout, String[] args) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java179 String args[];
184 args = readArgumentList();
192 if (args == null) {
211 parsedArgs = new Arguments(args);
284 * Handles argument parsing for args related to the zygote spawner.
286 * Current recognized args:
316 * [--] <args for RuntimeInit >
318 * [--] <classname> [args...]
374 * Any args after and including the first non-option arg
380 * Constructs instance and parses args
384 Arguments(String args[]) argument
396 parseArgs(String args[]) argument
617 applyUidSecurityPolicy(Arguments args, Credentials peer, String peerSecurityContext) argument
683 applyDebuggerSystemProperty(Arguments args) argument
701 applyRlimitSecurityPolicy( Arguments args, Credentials peer, String peerSecurityContext) argument
737 applyCapabilitiesSecurityPolicy( Arguments args, Credentials peer, String peerSecurityContext) argument
805 applyInvokeWithSecurityPolicy(Arguments args, Credentials peer, String peerSecurityContext) argument
834 applyseInfoSecurityPolicy( Arguments args, Credentials peer, String peerSecurityContext) argument
867 applyInvokeWithSystemProperty(Arguments args) argument
[all...]
H A DRuntimeInit.java245 * Current recognized args:
247 * <li> <code> [--] &lt;start class name&gt; &lt;args&gt;
297 final Arguments args;
299 args = new Arguments(argv);
307 invokeStaticMain(args.startClass, args.startArgs);
361 * Handles argument parsing for args related to the runtime.
363 * Current recognized args:
365 * <li> <code> [--] &lt;start class name&gt; &lt;args&gt;
376 * Constructs instance and parses args
380 Arguments(String args[]) argument
387 parseArgs(String args[]) argument
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java32 public static void v(String format, Object... args) { argument
34 Log.v(TAG, buildMessage(format, args));
38 public static void d(String format, Object... args) { argument
39 Log.d(TAG, buildMessage(format, args));
42 public static void e(String format, Object... args) { argument
43 Log.e(TAG, buildMessage(format, args));
46 public static void wtf(String format, Object... args) { argument
47 Log.wtf(TAG, buildMessage(format, args));
50 public static void wtf(Throwable tr, String format, Object... args) { argument
51 Log.wtf(TAG, buildMessage(format, args), t
58 buildMessage(String format, Object... args) argument
[all...]
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DDataCommand.java44 public void run(String[] args) { argument
46 if (args.length >= 2) {
48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".equals(args[1])) {
H A DWifiCommand.java44 public void run(String[] args) { argument
46 if (args.length >= 2) {
48 if ("enable".equals(args[1])) {
51 } else if ("disable".equals(args[1])) {
54 } else if ("prefer".equals(args[1])) {
/frameworks/native/services/surfaceflinger/
H A DDdmConnection.cpp36 JavaVMInitArgs args; local
42 args.version = JNI_VERSION_1_4;
43 args.options = &opt;
44 args.nOptions = 1;
45 args.ignoreUnrecognized = JNI_FALSE;
71 if (JNI_CreateJavaVM(&vm, &env, &args) == 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDebugService.java42 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
68 phoneBase.dump(fd, pw, args);
75 phoneBase.mDataConnectionTracker.dump(fd, pw, args);
82 phoneBase.getServiceStateTracker().dump(fd, pw, args);
89 phoneBase.getCallTracker().dump(fd, pw, args);
96 ((RIL)phoneBase.mCM).dump(fd, pw, args);
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java94 SomeArgs args = SomeArgs.obtain();
95 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId);
96 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId);
97 args.argi3 = interactionId;
98 args.arg1 = callback;
99 message.obj = args;
116 SomeArgs args = (SomeArgs) message.obj;
117 final int accessibilityViewId = args.argi1;
118 final int virtualDescendantId = args.argi2;
119 final int interactionId = args
[all...]
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DRunTestCommand.java54 public void run(String[] args) { argument
55 int ret = parseArgs(args);
79 private int parseArgs(String[] args) { argument
89 for (int i = 0; i < args.length; i++) {
90 if (args[i].equals("-e")) {
91 if (i + 2 < args.length) {
92 String key = args[++i];
93 String value = args[++i];
106 } else if (args[i].equals("-c")) {
107 if (i + 1 < args
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/app/
H A DFragment_Delegate.java64 * @param args Bundle of arguments to supply to the fragment, which it
72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { argument
78 if (args != null) {
79 args.setClassLoader(f.getClass().getClassLoader());
80 f.mArguments = args;
/frameworks/base/tools/preload/
H A DCompile.java33 public static void main(String[] args) throws IOException { argument
34 if (args.length != 2) {
44 new FileInputStream(args[0])));
71 root.toFile(args[1]);
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java27 public static void main(String[] args) { argument
36 if (args.length > 0) {
39 Class.forName(args[0]);
41 Log.i("LoadClass", "Loaded " + args[0] + " in " + elapsed
/frameworks/compile/libbcc/tests/
H A Dtest.py50 def compile(args):
51 proc = subprocess.Popen(["../libbcc_driver"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
55 def runCmd(args):
56 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
80 def adb(args):
81 return runCmd(["adb"] + args)
104 def compileArm(args):
106 proc = subprocess.Popen(["adb", "shell", "/system/bin/bcc"] + args, stdout=subprocess.PIPE)
162 def rewritePaths(args):
163 return [rewritePath(x) for x in args]
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUI.java33 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
H A DSystemUIService.java119 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { argument
120 if (args == null || args.length == 0) {
123 ui.dump(fd, pw, args);
126 String svc = args[0];
130 ui.dump(fd, pw, args);
/frameworks/base/services/input/
H A DInputListener.h162 virtual void notifyConfigurationChanged(const NotifyConfigurationChangedArgs* args) = 0;
163 virtual void notifyKey(const NotifyKeyArgs* args) = 0;
164 virtual void notifyMotion(const NotifyMotionArgs* args) = 0;
165 virtual void notifySwitch(const NotifySwitchArgs* args) = 0;
166 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args) = 0;
181 virtual void notifyConfigurationChanged(const NotifyConfigurationChangedArgs* args);
182 virtual void notifyKey(const NotifyKeyArgs* args);
183 virtual void notifyMotion(const NotifyMotionArgs* args);
184 virtual void notifySwitch(const NotifySwitchArgs* args);
185 virtual void notifyDeviceReset(const NotifyDeviceResetArgs* args);
[all...]
H A DInputListener.cpp151 const NotifyConfigurationChangedArgs* args) {
152 mArgsQueue.push(new NotifyConfigurationChangedArgs(*args));
155 void QueuedInputListener::notifyKey(const NotifyKeyArgs* args) { argument
156 mArgsQueue.push(new NotifyKeyArgs(*args));
159 void QueuedInputListener::notifyMotion(const NotifyMotionArgs* args) { argument
160 mArgsQueue.push(new NotifyMotionArgs(*args));
163 void QueuedInputListener::notifySwitch(const NotifySwitchArgs* args) { argument
164 mArgsQueue.push(new NotifySwitchArgs(*args));
167 void QueuedInputListener::notifyDeviceReset(const NotifyDeviceResetArgs* args) { argument
168 mArgsQueue.push(new NotifyDeviceResetArgs(*args));
150 notifyConfigurationChanged( const NotifyConfigurationChangedArgs* args) argument
174 NotifyArgs* args = mArgsQueue[i]; local
[all...]
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py243 args = arglist.split(',')
244 args = map(lambda x: x.strip(), args) # remove unnecessary whitespaces
245 argtypelist = map(getNameTypePair, args) # split arg into arg type and arg name
311 args = arglist.split(',')
312 args = map(lambda x: x.strip(), args)
314 return args
318 args = self.parseCallSite(callsite)
319 return "%s(%s)" % (args[
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java133 public final String[] args; field in class:SettingsProvider.SqlArguments
136 SqlArguments(Uri url, String where, String[] args) { argument
144 this.args = args;
159 this.args = new String[] { name };
169 this.args = null;
182 this.args = null;
266 * @param args supplied by the caller
269 private void checkWritePermissions(SqlArguments args) { argument
270 if ((TABLE_SECURE.equals(args
547 call(String method, String request, Bundle args) argument
[all...]
/frameworks/base/core/java/android/os/
H A DIBinder.java189 * @param args additional arguments to the dump request.
191 public void dump(FileDescriptor fd, String[] args) throws RemoteException; argument
199 * @param args additional arguments to the dump request.
201 public void dumpAsync(FileDescriptor fd, String[] args) throws RemoteException; argument
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java50 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
54 .invoke(delegate, args);
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp172 va_list args; local
173 va_start(args, operation);
175 return c->perform(operation, args);
366 int SurfaceTextureClient::perform(int operation, va_list args) argument
377 res = dispatchSetUsage(args);
380 res = dispatchSetCrop(args);
383 res = dispatchSetBufferCount(args);
386 res = dispatchSetBuffersGeometry(args);
389 res = dispatchSetBuffersTransform(args);
392 res = dispatchSetBuffersTimestamp(args);
425 dispatchConnect(va_list args) argument
430 dispatchDisconnect(va_list args) argument
435 dispatchSetUsage(va_list args) argument
440 dispatchSetCrop(va_list args) argument
445 dispatchSetBufferCount(va_list args) argument
450 dispatchSetBuffersGeometry(va_list args) argument
461 dispatchSetBuffersDimensions(va_list args) argument
467 dispatchSetBuffersUserDimensions(va_list args) argument
473 dispatchSetBuffersFormat(va_list args) argument
478 dispatchSetScalingMode(va_list args) argument
483 dispatchSetBuffersTransform(va_list args) argument
488 dispatchSetBuffersTimestamp(va_list args) argument
493 dispatchLock(va_list args) argument
499 dispatchUnlockAndPost(va_list args) argument
[all...]

Completed in 6170 milliseconds

1234567891011>>