/tools/test/connectivity/acts_tests/tests/google/ble/api/ |
D | BleScanApiTest.py | 54 def _format_defaults(self, input): argument 59 if 'ScanSettings' not in input.keys(): 60 input['ScanSettings'] = ( 64 if 'ScanFilterManufacturerDataId' not in input.keys(): 65 input['ScanFilterManufacturerDataId'] = -1 66 if 'ScanFilterDeviceName' not in input.keys(): 67 input['ScanFilterDeviceName'] = None 68 if 'ScanFilterDeviceAddress' not in input.keys(): 69 input['ScanFilterDeviceAddress'] = None 70 if 'ScanFilterManufacturerData' not in input.keys(): [all …]
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSinkTestBase.java | 50 byte[] input = "abcdefg".getBytes(StandardCharsets.UTF_8); in testConsumeFromArray() 51 sink.consume(input, 2, 3); // "cde" in testConsumeFromArray() 52 sink.consume(input, 0, 1); // "a" in testConsumeFromArray() 56 sink.consume(input, 0, 0); in testConsumeFromArray() 57 sink.consume(input, 1, 0); in testConsumeFromArray() 58 sink.consume(input, input.length - 2, 0); in testConsumeFromArray() 59 sink.consume(input, input.length - 1, 0); in testConsumeFromArray() 60 sink.consume(input, input.length, 0); in testConsumeFromArray() 63 assertConsumeArrayThrowsIOOB(sink, input, -1, 0); in testConsumeFromArray() 64 assertConsumeArrayThrowsIOOB(sink, input, -1, 3); in testConsumeFromArray() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | bt_carkit_lib.py | 166 input("Press enter to execute this testcase...") 194 input("Continue to next iteration?") 200 input("Press enter to execute this testcase...") 205 result = input("Confirm A2DP disconnected? (Y/n) ") 223 input("Press enter to execute this testcase...") 228 result = input("Confirm HFP disconnected? (Y/n) ") 239 input("Press enter to execute this testcase...") 253 result = input("Confirm HFP and A2DP disconnected? (Y/n) ") 266 input("Press enter to execute this testcase...") 275 input("Press enter to hangup call...") [all …]
|
D | bt_gatt_utils.py | 335 def setup_gatt_characteristics(droid, input): argument 337 for item in input: 344 def setup_gatt_descriptors(droid, input): argument 346 for item in input:
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParserTest.java | 47 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("300012345678")); in testEmptySequence() local 48 EmptySequence container = parse(input, EmptySequence.class); in testEmptySequence() 51 assertEquals(2, input.position()); in testEmptySequence() 247 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("0280020401000002010c")); in testPrimitiveIndefiniteLengthEncodingWithGarbage() local 248 ChoiceWithTwoOptions c = parse(input, ChoiceWithTwoOptions.class); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 250 assertEquals("02010c", HexEncoding.encode(input)); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 256 input = ByteBuffer.wrap(HexEncoding.decode("0280028001000002010c")); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 257 c = parse(input, ChoiceWithTwoOptions.class); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 259 assertEquals("02010c", HexEncoding.encode(input)); in testPrimitiveIndefiniteLengthEncodingWithGarbage() 270 ByteBuffer input = ByteBuffer.wrap(HexEncoding.decode("308002020000000002010c")); in testConstructedIndefiniteLengthEncodingWithoutNestedIndefiniteLengthDataValues() local [all …]
|
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParserTest.java | 40 try (InputStream input = new ByteArrayInputStream( in testSingleApkInfo() argument 58 GameCoreConfiguration config = parser.parse(input); in testSingleApkInfo() 81 try (InputStream input = new ByteArrayInputStream( in testOptionalFields() argument 97 List<ApkInfo> apks = parser.parse(input).getApkInfo(); in testOptionalFields() 113 try (InputStream input = new ByteArrayInputStream( in testMissingRequiredField() argument 129 parser.parse(input); in testMissingRequiredField() 140 try (InputStream input = new ByteArrayInputStream( in testApkWithArguments() argument 156 List<ApkInfo> apks = parser.parse(input).getApkInfo(); in testApkWithArguments() 174 try (InputStream input = new ByteArrayInputStream( in testRequirements() argument 194 GameCoreConfiguration config = parser.parse(input); in testRequirements() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/bt_implementations/ |
D | bt_stub.py | 39 input('Answer the phone and then press enter\n') 42 input('Hang up the phone and then press enter\n') 45 input('Press pause on device then press enter\n') 55 return input('move volume '+direction+' and then press enter\n') 58 input('Connect device and press enter\n') 61 con = input('Is device connected? y/n').lower() 63 con = input('Is device connected? y/n').lower()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 533 public static Chunk get(ByteBuffer input) throws XmlParserException { in get() argument 534 if (input.remaining() < HEADER_MIN_SIZE_BYTES) { in get() 536 input.position(input.limit()); in get() 540 int originalPosition = input.position(); in get() 541 int type = getUnsignedInt16(input); in get() 542 int headerSize = getUnsignedInt16(input); in get() 543 long chunkSize = getUnsignedInt32(input); in get() 545 if (chunkRemaining > input.remaining()) { in get() 547 input.position(input.limit()); in get() 563 sliceFromTo(input, originalPosition, contentStartPosition), in get() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 332 public static DeflateResult deflate(ByteBuffer input) { in deflate() argument 335 int inputLength = input.remaining(); in deflate() 336 if (input.hasArray()) { in deflate() 337 inputBuf = input.array(); in deflate() 338 inputOffset = input.arrayOffset() + input.position(); in deflate() 339 input.position(input.limit()); in deflate() 343 input.get(inputBuf); in deflate()
|
/tools/repohooks/rh/ |
D | utils.py | 262 def run(cmd, redirect_stdout=False, redirect_stderr=False, cwd=None, input=None, argument 353 if isinstance(input, str): 355 input = input.encode('utf-8') 356 elif input is not None: 357 stdin = input 358 input = None 392 (result.stdout, result.stderr) = proc.communicate(input)
|
D | hooks.py | 354 result = _run(cmd, input=data) 368 input=rh.git.get_patch(commit)) 829 result = _run(cmd, input=data) 899 result = _run(cmd, input=data) 988 result = _run(cmd, input=data)
|
/tools/ndkports/src/main/kotlin/com/android/ndkports/ |
D | Zip.kt | 45 fun createZipFromDirectory(output: File, input: File) { in createZipFromDirectory() 48 input.walk().filter { it != input }.forEach { in createZipFromDirectory() 49 zip(it, it.relativeTo(input).path, zos) in createZipFromDirectory()
|
/tools/test/openhst/resources/ |
D | stress_test.dsp_trigger_sw_rejection.ascii_proto | 9 command: "shell input keyevent 3" 13 command: "shell input keyevent 26" 30 command: "shell input keyevent 3" 34 command: "shell input keyevent 26"
|
D | stress_test.dsp_trigger_and_screen_off.ascii_proto | 11 command: "shell input keyevent 3" 15 command: "shell input keyevent 26"
|
/tools/dexter/dexter/ |
D | dexter_tests.py | 61 stderr = subprocess.STDOUT).communicate(input = stdin_content)[0] 77 for input in input_files: 81 cmd = '%s %s %s' % (args.cmd, test_config['args'], input) 85 expected_filename = re.sub(r'\.dex', ('.%s' % test_name), os.path.basename(input))
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | VerityTreeBuilderTest.java | 67 byte[] input = Resources.toByteArray(VerityTreeBuilderTest.class, inputResource); in generateRootHash() 68 assertNotNull(input); in generateRootHash() 71 DataSources.asDataSource(ByteBuffer.wrap(input)))); in generateRootHash()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_rotate.txt | 29 addition of the new-signer. If an input SigningCertificateLineage object was 67 stdin password provided on standard input, 71 or standard input. 72 When the same file (including standard input) is used for 86 stdin password provided on standard input, 95 When the same file (including standard input) is used for 136 standard input unless specified otherwise using
|
D | help_sign.txt | 18 APK is signed in-place, overwriting the input file. 85 v3, so multiple signers input will correspond to different 143 stdin password provided on standard input, 147 or standard input. 148 When the same file (including standard input) is used for 162 stdin password provided on standard input, 171 When the same file (including standard input) is used for 212 standard input unless specified otherwise using
|
D | help_lineage.txt | 64 stdin password provided on standard input, 68 or standard input. 69 When the same file (including standard input) is used for 83 stdin password provided on standard input, 92 When the same file (including standard input) is used for 133 standard input unless specified otherwise using
|
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/ |
D | BerDataValueReaderTestBase.java | 40 protected abstract BerDataValueReader createReader(byte[] input); in createReader() argument 271 private BerDataValue readDataValue(byte[] input) in readDataValue() argument 273 return createReader(input).readDataValue(); in readDataValue()
|
D | InputStreamBerDataValueReaderTest.java | 29 protected InputStreamBerDataValueReader createReader(byte[] input) { in createReader() argument 30 return new InputStreamBerDataValueReader(new ByteArrayInputStream(input)); in createReader()
|
D | ByteBufferBerDataValueReaderTest.java | 29 protected ByteBufferBerDataValueReader createReader(byte[] input) { in createReader() argument 30 return new ByteBufferBerDataValueReader(ByteBuffer.wrap(input)); in createReader()
|
/tools/asuite/atest-py2/docs/ |
D | atest_structure.md | 19 2. Find test(s) based on user input 36 transform the user input into a ```TestInfo``` object that contains all of the 58 user input into something the test runners can understand. 76 atest to find tests in the android repo based on the user's input (path,
|
/tools/asuite/atest/docs/ |
D | atest_structure.md | 19 2. Find test(s) based on user input 36 transform the user input into a ```TestInfo``` object that contains all of the 58 user input into something the test runners can understand. 76 atest to find tests in the android repo based on the user's input (path,
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/ |
D | V4SchemeVerifier.java | 72 try (InputStream input = new FileInputStream(v4SignatureFile)) { in verify() argument 73 signature = V4Signature.readFrom(input); in verify() 74 tree = V4Signature.readBytes(input); in verify()
|