/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 | 85 SomeArgs args = mArgsPool; in obtainArgs() local 86 if (args != null) { in obtainArgs() 87 mArgsPool = args.next; in obtainArgs() 88 args.next = null; in obtainArgs() 90 return args; in obtainArgs() 96 public void recycleArgs(SomeArgs args) { in recycleArgs() argument 99 args.next = mArgsPool; in recycleArgs() 100 mArgsPool = args; in recycleArgs() 144 SomeArgs args = obtainArgs(); in obtainMessageBOO() local 145 args.arg1 = arg2; in obtainMessageBOO() [all …]
|
D | ZygoteConnection.java | 176 String args[]; in runOnce() local 181 args = readArgumentList(); in runOnce() 189 if (args == null) { in runOnce() 208 parsedArgs = new Arguments(args); in runOnce() 372 Arguments(String args[]) throws IllegalArgumentException { in Arguments() argument 373 parseArgs(args); in Arguments() 384 private void parseArgs(String args[]) in parseArgs() argument 388 for ( /* curArg */ ; curArg < args.length; curArg++) { in parseArgs() 389 String arg = args[curArg]; in parseArgs() 475 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/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/view/ |
D | AccessibilityInteractionController.java | 113 public void setNextPoolable(SomeArgs args) { in setNextPoolable() argument 114 mNext = args; in setNextPoolable() 148 SomeArgs args = mPool.acquire(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local 149 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 150 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 151 args.argi3 = interactionId; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 152 args.arg1 = callback; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 157 args.arg2 = moreArgs; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 159 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 176 SomeArgs args = (SomeArgs) message.obj; in findAccessibilityNodeInfoByAccessibilityIdUiThread() local [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/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/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/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 94 HandlerCaller.SomeArgs args = (HandlerCaller.SomeArgs)msg.obj; in executeMessage() local 96 (KeyEvent)args.arg1, in executeMessage() 98 (IInputMethodCallback)args.arg2)); in executeMessage() 99 mCaller.recycleArgs(args); in executeMessage() 103 HandlerCaller.SomeArgs args = (HandlerCaller.SomeArgs)msg.obj; in executeMessage() local 105 (MotionEvent)args.arg1, in executeMessage() 107 (IInputMethodCallback)args.arg2)); in executeMessage() 108 mCaller.recycleArgs(args); in executeMessage() 112 HandlerCaller.SomeArgs args = (HandlerCaller.SomeArgs)msg.obj; in executeMessage() local 113 mInputMethodSession.updateSelection(args.argi1, args.argi2, in executeMessage() [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceTextureClient.cpp | 136 va_list args; in hook_perform() local 137 va_start(args, operation); in hook_perform() 139 return c->perform(operation, args); in hook_perform() 311 int SurfaceTextureClient::perform(int operation, va_list args) in perform() argument 322 res = dispatchSetUsage(args); in perform() 325 res = dispatchSetCrop(args); in perform() 328 res = dispatchSetBufferCount(args); in perform() 331 res = dispatchSetBuffersGeometry(args); in perform() 334 res = dispatchSetBuffersTransform(args); in perform() 337 res = dispatchSetBuffersTimestamp(args); in perform() [all …]
|
/frameworks/native/include/gui/ |
D | SurfaceTextureClient.h | 72 int dispatchConnect(va_list args); 73 int dispatchDisconnect(va_list args); 74 int dispatchSetBufferCount(va_list args); 75 int dispatchSetBuffersGeometry(va_list args); 76 int dispatchSetBuffersDimensions(va_list args); 77 int dispatchSetBuffersUserDimensions(va_list args); 78 int dispatchSetBuffersFormat(va_list args); 79 int dispatchSetScalingMode(va_list args); 80 int dispatchSetBuffersTransform(va_list args); 81 int dispatchSetBuffersTimestamp(va_list args); [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 90 public final String[] args; field in SettingsProvider.SqlArguments 93 SqlArguments(Uri url, String where, String[] args) { in SqlArguments() argument 100 this.args = args; in SqlArguments() 112 this.args = new String[] { url.getPathSegments().get(1) }; in SqlArguments() 115 this.args = null; in SqlArguments() 128 this.args = null; in SqlArguments() 203 private void checkWritePermissions(SqlArguments args) { in checkWritePermissions() argument 204 if ("secure".equals(args.table) && in checkWritePermissions() 344 public Bundle call(String method, String request, Bundle args) { in call() argument 396 SqlArguments args = new SqlArguments(url, where, whereArgs); in query() local [all …]
|
/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/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) {
|
D | RunTestCommand.java | 54 public void run(String[] args) { in run() argument 55 int ret = parseArgs(args); in run() 79 private int parseArgs(String[] args) { in parseArgs() argument 89 for (int i = 0; i < args.length; i++) { in parseArgs() 90 if (args[i].equals("-e")) { in parseArgs() 91 if (i + 2 < args.length) { in parseArgs() 92 String key = args[++i]; in parseArgs() 93 String value = args[++i]; in parseArgs() 106 } else if (args[i].equals("-c")) { in parseArgs() 107 if (i + 1 < args.length) { in parseArgs() [all …]
|
/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/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() 36 public void info(String format, Object... args) { in info() argument 37 String s = String.format(format, args); in info() 41 public void error(String format, Object... args) { in error() argument 42 String s = String.format(format, args); in error() 46 public void exception(Throwable t, String format, Object... args) { in exception() argument 51 error(format + "\n" + sw.toString(), args); in exception()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 44 public void run(String[] args) { in run() argument 46 if (args.length >= 2) { in run() 47 if ("stayon".equals(args[1]) && args.length == 3) { in run() 49 if ("true".equals(args[2])) { in run() 53 else if ("false".equals(args[2])) { in run() 55 } else if ("usb".equals(args[2])) { in run() 57 } else if ("ac".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/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/base/test-runner/src/junit/textui/ |
D | TestRunner.java | 135 public static void main(String args[]) { in main() argument 138 TestResult r= aTestRunner.start(args); in main() 152 public TestResult start(String args[]) throws Exception { in start() argument 157 for (int i= 0; i < args.length; i++) { in start() 158 if (args[i].equals("-wait")) in start() 160 else if (args[i].equals("-c")) in start() 161 testCase= extractClassName(args[++i]); in start() 162 else if (args[i].equals("-m")) { in start() 163 String arg= args[++i]; in start() 167 } else if (args[i].equals("-v")) in start() [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 …]
|
/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 …]
|