Home
last modified time | relevance | path

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

123456

/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/Nfc/framework/api/
Dcurrent.txt20 ctor public NdefMessage(byte[]) throws android.nfc.FormatException;
26 method public byte[] toByteArray();
32 ctor public NdefRecord(short, byte[], byte[], byte[]);
33 ctor @Deprecated public NdefRecord(byte[]) throws android.nfc.FormatException;
35 method public static android.nfc.NdefRecord createExternal(String, String, byte[]);
36 method public static android.nfc.NdefRecord createMime(String, byte[]);
41 method public byte[] getId();
42 method public byte[] getPayload();
44 method public byte[] getType();
45 method @Deprecated public byte[] toByteArray();
[all …]
Dmodule-lib-lint-baseline.txt25 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
27 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
29 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
43 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
47 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
55 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
57 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
75 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
77 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
83 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
Dlint-baseline.txt30 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
32 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
34 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
48 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
52 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
60 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
62 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
80 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
82 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
88 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
Dsystem-lint-baseline.txt44 RequiresPermission: android.nfc.tech.IsoDep#transceive(byte[]):
46 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyA(int, byte[]):
48 RequiresPermission: android.nfc.tech.MifareClassic#authenticateSectorWithKeyB(int, byte[]):
62 RequiresPermission: android.nfc.tech.MifareClassic#transceive(byte[]):
66 RequiresPermission: android.nfc.tech.MifareClassic#writeBlock(int, byte[]):
74 RequiresPermission: android.nfc.tech.MifareUltralight#transceive(byte[]):
76 RequiresPermission: android.nfc.tech.MifareUltralight#writePage(int, byte[]):
94 RequiresPermission: android.nfc.tech.NfcA#transceive(byte[]):
96 RequiresPermission: android.nfc.tech.NfcB#transceive(byte[]):
102 RequiresPermission: android.nfc.tech.NfcF#transceive(byte[]):
[all …]
/packages/modules/Nfc/NfcNci/testutils/pn532/nfcutils/
Ddata.py134 for byte in data:
135 byte = byte ^ (w_crc & 0x00FF)
136 byte = (byte ^ (byte << 4)) & 0xFF
138 (w_crc >> 8) ^ (byte << 8) ^ (byte << 3) ^ (byte >> 4)
/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.cc40 void ByteInserter::on_byte(uint8_t byte) { in on_byte() argument
42 observer.OnByte(byte); in on_byte()
46 void ByteInserter::insert_byte(uint8_t byte) { in insert_byte() argument
47 on_byte(byte); in insert_byte()
48 std::back_insert_iterator<std::vector<uint8_t>>::operator=(byte); in insert_byte()
Dbit_inserter.cc29 void BitInserter::insert_bits(uint8_t byte, size_t num_bits) { in insert_bits() argument
32 static_cast<uint8_t>(saved_bits_) | (static_cast<uint16_t>(byte) << num_saved_bits_); in insert_bits()
43 void BitInserter::insert_byte(uint8_t byte) { insert_bits(byte, 8); } in insert_byte() argument
/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()
100 oss << std::hex << std::setw(2) << std::setfill('0') << +(byte); in data_to_hex_string()
Dbtm_ble_privacy.cc152 uint8_t byte; in btm_ble_clear_irk_index() local
156 byte = index / 8; in btm_ble_clear_irk_index()
158 btm_cb.ble_ctr_cb.irk_list_mask[byte] &= (~(1 << bit)); in btm_ble_clear_irk_index()
173 uint8_t byte; in btm_ble_find_irk_index() local
177 byte = i / 8; in btm_ble_find_irk_index()
180 if ((btm_cb.ble_ctr_cb.irk_list_mask[byte] & (1 << bit)) == 0) { in btm_ble_find_irk_index()
181 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.cc88 for (const auto& byte : data32) { in TEST_F() local
89 p_data[i++] = byte; in TEST_F()
97 for (const auto& byte : data32) { in TEST_F() local
98 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/Bluetooth/system/packet/avrcp/
Dget_folder_items.cc182 for (const uint8_t& byte : item.name_) { in PushMediaPlayerItem() local
183 AddPayloadOctets1(pkt, byte); in PushMediaPlayerItem()
199 for (const uint8_t& byte : item.name_) { in PushFolderItem() local
200 AddPayloadOctets1(pkt, byte); in PushFolderItem()
215 for (const uint8_t& byte : item.name_) { in PushMediaElementItem() local
216 AddPayloadOctets1(pkt, byte); in PushMediaElementItem()
229 for (const uint8_t& byte : attr_val) { in PushMediaElementItem() local
230 AddPayloadOctets1(pkt, byte); in PushMediaElementItem()
Dpass_through_packet.cc39 uint8_t byte = operation_id_ & 0b01111111; in Serialize() local
41 byte |= 0b10000000; in Serialize()
43 AddPayloadOctets1(pkt, byte); in Serialize()
/packages/modules/Virtualization/libs/libvmbase/src/
Duart.rs23 fn write_register_u8(&mut self, offset: usize, byte: u8); in write_register_u8()
39 pub fn write_byte(&mut self, byte: u8) { in write_byte()
40 self.backend.write_register_u8(0, byte) in write_byte()
/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[]);
92 method public void onLeScan(android.bluetooth.BluetoothDevice, int, byte[]);
550 …d @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean setPin(byte[]);
644 … writeCharacteristic(@NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[], int);
646 …T) public int writeDescriptor(@NonNull android.bluetooth.BluetoothGattDescriptor, @NonNull byte[]);
668 ….bluetooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[]);
670 …tooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattCharacteristic, @NonNull byte[], int);
674 …bluetooth.BluetoothGatt, @NonNull android.bluetooth.BluetoothGattDescriptor, int, @NonNull byte[]);
699 method @Deprecated public byte[] getValue();
701 method @Deprecated public boolean setValue(byte[]);
[all …]
/packages/modules/Nfc/libnfc-nci/src/nfc/tags/
Drw_t1t.cc811 tNFC_STATUS RW_T1tRead(uint8_t block, uint8_t byte) { in RW_T1tRead() argument
822 RW_T1T_BLD_ADD((addr), (block), (byte)); in RW_T1tRead()
840 tNFC_STATUS RW_T1tWriteErase(uint8_t block, uint8_t byte, uint8_t new_byte) { in RW_T1tWriteErase() argument
850 (block != T1T_CC_BLOCK) && (byte != T1T_CC_RWA_OFFSET)) { in RW_T1tWriteErase()
854 if ((block >= T1T_STATIC_BLOCKS) || (byte >= T1T_BLOCK_SIZE)) { in RW_T1tWriteErase()
856 block, byte); in RW_T1tWriteErase()
865 RW_T1T_BLD_ADD((addr), (block), (byte)); in RW_T1tWriteErase()
887 tNFC_STATUS RW_T1tWriteNoErase(uint8_t block, uint8_t byte, uint8_t new_byte) { in RW_T1tWriteNoErase() argument
897 (block != T1T_CC_BLOCK) && (byte != T1T_CC_RWA_OFFSET)) { in RW_T1tWriteNoErase()
901 if ((block >= T1T_STATIC_BLOCKS) || (byte >= T1T_BLOCK_SIZE)) { in RW_T1tWriteNoErase()
[all …]
/packages/modules/OnDevicePersonalization/framework/api/
Dcurrent.txt66 …tTrackingUrlWithResponse(@NonNull android.os.PersistableBundle, @Nullable byte[], @Nullable String…
107 method @Nullable public byte[] getOutputData();
118 … android.adservices.ondevicepersonalization.ExecuteOutput.Builder setOutputData(@Nullable byte...);
157 ….ondevicepersonalization.flags.executorch_inference_api_enabled") @NonNull public byte[] getData();
165 …uilder(@NonNull android.adservices.ondevicepersonalization.InferenceInput.Params, @NonNull byte[]);
169 …ic android.adservices.ondevicepersonalization.InferenceInput.Builder setInputData(@NonNull byte[]);
196 ….ondevicepersonalization.flags.executorch_inference_api_enabled") @NonNull public byte[] getData();
204 …public android.adservices.ondevicepersonalization.InferenceOutput.Builder setData(@NonNull byte[]);
238 method @Nullable @WorkerThread public byte[] get(@NonNull String);
252 method @Nullable @WorkerThread public byte[] put(@NonNull String, @NonNull byte[]);
[all …]
/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/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/adb/docs/dev/
Dsync.md18 In sync mode both the server and the client will frequently use eight-byte
41 1. A four-byte sync response id "DENT"
42 2. A four-byte integer representing file mode.
43 3. A four-byte integer representing file size.
44 4. A four-byte integer representing last modified time.
45 5. A four-byte integer representing file name length.

123456