/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 | 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 | ConnectionService.java | 233 SomeArgs args = SomeArgs.obtain(); 234 args.arg1 = adapter; 235 args.arg2 = Log.createSubsession(); 236 mHandler.obtainMessage(MSG_ADD_CONNECTION_SERVICE_ADAPTER, args).sendToTarget(); 246 SomeArgs args = SomeArgs.obtain(); 247 args.arg1 = adapter; 248 args.arg2 = Log.createSubsession(); 249 mHandler.obtainMessage(MSG_REMOVE_CONNECTION_SERVICE_ADAPTER, args).sendToTarget(); 265 SomeArgs args = SomeArgs.obtain(); 266 args.arg1 = connectionManagerPhoneAccount; [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 | 725 ZygoteArguments args = null; in childMain() local 750 args = ZygoteArguments.getInstance(argBuffer); in childMain() 751 applyUidSecurityPolicy(args, peerCredentials); in childMain() 753 validateUsapCommand(args); in childMain() 766 args = ZygoteArguments.getInstance(argBuffer); in childMain() 773 if (args == null) { in childMain() 780 applyDebuggerSystemProperty(args); in childMain() 784 if (args.mRLimits != null) { in childMain() 785 rlimits = args.mRLimits.toArray(INT_ARRAY_2D); in childMain() 841 specializeAppProcess(args.mUid, args.mGid, args.mGids, in childMain() [all …]
|
/frameworks/native/cmds/installd/ |
D | run_dex2oat_test.cpp | 89 auto args = std::make_unique<RunDex2OatArgs>(); in MakeDefaultTestArgs() local 90 args->input_dex.reset(ZIP_FD, INPUT_PATH); in MakeDefaultTestArgs() 91 args->output_oat.reset(OAT_FD, OUTPUT_PATH); in MakeDefaultTestArgs() 92 args->input_vdex.reset(INPUT_VDEX_FD, "UNUSED_PATH"); in MakeDefaultTestArgs() 93 args->output_vdex.reset(OUTPUT_VDEX_FD, "UNUSED_PATH"); in MakeDefaultTestArgs() 94 args->instruction_set = "arm64"; in MakeDefaultTestArgs() 95 args->compilation_reason = "rundex2oattest"; in MakeDefaultTestArgs() 96 return args; in MakeDefaultTestArgs() 239 void CallRunDex2Oat(std::unique_ptr<RunDex2OatArgs> args) { in CallRunDex2Oat() argument 241 runner.Initialize(args->output_oat, in CallRunDex2Oat() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerState_test.cpp | 30 DisplayCaptureArgs args; in TEST() local 31 args.pixelFormat = ui::PixelFormat::RGB_565; in TEST() 32 args.sourceCrop = Rect(0, 0, 500, 200); in TEST() 33 args.frameScaleX = 2; in TEST() 34 args.frameScaleY = 4; in TEST() 35 args.captureSecureLayers = true; in TEST() 36 args.displayToken = new BBinder(); in TEST() 37 args.width = 10; in TEST() 38 args.height = 20; in TEST() 39 args.useIdentityTransform = true; in TEST() [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 | 365 SomeArgs args = SomeArgs.obtain(); in onNotificationEnqueuedWithChannel() local 366 args.arg1 = sbn; in onNotificationEnqueuedWithChannel() 367 args.arg2 = channel; in onNotificationEnqueuedWithChannel() 368 args.arg3 = getCurrentRanking(); in onNotificationEnqueuedWithChannel() 370 args).sendToTarget(); in onNotificationEnqueuedWithChannel() 388 SomeArgs args = SomeArgs.obtain(); in onNotificationSnoozedUntilContext() local 389 args.arg1 = sbn; in onNotificationSnoozedUntilContext() 390 args.arg2 = snoozeCriterionId; in onNotificationSnoozedUntilContext() 392 args).sendToTarget(); in onNotificationSnoozedUntilContext() 397 SomeArgs args = SomeArgs.obtain(); in onNotificationsSeen() local [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/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerShellCommand.java | 57 final ParsedArgs args = new ParsedArgs(); in runClearAllSessions() local 58 args.userId = UserHandle.USER_ALL; in runClearAllSessions() 60 if (parseOptions(pw, args) < 0) { in runClearAllSessions() 64 mService.runClearAllSessions(args.userId); in runClearAllSessions() 69 final ParsedArgs args = new ParsedArgs(); in runClearAllBlobs() local 70 args.userId = UserHandle.USER_ALL; in runClearAllBlobs() 72 if (parseOptions(pw, args) < 0) { in runClearAllBlobs() 76 mService.runClearAllBlobs(args.userId); in runClearAllBlobs() 81 final ParsedArgs args = new ParsedArgs(); in runDeleteBlob() local 83 if (parseOptions(pw, args) < 0) { in runDeleteBlob() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ShellCommandHandlerImpl.java | 92 private boolean handleCommand(final String[] args, PrintWriter pw) { in handleCommand() argument 93 if (args.length < 2) { in handleCommand() 97 switch (args[1]) { in handleCommand() 99 return runPair(args, pw); in handleCommand() 101 return runUnpair(args, pw); in handleCommand() 103 return runMoveToSideStage(args, pw); in handleCommand() 105 return runRemoveFromSideStage(args, pw); in handleCommand() 107 return runSetSideStagePosition(args, pw); in handleCommand() 109 return runSetSideStageVisibility(args, pw); in handleCommand() 117 private boolean runPair(String[] args, PrintWriter pw) { in runPair() argument [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/libs/incident/src/ |
D | incident_report.cpp | 43 void AIncidentReportArgs_delete(AIncidentReportArgs* args) { in AIncidentReportArgs_delete() argument 44 delete reinterpret_cast<IncidentReportArgs*>(args); in AIncidentReportArgs_delete() 47 void AIncidentReportArgs_setAll(AIncidentReportArgs* args, bool all) { in AIncidentReportArgs_setAll() argument 48 reinterpret_cast<IncidentReportArgs*>(args)->setAll(all); in AIncidentReportArgs_setAll() 51 void AIncidentReportArgs_setPrivacyPolicy(AIncidentReportArgs* args, int privacyPolicy) { in AIncidentReportArgs_setPrivacyPolicy() argument 52 reinterpret_cast<IncidentReportArgs*>(args)->setPrivacyPolicy(privacyPolicy); in AIncidentReportArgs_setPrivacyPolicy() 55 void AIncidentReportArgs_addSection(AIncidentReportArgs* args, int section) { in AIncidentReportArgs_addSection() argument 56 reinterpret_cast<IncidentReportArgs*>(args)->addSection(section); in AIncidentReportArgs_addSection() 59 void AIncidentReportArgs_setReceiverPackage(AIncidentReportArgs* args, char const* pkg) { in AIncidentReportArgs_setReceiverPackage() argument 60 reinterpret_cast<IncidentReportArgs*>(args)->setReceiverPkg(string(pkg)); in AIncidentReportArgs_setReceiverPackage() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | Surface.h | 221 static int performInternal(ANativeWindow* window, int operation, va_list args); 234 int dispatchConnect(va_list args); 235 int dispatchDisconnect(va_list args); 236 int dispatchSetBufferCount(va_list args); 237 int dispatchSetBuffersGeometry(va_list args); 238 int dispatchSetBuffersDimensions(va_list args); 239 int dispatchSetBuffersUserDimensions(va_list args); 240 int dispatchSetBuffersFormat(va_list args); 241 int dispatchSetScalingMode(va_list args); 242 int dispatchSetBuffersTransform(va_list args); [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/core/java/android/inputmethodservice/ |
D | IInputMethodWrapper.java | 157 SomeArgs args = (SomeArgs)msg.obj; in executeMessage() local 159 target.dump((FileDescriptor) args.arg1, in executeMessage() 160 (PrintWriter) args.arg2, (String[]) args.arg3); in executeMessage() 162 ((PrintWriter)args.arg2).println("Exception: " + e); in executeMessage() 164 synchronized (args.arg4) { in executeMessage() 165 ((CountDownLatch)args.arg4).countDown(); in executeMessage() 167 args.recycle(); in executeMessage() 171 SomeArgs args = (SomeArgs) msg.obj; in executeMessage() local 173 inputMethod.initializeInternal((IBinder) args.arg1, msg.arg1, in executeMessage() 174 (IInputMethodPrivilegedOperations) args.arg2, (int) args.arg3); in executeMessage() [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/native/services/surfaceflinger/CompositionEngine/src/ |
D | CompositionEngine.cpp | 50 const DisplayCreationArgs& args) { in createDisplay() argument 51 return compositionengine::impl::createDisplay(*this, args); in createDisplay() 91 void CompositionEngine::present(CompositionRefreshArgs& args) { in present() argument 95 preComposition(args); in present() 103 for (const auto& output : args.outputs) { in present() 104 output->prepare(args, latchedLayers); in present() 108 updateLayerStateFromFE(args); in present() 110 for (const auto& output : args.outputs) { in present() 111 output->present(args); in present() 115 void CompositionEngine::updateCursorAsync(CompositionRefreshArgs& args) { in updateCursorAsync() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/ |
D | DumpHandler.kt | 88 fun dump(fd: FileDescriptor, pw: PrintWriter, args: Array<String>) { in dump() 93 parseArgs(args) in dump() 110 private fun dumpParameterized(fd: FileDescriptor, pw: PrintWriter, args: ParsedArgs) { in dumpParameterized() 111 when (args.command) { in dumpParameterized() 112 "bugreport-critical" -> dumpCritical(fd, pw, args) in dumpParameterized() 113 "bugreport-normal" -> dumpNormal(pw, args) in dumpParameterized() 114 "dumpables" -> dumpDumpables(fd, pw, args) in dumpParameterized() 115 "buffers" -> dumpBuffers(pw, args) in dumpParameterized() 118 else -> dumpTargets(args.nonFlagArgs, fd, pw, args) in dumpParameterized() 122 private fun dumpCritical(fd: FileDescriptor, pw: PrintWriter, args: ParsedArgs) { in dumpCritical() [all …]
|
/frameworks/base/core/proto/android/os/ |
D | incident.proto | 82 (section).args = "getprop" 87 (section).args = "/proc/version", 94 (section).args = "/system/etc/event-log-tags" 99 (section).args = "main" 104 (section).args = "radio" 109 (section).args = "events" 114 (section).args = "system" 119 (section).args = "crash" 124 (section).args = "stats" 129 (section).args = "security" [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 266 default void startAssist(Bundle args) { } in startAssist() argument 397 default void handleWindowManagerLoggingCommand(String[] args, ParcelFileDescriptor outFd) {} in handleWindowManagerLoggingCommand() argument 485 final SomeArgs args = SomeArgs.obtain(); in disable() local 486 args.argi1 = displayId; in disable() 487 args.argi2 = state1; in disable() 488 args.argi3 = state2; in disable() 489 args.argi4 = animate ? 1 : 0; in disable() 490 Message msg = mHandler.obtainMessage(MSG_DISABLE, args); in disable() 579 SomeArgs args = SomeArgs.obtain(); in setImeWindowStatus() local 580 args.argi1 = displayId; in setImeWindowStatus() [all …]
|