Home
last modified time | relevance | path

Searched refs:packed (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmAlphabetTest.java133 byte[] packed; in testBasic()
138 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic()
140 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0])); in testBasic()
159 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic()
161 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0])); in testBasic()
174 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic()
176 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0])); in testBasic()
185 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic()
187 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0])); in testBasic()
206 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0); in testBasic()
[all …]
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
Dtest.proto53 repeated double double_field_packed = 12 [packed=true];
57 repeated float float_field_packed = 22 [packed=true];
61 repeated int32 int32_field_packed = 32 [packed=true];
65 repeated int64 int64_field_packed = 42 [packed=true];
69 repeated uint32 uint32_field_packed = 52 [packed=true];
73 repeated uint64 uint64_field_packed = 62 [packed=true];
77 repeated sint32 sint32_field_packed = 72 [packed=true];
81 repeated sint64 sint64_field_packed = 82 [packed=true];
85 repeated fixed32 fixed32_field_packed = 92 [packed=true];
89 repeated fixed64 fixed64_field_packed = 102 [packed=true];
[all …]
/frameworks/base/tools/streaming_proto/test/
Dtest.proto59 repeated double double_field_packed = 12 [packed=true];
63 repeated float float_field_packed = 22 [packed=true];
67 repeated int32 int32_field_packed = 32 [packed=true];
71 repeated int64 int64_field_packed = 42 [packed=true];
75 repeated uint32 uint32_field_packed = 52 [packed=true];
79 repeated uint64 uint64_field_packed = 62 [packed=true];
83 repeated sint32 sint32_field_packed = 72 [packed=true];
87 repeated sint64 sint64_field_packed = 82 [packed=true];
91 repeated fixed32 fixed32_field_packed = 92 [packed=true];
95 repeated fixed64 fixed64_field_packed = 102 [packed=true];
[all …]
/frameworks/av/media/mtp/
DMtpDescriptors.h46 } __attribute__((packed));
56 } __attribute__((packed));
64 } __attribute__((packed)) header;
66 } __attribute__((packed));
79 } __attribute__((packed));
91 } __attribute__((packed));
96 } __attribute__((packed));
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java109 int packed = FontFileUtil.analyzeStyle(buffer, 0, null); in testRegularFonts() local
110 assertEquals(path, weight, FontFileUtil.unpackWeight(packed)); in testRegularFonts()
111 assertEquals(path, italic, FontFileUtil.unpackItalic(packed)); in testRegularFonts()
125 int packed = FontFileUtil.analyzeStyle(buffer, ttcIndex, null); in testTtcFont() local
126 assertEquals(path + "#" + ttcIndex, weight, FontFileUtil.unpackWeight(packed)); in testTtcFont()
127 assertEquals(path + "#" + ttcIndex, italic, FontFileUtil.unpackItalic(packed)); in testTtcFont()
141 int packed = FontFileUtil.analyzeStyle(buffer, 0, in testVariationFont() local
143 assertEquals(path + "#" + axes, weight, FontFileUtil.unpackWeight(packed)); in testVariationFont()
144 assertEquals(path + "#" + axes, italic, FontFileUtil.unpackItalic(packed)); in testVariationFont()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java37 public static int unpackWeight(int packed) { in unpackWeight() argument
38 return packed & 0xFFFF; in unpackWeight()
44 public static boolean unpackItalic(int packed) { in unpackItalic() argument
45 return (packed & 0x10000) != 0; in unpackItalic()
51 public static boolean isSuccess(int packed) { in isSuccess() argument
52 return packed != ANALYZE_ERROR; in isSuccess()
DFont.java364 final int packed = FontFileUtil.analyzeStyle(mBuffer, mTtcIndex, mAxes); in build() local
365 if (FontFileUtil.isSuccess(packed)) { in build()
367 mWeight = FontFileUtil.unpackWeight(packed); in build()
370 mItalic = FontFileUtil.unpackItalic(packed) ? STYLE_ITALIC : STYLE_NORMAL; in build()
/frameworks/rs/script_api/include/
Drs_value_types.rsh106 * Vector version of the half float type. Provides two half fields packed
116 * Vector version of the half float type. Provides three half fields packed
126 * Vector version of the half float type. Provides four half fields packed
258 * A vector of two floats. These two floats are packed into a single 64 bit field
261 * A vector of two floats. These two floats are packed into a single 64 bit field
269 * A vector of three floats. These three floats are packed into a single 128 bit field
277 * A vector of four floats type. These four floats are packed into a single 128 bit field
285 * A vector of two doubles. These two double fields packed into a single 128 bit field
293 * A vector of three doubles. These three double fields packed into a single 256 bit field
301 * A vector of four doubles. These four double fields packed into a single 256 bit field
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DInput.java34 public boolean packed; field in Input
49 packed = false; in Input()
65 packed = in.readInt() == 1 ? true : false; in Input()
87 dest.writeInt(packed ? 1 : 0); in writeToParcel()
DResponseData.java87 public GetInkeyInputResponseData(String inData, boolean ucs2, boolean packed) { in GetInkeyInputResponseData() argument
90 mIsPacked = packed; in GetInkeyInputResponseData()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_pose.h24 typedef struct __attribute__((packed, aligned(16))) DvrPoseAsync {
70 typedef struct __attribute__((packed, aligned(16))) DvrPose {
Ddvr_config.h13 struct __attribute__((packed, aligned(16))) DvrConfig {
Ddvr_vsync.h10 typedef struct __attribute__((packed, aligned(16))) DvrVsync {
Ddvr_shared_buffers.h56 struct __attribute__((packed, aligned(16))) DvrVsyncPoseBuffer {
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java80 long packed = 0; in packBits() local
82 packed |= (1L << b); in packBits()
84 return packed; in packBits()
/frameworks/rs/
Drs_hal.h111 #define RS_BASE_OBJ(_t_) typedef struct { const _t_* p; } __attribute__((packed, aligned(4)))
127 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_mesh;
128 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_fragment;
129 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_vertex;
130 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_raster;
131 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_store;
132 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_font;
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp236 } __attribute__((packed)) bc1 = { in TEST_F()
258 } __attribute__((packed)) br; in TEST_F()
298 } __attribute__((packed)) bc2 = { in TEST_F()
325 } __attribute__((packed)) bc = { in TEST_F()
346 } __attribute__((packed)) br; in TEST_F()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.h91 struct __attribute__((packed)) segment_t {
96 struct __attribute__((packed)) sof_t {
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmime_io.tab28 /* size of packed frame for each mode, excluding TOC byte */
32 /* number of unused speech bits in packed format for each mode */
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rsh2 typedef struct __attribute__((packed, aligned(4))) Ball {
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DStream.h33 } __attribute__((packed));
DProductStrategy.h37 } __attribute__((packed));
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp30 if (field.options().packed()) { in get_field_id()
/frameworks/minikin/doc/
Dhyb_file_format.md20 At heart, the file contains packed tries with suffix compression, actually quite similar
26 The second section contains the trie in packed form. It is an array of 3-tuples, packed
/frameworks/rs/script_api/
Drs_object_types.spec30 } __attribute__((packed, aligned(4)))
156 RS_TYPE_UNSIGNED_5_6_5, RS_TYPE_UNSIGNED_5_5_5_1, RS_TYPE_UNSIGNED_4_4_4_4 are for packed

12