Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 937) sorted by relevance

12345678910>>...38

/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java91 SomeArgs args = (SomeArgs) msg.obj;
94 (String) args.arg1,
95 (ConnectionRequest) args.arg2,
96 (ParcelableConnection) args.arg3,
99 args.recycle();
116 SomeArgs args = (SomeArgs) msg.obj;
118 mDelegate.setDisconnected((String) args.arg1, (DisconnectCause) args.arg2,
121 args.recycle();
141 SomeArgs args = (SomeArgs) msg.obj;
143 mDelegate.setIsConferenced((String) args.arg1, (String) args.arg2,
[all …]
DVideoCallbackServant.java62 SomeArgs args = (SomeArgs) msg.obj;
65 args.argi1,
66 (VideoProfile) args.arg1,
67 (VideoProfile) args.arg2);
69 args.recycle();
74 SomeArgs args = (SomeArgs) msg.obj;
76 mDelegate.handleCallSessionEvent(args.argi1);
78 args.recycle();
83 SomeArgs args = (SomeArgs) msg.obj;
85 mDelegate.changePeerDimensions(args.argi1, args.argi2);
[all …]
DConnectionService.java198 SomeArgs args = SomeArgs.obtain();
199 args.arg1 = adapter;
200 args.arg2 = Log.createSubsession();
201 mHandler.obtainMessage(MSG_ADD_CONNECTION_SERVICE_ADAPTER, args).sendToTarget();
211 SomeArgs args = SomeArgs.obtain();
212 args.arg1 = adapter;
213 args.arg2 = Log.createSubsession();
214 mHandler.obtainMessage(MSG_REMOVE_CONNECTION_SERVICE_ADAPTER, args).sendToTarget();
230 SomeArgs args = SomeArgs.obtain();
231 args.arg1 = connectionManagerPhoneAccount;
[all …]
DLog.java80 public static void d(String prefix, String format, Object... args) { in d() argument
83 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d()
85 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d()
89 public static void d(Object objectPrefix, String format, Object... args) { in d() argument
92 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
94 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
98 public static void i(String prefix, String format, Object... args) { in i() argument
100 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i()
104 public static void i(Object objectPrefix, String format, Object... args) { in i() argument
106 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i()
[all …]
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp55 static void* Bridge_ ## name(ARGS(name)* args)
62 ARGS(method) *args = (ARGS(method) *) task->payload()
66 return CanvasContext::create(*args->thread, args->translucent, in CREATE_BRIDGE4()
67 args->rootRenderNode, args->contextFactory); in CREATE_BRIDGE4()
74 args->translucent = translucent; in RenderProxy()
75 args->rootRenderNode = rootRenderNode; in RenderProxy()
76 args->thread = &mRenderThread; in RenderProxy()
77 args->contextFactory = contextFactory; in RenderProxy()
87 delete args->context; in CREATE_BRIDGE1()
94 args->context = mContext; in destroyContext()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java93 SomeArgs args = (SomeArgs)msg.obj; in sendMessageAndWait() local
94 args.mWaitState = SomeArgs.WAIT_WAITING; in sendMessageAndWait()
96 synchronized (args) { in sendMessageAndWait()
97 while (args.mWaitState == SomeArgs.WAIT_WAITING) { in sendMessageAndWait()
99 args.wait(); in sendMessageAndWait()
105 args.mWaitState = SomeArgs.WAIT_NONE; in sendMessageAndWait()
106 return args; in sendMessageAndWait()
118 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO() local
119 args.arg1 = arg2; in obtainMessageBOO()
120 args.arg2 = arg3; in obtainMessageBOO()
[all …]
/frameworks/base/core/java/android/content/
DAsyncQueryHandler.java70 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/support/compat/java/android/support/v4/os/
DLocaleHelper.java36 String[] args = str.split("-"); in forLanguageTag() local
37 if (args.length > 2) { in forLanguageTag()
38 return new Locale(args[0], args[1], args[2]); in forLanguageTag()
39 } else if (args.length > 1) { in forLanguageTag()
40 return new Locale(args[0], args[1]); in forLanguageTag()
41 } else if (args.length == 1) { in forLanguageTag()
42 return new Locale(args[0]); in forLanguageTag()
45 String[] args = str.split("_"); in forLanguageTag() local
46 if (args.length > 2) { in forLanguageTag()
47 return new Locale(args[0], args[1], args[2]); in forLanguageTag()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImplProxy.java63 SomeArgs args = SomeArgs.obtain(); in showRecents() local
64 args.argi1 = triggeredFromAltTab ? 1 : 0; in showRecents()
65 args.argi2 = draggingInRecents ? 1 : 0; in showRecents()
66 args.argi3 = animate ? 1 : 0; in showRecents()
67 args.argi4 = reloadTasks ? 1 : 0; in showRecents()
68 args.argi5 = fromHome ? 1 : 0; in showRecents()
69 args.argi6 = growTarget; in showRecents()
70 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_RECENTS, args)); in showRecents()
82 SomeArgs args = SomeArgs.obtain(); in toggleRecents() local
83 args.argi1 = growTarget; in toggleRecents()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java105 String[] args) { in dump() argument
106 if (args != null && args.length >= 2 && args[0].equals(PRIORITY_ARG)) { in dump()
107 final String priority = args[1]; in dump()
110 dumper.dumpCritical(fd, pw, getStrippedArgs(args)); in dump()
114 dumper.dumpHigh(fd, pw, getStrippedArgs(args)); in dump()
118 dumper.dumpNormal(fd, pw, getStrippedArgs(args)); in dump()
123 dumper.dump(fd, pw, args); in dump()
129 private static String[] getStrippedArgs(String[] args) { in getStrippedArgs() argument
130 final String[] stripped = new String[args.length - 2]; in getStrippedArgs()
131 System.arraycopy(args, 2, stripped, 0, stripped.length); in getStrippedArgs()
[all …]
/frameworks/base/tools/bit/
Dprint.cpp63 va_list args; in print_status() local
64 va_start(args, format); in print_status()
65 vfprintf(stdout, format, args); in print_status()
66 va_end(args); in print_status()
82 for (vector<string>::const_iterator it=command.args.begin(); it!=command.args.end(); it++) { in print_command()
95 va_list args; in print_error() local
96 va_start(args, format); in print_error()
97 vfprintf(stderr, format, args); in print_error()
98 va_end(args); in print_error()
109 va_list args; in print_warning() local
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java236 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local
238 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage()
239 final int callbackSeq = args.argi6; in executeMessage()
251 args.recycle(); in executeMessage()
256 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local
258 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage()
259 final int callbackSeq = args.argi6; in executeMessage()
271 args.recycle(); in executeMessage()
276 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local
278 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage()
[all …]
/frameworks/native/libs/gui/include/gui/
DSurface.h199 int dispatchConnect(va_list args);
200 int dispatchDisconnect(va_list args);
201 int dispatchSetBufferCount(va_list args);
202 int dispatchSetBuffersGeometry(va_list args);
203 int dispatchSetBuffersDimensions(va_list args);
204 int dispatchSetBuffersUserDimensions(va_list args);
205 int dispatchSetBuffersFormat(va_list args);
206 int dispatchSetScalingMode(va_list args);
207 int dispatchSetBuffersTransform(va_list args);
208 int dispatchSetBuffersStickyTransform(va_list args);
[all …]
/frameworks/base/tools/aapt2/
DMain.cpp56 extern int Compile(const std::vector<StringPiece>& args, IDiagnostics* diagnostics);
57 extern int Link(const std::vector<StringPiece>& args, IDiagnostics* diagnostics);
58 extern int Dump(const std::vector<StringPiece>& args);
59 extern int Diff(const std::vector<StringPiece>& args);
60 extern int Optimize(const std::vector<StringPiece>& args);
62 static int ExecuteCommand(const StringPiece& command, const std::vector<StringPiece>& args, in ExecuteCommand() argument
65 return Compile(args, diagnostics); in ExecuteCommand()
67 return Link(args, diagnostics); in ExecuteCommand()
69 return Dump(args); in ExecuteCommand()
71 return Diff(args); in ExecuteCommand()
[all …]
/frameworks/base/core/java/android/permissionpresenterservice/
DRuntimePermissionPresenterService.java90 SomeArgs args = SomeArgs.obtain(); in onBind()
91 args.arg1 = packageName; in onBind()
92 args.arg2 = callback; in onBind()
94 args).sendToTarget(); in onBind()
99 SomeArgs args = SomeArgs.obtain(); in onBind() local
100 args.arg1 = packageName; in onBind()
101 args.arg2 = permissionName; in onBind()
103 args).sendToTarget(); in onBind()
121 SomeArgs args = (SomeArgs) msg.obj;
122 String packageName = (String) args.arg1;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DPriorityDumpTest.java73 final String[] args = { in testNonPriorityArgs() local
76 dump(mDumper, mFd, mPw, args); in testNonPriorityArgs()
77 verify(mDumper).dump(same(mFd), same(mPw), same(args)); in testNonPriorityArgs()
82 final String[] args = { in testMissingPriority() local
85 dump(mDumper, mFd, mPw, args); in testMissingPriority()
86 verify(mDumper).dump(same(mFd), same(mPw), same(args)); in testMissingPriority()
91 final String[] args = { in testInvalidPriorityNoExtraArgs() local
94 dump(mDumper, mFd, mPw, args); in testInvalidPriorityNoExtraArgs()
95 verify(mDumper).dump(same(mFd), same(mPw), same(args)); in testInvalidPriorityNoExtraArgs()
100 final String[] args = { in testInvalidPriorityExtraArgs() local
[all …]
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java47 public void run(String[] args) { in run() argument
49 if (args.length >= 2) { in run()
52 if ("stayon".equals(args[1]) && args.length == 3) { in run()
54 if ("true".equals(args[2])) { in run()
59 else if ("false".equals(args[2])) { in run()
61 } else if ("usb".equals(args[2])) { in run()
63 } else if ("ac".equals(args[2])) { in run()
65 } else if ("wireless".equals(args[2])) { in run()
82 } else if ("reboot".equals(args[1])) { in run()
84 if (args.length == 3) { in run()
[all …]
/frameworks/base/core/java/android/widget/
DFilter.java114 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/app/
DInstantAppResolverService.java97 final SomeArgs args = SomeArgs.obtain(); in onBind() field in InstantAppResolverService
98 args.arg1 = callback; in onBind()
99 args.arg2 = digestPrefix; in onBind()
100 args.arg3 = token; in onBind()
102 ServiceHandler.MSG_GET_INSTANT_APP_RESOLVE_INFO, sequence, 0, args) in onBind()
112 final SomeArgs args = SomeArgs.obtain(); in onBind() local
113 args.arg1 = callback; in onBind()
114 args.arg2 = digestPrefix; in onBind()
115 args.arg3 = token; in onBind()
116 args.arg4 = hostName; in onBind()
[all …]
/frameworks/base/core/java/android/security/
DKeystoreArguments.java28 public byte[][] args; field in KeystoreArguments
41 args = null; in KeystoreArguments()
44 public KeystoreArguments(byte[][] args) { in KeystoreArguments() argument
45 this.args = args; in KeystoreArguments()
54 if (args == null) { in writeToParcel()
57 out.writeInt(args.length); in writeToParcel()
58 for (byte[] arg : args) { in writeToParcel()
66 args = new byte[length][]; in readFromParcel()
68 args[i] = in.createByteArray(); in readFromParcel()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java44 Object[] args = invocation.getArguments(); in createMock()
45 return put((String) args[0], (byte[]) args[1], (Integer) args[2], in createMock()
46 (Integer) args[3]); in createMock()
55 Object[] args = invocation.getArguments(); in createMock()
56 return importKey((String) args[0], (byte[]) args[1], (Integer) args[2], in createMock()
57 (Integer) args[3]); in createMock()
65 Object[] args = invocation.getArguments(); in createMock()
66 return delete((String) args[0], (Integer) args[1]); in createMock()
74 Object[] args = invocation.getArguments(); in createMock()
75 return contains((String) args[0], (Integer) args[1]); in createMock()
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java160 final SomeArgs args = SomeArgs.obtain(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local
161 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
162 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
163 args.argi3 = interactionId; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
164 args.arg1 = callback; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
165 args.arg2 = spec; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
166 args.arg3 = interactiveRegion; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
167 args.arg4 = arguments; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
168 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
251 SomeArgs args = (SomeArgs) message.obj; in prepareForExtraDataRequestUiThread() local
[all …]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DL.java53 public static void d(String msg, Object... args) { in d() argument
55 printMessage(null, Diagnostic.Kind.NOTE, String.format(msg, args)); in d()
59 public static void d(Element element, String msg, Object... args) { in d() argument
61 printMessage(element, Diagnostic.Kind.NOTE, String.format(msg, args)); in d()
65 public static void d(Throwable t, String msg, Object... args) { in d() argument
68 String.format(msg, args) + " " + getStackTrace(t)); in d()
72 public static void w(String msg, Object... args) { in w() argument
73 printMessage(null, Kind.WARNING, String.format(msg, args)); in w()
76 public static void w(Element element, String msg, Object... args) { in w() argument
77 printMessage(element, Kind.WARNING, String.format(msg, args)); in w()
[all …]
/frameworks/native/libs/gui/
DSurface.cpp441 va_list args; in hook_perform() local
442 va_start(args, operation); in hook_perform()
444 int result = c->perform(operation, args); in hook_perform()
445 va_end(args); in hook_perform()
883 int Surface::perform(int operation, va_list args) in perform() argument
894 res = dispatchSetUsage(args); in perform()
897 res = dispatchSetCrop(args); in perform()
900 res = dispatchSetBufferCount(args); in perform()
903 res = dispatchSetBuffersGeometry(args); in perform()
906 res = dispatchSetBuffersTransform(args); in perform()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java57 SomeArgs args = SomeArgs.obtain(); in Device() local
58 args.argi1 = id; in Device()
59 args.argi2 = vid; in Device()
60 args.argi3 = pid; in Device()
62 args.arg1 = name; in Device()
64 args.arg1 = id + ":" + vid + ":" + pid; in Device()
66 args.arg2 = descriptor; in Device()
67 args.arg3 = report; in Device()
68 mHandler.obtainMessage(MSG_OPEN_DEVICE, args).sendToTarget(); in Device()
104 SomeArgs args = (SomeArgs) msg.obj; in handleMessage() local
[all …]

12345678910>>...38