Home
last modified time | relevance | path

Searched refs:longName (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DCommandParser.kt177 val names = unhandledParams.map { it.longName } in generateValidationErrorMessages()
182 missingElements.addAll(unhandledSubCmds.map { it.longName }) in generateValidationErrorMessages()
234 longName = old.longName, in require()
272 longName: String, in flag()
276 checkCliNames(shortName, longName)?.let { in flag()
279 registerNames(shortName, longName) in flag()
281 val flag = Flag(shortName, longName, description) in flag()
287 longName: String, in param()
292 checkCliNames(shortName, longName)?.let { in param()
295 registerNames(shortName, longName) in param()
[all …]
DParseableCommand.kt93 val help by flag(longName = "help", shortName = "h", description = "Print help and return")
241 longName: String, in flag()
251 if (!checkLongName(longName)) { in flag()
252 throw IllegalArgumentException("Flags must not start with '-'. Got $($longName)") in flag()
256 val long = "--$longName" in flag()
262 longName: String, in param()
273 if (!checkLongName(longName)) { in param()
274 throw IllegalArgumentException("Parameters must not start with '-'. Got $($longName)") in param()
278 val long = "--$longName" in param()
320 override val longName: String, constant in com.android.systemui.statusbar.commandline.Flag
[all …]
DParameters.kt78 pw.print(longName) in parseArgsFromIter()
101 override val longName: String, constant in com.android.systemui.statusbar.commandline.SingleArgParam
108 longName,
133 override val longName: String, constant in com.android.systemui.statusbar.commandline.SingleArgParamOptional
140 longName,
168 override val longName: String, constant in com.android.systemui.statusbar.commandline.MultipleArgParam
DSubCommand.kt57 override val longName: String = cmd.name in parseSubCommandArgs() constant in com.android.systemui.statusbar.commandline.OptionalSubCommand
89 override val longName: String = cmd.name constant in com.android.systemui.statusbar.commandline.RequiredSubCommand
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParametersTest.kt15 val optional by SingleArgParamOptional(longName = "longName", valueParser = Type.Int) in singleArgOptional_returnsNullBeforeParse()
21 val param = SingleArgParamOptional(longName = "longName", valueParser = Type.Int) in singleArgOptional_returnsParsedValue()
29 val req by SingleArgParam(longName = "param", valueParser = Type.Boolean) in singleArgRequired_throwsBeforeParse()
35 val param = SingleArgParam(longName = "param", valueParser = Type.Boolean) in singleArgRequired_returnsParsedValue()
43 val optParam = SingleArgParamOptional(longName = "string1", valueParser = Type.String) in param_handledAfterParse()
44 val reqParam = SingleArgParam(longName = "string2", valueParser = Type.Float) in param_handledAfterParse()
DParseableCommandTest.kt62 param(longName = "required-param", shortName = "r", valueParser = Type.String) in testFactoryMethods()
65 param(longName = "optional-param", shortName = "o", valueParser = Type.Boolean) in testFactoryMethods()
205 longName = "param1", in commandWithRequiredParam_provided()
225 param(shortName = "p", longName = "param1", valueParser = Type.String) in commandWithRequiredParam_not_provided_throws()
275 val flag1 by flag(longName = "flag", shortName = "f") in complexCommandWithSubCommands_reusedNames()
277 val param2: String? by param(longName = "param2", valueParser = Type.String) in complexCommandWithSubCommands_reusedNames()
297 val flag1 by flag(shortName = "f", longName = "flag1", description = "flag 1 for test")
298 val flag2 by flag(shortName = "g", longName = "flag2", description = "flag 2 for test")
302 longName = "arg1",
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DScreenDecorCommand.kt33 longName = "debug",
43 longName = "color",
85 longName = "height",
93 longName = "width",
102 longName = "path-data",
114 longName = "viewport-height",
126 longName = "viewport-width",
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/echo/
DLogcatEchoTrackerCommand.kt37 longName = "buffer",
48 longName = "tag",
59 longName = "clear-all",
65 longName = "list",
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/tiny-framework/src/com/android/hoststubgen/test/tinyframework/
DTinyFrameworkEnumComplex.java37 TinyFrameworkEnumComplex(String longName, String shortName) { in TinyFrameworkEnumComplex() argument
38 mLongName = longName; in TinyFrameworkEnumComplex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DStatusBarInsetsCommand.kt48 longName = "rotation",
60 longName = "margin",
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt227 val longName = invalidPackageName() in <lambda>() constant
229 setAppPackageName(longName) in <lambda>()
240 val longName = invalidPackageName() in <lambda>() constant
242 setInstallerPackageName(longName) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java124 final String longName = Stream.generate( in userNameView_inputLongName_shouldBeConstrained() local
131 userNameEditText.setText(longName); in userNameView_inputLongName_shouldBeConstrained()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java432 public Op(String name, String longName) { in Op() argument
434 mLongName = longName; in Op()
1136 GenericMapOp(String name, String longName, int size) { in GenericMapOp() argument
1137 super(name, longName); in GenericMapOp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkResponse.java184 public void getOperatorResponse(RadioResponseInfo responseInfo, String longName, in getOperatorResponse() argument
187 HAL_SERVICE_NETWORK, mRil, responseInfo, longName, shortName, numeric); in getOperatorResponse()
DRadioResponse.java499 String longName, String shortName, String numeric) { in getOperatorResponse() argument
500 responseStrings(responseInfo, longName, shortName, numeric); in getOperatorResponse()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1407 public void setOperatorName(String longName, String shortName, String numeric) { in setOperatorName() argument
1408 mOperatorAlphaLong = longName; in setOperatorName()
1420 public void setOperatorAlphaLong(@Nullable String longName) { in setOperatorAlphaLong() argument
1421 mOperatorAlphaLong = longName; in setOperatorAlphaLong()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java2000 String longName = null; in parseEfPnn() local
2005 longName = IccUtils.networkNameToString(tlv.getData(), 0, in parseEfPnn()
2020 tmpPnns.add(new PlmnNetworkName(longName, shortName)); in parseEfPnn()
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/golden-output/
D01-hoststubgen-test-tiny-framework-orig-dump.txt1150 0 18 3 longName Ljava/lang/String;
D03-hoststubgen-test-tiny-framework-host-impl-dump.txt1354 0 18 3 longName Ljava/lang/String;
D13-hoststubgen-test-tiny-framework-host-ext-impl-dump.txt1694 11 18 3 longName Ljava/lang/String;