Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 28) 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/NetworkStack/common/netlinkclient/src/android/net/netlink/
DRtNetlinkNeighborMessage.java110 nlmsghdr.pack(byteBuffer); in newGetNeighborsRequest()
113 ndmsg.pack(byteBuffer); in newGetNeighborsRequest()
142 msg.pack(byteBuffer); in newNewNeighborMessage()
201 nlAttr.pack(byteBuffer); in packNlAttr()
204 public void pack(ByteBuffer byteBuffer) { in pack() method in RtNetlinkNeighborMessage
205 getHeader().pack(byteBuffer) ; in pack()
206 mNdmsg.pack(byteBuffer); in pack()
DConntrackMessage.java212 ctmsg.pack(byteBuffer); in newIPv4TimeoutUpdateRequest()
214 ctaTupleOrig.pack(byteBuffer); in newIPv4TimeoutUpdateRequest()
215 ctaTimeout.pack(byteBuffer); in newIPv4TimeoutUpdateRequest()
458 public void pack(ByteBuffer byteBuffer) { in pack() method in ConntrackMessage
459 mHeader.pack(byteBuffer); in pack()
460 nfGenMsg.pack(byteBuffer); in pack()
DStructNlMsgErr.java51 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlMsgErr
57 msg.pack(byteBuffer); in pack()
DStructInetDiagReqV2.java73 public void pack(ByteBuffer byteBuffer) { in pack() method in StructInetDiagReqV2
80 if (mId != null) mId.pack(byteBuffer); in pack()
DInetDiagMessage.java94 nlMsgHdr.pack(byteBuffer); in InetDiagReqV2()
98 inetDiagReqV2.pack(byteBuffer); in InetDiagReqV2()
DStructNlAttr.java178 nla.pack(buf); in StructNlAttr()
256 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlAttr
DStructInetDiagSockId.java58 public void pack(ByteBuffer byteBuffer) { in pack() method in StructInetDiagSockId
DStructNfGenMsg.java79 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNfGenMsg
DStructNlMsgHdr.java118 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlMsgHdr
DStructNdMsg.java132 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNdMsg
/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/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/apps/DocumentsUI/tests/
DAndroid.bp58 // pack some raw file locate in assets folder
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java339 nlh.pack(byteBuffer); in sendIpv4NfGenMsg()
343 nfh.pack(byteBuffer); in sendIpv4NfGenMsg()
/packages/services/Car/tools/emulator/
Dvhal_emulator.py119 msgHdr = struct.pack('!I', msgLen)
/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.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...

12