Home
last modified time | relevance | path

Searched refs:SingleArgParamOptional (Results 1 – 5 of 5) sorted by relevance

/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()
43 val optParam = SingleArgParamOptional(longName = "string1", valueParser = Type.String) in param_handledAfterParse()
DParseableCommandTest.kt82 val opt = params.filter { it is SingleArgParamOptional<*> } in testFactoryMethods()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DCommandParser.kt231 fun <T : Any> require(old: SingleArgParamOptional<T>): SingleArgParam<T> { in require()
245 old: SingleArgParamOptional<T>, in replaceWithRequired()
291 ): SingleArgParamOptional<T> { in param()
298 SingleArgParamOptional( in param()
DParseableCommand.kt266 ): SingleArgParamOptional<T> { in param()
288 fun <T : Any> SingleArgParamOptional<T>.required(): SingleArgParam<T> = parser.require(this) in subCommand()
DParameters.kt132 class SingleArgParamOptional<out T : Any>( class