Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DQuotationAwareTokenizerTest.java28 private static void verify(String input, String[] expected, String delimiter) in verify()
47 private static void verify(String input, String[] expected) throws IllegalArgumentException { in verify()
55 String input = " one two three"; in testTokenizeLine_simple() local
68 String input = "--foo \"this is a config\""; in testTokenizeLine_whitespace() local
77 String input = "--foo,bar"; in testTokenizeLine_comma() local
86 String input = "--foo,\"a,config\""; in testTokenizeLine_commaAndQuote() local
95 String input = "--foo,this is a,config"; in testTokenizeLine_commaAndWhitespace() local
112 String input = "--bar \"escap\\\\ed \\\" quotation\""; in testTokenizeLine_escapedQuotation() local
130 String input = "--foo \"this is truncated"; in testTokenizeLine_endOnQuote() local
144 String input = "--foo escape\\"; in testTokenizeLine_endWithEscape() local
DTimeValTest.java111 private void assertInvalid(String input) { in assertInvalid()
/tools/loganalysis/tests/src/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
DBatteryDischargeStatsInfoParserTest.java35 List<String> input = Arrays.asList( in testBatteryDischargeStats() local
147 List<String> input = Arrays.asList( in testBatteryDischargeStatsWithTop5Percentages() 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
DDvmLockSampleParserTest.java31 List<String> input = Arrays.asList( in testSingleDvmLine() local
DAbstractSectionParserTest.java59 public IItem parse(List<String> input) { in parse()
/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/tradefederation/core/tests/src/com/android/tradefed/device/
DManagedTestDeviceFactoryTest.java55 String input = "127.0.0.1:5555"; in testIsSerialTcpDevice() local
61 String input = "localhost:54014"; in testIsSerialTcpDevice_localhost() local
67 String input = "00bf84d7d084cc84"; in testIsSerialTcpDevice_notTcp() local
73 String input = "127.0.0.1:999989"; in testIsSerialTcpDevice_malformedPort() local
79 String input = ":5555"; in testIsSerialTcpDevice_nohost() 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/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/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/loganalysis/src/com/android/loganalysis/parser/
DEventsLogParser.java71 public List<TransitionDelayItem> parseTransitionDelayInfo(BufferedReader input) in parseTransitionDelayInfo()
130 public List<LatencyItem> parseLatencyInfo(BufferedReader input) throws IOException { in parseLatencyInfo()
DDvmLockSampleParser.java71 public DvmLockSampleItem parse(BufferedReader input) throws IOException { in parse()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactoryTest.java106 InputStream input = mGCSConfigurationFactory.getConfigStream("cluster/host-config.xml"); in testGetConfigStream() local
127 InputStream input = mGCSConfigurationFactory.getConfigStream("test-config"); in testGetConfigStream_bundled() local
DGCSConfigurationServerTest.java88 InputStream input = mConfigServer.getConfig("host-config.xml"); in testGetConfig() local
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_gatt_utils.py335 def setup_gatt_characteristics(droid, input): argument
344 def setup_gatt_descriptors(droid, input): argument
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParserTest.java123 private InputStream getStringAsStream(String input) { in getStringAsStream()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRunUtil.java229 public CommandResult runTimedCmdWithInput(final long timeout, String input, in runTimedCmdWithInput()
238 public CommandResult runTimedCmdWithInput(final long timeout, String input, in runTimedCmdWithInput()
577 RunnableResult(final String input, final ProcessBuilder processBuilder) { in RunnableResult()
581 RunnableResult(final String input, final ProcessBuilder processBuilder, boolean logErrors) { in RunnableResult()
593 final String input, in RunnableResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DFakeTestTest.java79 final String input = testcase.getKey(); in testDecodeRle() local
117 final String input = testcase.getKey(); in testDecode() local

12