/frameworks/base/telecomm/java/android/telecom/ |
D | ConnectionServiceAdapterServant.java | 96 SomeArgs args = (SomeArgs) msg.obj; 99 (String) args.arg1, 100 (ConnectionRequest) args.arg2, 101 (ParcelableConnection) args.arg3, 104 args.recycle(); 109 SomeArgs args = (SomeArgs) msg.obj; 112 (String) args.arg1, 113 (ConnectionRequest) args.arg2, 114 (ParcelableConference) args.arg3, 117 args.recycle(); [all …]
|
D | ConnectionService.java | 226 SomeArgs args = SomeArgs.obtain(); 227 args.arg1 = adapter; 228 args.arg2 = Log.createSubsession(); 229 mHandler.obtainMessage(MSG_ADD_CONNECTION_SERVICE_ADAPTER, args).sendToTarget(); 239 SomeArgs args = SomeArgs.obtain(); 240 args.arg1 = adapter; 241 args.arg2 = Log.createSubsession(); 242 mHandler.obtainMessage(MSG_REMOVE_CONNECTION_SERVICE_ADAPTER, args).sendToTarget(); 258 SomeArgs args = SomeArgs.obtain(); 259 args.arg1 = connectionManagerPhoneAccount; [all …]
|
D | VideoCallbackServant.java | 62 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 …]
|
D | Log.java | 83 public static void d(String prefix, String format, Object... args) { in d() argument 86 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d() 88 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() 92 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 95 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 97 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 102 public static void i(String prefix, String format, Object... args) { in i() argument 104 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i() 108 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 110 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() [all …]
|
/frameworks/native/cmds/installd/tests/ |
D | installd_otapreopt_test.cpp | 50 const char** args) { in verifyPackageParameters() argument 58 ASSERT_STREQ(params.target_slot.c_str(), args[1]); in verifyPackageParameters() 59 ASSERT_STREQ(params.apk_path, args[i++]); in verifyPackageParameters() 60 ASSERT_EQ(params.uid, static_cast<uid_t>(atoi(args[i++]))); in verifyPackageParameters() 61 ASSERT_STREQ(params.pkgName, args[i++]); in verifyPackageParameters() 62 ASSERT_STREQ(params.instruction_set, args[i++]); in verifyPackageParameters() 63 ASSERT_EQ(params.dexopt_needed, atoi(args[i++])); in verifyPackageParameters() 64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters() 65 const int dexopt_flags = atoi(args[i++]); in verifyPackageParameters() 66 ASSERT_STREQ(params.compiler_filter, args[i++]); in verifyPackageParameters() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 101 SomeArgs args = (SomeArgs)msg.obj; in sendMessageAndWait() local 102 args.mWaitState = SomeArgs.WAIT_WAITING; in sendMessageAndWait() 104 synchronized (args) { in sendMessageAndWait() 105 while (args.mWaitState == SomeArgs.WAIT_WAITING) { in sendMessageAndWait() 107 args.wait(); in sendMessageAndWait() 113 args.mWaitState = SomeArgs.WAIT_NONE; in sendMessageAndWait() 114 return args; in sendMessageAndWait() 127 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO() local 128 args.arg1 = arg2; in obtainMessageBOO() 129 args.arg2 = arg3; in obtainMessageBOO() [all …]
|
D | Zygote.java | 573 ZygoteArguments args = null; in usapMain() local 597 args = new ZygoteArguments(argStrings); in usapMain() 600 validateUsapCommand(args); in usapMain() 621 setAppProcessName(args, "USAP"); in usapMain() 623 applyUidSecurityPolicy(args, peerCredentials); in usapMain() 624 applyDebuggerSystemProperty(args); in usapMain() 628 if (args.mRLimits != null) { in usapMain() 629 rlimits = args.mRLimits.toArray(INT_ARRAY_2D); in usapMain() 681 specializeAppProcess(args.mUid, args.mGid, args.mGids, in usapMain() 682 args.mRuntimeFlags, rlimits, args.mMountExternal, in usapMain() [all …]
|
D | FuseAppLoop.java | 148 final Args args = (Args) msg.obj; 149 final CallbackEntry entry = args.entry; 150 final long inode = args.inode; 151 final long unique = args.unique; 152 final int size = args.size; 153 final long offset = args.offset; 154 final byte[] data = args.data; 164 recycleLocked(args); 174 recycleLocked(args); 185 recycleLocked(args); [all …]
|
/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/native/services/utils/tests/ |
D | PriorityDumper_test.cpp | 63 Vector<String16> args; in TEST_F() local 64 EXPECT_CALL(dumper_, dumpAll(fd, ElementsAreArray(args), /*asProto=*/false)); in TEST_F() 65 dumper_.priorityDump(fd, args); in TEST_F() 69 Vector<String16> args; in TEST_F() local 70 addAll(args, {"bunch", "of", "args"}); in TEST_F() 71 EXPECT_CALL(dumper_, dumpAll(fd, ElementsAreArray(args), /*asProto=*/false)); in TEST_F() 72 dumper_.priorityDump(fd, args); in TEST_F() 76 Vector<String16> args; in TEST_F() local 77 addAll(args, {"--dump-priority", "CRITICAL"}); in TEST_F() 80 dumper_.priorityDump(fd, args); in TEST_F() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationAssistantService.java | 297 SomeArgs args = SomeArgs.obtain(); in onNotificationEnqueuedWithChannel() local 298 args.arg1 = sbn; in onNotificationEnqueuedWithChannel() 299 args.arg2 = channel; in onNotificationEnqueuedWithChannel() 301 args).sendToTarget(); in onNotificationEnqueuedWithChannel() 315 SomeArgs args = SomeArgs.obtain(); in onNotificationSnoozedUntilContext() local 316 args.arg1 = sbn; in onNotificationSnoozedUntilContext() 317 args.arg2 = snoozeCriterionId; in onNotificationSnoozedUntilContext() 319 args).sendToTarget(); in onNotificationSnoozedUntilContext() 324 SomeArgs args = SomeArgs.obtain(); in onNotificationsSeen() local 325 args.arg1 = keys; in onNotificationsSeen() [all …]
|
/frameworks/base/tools/bit/ |
D | print.cpp | 63 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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImplProxy.java | 62 SomeArgs args = SomeArgs.obtain(); in showRecents() local 63 args.argi1 = triggeredFromAltTab ? 1 : 0; in showRecents() 64 args.argi2 = draggingInRecents ? 1 : 0; in showRecents() 65 args.argi3 = animate ? 1 : 0; in showRecents() 66 args.argi4 = growTarget; in showRecents() 67 mHandler.sendMessage(mHandler.obtainMessage(MSG_SHOW_RECENTS, args)); in showRecents() 79 SomeArgs args = SomeArgs.obtain(); in toggleRecents() local 80 args.argi1 = growTarget; in toggleRecents() 81 mHandler.sendMessage(mHandler.obtainMessage(MSG_TOGGLE_RECENTS, args)); in toggleRecents() 92 SomeArgs args = SomeArgs.obtain(); in splitPrimaryTask() local [all …]
|
/frameworks/base/tests/JankBench/scripts/ |
D | adbutil.py | 9 self.args = arg 11 def am(serial, cmd, args): argument 12 if not isinstance(args, list): 13 args = [args] 14 full_args = ["am"] + [cmd] + args 17 def pm(serial, cmd, args): argument 18 if not isinstance(args, list): 19 args = [args] 20 full_args = ["pm"] + [cmd] + args 29 args = [ATRACE_PATH, "-e", serial, "-t" + time, "-b32768"] + tags [all …]
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/ |
D | LocalDrive.java | 95 public static void main(String[] args) { in main() argument 104 if (args.length > 0) { in main() 105 switch (args[0]) { in main() 107 cmdClear(args); in main() 110 cmdGetData(args); in main() 113 cmdRemove(args); in main() 116 cmdUpdate(args); in main() 119 cmdUpload(args); in main() 131 private static boolean cmdUpload(String[] args) { in cmdUpload() argument 132 return updateConfig(args, true); in cmdUpload() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 234 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 236 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage() 237 final int callbackSeq = args.argi6; in executeMessage() 249 args.recycle(); in executeMessage() 254 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 256 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage() 257 final int callbackSeq = args.argi6; in executeMessage() 269 args.recycle(); in executeMessage() 274 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 276 final IInputContextCallback callback = (IInputContextCallback) args.arg6; in executeMessage() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputClassifier.cpp | 70 static bool isTouchEvent(const NotifyMotionArgs& args) { in isTouchEvent() argument 71 return args.source == AINPUT_SOURCE_TOUCHPAD || args.source == AINPUT_SOURCE_TOUCHSCREEN; in isTouchEvent() 76 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyMotionArgs> args) : in ClassifierEvent() argument 77 type(ClassifierEventType::MOTION), args(std::move(args)) { }; in ClassifierEvent() 78 ClassifierEvent::ClassifierEvent(std::unique_ptr<NotifyDeviceResetArgs> args) : in ClassifierEvent() argument 79 type(ClassifierEventType::DEVICE_RESET), args(std::move(args)) { }; in ClassifierEvent() 80 ClassifierEvent::ClassifierEvent(ClassifierEventType type, std::unique_ptr<NotifyArgs> args) : in ClassifierEvent() argument 81 type(type), args(std::move(args)) { }; in ClassifierEvent() 84 type(other.type), args(std::move(other.args)) { }; in ClassifierEvent() 88 args = std::move(other.args); in operator =() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | PriorityDump.java | 140 String[] args) { in dump() argument 144 if (args == null) { in dump() 145 dumper.dump(fd, pw, args, asProto); in dump() 149 String[] strippedArgs = new String[args.length]; in dump() 151 for (int argIndex = 0; argIndex < args.length; argIndex++) { in dump() 152 if (args[argIndex].equals(PROTO_ARG)) { in dump() 154 } else if (args[argIndex].equals(PRIORITY_ARG)) { in dump() 155 if (argIndex + 1 < args.length) { in dump() 157 priority = getPriorityType(args[argIndex]); in dump() 160 strippedArgs[strippedCount++] = args[argIndex]; in dump() [all …]
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 61 public void run(String[] args) { in run() argument 63 if (args.length >= 2) { in run() 66 if ("stayon".equals(args[1]) && args.length == 3) { in run() 68 if ("true".equals(args[2])) { in run() 73 else if ("false".equals(args[2])) { in run() 75 } else if ("usb".equals(args[2])) { in run() 77 } else if ("ac".equals(args[2])) { in run() 79 } else if ("wireless".equals(args[2])) { in run() 97 } else if ("reboot".equals(args[1])) { in run() 99 if (args.length == 3) { in run() [all …]
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsService_test.cpp | 62 Vector<String8> args; in TEST() local 63 args.push(String8("-1")); in TEST() 64 args.push(String8("0")); in TEST() 65 args.push(String8("1")); in TEST() 66 args.push(String8("9999999999999999999999999999999999")); in TEST() 67 args.push(String8("a1")); in TEST() 68 args.push(String8("")); in TEST() 76 EXPECT_FALSE(service.getUidFromArgs(args, 0, uid)); in TEST() 79 EXPECT_TRUE(service.getUidFromArgs(args, 1, uid)); in TEST() 83 EXPECT_TRUE(service.getUidFromArgs(args, 2, uid)); in TEST() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | Surface.h | 217 int dispatchConnect(va_list args); 218 int dispatchDisconnect(va_list args); 219 int dispatchSetBufferCount(va_list args); 220 int dispatchSetBuffersGeometry(va_list args); 221 int dispatchSetBuffersDimensions(va_list args); 222 int dispatchSetBuffersUserDimensions(va_list args); 223 int dispatchSetBuffersFormat(va_list args); 224 int dispatchSetScalingMode(va_list args); 225 int dispatchSetBuffersTransform(va_list args); 226 int dispatchSetBuffersStickyTransform(va_list args); [all …]
|
/frameworks/base/core/java/android/app/ |
D | InstantAppResolverService.java | 226 final SomeArgs args = SomeArgs.obtain(); in onBind() field in InstantAppResolverService 227 args.arg1 = callback; in onBind() 228 args.arg2 = digestPrefix; in onBind() 229 args.arg3 = userId; in onBind() 230 args.arg4 = token; in onBind() 231 args.arg5 = sanitizedIntent; in onBind() 233 sequence, 0, args).sendToTarget(); in onBind() 242 final SomeArgs args = SomeArgs.obtain(); in onBind() local 243 args.arg1 = callback; in onBind() 244 args.arg2 = digestPrefix; in onBind() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 255 Vector<String8> args; in onTransact() local 257 args.add(String8(data.readString16())); in onTransact() 263 err = command(in, out, err, args, resultReceiver); in onTransact() 282 status_t StatsService::dump(int fd, const Vector<String16>& args) { in dump() argument 286 int lastArg = args.size() - 1; in dump() 288 if (lastArg >= 0 && !args[lastArg].compare(String16("--proto"))) { // last argument in dump() 292 if (args.size() > 0 && !args[0].compare(String16("--metadata"))) { // first argument in dump() 295 if (lastArg >= 0 && !args[lastArg].compare(String16("-v"))) { in dump() 350 status_t StatsService::command(int in, int out, int err, Vector<String8>& args, in command() argument 357 const int argCount = args.size(); in command() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Filter.java | 116 RequestArguments args = new RequestArguments(); in filter() local 119 args.constraint = constraint != null ? constraint.toString() : null; in filter() 120 args.listener = listener; in filter() 121 message.obj = args; in filter() 234 RequestArguments args = (RequestArguments) msg.obj; in handleMessage() local 236 args.results = performFiltering(args.constraint); in handleMessage() 238 args.results = new FilterResults(); in handleMessage() 242 message.obj = args; in handleMessage() 282 RequestArguments args = (RequestArguments) msg.obj; in handleMessage() local 284 publishResults(args.constraint, args.results); in handleMessage() [all …]
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 170 final SomeArgs args = SomeArgs.obtain(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local 171 args.argi1 = AccessibilityNodeInfo.getAccessibilityViewId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 172 args.argi2 = AccessibilityNodeInfo.getVirtualDescendantId(accessibilityNodeId); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 173 args.argi3 = interactionId; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 174 args.arg1 = callback; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 175 args.arg2 = spec; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 176 args.arg3 = interactiveRegion; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 177 args.arg4 = arguments; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 178 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 261 SomeArgs args = (SomeArgs) message.obj; in prepareForExtraDataRequestUiThread() local [all …]
|