Home
last modified time | relevance | path

Searched refs:packed (Results 1 – 25 of 48) 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/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/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/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/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/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java113 int packed = FontFileUtil.analyzeStyle(buffer, 0, null); in testRegularFonts() local
114 assertEquals(path, weight, FontFileUtil.unpackWeight(packed)); in testRegularFonts()
115 assertEquals(path, italic, FontFileUtil.unpackItalic(packed)); in testRegularFonts()
129 int packed = FontFileUtil.analyzeStyle(buffer, ttcIndex, null); in testTtcFont() local
130 assertEquals(path + "#" + ttcIndex, weight, FontFileUtil.unpackWeight(packed)); in testTtcFont()
131 assertEquals(path + "#" + ttcIndex, italic, FontFileUtil.unpackItalic(packed)); in testTtcFont()
145 int packed = FontFileUtil.analyzeStyle(buffer, 0, in testVariationFont() local
147 assertEquals(path + "#" + axes, weight, FontFileUtil.unpackWeight(packed)); in testVariationFont()
148 assertEquals(path + "#" + axes, italic, FontFileUtil.unpackItalic(packed)); in testVariationFont()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java39 public static int unpackWeight(int packed) { in unpackWeight() argument
40 return packed & 0xFFFF; in unpackWeight()
46 public static boolean unpackItalic(int packed) { in unpackItalic() argument
47 return (packed & 0x10000) != 0; in unpackItalic()
53 public static boolean isSuccess(int packed) { in isSuccess() argument
54 return packed != ANALYZE_ERROR; in isSuccess()
/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.java88 public GetInkeyInputResponseData(String inData, boolean ucs2, boolean packed) { in GetInkeyInputResponseData() argument
91 mIsPacked = packed; in GetInkeyInputResponseData()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DNetworkCapabilitiesUtils.java223 long packed = 0; in packBits() local
225 packed |= (1L << b); in packBits()
227 return packed; in packBits()
/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/base/core/proto/android/internal/
Dprotolog.proto36 repeated sint64 sint64_params = 4 [packed=true];
38 repeated double double_params = 5 [packed=true];
40 repeated bool boolean_params = 6 [packed=true];
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp238 } __attribute__((packed)) bc1 = { in TEST_F()
260 } __attribute__((packed)) br; in TEST_F()
300 } __attribute__((packed)) bc2 = { in TEST_F()
327 } __attribute__((packed)) bc = { in TEST_F()
348 } __attribute__((packed)) br; in TEST_F()
/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/av/services/camera/libcameraservice/tests/
DNV12Compressor.h92 struct __attribute__((packed)) segment_t {
97 struct __attribute__((packed)) sof_t {
/frameworks/av/media/codecs/amrwb/enc/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/graphics/java/android/graphics/text/
DMeasuredText.java148 long packed = nGetExtent(mNativePtr, mChars, start, end); in getFontMetricsInt() local
149 outMetrics.ascent = (int) (packed >> 32); in getFontMetricsInt()
150 outMetrics.descent = (int) (packed & 0xFFFFFFFF); in getFontMetricsInt()
/frameworks/av/media/libeffects/testlibs/
DAndroid.bp39 "-Wno-address-of-packed-member",

12