/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizerTest.java | 28 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
|
D | TimeValTest.java | 111 private void assertInvalid(String input) { in assertInvalid()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | CompactMemInfoParserTest.java | 32 … 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
|
D | GfxInfoParserTest.java | 31 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
|
D | QtaguidParserTest.java | 28 …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
|
D | BatteryDischargeStatsInfoParserTest.java | 35 List<String> input = Arrays.asList( in testBatteryDischargeStats() local 147 List<String> input = Arrays.asList( in testBatteryDischargeStatsWithTop5Percentages() local
|
D | CpuInfoParserTest.java | 28 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
|
D | DvmLockSampleParserTest.java | 31 List<String> input = Arrays.asList( in testSingleDvmLine() local
|
D | AbstractSectionParserTest.java | 59 public IItem parse(List<String> input) { in parse()
|
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParserTest.java | 40 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/ |
D | ManagedTestDeviceFactoryTest.java | 55 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/ |
D | Asn1BerParserTest.java | 47 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/ |
D | InputStreamBerDataValueReaderTest.java | 29 protected InputStreamBerDataValueReader createReader(byte[] input) { in createReader()
|
D | ByteBufferBerDataValueReaderTest.java | 29 protected ByteBufferBerDataValueReader createReader(byte[] input) { in createReader()
|
D | BerDataValueReaderTestBase.java | 40 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/ |
D | IOExceptionConsumer.java | 36 void accept(@Nullable T input) throws IOException; in accept()
|
D | IOExceptionFunction.java | 36 @Nullable T apply(@Nullable F input) throws IOException; in apply()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | EventsLogParser.java | 71 public List<TransitionDelayItem> parseTransitionDelayInfo(BufferedReader input) in parseTransitionDelayInfo() 130 public List<LatencyItem> parseLatencyInfo(BufferedReader input) throws IOException { in parseLatencyInfo()
|
D | DvmLockSampleParser.java | 71 public DvmLockSampleItem parse(BufferedReader input) throws IOException { in parse()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactoryTest.java | 106 InputStream input = mGCSConfigurationFactory.getConfigStream("cluster/host-config.xml"); in testGetConfigStream() local 127 InputStream input = mGCSConfigurationFactory.getConfigStream("test-config"); in testGetConfigStream_bundled() local
|
D | GCSConfigurationServerTest.java | 88 InputStream input = mConfigServer.getConfig("host-config.xml"); in testGetConfig() local
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_gatt_utils.py | 335 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/ |
D | XmlDefsParserTest.java | 123 private InputStream getStringAsStream(String input) { in getStringAsStream()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | RunUtil.java | 229 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/ |
D | FakeTestTest.java | 79 final String input = testcase.getKey(); in testDecodeRle() local 117 final String input = testcase.getKey(); in testDecode() local
|