/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 34 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 …]
|
D | DocumentLoaderTest.java | 209 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/ |
D | Exif.java | 102 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/ |
D | Exif.java | 107 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/services/net/java/android/net/netlink/ |
D | ConntrackMessage.java | 90 ctmsg.pack(byteBuffer); in newIPv4TimeoutUpdateRequest() 92 ctaTupleOrig.pack(byteBuffer); in newIPv4TimeoutUpdateRequest() 93 ctaTimeout.pack(byteBuffer); in newIPv4TimeoutUpdateRequest() 105 public void pack(ByteBuffer byteBuffer) { in pack() method in ConntrackMessage 106 mHeader.pack(byteBuffer); in pack() 107 mNfGenMsg.pack(byteBuffer); in pack()
|
D | RtNetlinkNeighborMessage.java | 133 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()
|
D | StructNlMsgErr.java | 54 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlMsgErr 60 msg.pack(byteBuffer); in pack()
|
D | StructInetDiagReqV2.java | 56 public void pack(ByteBuffer byteBuffer) { in pack() method in StructInetDiagReqV2 63 id.pack(byteBuffer); in pack()
|
D | StructNfGenMsg.java | 44 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNfGenMsg
|
D | StructNlAttr.java | 149 nla.pack(buf); in StructNlAttr() 182 public void pack(ByteBuffer byteBuffer) { in pack() method in StructNlAttr
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFileUtil.java | 55 private static int pack(@IntRange(from = 0, to = 1000) int weight, boolean italic) { in pack() method in FontFileUtil 87 return pack(weight, italic == 1); in analyzeStyle() 122 return pack(400, false); in analyzeStyle() 128 return pack(weight == -1 ? weightFromOS2 : weight, in analyzeStyle()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | AnyTest.java | 48 .setValue(Any.pack(message)).build(); in testAnyGeneratedApi() 84 .setValue(Any.pack(message, "xxx.com")).build(); in testCustomTypeUrls() 97 .setValue(Any.pack(message, "yyy.com/")).build(); in testCustomTypeUrls() 110 .setValue(Any.pack(message, "")).build(); in testCustomTypeUrls() 129 .setValue(Any.pack(message)).build(); in testCachedUnpackResult()
|
/frameworks/av/media/libstagefright/codecs/common/include/ |
D | voAMRWB.h | 29 #pragma pack(push, 4) 80 #pragma pack(pop)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | JsonFormatTest.java | 798 TestAny message = TestAny.newBuilder().setAnyValue(Any.pack(content)).build(); in testAnyFields() 825 Any anyMessage = Any.pack(Any.pack(content)); in testAnyFields() 838 anyMessage = Any.pack(Int32Value.newBuilder().setValue(12345).build()); in testAnyFields() 846 anyMessage = Any.pack(UInt32Value.newBuilder().setValue(12345).build()); in testAnyFields() 854 anyMessage = Any.pack(Int64Value.newBuilder().setValue(12345).build()); in testAnyFields() 862 anyMessage = Any.pack(UInt64Value.newBuilder().setValue(12345).build()); in testAnyFields() 870 anyMessage = Any.pack(FloatValue.newBuilder().setValue(12345).build()); in testAnyFields() 878 anyMessage = Any.pack(DoubleValue.newBuilder().setValue(12345).build()); in testAnyFields() 886 anyMessage = Any.pack(BoolValue.newBuilder().setValue(true).build()); in testAnyFields() 894 anyMessage = Any.pack(StringValue.newBuilder().setValue("Hello").build()); in testAnyFields() [all …]
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 374 ogg_packet pack; in process() local 375 pack.packet = &ref; in process() 376 pack.bytes = ref.length; in process() 377 pack.b_o_s = 0; in process() 378 pack.e_o_s = 0; in process() 379 pack.granulepos = 0; in process() 380 pack.packetno = 0; in process() 400 int ret = vorbis_dsp_synthesis(mState, &pack, 1); in process()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 437 public long pack() { in pack() method in Color 438 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack() 982 public static long pack(@ColorInt int color) { in pack() method in Color 999 public static long pack(float red, float green, float blue) { in pack() method in Color 1000 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack() 1016 public static long pack(float red, float green, float blue, float alpha) { in pack() method in Color 1017 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack() 1040 public static long pack(float red, float green, float blue, float alpha, in pack() method in Color 1146 return pack(c[0], c[1], c[2], a, destination); in convert() 1202 return pack(c[0], c[1], c[2], a, connector.getDestination()); in convert()
|
D | SweepGradient.java | 115 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient()
|
D | RadialGradient.java | 129 this(centerX, centerY, radius, Color.pack(centerColor), Color.pack(edgeColor), tileMode); in RadialGradient()
|
D | LinearGradient.java | 131 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 127 return b''.join(struct.pack('B', x) for x in pattern) 195 def pack(self, node_list, ch_map, use_node=False): member in Hyph 316 return struct.pack('<6I', *data) 329 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)] 331 result.append(struct.pack('<B', b)) 335 result = [struct.pack('<2I', 1, len(ch_map))] 338 result.append(struct.pack('<I', data)) 354 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)] 373 result.append(struct.pack('<I', packed)) 402 result = [struct.pack('<4I', *data)] [all …]
|
/frameworks/native/opengl/tools/glgen/src/ |
D | Jsr239CodeEmitter.java | 69 public void setVersion(int version, boolean ext, boolean pack) { in setVersion() argument 75 (pack ? mJava11ExtPackInterfaceStream : in setVersion()
|
D | CodeEmitter.java | 19 void setVersion(int version, boolean ext, boolean pack); in setVersion() argument
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | VolumeCtrl.java | 153 final String pack = cmd.getClass().getPackage().getName(); in run() local 155 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run() 157 audioService.adjustStreamVolume(stream, adjDir, flag, pack); in run()
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
D | SoftVorbis.cpp | 496 ogg_packet pack; in onQueueFilled() local 497 pack.packet = &ref; in onQueueFilled() 498 pack.bytes = ref.length; in onQueueFilled() 499 pack.b_o_s = 0; in onQueueFilled() 500 pack.e_o_s = 0; in onQueueFilled() 501 pack.granulepos = 0; in onQueueFilled() 502 pack.packetno = 0; in onQueueFilled() 515 int err = vorbis_dsp_synthesis(mState, &pack, 1); in onQueueFilled()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/ |
D | build_packages.bat | 4 dotnet pack -c Release src\Google.Protobuf || goto :error
|