/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/pts/ |
D | fuchsia_pts_ics_lib.py | 22 b'TSPC_ALL': b'FALSE', 23 b'TSPC_A2DP_0_1': b'FALSE', 24 b'TSPC_A2DP_0_2': b'FALSE', 25 b'TSPC_A2DP_0_3': b'FALSE', 26 b'TSPC_A2DP_1_1': b'TRUE', 27 b'TSPC_A2DP_1_2': b'TRUE', 28 b'TSPC_A2DP_2_1': b'TRUE', 29 b'TSPC_A2DP_2a_1': b'FALSE', 30 b'TSPC_A2DP_2a_2': b'TRUE', 31 b'TSPC_A2DP_2a_3': b'FALSE', [all …]
|
D | fuchsia_pts_ixit_lib.py | 21 b'TSPX_security_enabled': (b'BOOLEAN', b'FALSE'), 22 b'TSPX_bd_addr_iut': (b'OCTETSTRING', b'000000000000'), 23 b'TSPX_SRC_class_of_device': (b'OCTETSTRING', b'080418'), 24 b'TSPX_SNK_class_of_device': (b'OCTETSTRING', b'04041C'), 25 b'TSPX_pin_code': (b'IA5STRING', b'0000'), 26 b'TSPX_delete_link_key': (b'BOOLEAN', b'FALSE'), 27 b'TSPX_time_guard': (b'INTEGER', b'300000'), 28 b'TSPX_use_implicit_send': (b'BOOLEAN', b'TRUE'), 29 b'TSPX_media_directory': 30 (b'IA5STRING', b'C:\Program Files\Bluetooth SIG\Bluetooth PTS\\bin\\audio'), [all …]
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 164 [](const EncodedField* a, const EncodedField* b) { in SortEncodedFields() argument 165 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedFields() 166 return a->decl->index < b->decl->index; in SortEncodedFields() 173 [](const EncodedMethod* a, const EncodedMethod* b) { in SortEncodedMethods() argument 174 SLICER_CHECK(a->decl->index != b->decl->index || a == b); in SortEncodedMethods() 175 return a->decl->index < b->decl->index; in SortEncodedMethods() 198 IndexItems(strings, [](const own<String>& a, const own<String>& b) { in Normalize() argument 201 return dex::Utf8Cmp(a->c_str(), b->c_str()) < 0; in Normalize() 204 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize() argument 206 return a->descriptor->index < b->descriptor->index; in Normalize() [all …]
|
/tools/platform-compat/build/ |
D | process-compat-config-test.py | 51 …self.merger.merge(io.BytesIO(b'<config><compat-change id="1234" name="TEST_CHANGE" /></config>'), … 56 …self.merger.merge(io.BytesIO(b'<config><compat-change id="1234" name="TEST_CHANGE" /></config>'), … 57 …self.merger.merge(io.BytesIO(b'<config><compat-change id="1235" name="TEST_CHANGE2" /></config>'),… 64 …b'<config><compat-change id="1234" name="TEST_CHANGE"><meta-data definedIn="some.Class" sourcePosi… 65 b'</compat-change></config>'), here()) 67 …b'<config><compat-change id="1235" name="TEST_CHANGE2"><meta-data definedIn="other.Class" sourcePo… 68 b'</compat-change></config>'), here()) 70 self.assert_same_xml(self.xml.getvalue(), b'<config>' 71 …b'<compat-change id="1234" name="TEST_CHANGE"><meta-data definedIn="some.Class" sourcePosition="so… 72 …b'<compat-change id="1235" name="TEST_CHANGE2"><meta-data definedIn="other.Class" sourcePosition="… [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
D | InputStreamBerDataValueReader.java | 118 int b; in readHighTagNumber() local 121 b = in.read(); in readHighTagNumber() 122 if (b == -1) { in readHighTagNumber() 129 result |= b & 0x7f; in readHighTagNumber() 130 } while ((b & 0x80) != 0); in readHighTagNumber() 148 int b = in.read(); in readLongFormLength() local 149 if (b == -1) { in readLongFormLength() 156 result |= b & 0xff; in readLongFormLength() 182 int b = in.read(); in skipPrimitiveIndefiniteLengthContents() local 183 if (b == -1) { in skipPrimitiveIndefiniteLengthContents() [all …]
|
D | ByteBufferBerDataValueReader.java | 109 int b; in readHighTagNumber() local 115 b = mBuf.get(); in readHighTagNumber() 120 result |= b & 0x7f; in readHighTagNumber() 121 } while ((b & 0x80) != 0); in readHighTagNumber() 141 int b = mBuf.get(); in readLongFormLength() local 146 result |= b & 0xff; in readLongFormLength() 170 int b = mBuf.get(); in skipPrimitiveIndefiniteLengthContents() local 175 if (b == 0) { in skipPrimitiveIndefiniteLengthContents()
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 110 expected_result = (b'<application>\n' 111 b' <component name="ProjectJdkTable">\n' 112 b' <jdk />\n' 113 b' </component>\n' 114 b'</application>') 127 expected_result = (b'<application>\n' 128 b' <component name="ProjectJdkTable">\n' 129 b' <jdk>\n' 130 b' <name value="test" />\n' 131 b' <type value="JavaSDK" />\n' [all …]
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DhcpServerTest.py | 409 hostname1 = b'testhostname1' 410 hostname2 = b'testhostname2' 613 ('client_id', b'\x01' + self.hwaddr), 615 ('hostname', b'test12-macbookpro'), 642 ('client_id', b'\x01' + self.hwaddr), 644 ('hostname', b'test12-macbookpro'), 658 ('client_id', b'\x01' + self.hwaddr), 661 ('hostname', b'test12-macbookpro'), 677 ('client_id', b'\x01' + self.hwaddr), 679 ('hostname', b'test12-macbookpro'), [all …]
|
/tools/treble/build/sandbox/ |
D | config.py | 460 return {b.name: b.allow_readwrite for b in self._build_config_map.values()} 481 b.name : [o.name for o in b.overlays 482 ] for b in self._build_config_map.values() 492 return {b.name : b.views for b in self._build_config_map.values()}
|
/tools/dexter/slicer/export/slicer/ |
D | buffer.h | 46 Buffer(Buffer&& b) { in Buffer() argument 47 std::swap(buff_, b.buff_); in Buffer() 48 std::swap(size_, b.size_); in Buffer() 49 std::swap(capacity_, b.capacity_); in Buffer() 52 Buffer& operator=(Buffer&& b) { 54 std::swap(buff_, b.buff_); 55 std::swap(size_, b.size_); 56 std::swap(capacity_, b.capacity_);
|
D | scopeguard.h | 68 #define SLICER_SG_MACRO_CONCAT2(a, b) a ## b argument 69 #define SLICER_SG_MACRO_CONCAT(a, b) SLICER_SG_MACRO_CONCAT2(a, b) argument
|
/tools/test/connectivity/acts/framework/tests/controllers/rohdeschwarz_lib/ |
D | contest_test.py | 67 s.sendall(b'AtTestcaseStart') 69 asserts.assert_true(data == b'OK\n', "Received OK response.") 81 protocol.data_received(b'DUT_SWITCH_ON') 93 protocol.data_received(b'DUT_SWITCH_OFF') 104 protocol.data_received(b'AtTestcaseStart name_of_the_testcase') 114 protocol.data_received(b'AtTestplanStart') 124 protocol.data_received(b'AfterTestcase') 134 protocol.data_received(b'AfterTestplan')
|
/tools/security/gdb/gdb_json_printer/test_examples/ |
D | objects2.cpp | 28 uint16_t b = 2; member in Foo1 29 virtual int get() override { return b; } in get() 45 uint16_t b = 2; member in Foo4 46 virtual int get() override { return b; } in get() 78 Foo2 b; in main() local 81 b.c += 1; in main()
|
D | basic_types.cpp | 25 int8_t b = -2; in main() local 40 a += b; in main() 42 std::cout << a + b + c + d + e + f + g + h + i + j << std::endl; in main() 47 const int8_t b = -2; in main() local 62 std::cout << a + b + c + d + e + f + g + h + i + j << std::endl; in main()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/ |
D | power_metric_pb2.py | 22 …serialized_pb=b'\n\x12power_metric.proto\x12/wireless.android.platform.testing.power.metrics\"\x80… 46 has_default_value=False, default_value=b"".decode('utf-8'), 60 has_default_value=False, default_value=b"".decode('utf-8'), 67 has_default_value=False, default_value=b"".decode('utf-8'), 74 has_default_value=False, default_value=b"".decode('utf-8'), 95 has_default_value=False, default_value=b"".decode('utf-8'), 102 has_default_value=False, default_value=b"".decode('utf-8'), 109 has_default_value=False, default_value=b"".decode('utf-8'), 123 has_default_value=False, default_value=b"".decode('utf-8'),
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/gen/ |
D | metrics_pb2.py | 20 serialized_options=b'\n\030com.android.acts.metrics', 22 …serialized_pb=b'\n\rmetrics.proto\x12\x0c\x61\x63ts.metrics\"\xec\x01\n\rBoundedMetric\x12\x12\n\n… 39 has_default_value=False, default_value=b"".decode('utf-8'), 46 has_default_value=False, default_value=b"".decode('utf-8'), 53 has_default_value=False, default_value=b"".decode('utf-8'), 81 has_default_value=False, default_value=b"".decode('utf-8'), 152 has_default_value=False, default_value=b"".decode('utf-8'), 159 has_default_value=False, default_value=b"".decode('utf-8'),
|
/tools/treble/split/ |
D | manifest_split_test.py | 172 mock_check_output.return_value = b""" 184 mock_check_output.return_value = b""" 347 ninja_inputs_droid = b""" 355 ninja_inputs_target_b = b""" 362 ninja_inputs_target_c = b""" 534 ninja_inputs_droid = b""" 539 ninja_inputs_target_a = b""" 545 ninja_inputs_target_b = b""" 550 ninja_inputs_target_c = b"""
|
/tools/test/connectivity/acts/framework/tests/controllers/pdu_lib/synaccess/ |
D | np02b_test.py | 28 VALID_COMMAND_BYTE_STR = b'cmd\n\r' 30 VALID_RESPONSE_BYTE_STR = b'\n\r\r\n\r\n' 32 STATUS_COMMAND_BYTE_STR = b'pshow\n\r' 37 b'Port | Name |Status 1 | Outlet1 | OFF| 2 | Outlet2 | ' 38 b'ON |\n\r\r\n\r\n') 39 INVALID_COMMAND_OUTPUT_BYTE_STR = b'Invalid Command\n\r\r\n\r\n>'
|
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
D | rpc_connection_test.py | 21 MOCK_RESP = b'{"id": 0, "result": 123, "error": null, "status": 1, "uid": 1}' 22 MOCK_RESP_UNKNOWN_UID = b'{"id": 0, "result": 123, "error": null, "status": 0}' 23 MOCK_RESP_WITH_ERROR = b'{"id": 0, "error": 1, "status": 1, "uid": 1}' 119 connection = self.mock_rpc_connection(b'') 136 [b'{"cmd": "test", "uid": -1}\n', b'{"uid": -1, "cmd": "test"}\n'])
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | abstract_inst_test.py | 31 mock_connect.return_value.recv.return_value = b'Dummy Instrument\n' 66 test_inst._socket.sendall.assert_called_with(b'TestCommand\n') 93 test_inst._socket.recv.return_value = b'TestResponse\n' 122 mock_connect.return_value.recv.return_value = b'Dummy Instrument\n' 136 test_inst._socket.recv.return_value = b'TestResponse\n' 140 test_inst._socket.sendall.assert_called_with(b'TestCommand;*OPC?\n')
|
/tools/carrier_settings/python/ |
D | update_carrier_data.py | 50 def equals_apn(a, b): argument 53 b = compare.NormalizeRepeatedFields(copy.deepcopy(b)) 56 b.ClearField('name') 57 return compare.Proto2Equals(a, b) 68 def merge_mms_apn(a, b): argument 71 bb = compare.NormalizeRepeatedFields(copy.deepcopy(b)) 78 if b.HasField(field): 79 setattr(a, field, getattr(b, field))
|
/tools/acloud/internal/lib/ |
D | ota_tools.py | 21 from six import b 203 output_file.write(b("lpmake=%s\n" % lpmake_path)) 207 output_file.write(b(line)) 213 output_file.write(b("%s_image=%s\n" % 285 output_file.write(b("%s %s %s\n" % (get_image(split_line[1]), 289 output_file.write(b(line))
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | GattPtsTest.py | 46 fuchsia_ixit[b'TSPX_bd_addr_iut'] = (b'OCTETSTRING', 50 b'TSPX_iut_device_name_in_adv_packet_for_random_address'] = ( 51 b'IA5STRING', self.dut_bluetooth_local_name.encode()) 61 fuchsia_ixit[b'TSPX_bd_addr_iut'] = (b'OCTETSTRING', 65 b'TSPX_iut_device_name_in_adv_packet_for_random_address'] = ( 66 b'IA5STRING', self.dut_bluetooth_local_name.encode())
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | bt_metrics_utils.py | 40 lambda a, b : a + b) 46 lambda a, b : a + b)
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | AttestationApplicationId.java | 107 for (byte b : sig) { in toString() 108 sb.append(String.format(" %02X", b)); in toString() 172 public int compare(byte[] a, byte[] b) { in compare() argument 173 int res = Integer.compare(a.length, b.length); in compare() 176 res = Byte.compare(a[i], b[i]); in compare()
|