Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 31) sorted by relevance

12

/packages/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java34 protected static String pack(int... args) { in pack() method in TestMtpManager
54 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); in setObjectHandles()
58 mObjectInfos.put(pack(deviceId, objectInfo.getObjectHandle()), objectInfo); in setObjectInfo()
62 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); in setImportFileBytes()
66 return mImportFileBytes.get(pack(deviceId, objectHandle)); in getImportFileBytes()
70 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); in setThumbnail()
74 mObjectSizeLongs.put(pack(deviceId, objectHandle, format), value); in setObjectSizeLong()
120 final String key = pack(deviceId, objectHandle); in getObjectInfo()
130 final String key = pack(deviceId, storageId, parentObjectHandle); in getObjectHandles()
141 final String key = pack(deviceId, objectHandle); in importFile()
[all …]
DDocumentLoaderTest.java209 blockedDocuments.put(pack(deviceId, objectHandle), new CountDownLatch(1)); in blockDocument()
213 blockedDocuments.get(pack(deviceId, objectHandle)).countDown(); in unblockDocument()
218 final CountDownLatch latch = blockedDocuments.get(pack(deviceId, objectHandle)); in getObjectInfo()
/packages/apps/LegacyCamera/src/com/android/camera/
DExif.java52 length = pack(jpeg, offset, 2, false); in getOrientation()
60 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
61 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
75 int tag = pack(jpeg, offset, 4, false); in getOrientation()
83 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()
92 count = pack(jpeg, offset - 2, 2, littleEndian); in getOrientation()
95 tag = pack(jpeg, offset, 2, littleEndian); in getOrientation()
98 int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation()
121 private static int pack(byte[] bytes, int offset, int length, in pack() method in Exif
/packages/modules/NeuralNetworks/common/cpu_operations/
DPack.cpp108 bool pack(IOperationExecutionContext* context) { in pack() function
135 return pack<_Float16>(context); in execute()
137 return pack<float>(context); in execute()
139 return pack<uint8_t>(context); in execute()
141 return pack<int8_t>(context); in execute()
143 return pack<int32_t>(context); in execute()
/packages/modules/Bluetooth/system/tools/scripts/
Dbtsnooz.py112 sys.stdout.buffer.write(struct.pack('>II', length, length))
113 sys.stdout.buffer.write(struct.pack('>II', type_to_direction(type), 0))
114 …sys.stdout.buffer.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFF…
139 sys.stdout.buffer.write(struct.pack('>II', packet_length, length))
140 sys.stdout.buffer.write(struct.pack('>II', type_to_direction(snooz_type), 0))
141 …sys.stdout.buffer.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFF…
Ddump_le_audio.py248 header = header + struct.pack("<H", sf_case[ase.sampling_frequencies])
249 …header = header + struct.pack("<H", int(ase.octets_per_frame * 8 * 10 / fd_case[ase.frame_duration…
250 …header = header + struct.pack("<HHHL", al_case[ase.channel_allocation], fd_case[ase.frame_duration…
254 header = header + struct.pack("<H", sf_case[stream.sampling_frequencies])
255 …header = header + struct.pack("<H", int(stream.octets_per_frame * 8 * 10 / fd_case[stream.frame_du…
256 …header = header + struct.pack("<HHHL", al_case[stream.channel_allocation], fd_case[stream.frame_du…
765 connection_map[acl_handle].output_dump.extend(struct.pack("<H", len(packet)))
768 connection_map[acl_handle].input_dump.extend(struct.pack("<H", len(packet)))
771 bis_stream_map[iso_handle].output_dump.extend(struct.pack("<H", len(packet)))
/packages/modules/NeuralNetworks/runtime/test/generated/spec_AIDL_V2/
Dpack.example.cpp7 namespace generated_tests::pack { namespace
64 namespace generated_tests::pack { namespace
155 namespace generated_tests::pack { namespace
212 namespace generated_tests::pack { namespace
303 namespace generated_tests::pack { namespace
360 namespace generated_tests::pack { namespace
451 namespace generated_tests::pack { namespace
508 namespace generated_tests::pack { namespace
599 namespace generated_tests::pack { namespace
656 namespace generated_tests::pack { namespace
[all …]
/packages/modules/Bluetooth/system/embdrv/lc3/test/
Dencoder.py179 header = struct.pack('=HHHHHHHI', 0xcc1c, 18,
200 if f: f.write(struct.pack('=H', frame_nbytes))
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java252 nlh.pack(byteBuffer); in sendIpv4NfGenMsg()
256 nfh.pack(byteBuffer); in sendIpv4NfGenMsg()
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/
DAndroid.bp12 "-altera-struct-pack-align",
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/
DAndroid.bp12 "-altera-struct-pack-align",
/packages/modules/adb/
Dtest_adb.py61 buf = struct.pack("IIIIII", bin_command, arg0, arg1, len(data), 0,
324 struct.pack(linger_format, l_onoff, l_linger))
512 packet = struct.pack("IIIIII", 0, 0, 0, 0, 0, 0)
/packages/modules/DnsResolver/
Dres_cache.cpp832 DnsPacket pack[1]; in entry_hash() local
834 _dnsPacket_init(pack, e->query, e->querylen); in entry_hash()
835 return _dnsPacket_hashQuery(pack); in entry_hash()
841 DnsPacket pack[1]; in entry_init_key() local
849 _dnsPacket_init(pack, e->query, e->querylen); in entry_init_key()
851 return _dnsPacket_checkQuery(pack); in entry_init_key()
/packages/apps/DocumentsUI/tests/
DAndroid.bp58 // pack some raw file locate in assets folder
/packages/services/Car/tools/emulator/
Dvhal_emulator.py119 msgHdr = struct.pack('!I', msgLen)
/packages/modules/Virtualization/vmbase/example/src/
Dmain.rs215 writer.pack().unwrap(); in modify_fdt()
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dasha.py121 return struct.pack("<H", self.psm)
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs708 fdt.pack().map_err(|e| { in patch_device_tree()
753 fdt.pack()?; in modify_for_next_stage()
/packages/modules/Virtualization/libs/libfdt/src/
Dlib.rs680 pub fn pack(&mut self) -> Result<()> { in pack() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv996 livio.pack.lang.en_US 10359
5208 livio.pack.lang.fr_FR 10359
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv996 livio.pack.lang.en_US 10359
5208 livio.pack.lang.fr_FR 10359
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12