Home
last modified time | relevance | path

Searched refs:mArgs (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplayCreationArgs.h59 DisplayCreationArgs build() { return std::move(mArgs); } in build()
62 mArgs.id = id; in setId()
67 mArgs.pixels = pixels; in setPixels()
72 mArgs.isSecure = isSecure; in setIsSecure()
77 mArgs.powerAdvisor = powerAdvisor; in setPowerAdvisor()
82 mArgs.name = std::move(name); in setName()
87 DisplayCreationArgs mArgs;
DRenderSurfaceCreationArgs.h57 RenderSurfaceCreationArgs build() { return std::move(mArgs); } in build()
60 mArgs.displayWidth = displayWidth; in setDisplayWidth()
64 mArgs.displayHeight = displayHeight; in setDisplayHeight()
68 mArgs.nativeWindow = std::move(nativeWindow); in setNativeWindow()
72 mArgs.displaySurface = std::move(displaySurface); in setDisplaySurface()
77 mArgs.maxTextureCacheSize = maxTextureCacheSize; in setMaxTextureCacheSize()
82 RenderSurfaceCreationArgs mArgs;
DDisplayColorProfileCreationArgs.h73 DisplayColorProfileCreationArgs Build() { return std::move(mArgs); } in Build()
76 mArgs.hasWideColorGamut = hasWideColorGamut; in setHasWideColorGamut()
80 mArgs.hdrCapabilities = std::move(hdrCapabilities); in setHdrCapabilities()
85 mArgs.supportedPerFrameMetadata = supportedPerFrameMetadata; in setSupportedPerFrameMetadata()
90 mArgs.hwcColorModes = std::move(hwcColorModes); in setHwcColorModes()
95 DisplayColorProfileCreationArgs mArgs;
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBasicShellCommandHandler.java42 private String[] mArgs; field in BasicShellCommandHandler
62 mArgs = args; in init()
212 String prev = mArgs[mArgPos - 1]; in getNextOption()
215 if (mArgPos >= mArgs.length) { in getNextOption()
218 String arg = mArgs[mArgPos]; in getNextOption()
248 } else if (mArgPos < mArgs.length) { in getNextArg()
249 return mArgs[mArgPos++]; in getNextArg()
258 } else if (mArgPos < mArgs.length) { in peekNextArg()
259 return mArgs[mArgPos]; in peekNextArg()
271 for (int pos = mArgPos; pos < mArgs.length; pos++) { in peekRemainingArgs()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBaseCommand.java30 final protected BasicShellCommandHandler mArgs = new BasicShellCommandHandler() { field in BaseCommand
59 mArgs.init(null, null, null, null, args, 0); in run()
105 return mArgs.getNextOption(); in nextOption()
113 return mArgs.getNextArg(); in nextArg()
121 return mArgs.peekNextArg(); in peekNextArg()
129 return mArgs.getNextArgRequired(); in nextArgRequired()
DRuntimeInit.java539 private final String[] mArgs; field in RuntimeInit.MethodAndArgsCaller
543 mArgs = args; in MethodAndArgsCaller()
548 mMethod.invoke(null, new Object[] { mArgs }); in run()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DSummaryForAllUidLoader.java38 private final Bundle mArgs; field in SummaryForAllUidLoader
51 mArgs = args; in SummaryForAllUidLoader()
62 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground()
63 final long start = mArgs.getLong(KEY_START); in loadInBackground()
64 final long end = mArgs.getLong(KEY_END); in loadInBackground()
DChartDataLoader.java48 private final Bundle mArgs; field in ChartDataLoader
60 mArgs = args; in ChartDataLoader()
71 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground()
72 final AppItem app = mArgs.getParcelable(KEY_APP); in loadInBackground()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java111 @Nullable Object[] mArgs = null; field in PooledLambdaImpl
173 if (mArgs != null) Arrays.fill(mArgs, null); in doRecycle()
197 if (mArgs[i] == ArgumentPlaceholder.INSTANCE) { in invoke()
199 + Arrays.toString(mArgs)); in invoke()
209 int argsSize = ArrayUtils.size(mArgs); in invoke()
218 int argsSize = ArrayUtils.size(mArgs); in fillInArg()
220 if (mArgs[i] == ArgumentPlaceholder.INSTANCE) { in fillInArg()
221 mArgs[i] = invocationArg; in fillInArg()
228 + invocationArg + " among " + Arrays.toString(mArgs)); in fillInArg()
495 Object result = mArgs[index]; in popArg()
[all …]
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java29 private String[] mArgs; field in RequestSync
108 mArgs = args; in run()
140 if (mArgs.length > 0) { in parseArgs()
141 switch (mArgs[0]) { in parseArgs()
228 if (mNextArg < mArgs.length) { in parseArgs()
237 String prev = mArgs[mNextArg - 1]; in nextOption()
240 if (mNextArg >= mArgs.length) { in nextOption()
243 String arg = mArgs[mNextArg]; in nextOption()
269 } else if (mNextArg < mArgs.length) { in nextArg()
270 return mArgs[mNextArg++]; in nextArg()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DLogAbortException.java22 private final Object[] mArgs; field in LogAbortException
26 mArgs = args; in LogAbortException()
30 log.error(mFormat, mArgs); in error()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java36 static String[] mArgs; field in Backup
65 mArgs = args; in run()
187 for (int argNumber = 0; argNumber < mArgs.length - 1; argNumber++) { in parseUserId()
188 if ("-user".equals(mArgs[argNumber])) { in parseUserId()
189 return UserHandle.parseUserArg(mArgs[argNumber + 1]); in parseUserId()
223 if (mNextArg >= mArgs.length) { in nextArg()
226 String arg = mArgs[mNextArg]; in nextArg()
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/
DIncidentHelper.java37 private final List<String> mArgs; field in IncidentHelper
41 mArgs = Collections.unmodifiableList(Arrays.asList(args)); in IncidentHelper()
42 mArgsIterator = mArgs.listIterator(); in IncidentHelper()
81 "Arg required after \"" + mArgs.get(mArgsIterator.previousIndex()) + "\""); in nextArgRequired()
/frameworks/libs/net/common/netd/libnetdutils/
DLog.cpp60 text.push_back(StringPrintf("%s(%s)", mFunc.c_str(), Join(mArgs, ", ").c_str())); in toString()
117 mArgs.push_back(val.empty() ? "\"\"" : val); in arg()
123 mArgs.push_back(val ? "true" : "false"); in arg()
128 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
133 mArgs.push_back('{' + toHex(makeSlice(val)) + '}'); in arg()
138 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
/frameworks/native/cmds/idlcli/
Dutils.h102 mArgs.emplace_back(std::string_view(argv[argi])); in Args()
116 bool empty() { return mArgs.empty(); } in empty()
125 if (mArgs.empty()) { in get()
129 std::stringstream stream{std::string{mArgs.front()}}; in get()
136 mArgs.erase(mArgs.begin()); in get()
142 std::vector<std::string_view> mArgs; variable
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java120 private final String[] mArgs; field in AppWidget.Tokenizer
124 mArgs = args; in Tokenizer()
128 if (mNextArg < mArgs.length) { in nextArg()
129 return mArgs[mNextArg++]; in nextArg()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallRequest.java20 public final InstallArgs mArgs; field in InstallRequest
24 mArgs = args; in InstallRequest()
/frameworks/base/core/java/android/text/style/
DTtsSpan.java42 private final PersistableBundle mArgs; field in TtsSpan
467 mArgs = args; in TtsSpan()
472 mArgs = src.readPersistableBundle(); in TtsSpan()
488 return mArgs; in getArgs()
504 dest.writePersistableBundle(mArgs); in writeToParcelInternal()
532 private PersistableBundle mArgs = new PersistableBundle(); field in TtsSpan.Builder
544 return new TtsSpan(mType, mArgs); in build()
555 mArgs.putString(arg, value); in setStringArgument()
566 mArgs.putInt(arg, value); in setIntArgument()
577 mArgs.putLong(arg, value); in setLongArgument()
/frameworks/rs/
DrsClosure.cpp75 mArgs = new const void*[mNumArg]; in Closure()
77 mArgs[j] = (const void*)values[j]; in Closure()
117 mArgs(nullptr), mNumArg(0), in Closure()
139 delete[] mArgs; in ~Closure()
144 mArgs[index] = value; in setArg()
/frameworks/base/tests/ApkVerityTest/src/com/android/apkverity/
DBaseInstallMultiple.java43 private final List<String> mArgs = new ArrayList<>(); field in BaseInstallMultiple
53 mArgs.add(arg); in addArg()
87 for (String arg : mArgs) { in run()
/frameworks/base/cmds/incidentd/src/
DSection.h127 Vector<String16> mArgs; variable
142 Vector<String16> mArgs; variable
157 Vector<String16> mArgs; variable
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java87 private Bundle mArgs; field in AppCompatibility
99 mArgs = InstrumentationRegistry.getArguments(); in setUp()
110 String appLaunchTimeoutMsecs = mArgs.getString(APP_LAUNCH_TIMEOUT_MSECS); in setUp()
114 String workspaceLaunchTimeoutMsecs = mArgs.getString(WORKSPACE_LAUNCH_TIMEOUT_MSECS); in setUp()
142 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH); in testAppStability()
/frameworks/base/cmds/app_process/
Dapp_main.cpp46 mArgs.add(String8(argv[i])); in setClassNameAndArgs()
86 ar->callMain(mClassName, mClass, mArgs); in onStarted()
112 Vector<String8> mArgs; member in android::AppRuntime
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java39 private String[] mArgs; field in Sm
69 mArgs = args; in run()
335 if (mNextArg >= mArgs.length) { in nextArg()
338 String arg = mArgs[mNextArg]; in nextArg()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp54 const void* arg = closure->mArgs[i]; in groupRoot()
651 (const Allocation**)firstCpuClosure->mClosure->mArgs, in run()
661 (const Allocation**)firstCpuClosure->mClosure->mArgs, in run()
674 (const Allocation**)closure->mArgs, in run()
683 if (cpuClosure->mSi->forEachMtlsSetup((const Allocation**)closure->mArgs, in run()
700 (const Allocation**)closure->mArgs, in run()

12