/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 70 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() 79 cursor = resolver.query(args.uri, args.projection, in handleMessage() 80 args.selection, args.selectionArgs, in handleMessage() 81 args.orderBy); in handleMessage() 92 args.result = cursor; in handleMessage() 96 args.result = resolver.insert(args.uri, args.values); in handleMessage() 100 args.result = resolver.update(args.uri, args.values, args.selection, in handleMessage() 101 args.selectionArgs); in handleMessage() 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); in handleMessage() 111 Message reply = args.handler.obtainMessage(token); in handleMessage() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 100 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO() local 101 args.arg1 = arg2; in obtainMessageBOO() 102 args.arg2 = arg3; in obtainMessageBOO() 103 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, args); in obtainMessageBOO() 128 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOO() local 129 args.arg1 = arg3; in obtainMessageIIOO() 130 args.arg2 = arg4; in obtainMessageIIOO() 131 return mH.obtainMessage(what, arg1, arg2, args); in obtainMessageIIOO() 135 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOO() local 136 args.arg1 = arg2; in obtainMessageIOO() [all …]
|
D | ZygoteConnection.java | 179 String args[]; in runOnce() local 184 args = readArgumentList(); in runOnce() 192 if (args == null) { in runOnce() 211 parsedArgs = new Arguments(args); in runOnce() 384 Arguments(String args[]) throws IllegalArgumentException { in Arguments() argument 385 parseArgs(args); in Arguments() 396 private void parseArgs(String args[]) in parseArgs() argument 400 for ( /* curArg */ ; curArg < args.length; curArg++) { in parseArgs() 401 String arg = args[curArg]; in parseArgs() 494 classpath = args[++curArg]; in parseArgs() [all …]
|
D | WrapperInit.java | 58 public static void main(String[] args) { in main() argument 61 int fdNum = Integer.parseInt(args[0], 10); in main() 62 int targetSdkVersion = Integer.parseInt(args[1], 10); in main() 82 String[] runtimeArgs = new String[args.length - 2]; in main() 83 System.arraycopy(args, 2, runtimeArgs, 0, runtimeArgs.length); in main() 101 int targetSdkVersion, FileDescriptor pipeFd, String[] args) { in execApplication() argument 111 Zygote.appendQuotedShellArgs(command, args); in execApplication() 125 String[] args) { in execStandalone() argument 129 Zygote.appendQuotedShellArgs(command, args); in execStandalone()
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 40 public static void main(String[] args) { in main() argument 41 (new Input()).run(args); in main() 44 private void run(String[] args) { in run() argument 45 if (args.length < 1) { in run() 50 String command = args[0]; in run() 54 if (args.length == 2) { in run() 55 sendText(args[1]); in run() 59 if (args.length == 2) { in run() 60 int keyCode = KeyEvent.keyCodeFromString(args[1]); in run() 62 keyCode = KeyEvent.keyCodeFromString("KEYCODE_" + args[1]); in run() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 194 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 199 args.callback.setTextAfterCursor(null, args.seq); in executeMessage() 202 args.callback.setTextAfterCursor(ic.getTextAfterCursor( in executeMessage() 203 msg.arg1, msg.arg2), args.seq); in executeMessage() 210 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 215 args.callback.setTextBeforeCursor(null, args.seq); in executeMessage() 218 args.callback.setTextBeforeCursor(ic.getTextBeforeCursor( in executeMessage() 219 msg.arg1, msg.arg2), args.seq); in executeMessage() 226 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 231 args.callback.setSelectedText(null, args.seq); in executeMessage() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 96 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 98 (KeyEvent)args.arg1, in executeMessage() 100 (IInputMethodCallback)args.arg2)); in executeMessage() 101 args.recycle(); in executeMessage() 105 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 107 (MotionEvent)args.arg1, in executeMessage() 109 (IInputMethodCallback)args.arg2)); in executeMessage() 110 args.recycle(); in executeMessage() 114 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 116 (MotionEvent)args.arg1, in executeMessage() [all …]
|
D | IInputMethodWrapper.java | 128 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 130 target.dump((FileDescriptor)args.arg1, in executeMessage() 131 (PrintWriter)args.arg2, (String[])args.arg3); in executeMessage() 133 ((PrintWriter)args.arg2).println("Exception: " + e); in executeMessage() 135 synchronized (args.arg4) { in executeMessage() 136 ((CountDownLatch)args.arg4).countDown(); in executeMessage() 138 args.recycle(); in executeMessage() 154 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 155 IInputContext inputContext = (IInputContext)args.arg1; in executeMessage() 158 EditorInfo info = (EditorInfo)args.arg2; in executeMessage() [all …]
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 94 SomeArgs args = SomeArgs.obtain(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local 95 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 96 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 97 args.argi3 = interactionId; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 98 args.arg1 = callback; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 99 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 116 SomeArgs args = (SomeArgs) message.obj; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local 117 final int accessibilityViewId = args.argi1; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 118 final int virtualDescendantId = args.argi2; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 119 final int interactionId = args.argi3; in findAccessibilityNodeInfoByAccessibilityIdUiThread() [all …]
|
/frameworks/native/opengl/libs/tools/ |
D | gltracegen | 35 my $args = $3; 37 my @args = split ',', $args; 38 my $len = scalar(@args); 41 if ($args[$num] ne "void") { 51 printf("%s, (%s), (", $name, $args); 53 if ($args[$num] ne "void") { 64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) { 71 if ($args[$num] ne "void") { 79 my $arg = $args[$num];
|
D | glapigen | 35 my $args = $4; 44 printf("%s API_ENTRY(%s%s)(%s)", $type, $prefix, $name, $args); 52 my @args = split ',', $args; 53 my $len = scalar(@args); 55 if ($args[$num] ne "void") { 64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) {
|
/frameworks/base/core/java/android/widget/ |
D | Filter.java | 114 RequestArguments args = new RequestArguments(); in filter() local 117 args.constraint = constraint != null ? constraint.toString() : null; in filter() 118 args.listener = listener; in filter() 119 message.obj = args; in filter() 232 RequestArguments args = (RequestArguments) msg.obj; in handleMessage() local 234 args.results = performFiltering(args.constraint); in handleMessage() 236 args.results = new FilterResults(); in handleMessage() 240 message.obj = args; in handleMessage() 280 RequestArguments args = (RequestArguments) msg.obj; in handleMessage() local 282 publishResults(args.constraint, args.results); in handleMessage() [all …]
|
/frameworks/native/include/gui/ |
D | SurfaceTextureClient.h | 83 int dispatchConnect(va_list args); 84 int dispatchDisconnect(va_list args); 85 int dispatchSetBufferCount(va_list args); 86 int dispatchSetBuffersGeometry(va_list args); 87 int dispatchSetBuffersDimensions(va_list args); 88 int dispatchSetBuffersUserDimensions(va_list args); 89 int dispatchSetBuffersFormat(va_list args); 90 int dispatchSetScalingMode(va_list args); 91 int dispatchSetBuffersTransform(va_list args); 92 int dispatchSetBuffersTimestamp(va_list args); [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceTextureClient.cpp | 172 va_list args; in hook_perform() local 173 va_start(args, operation); in hook_perform() 175 return c->perform(operation, args); in hook_perform() 366 int SurfaceTextureClient::perform(int operation, va_list args) in perform() argument 377 res = dispatchSetUsage(args); in perform() 380 res = dispatchSetCrop(args); in perform() 383 res = dispatchSetBufferCount(args); in perform() 386 res = dispatchSetBuffersGeometry(args); in perform() 389 res = dispatchSetBuffersTransform(args); in perform() 392 res = dispatchSetBuffersTimestamp(args); in perform() [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | Log.java | 30 public void debug(String format, Object... args) { in debug() argument 32 info(format, args); in debug() 37 public void debugNoln(String format, Object... args) { in debugNoln() argument 39 String s = String.format(format, args); in debugNoln() 44 public void info(String format, Object... args) { in info() argument 45 String s = String.format(format, args); in info() 49 public void error(String format, Object... args) { in error() argument 50 String s = String.format(format, args); in error() 54 public void exception(Throwable t, String format, Object... args) { in exception() argument 59 error(format + "\n" + sw.toString(), args); in exception()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 42 public void run(String[] args) { in run() argument 44 if (args.length >= 2) { in run() 45 if ("stayon".equals(args[1]) && args.length == 3) { in run() 47 if ("true".equals(args[2])) { in run() 52 else if ("false".equals(args[2])) { in run() 54 } else if ("usb".equals(args[2])) { in run() 56 } else if ("ac".equals(args[2])) { in run() 58 } else if ("wireless".equals(args[2])) { in run()
|
D | Svc.java | 34 public abstract void run(String[] args); // run the command in run() argument 37 public static void main(String[] args) { in main() argument 38 if (args.length >= 1) { in main() 39 Command c = lookupCommand(args[0]); in main() 41 c.run(args); in main() 45 COMMAND_HELP.run(args); in main() 66 public void run(String[] args) { 67 if (args.length == 2) { 68 Command c = lookupCommand(args[1]);
|
/frameworks/support/volley/src/com/android/volley/ |
D | VolleyLog.java | 32 public static void v(String format, Object... args) { in v() argument 34 Log.v(TAG, buildMessage(format, args)); in v() 38 public static void d(String format, Object... args) { in d() argument 39 Log.d(TAG, buildMessage(format, args)); in d() 42 public static void e(String format, Object... args) { in e() argument 43 Log.e(TAG, buildMessage(format, args)); in e() 46 public static void wtf(String format, Object... args) { in wtf() argument 47 Log.wtf(TAG, buildMessage(format, args)); in wtf() 50 public static void wtf(Throwable tr, String format, Object... args) { in wtf() argument 51 Log.wtf(TAG, buildMessage(format, args), tr); in wtf() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 133 public final String[] args; field in SettingsProvider.SqlArguments 136 SqlArguments(Uri url, String where, String[] args) { in SqlArguments() argument 144 this.args = args; in SqlArguments() 159 this.args = new String[] { name }; in SqlArguments() 169 this.args = null; in SqlArguments() 182 this.args = null; in SqlArguments() 269 private void checkWritePermissions(SqlArguments args) { in checkWritePermissions() argument 270 if ((TABLE_SECURE.equals(args.table) || TABLE_GLOBAL.equals(args.table)) && in checkWritePermissions() 547 public Bundle call(String method, String request, Bundle args) { in call() argument 549 if (args != null) { in call() [all …]
|
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | Launcher.java | 69 public abstract void run(String args[]); in run() argument 72 public static void main(String[] args) { in main() argument 75 if (args.length >= 1) { in main() 76 Command command = findCommand(args[0]); in main() 79 if (args.length > 1) { in main() 81 args2 = Arrays.copyOfRange(args, 1, args.length); in main() 87 HELP_COMMAND.run(args); in main() 101 public void run(String[] args) {
|
/frameworks/native/opengl/libs/GLES_trace/tools/ |
D | testgenapi.py | 53 args = parseArgs("void") 54 self.assertEqual(len(args), 0) 56 args = parseArgs("GLchar a") 57 self.assertEqual(args, [("a", DataType.CHAR)]) 59 args = parseArgs("GLchar *a") 60 self.assertEqual(args, [("a", DataType.POINTER)]) 62 args = parseArgs("GLint exponent[16]") 63 self.assertEqual(args, [("exponent", DataType.POINTER)])
|
/frameworks/compile/libbcc/gdb_plugin/ |
D | android-commands.py | 131 def _prepare_adb_args(self, args): argument 132 largs = list(args) 143 def _background_adb(self, *args): argument 144 largs = self._prepare_adb_args(args) 158 def _call_adb(self, *args): argument 160 largs = self._prepare_adb_args(args) 172 def _shell(self, *args): argument 173 args = ["shell"] + list(args) 174 return self._call_adb(*args) 176 def _background_shell(self, *args): argument [all …]
|
/frameworks/compile/libbcc/tests/ |
D | test.py | 50 def compile(args): argument 51 …proc = subprocess.Popen(["../libbcc_driver"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIP… 55 def runCmd(args): argument 56 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 80 def adb(args): argument 81 return runCmd(["adb"] + args) 104 def compileArm(args): argument 106 proc = subprocess.Popen(["adb", "shell", "/system/bin/bcc"] + args, stdout=subprocess.PIPE) 162 def rewritePaths(args): argument 163 return [rewritePath(x) for x in args] [all …]
|
D | bccarm | 10 def compile(args): argument 11 proc = subprocess.Popen(["bcc"] + args, stderr=subprocess.PIPE, stdout=subprocess.PIPE) 15 def runCmd(args): argument 16 proc = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 29 def adb(args): argument 30 return runCmd(["adb"] + args) 46 def compileArm(args): argument
|
/frameworks/base/core/jni/ |
D | android_net_wifi_Wifi.cpp | 55 va_list args; in doIntCommand() local 56 va_start(args, fmt); in doIntCommand() 57 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); in doIntCommand() 58 va_end(args); in doIntCommand() 72 va_list args; in doBooleanCommand() local 73 va_start(args, fmt); in doBooleanCommand() 74 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); in doBooleanCommand() 75 va_end(args); in doBooleanCommand() 89 va_list args; in doStringCommand() local 90 va_start(args, fmt); in doStringCommand() [all …]
|