/tools/test/connectivity/acts/framework/acts/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/tradefederation/core/src/com/android/tradefed/util/ |
D | ShellOutputReceiverStream.java | 41 public void write(int b) { in write() argument 45 final byte converted = (byte) (b & 0xFF); in write() 50 public void write(byte[] b) { in write() argument 51 write(b, 0, b.length); in write() 55 public void write(byte[] b, int off, int len) { in write() argument 59 mReceiver.addOutput(b, off, len); in write()
|
/tools/asuite/aidegen/sdk/ |
D | jdk_table_unittest.py | 109 expected_result = (b'<application>\n' 110 b' <component name="ProjectJdkTable">\n' 111 b' <jdk />\n' 112 b' </component>\n' 113 b'</application>') 126 expected_result = (b'<application>\n' 127 b' <component name="ProjectJdkTable">\n' 128 b' <jdk>\n' 129 b' <name value="test" />\n' 130 b' <type value="JavaSDK" />\n' [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 65 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize() local 66 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize() 71 assertTrue(b.equals(test)); in testSerialize_Deserialize() 81 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_noDelete() local 82 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_noDelete() 88 assertTrue(b.equals(test)); in testSerialize_Deserialize_noDelete() 112 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_corrupted() local 113 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_corrupted()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | ConsoleReaderOutputStream.java | 110 public synchronized void write(byte[] b, int off, int len) throws IOException { in write() argument 111 final boolean shufflePrompt = mInAsyncMode && (b[off + len - 1] == '\n'); in write() 123 mConsoleReader.printString(new String(b, off, len)); in write() 135 public synchronized void write(int b) throws IOException { in write() argument 136 char[] str = new char[] {(char)(b & 0xff)}; in write()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptorFuncTest.java | 29 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor() local 30 DeviceBuildDescriptor.injectDeviceAttributes(getDevice(), b); in testDeviceBuildDescriptor() local 31 assertTrue(DeviceBuildDescriptor.describesDeviceBuild(b)); in testDeviceBuildDescriptor() 32 DeviceBuildDescriptor d2 = new DeviceBuildDescriptor(b); in testDeviceBuildDescriptor()
|
D | DeviceBuildDescriptorTest.java | 31 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor() local 39 DeviceBuildDescriptor.injectDeviceAttributes(d, b); in testDeviceBuildDescriptor() 40 DeviceBuildDescriptor db = new DeviceBuildDescriptor(b); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptor.java | 99 public static void injectDeviceAttributes(ITestDevice device, IBuildInfo b) in injectDeviceAttributes() argument 101 b.addBuildAttribute(DEVICE_BUILD_ID, device.getBuildId()); in injectDeviceAttributes() 102 b.addBuildAttribute(DEVICE_BUILD_ALIAS, device.getBuildAlias()); in injectDeviceAttributes() 108 b.addBuildAttribute(DEVICE_BUILD_FLAVOR, buildFlavor); in injectDeviceAttributes() 109 b.addBuildAttribute(DEVICE_DESC, generateDeviceDesc(device)); in injectDeviceAttributes() 110 b.addBuildAttribute(DEVICE_PRODUCT, generateDeviceProduct(device)); in injectDeviceAttributes()
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_metrics_utils.py | 41 lambda a, b : a + b) 47 lambda a, b : a + b)
|
/tools/dexter/slicer/export/slicer/ |
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
|
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_);
|
/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/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/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/apksig/src/apksigner/java/com/android/apksigner/ |
D | HexEncoding.java | 37 byte b = data[offset + i]; in encode() 38 result.append(HEX_DIGITS[(b >>> 4) & 0x0f]); in encode() 39 result.append(HEX_DIGITS[b & 0x0f]); in encode()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | HexEncoding.java | 44 byte b = data[offset + i]; in encode() 45 result.append(HEX_DIGITS[(b >>> 4) & 0x0f]); in encode() 46 result.append(HEX_DIGITS[b & 0x0f]); in encode()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ByteArrayList.java | 141 public boolean add(byte b) { in add() argument 143 mStorage[mCurBytes] = b; in add() 256 public byte set(int idx, byte b) { in set() argument 261 mStorage[idx] = b; in set()
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
D | A2dpPtsTest.py | 41 fuchsia_ixit[b'TSPX_bd_addr_iut'] = (b'OCTETSTRING', 52 fuchsia_ixit[b'TSPX_bd_addr_iut'] = (b'OCTETSTRING',
|
/tools/carrier_settings/python/ |
D | compare.py | 48 def Proto2Equals(a, b): argument 58 == b.SerializeToString(deterministic=True))
|