Home
last modified time | relevance | path

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

12

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java33 protected static String pack(int... args) { in pack() method in TestMtpManager
53 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); in setObjectHandles()
57 mObjectInfos.put(pack(deviceId, objectInfo.getObjectHandle()), objectInfo); in setObjectInfo()
61 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); in setImportFileBytes()
65 return mImportFileBytes.get(pack(deviceId, objectHandle)); in getImportFileBytes()
69 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); in setThumbnail()
73 mObjectSizeLongs.put(pack(deviceId, objectHandle, format), value); in setObjectSizeLong()
119 final String key = pack(deviceId, objectHandle); in getObjectInfo()
129 final String key = pack(deviceId, storageId, parentObjectHandle); in getObjectHandles()
140 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()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java102 length = pack(jpeg, offset, 2, false); in getOrientation()
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
111 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
130 int tag = pack(jpeg, offset, 4, false); in getOrientation()
138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()
150 count = pack(jpeg, offset - 2, 2, littleEndian); in getOrientation()
154 tag = pack(jpeg, offset, 2, littleEndian); in getOrientation()
157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation()
182 private static int pack(final InputStreamBuffer bytes, int offset, int length, in pack() method in Exif
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java107 length = pack(jpeg, offset, 2, false); in getOrientation()
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
116 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
135 int tag = pack(jpeg, offset, 4, false); in getOrientation()
143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()
155 count = pack(jpeg, offset - 2, 2, littleEndian); in getOrientation()
159 tag = pack(jpeg, offset, 2, littleEndian); in getOrientation()
162 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation()
187 private static int pack(final InputStreamBuffer bytes, int offset, int length, in pack() method in Exif
/frameworks/base/graphics/java/android/graphics/
DAtlas.java115 public Entry pack(int width, int height) { in pack() method in Atlas
116 return pack(width, height, null); in pack()
132 public Entry pack(int width, int height, Entry entry) { in pack() method in Atlas
134 return mPolicy.pack(width, height, entry); in pack()
159 abstract Entry pack(int width, int height, Entry entry); in pack() method in Atlas.Policy
273 Entry pack(int width, int height, Entry entry) { in pack() method in Atlas.SlicePolicy
/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java133 nlmsghdr.pack(byteBuffer); in newGetNeighborsRequest()
136 ndmsg.pack(byteBuffer); in newGetNeighborsRequest()
165 msg.pack(byteBuffer); in newNewNeighborMessage()
224 nlAttr.pack(byteBuffer); in packNlAttr()
227 public void pack(ByteBuffer byteBuffer) { in pack() method in RtNetlinkNeighborMessage
228 getHeader().pack(byteBuffer) ; in pack()
229 mNdmsg.pack(byteBuffer); in pack()
DStructNlMsgErr.java55 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlMsgErr
61 msg.pack(byteBuffer); in pack()
DStructNlAttr.java119 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlAttr
DStructNlMsgHdr.java115 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlMsgHdr
DStructNdMsg.java128 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNdMsg
/frameworks/minikin/tools/
Dmk_hyb_file.py123 return b''.join(struct.pack('B', x) for x in pattern)
191 def pack(self, node_list, ch_map, use_node=False): member in Hyph
308 return struct.pack('<6I', *data)
321 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)]
323 result.append(struct.pack('<B', b))
327 result = [struct.pack('<2I', 1, len(ch_map))]
330 result.append(struct.pack('<I', data))
346 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
365 result.append(struct.pack('<I', packed))
394 result = [struct.pack('<4I', *data)]
[all …]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp385 ogg_packet pack; in onQueueFilled() local
386 pack.packet = &ref; in onQueueFilled()
387 pack.bytes = ref.length; in onQueueFilled()
388 pack.b_o_s = 0; in onQueueFilled()
389 pack.e_o_s = 0; in onQueueFilled()
390 pack.granulepos = 0; in onQueueFilled()
391 pack.packetno = 0; in onQueueFilled()
396 int err = vorbis_dsp_synthesis(mState, &pack, 1); in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAMRWB.h29 #pragma pack(push, 4)
80 #pragma pack(pop)
/frameworks/native/opengl/tools/glgen/src/
DJsr239CodeEmitter.java69 public void setVersion(int version, boolean ext, boolean pack) { in setVersion() argument
75 (pack ? mJava11ExtPackInterfaceStream : in setVersion()
DCodeEmitter.java19 void setVersion(int version, boolean ext, boolean pack); in setVersion() argument
DGenerateGL.java34 private static void emit(int version, boolean ext, boolean pack, in emit() argument
68 emitter.setVersion(version, ext, pack); in emit()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp341 #pragma pack(push)
342 #pragma pack(1)
347 #pragma pack(pop)
/frameworks/av/media/libstagefright/
DOggExtractor.cpp913 ogg_packet pack; in getPacketBlockSize() local
914 pack.packet = &ref; in getPacketBlockSize()
915 pack.bytes = ref.length; in getPacketBlockSize()
916 pack.b_o_s = 0; in getPacketBlockSize()
917 pack.e_o_s = 0; in getPacketBlockSize()
918 pack.granulepos = 0; in getPacketBlockSize()
919 pack.packetno = 0; in getPacketBlockSize()
921 return vorbis_packet_blocksize(&mVi, &pack); in getPacketBlockSize()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp48 : bits(pack(variant, weight, italic)), mLanguageListId(languageListId) { in FontStyle()
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { in pack() function in android::FontStyle
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java115 boolean hasSamePackage(String pack) { in hasSamePackage() argument
117 return mPackageName.compareTo(pack) == 0; in hasSamePackage()
/frameworks/minikin/include/minikin/
DFontFamily.h66 static uint32_t pack(int variant, int weight, bool italic);
/frameworks/base/services/core/java/com/android/server/
DAssetAtlasService.java272 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) { in renderAtlas()
709 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) { in packBitmaps()
/frameworks/minikin/doc/
Dhyb_file_format.md15 Further, at some point we will probably pack patterns for multiple languages into a single
/frameworks/base/docs/html/training/basics/network-ops/
Ddata-saver.jd36 or for a small prepaid data pack.
/frameworks/base/core/java/android/widget/
DGridLayout.java1296 return assoc.pack(); in createGroupBounds()
1334 return result.pack(); in createLinks()
2273 public PackedMap<K, V> pack() {

12