Home
last modified time | relevance | path

Searched defs:input (Results 1 – 25 of 74) sorted by relevance

123

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DQuotationAwareTokenizerTest.java34 private static void verify(String input, String[] expected, String delimiter) in verify()
53 private static void verify(String input, String[] expected) throws IllegalArgumentException { in verify()
60 String input = " one two three"; in testTokenizeLine_simple() local
73 String input = "--foo \"this is a config\""; in testTokenizeLine_whitespace() local
81 String input = "--foo,bar"; in testTokenizeLine_comma() local
89 String input = "--foo,\"a,config\""; in testTokenizeLine_commaAndQuote() local
97 String input = "--foo,this is a,config"; in testTokenizeLine_commaAndWhitespace() local
105 String input = "--firstFlag stringOne --secondFlag stringTwo"; in testTokenizeLine_extraSpace() local
120 String input = "--bar \"escap\\\\ed \\\" quotation\""; in testTokenizeLine_escapedQuotation() local
136 String input = "--foo \"this is truncated"; in testTokenizeLine_endOnQuote() local
[all …]
DTimeValTest.java120 private void assertInvalid(String input) { in assertInvalid()
/tools/loganalysis/javatests/com/android/loganalysis/parser/
DCompactMemInfoParserTest.java32 … List<String> input = Arrays.asList("proc,cached,com.google.android.youtube1,2964,19345,1005,a"); in testSingleProcLineWithSwapHasActivities() local
45 List<String> input = Arrays.asList("proc,cached,com.google.android.youtube,2964,19345,a"); in testSingleProcLineWithoutSwapHasActivities() local
59 List<String> input = Arrays.asList("proc,cached,com.google.android.youtube,2964,19345,e"); in testSingleProcLineWithoutSwapNoActivities() local
72 List<String> input = Arrays.asList("lostram,1005"); in testSingleLostRamLine() local
78 List<String> input = Arrays.asList("ram,2866484,1221694,1112777"); in testSingleRamLine() local
84 List<String> input = Arrays.asList("zram,5800,520908,491632"); in testSingleZramLine() local
102 List<String> input = in testSomeMalformedLines() local
127 List<String> input = in testMultipleLines() local
158 List<String> input = Arrays.asList( in testSkipNonProcLines() local
178 List<String> input = in testJson() local
DGfxInfoParserTest.java31 List<String> input = Arrays.asList( in testSingleProcess() local
105 List<String> input = Arrays.asList( in testMultipleProcesses() local
314 List<String> input = Arrays.asList( in testSingleProcessInL() local
DQtaguidParserTest.java28 …List<String> input = Arrays.asList("12 wlan0 0x0 10009 0 111661 353 258252 484 111661 353 0 0 0 0 … in testSingleLine() local
38 List<String> input = Arrays.asList("a b c d", "a b c d e f g h i j k l"); in testMalformedLine() local
46 List <String> input = Arrays.asList( in testMultipleLines() local
DCpuInfoParserTest.java28 List<String> input = Arrays.asList(" 0.1% 170/surfaceflinger: 0% user + 0% kernel"); in testSingleLine() local
38 List<String> input = Arrays.asList( in testMultipleLines() local
DBatteryDischargeStatsInfoParserTest.java35 List<String> input = Arrays.asList( in testBatteryDischargeStats() local
147 List<String> input = Arrays.asList( in testBatteryDischargeStatsWithTop5Percentages() local
DDvmLockSampleParserTest.java31 List<String> input = Arrays.asList( in testSingleDvmLine() local
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DManagedTestDeviceFactoryTest.java53 String input = "127.0.0.1:5555"; in testIsSerialTcpDevice() local
59 String input = "localhost:54014"; in testIsSerialTcpDevice_localhost() local
65 String input = "00bf84d7d084cc84"; in testIsSerialTcpDevice_notTcp() local
71 String input = "127.0.0.1:999989"; in testIsSerialTcpDevice_malformedPort() local
77 String input = ":5555"; in testIsSerialTcpDevice_nohost() local
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java40 try (InputStream input = new ByteArrayInputStream( in testSingleApkInfo()
81 try (InputStream input = new ByteArrayInputStream( in testOptionalFields()
113 try (InputStream input = new ByteArrayInputStream( in testMissingRequiredField()
140 try (InputStream input = new ByteArrayInputStream( in testApkWithArguments()
174 try (InputStream input = new ByteArrayInputStream( in testRequirements()
207 try (InputStream input = new ByteArrayInputStream( in testRequirementNeedsMatchingApk()
/tools/security/fuzzing/example_java_jni_fuzzer_no_crash/
Dexample_jni.cpp24 __attribute__((optnone)) void parseInternal(const std::string &input) { in parseInternal()
35 const char *input(env->GetStringUTFChars(bytes, nullptr)); in Java_ExampleJavaJniFuzzer_parse() local
/tools/security/fuzzing/example_java_jni_fuzzer/
Dexample_jni.cpp24 __attribute__((optnone)) void parseInternal(const std::string &input) { in parseInternal()
40 const char *input(env->GetStringUTFChars(bytes, nullptr)); in Java_ExampleJavaJniFuzzer_parse() local
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java47 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("300012345678")); in testEmptySequence() local
247 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("0280020401000002010c")); in testPrimitiveIndefiniteLengthEncodingWithGarbage() local
270 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("308002020000000002010c")); in testConstructedIndefiniteLengthEncodingWithoutNestedIndefiniteLengthDataValues() local
285 ByteBuffer input = in testConstructedIndefiniteLengthEncodingWithNestedIndefiniteLengthDataValues() local
299 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("3080308002040000000002010c")); in testConstructedIndefiniteLengthEncodingWithGarbage() local
305 ByteBuffer input = in parse() local
311 private static <T> T parse(ByteBuffer input, Class<T> containerClass) in parse()
/tools/loganalysis/src/com/android/loganalysis/parser/
DEventsLogParser.java90 public List<TransitionDelayItem> parseTransitionDelayInfo(BufferedReader input) in parseTransitionDelayInfo()
149 public List<LatencyItem> parseLatencyInfo(BufferedReader input) throws IOException { in parseLatencyInfo()
171 public List<BootEventItem> parseBootEventInfo(BufferedReader input) throws IOException { in parseBootEventInfo()
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReaderTest.java29 protected InputStreamBerDataValueReader createReader(byte[] input) { in createReader()
DByteBufferBerDataValueReaderTest.java29 protected ByteBufferBerDataValueReader createReader(byte[] input) { in createReader()
DBerDataValueReaderTestBase.java40 protected abstract BerDataValueReader createReader(byte[] input); in createReader()
271 private BerDataValue readDataValue(byte[] input) in readDataValue()
/tools/security/fuzzing/xmt_parser_fuzzer/
DFuzzer.java14 String input = data.consumeRemainingAsString(); in fuzzerTestOneInput() local
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DIOExceptionConsumer.java36 void accept(@Nullable T input) throws IOException; in accept()
DIOExceptionFunction.java36 @Nullable T apply(@Nullable F input) throws IOException; in apply()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiCommandUtil.java65 public static List<ScanResult> parseScanResults(String input) { in parseScanResults()
124 public static Map<String, String> parseWifiInfo(String input) { in parseWifiInfo()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DUpdateSignatureHeaderCommandTest.kt40 val input = inputFile("api.txt", contents.trimIndent()) in checkUpdateSignatures() constant
/tools/trebuchet/trebuchet/user-switch-analyzer/src/
DUserSwitchAnalyzer.kt89 val input = args[0] in main() constant
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DArtifactDetails.java46 public static ArtifactDetails parseFile(File input, String targetArtifact) throws IOException { in parseFile()
52 File input, String targetArtifact, String baseBuildId, String currentBuildId) in parseFile()
/tools/trebuchet/trebuchet/system-server-analyzer/src/
DSystemServerAnalyzer.kt103 val input = args[0] in main() constant

123