Home
last modified time | relevance | path

Searched refs:shortName (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParseableCommand.kt93 val help by flag(longName = "help", shortName = "h", description = "Print help and return")
242 shortName: String? = null, in flag()
245 if (!checkShortName(shortName)) { in flag()
247 "Flag short name must be one character long, or null. Got ($shortName)" in flag()
255 val short = shortName?.let { "-$shortName" } in flag()
263 shortName: String? = null, in param()
267 if (!checkShortName(shortName)) { in param()
269 "Parameter short name must be one character long, or null. Got ($shortName)" in param()
277 val short = shortName?.let { "-$shortName" } in param()
319 override val shortName: String? = null, constant in com.android.systemui.statusbar.commandline.Flag
[all …]
DCommandParser.kt183 val names = unhandledSubCmds.map { it.shortName } in generateValidationErrorMessages()
235 shortName = old.shortName, in require()
273 shortName: String? = null, in flag()
276 checkCliNames(shortName, longName)?.let { in flag()
279 registerNames(shortName, longName) in flag()
281 val flag = Flag(shortName, longName, description) in flag()
288 shortName: String? = null, in param()
292 checkCliNames(shortName, longName)?.let { in param()
295 registerNames(shortName, longName) in param()
299 shortName = shortName, in param()
DParameters.kt75 if (shortName != null) { in parseArgsFromIter()
76 pw.print("$shortName, ") in parseArgsFromIter()
102 override val shortName: String? = null, constant in com.android.systemui.statusbar.commandline.SingleArgParam
109 shortName,
134 override val shortName: String? = null, constant in com.android.systemui.statusbar.commandline.SingleArgParamOptional
141 shortName,
169 override val shortName: String? = null, constant in com.android.systemui.statusbar.commandline.MultipleArgParam
185 throw ArgParseError("no argument provided for $shortName") in getValue()
DSubCommand.kt56 override val shortName: String? = null in parseSubCommandArgs() constant in com.android.systemui.statusbar.commandline.OptionalSubCommand
88 override val shortName: String? = null constant in com.android.systemui.statusbar.commandline.RequiredSubCommand
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParseableCommandTest.kt60 val flag by flag("flag", shortName = "f") in testFactoryMethods()
62 param(longName = "required-param", shortName = "r", valueParser = Type.String) in testFactoryMethods()
65 param(longName = "optional-param", shortName = "o", valueParser = Type.Boolean) in testFactoryMethods()
206 shortName = "p", in commandWithRequiredParam_provided()
225 param(shortName = "p", longName = "param1", valueParser = Type.String) in commandWithRequiredParam_not_provided_throws()
267 val flag1 by flag("flag", shortName = "f") in complexCommandWithSubCommands_reusedNames()
268 val param1: String? by param("param1", shortName = "p", valueParser = Type.String) in complexCommandWithSubCommands_reusedNames()
275 val flag1 by flag(longName = "flag", shortName = "f") in complexCommandWithSubCommands_reusedNames()
276 val param1 by param("param1", shortName = "p", valueParser = Type.String).required() in complexCommandWithSubCommands_reusedNames()
297 val flag1 by flag(shortName = "f", longName = "flag1", description = "flag 1 for test")
[all …]
DCommandParserTest.kt143 val topLevelFlag by parser.flag("flag", shortName = "-f") in parseCommandWithSubCommand_required_provided()
/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
39 mShortName = shortName; in TinyFrameworkEnumComplex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DStatusBarInsetsCommand.kt49 shortName = "r",
61 shortName = "m",
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DScreenDecorCommand.kt44 shortName = "c",
103 shortName = "d",
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/echo/
DLogcatEchoTrackerCommand.kt38 shortName = "b",
49 shortName = "t",
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java1580 public final String shortName; field in IccRecords.PlmnNetworkName
1582 public PlmnNetworkName(String fullName, String shortName) { in PlmnNetworkName() argument
1584 this.shortName = shortName; in PlmnNetworkName()
1595 return shortName; in getName()
1601 return Objects.hash(fullName, shortName); in hashCode()
1611 && TextUtils.equals(shortName, pnn.shortName); in equals()
1616 return "{fullName = " + fullName + ", shortName = " + shortName + "}"; in toString()
DSIMRecords.java2001 String shortName = null; in parseEfPnn() local
2010 shortName = IccUtils.networkNameToString(tlv.getData(), 0, in parseEfPnn()
2020 tmpPnns.add(new PlmnNetworkName(longName, shortName)); in parseEfPnn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkResponse.java185 String shortName, String numeric) { 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/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java519 if (!TextUtils.isEmpty(name.shortName)) return name.shortName; in getPlmnNetworkName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryTest.kt897 val shortName = "short name" in operatorAlphaShort_tracked() constant
901 /* shortName */ shortName, in operatorAlphaShort_tracked()
907 assertThat(latest).isEqualTo(shortName) in operatorAlphaShort_tracked()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1407 public void setOperatorName(String longName, String shortName, String numeric) { in setOperatorName() argument
1409 mOperatorAlphaShort = shortName; in setOperatorName()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1722 final String shortName = name.substring(name.lastIndexOf('.') + 1); in addExtra() local
1724 buffer.append(shortName).append('=').append(intent.getExtra(name)); in addExtra()
1726 buffer.append("no ").append(shortName); in addExtra()
/frameworks/base/core/java/android/os/
DBatteryStats.java2393 public final String shortName; field in BatteryStats.BitDescription
2397 public BitDescription(int mask, String name, String shortName) { in BitDescription() argument
2401 this.shortName = shortName; in BitDescription()
2406 public BitDescription(int mask, int shift, String name, String shortName, in BitDescription() argument
2411 this.shortName = shortName; in BitDescription()
6863 sb.append(longNames ? bd.name : bd.shortName); in printBitDescriptions()
6878 sb.append(longNames ? bd.name : bd.shortName); in printBitDescriptions()
/frameworks/base/tools/hoststubgen/hoststubgen/test-tiny-framework/golden-output/
D01-hoststubgen-test-tiny-framework-orig-dump.txt1151 0 18 4 shortName Ljava/lang/String;
D03-hoststubgen-test-tiny-framework-host-impl-dump.txt1355 0 18 4 shortName Ljava/lang/String;
D13-hoststubgen-test-tiny-framework-host-ext-impl-dump.txt1695 11 18 4 shortName Ljava/lang/String;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt34145 Landroid/os/BatteryStats$BitDescription;->shortName:Ljava/lang/String;