Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 124) sorted by relevance

12345

/packages/modules/StatsD/framework/api/
Dsystem-current.txt17 …oid.Manifest.permission.PACKAGE_USAGE_STATS}) public void addConfig(long, byte[]) throws android.a…
18 …P, android.Manifest.permission.PACKAGE_USAGE_STATS}) public boolean addConfiguration(long, byte[]);
20 …est.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getData(long);
21 …est.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getMetadata();
23 …permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getReports(long) …
24 …permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getStatsMetadata(…
78 method @Nullable public byte[] getPolicyConfig();
89 method @NonNull public android.app.StatsQuery.Builder setPolicyConfig(@NonNull byte[]);
127 method @NonNull public android.util.StatsEvent.Builder addBooleanAnnotation(byte, boolean);
128 method @NonNull public android.util.StatsEvent.Builder addIntAnnotation(byte, int);
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSlice.cpp26 const std::string toHex(uint8_t byte) { in toHex() argument
29 return {kLookup[byte >> 4], kLookup[byte & 0xf]}; in toHex()
43 uint8_t byte = 0; in toHex() local
44 extract(tail, byte); in toHex()
45 ss << toHex(byte); in toHex()
/packages/services/Car/cpp/computepipe/proto/
DInputConfig.proto76 // one byte for R, then one byte for G, then one byte for B for each pixel.
79 // one byte for R, one byte for G, one byte for B, one byte for alpha or
83 // Grayscale, one byte per pixel.
/packages/modules/Bluetooth/system/gd/packet/
Dbyte_inserter.cc41 void ByteInserter::on_byte(uint8_t byte) { in on_byte() argument
43 observer.OnByte(byte); in on_byte()
47 void ByteInserter::insert_byte(uint8_t byte) { in insert_byte() argument
48 on_byte(byte); in insert_byte()
49 std::back_insert_iterator<std::vector<uint8_t>>::operator=(byte); in insert_byte()
Dbit_inserter.cc31 void BitInserter::insert_bits(uint8_t byte, size_t num_bits) { in insert_bits() argument
33 …uint16_t new_value = static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved… in insert_bits()
44 void BitInserter::insert_byte(uint8_t byte) { in insert_byte() argument
45 insert_bits(byte, 8); in insert_byte()
Dbyte_observer.cc25 void ByteObserver::OnByte(uint8_t byte) { in OnByte() argument
26 on_byte_(byte); in OnByte()
Dbit_inserter.h34 virtual void insert_bits(uint8_t byte, size_t num_bits);
36 void insert_byte(uint8_t byte) override;
/packages/apps/Nfc/testutils/pn532/
Dpn532.py36 for byte in data:
37 byte = byte ^ (w_crc & 0x00FF)
38 byte = (byte ^ (byte << 4)) & 0xFF
39 w_crc = ((w_crc >> 8) ^ (byte << 8) ^ (byte << 3) ^ (byte >> 4)) & 0xFFFF
/packages/modules/Bluetooth/system/stack/btm/
Dsco_pkt_status.h85 uint8_t byte = 0; in data_to_hex_string() local
90 byte |= (1U << (j % 8)) & data[j / 8]; in data_to_hex_string()
94 oss << std::hex << std::setw(2) << std::setfill('0') << +(byte); in data_to_hex_string()
95 byte = 0; in data_to_hex_string()
99 if (i % 8) oss << std::hex << std::setw(2) << std::setfill('0') << +(byte); in data_to_hex_string()
Dbtm_ble_privacy.cc154 uint8_t byte; in btm_ble_clear_irk_index() local
158 byte = index / 8; in btm_ble_clear_irk_index()
160 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
175 uint8_t byte; in btm_ble_find_irk_index() local
179 byte = i / 8; in btm_ble_find_irk_index()
182 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
183 btm_cb.ble_ctr_cb.irk_list_mask[byte] |= (1 << bit); in btm_ble_find_irk_index()
/packages/modules/Connectivity/framework-t/api/
Dsystem-current.txt37 ctor public CredentialElement(@NonNull String, @NonNull byte[]);
40 method @NonNull public byte[] getValue();
46 ctor public DataElement(int, @NonNull byte[]);
49 method @NonNull public byte[] getValue();
64 …LUETOOTH_PRIVILEGED) public void setPoweredOffFindingEphemeralIds(@NonNull java.util.List<byte[]>);
97 method @NonNull public byte[] getSalt();
103 …dcastRequest.Builder(@NonNull java.util.List<java.lang.Integer>, @NonNull byte[], @NonNull android…
112 method @NonNull public byte[] getAuthenticityKey();
115 method @NonNull public byte[] getSecretId();
131 method @NonNull public byte[] getEncryptedIdentity();
[all …]
/packages/modules/Bluetooth/system/bta/test/
Dbta_hh_test.cc92 for (const auto& byte : data32) { in TEST_F() local
93 p_data[i++] = byte; in TEST_F()
101 for (const auto& byte : data32) { in TEST_F() local
102 ASSERT_EQ(byte, data[i++]); in TEST_F()
/packages/modules/RemoteKeyProvisioning/system-server/api/
Dsystem-server-current.txt7 …method public void storeUpgradedKeyAsync(@NonNull byte[], @NonNull byte[], @NonNull java.util.conc…
11 method @NonNull public byte[] getEncodedCertChain();
12 method @NonNull public byte[] getKeyBlob();
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/fbs/
DEventFields.fbs13 type:byte;
14 byte_value:byte=null;
22 blob_value:[byte];
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt35 method public android.bluetooth.BluetoothDevice getRemoteDevice(byte[]);
91 method public void onLeScan(android.bluetooth.BluetoothDevice, int, byte[]);
546 …d @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean setPin(byte[]);
622 … writeCharacteristic(@NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[], int);
624 …T) public int writeDescriptor(@NonNull android.bluetooth.BluetoothGattDescriptor, @NonNull byte[]);
646 ….bluetooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[]);
648 …tooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[], int);
652 …bluetooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattDescriptor, int, @NonNull byte[]);
677 method @Deprecated public byte[] getValue();
679 method @Deprecated public boolean setValue(byte[]);
[all …]
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_folder_items.cc183 for (const uint8_t& byte : item.name_) { in PushMediaPlayerItem() local
184 AddPayloadOctets1(pkt, byte); in PushMediaPlayerItem()
200 for (const uint8_t& byte : item.name_) { in PushFolderItem() local
201 AddPayloadOctets1(pkt, byte); in PushFolderItem()
217 for (const uint8_t& byte : item.name_) { in PushMediaElementItem() local
218 AddPayloadOctets1(pkt, byte); in PushMediaElementItem()
231 for (const uint8_t& byte : attr_val) { in PushMediaElementItem() local
232 AddPayloadOctets1(pkt, byte); in PushMediaElementItem()
Dpass_through_packet.cc40 uint8_t byte = opperation_id_ & 0b01111111; in Serialize() local
41 if (!pushed_) byte |= 0b10000000; in Serialize()
42 AddPayloadOctets1(pkt, byte); in Serialize()
/packages/modules/Bluetooth/system/bta/le_audio/
Daudio_set_configurations.fbs18 enum CodecSpecificLtvGenericTypes : byte {
44 enum AudioSetConfigurationStrategy : byte {
49 enum AudioSetConfigurationDirection : byte {
53 enum AudioSetConfigurationTargetLatency : byte {
/packages/modules/Bluetooth/system/gd/packet/parser/
DREADME28 - Payload fields must be byte-aligned unless they have an unknown size.
29 Body fields are allowed to not be byte aligned.
35 - Can't handle size for Body type fields yet since they might not be byte aligned.
45 _payload_ must be byte aligned.
/packages/modules/adb/
DSYNC.TXT17 In sync mode both the server and the client will frequently use eight-byte
40 1. A four-byte sync response id "DENT"
41 2. A four-byte integer representing file mode.
42 3. A four-byte integer representing file size.
43 4. A four-byte integer representing last modified time.
44 5. A four-byte integer representing file name length.
/packages/modules/IPsec/api/
Dsystem-current.txt121 method @Nullable public byte[] getErrorData();
129 ctor public Ike3gppBackoffTimer(byte, @IntRange(from=0, to=0x3fff) int);
131 method public byte getBackoffTimer();
154 ctor public Ike3gppN1ModeInformation(@NonNull byte[]);
156 method @NonNull public byte[] getSnssai();
161 method public byte getPduSessionId();
162 field public static final byte PDU_SESSION_ID_UNSET = 0; // 0x0
169 … method @NonNull public android.net.ipsec.ike.ike3gpp.Ike3gppParams.Builder setPduSessionId(byte);
/packages/modules/Bluetooth/system/gd/l2cap/
Dfcs.cc51 void Fcs::AddByte(uint8_t byte) { in AddByte() argument
52 crc = ((crc >> 8) & 0x00ff) ^ crctab[(crc & 0x00ff) ^ byte]; in AddByte()
/packages/modules/Bluetooth/system/gd/packet/parser/test/
Dsimple_sum.h32 void AddByte(uint8_t byte) { in AddByte() argument
33 sum += byte; in AddByte()
Dvariable.cc36 for (auto byte : data) { in Serialize() local
37 bi.insert_byte(byte); in Serialize()
/packages/modules/Virtualization/vmbase/src/
Duart.rs39 pub fn write_byte(&self, byte: u8) { in write_byte()
45 value = in(reg) byte, in write_byte()

12345