Home
last modified time | relevance | path

Searched refs:packed (Results 1 – 25 of 37) 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/libs/common_time/
Dcommon_time_server_packets.cpp70 inline uint64_t unpackDeviceID(uint64_t packed) { in unpackDeviceID() argument
71 return (packed & kDeviceIDMask); in unpackDeviceID()
74 inline uint8_t unpackDevicePriority(uint64_t packed) { in unpackDevicePriority() argument
75 return static_cast<uint8_t>(packed >> kDevicePriorityShift); in unpackDevicePriority()
188 uint64_t packed = packDeviceID(senderDeviceID, senderDevicePriority); in serializePacket() local
189 SERIALIZE_INT64(packed); in serializePacket()
198 uint64_t packed; in deserializePacket() local
199 DESERIALIZE_INT64(packed); in deserializePacket()
200 senderDeviceID = unpackDeviceID(packed); in deserializePacket()
201 senderDevicePriority = unpackDevicePriority(packed); in deserializePacket()
[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/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/native/libs/vr/libvrsensor/include/dvr/
Dpose_client.h25 typedef struct __attribute__((packed, aligned(8))) DvrPoseState {
27 struct __attribute__((packed)) {
31 struct __attribute__((packed)) {
37 struct __attribute__((packed)) {
51 typedef struct __attribute__((packed, aligned(16))) DvrPoseAsync {
/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.java80 public GetInkeyInputResponseData(String inData, boolean ucs2, boolean packed) { in GetInkeyInputResponseData() argument
83 mIsPacked = packed; in GetInkeyInputResponseData()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java73 long packed = 0; in packBits() local
75 packed |= (1 << b); in packBits()
77 return packed; in packBits()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp221 } __attribute__((packed)) bc1 = { in TEST_F()
243 } __attribute__((packed)) br; in TEST_F()
283 } __attribute__((packed)) bc2 = { in TEST_F()
310 } __attribute__((packed)) bc = { in TEST_F()
331 } __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/media/mtp/
DMtpFfsHandle.cpp77 } __attribute__((packed));
87 } __attribute__((packed));
95 } __attribute__((packed)) header;
97 } __attribute__((packed));
107 } __attribute__((packed));
276 } __attribute__((packed)) lang0;
277 } __attribute__((packed)) strings = {
/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/native/libs/vr/libvrsensor/include/private/dvr/
Dpose_client_internal.h15 typedef struct __attribute__((packed, aligned(16))) DvrPoseRingBuffer {
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rsh2 typedef struct __attribute__((packed, aligned(4))) Ball {
Dballs.rs14 typedef struct __attribute__((packed, aligned(4))) Point {
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DStream.h34 } __attribute__((packed));
/frameworks/native/cmds/servicemanager/
Dbinder.c177 } __attribute__((packed)) data; in binder_free_buffer()
193 } __attribute__((packed)) data; in binder_send_reply()
327 } __attribute__((packed)) data; in binder_link_to_death()
344 } __attribute__((packed)) writebuf; in binder_call()
475 } __attribute__((packed)) data; in binder_done()
/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
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp346 ColorAspects ColorUtils::unpackToColorAspects(uint32_t packed) { in unpackToColorAspects() argument
348 aspects.mRange = (ColorAspects::Range)((packed >> 24) & 0xFF); in unpackToColorAspects()
349 aspects.mPrimaries = (ColorAspects::Primaries)((packed >> 16) & 0xFF); in unpackToColorAspects()
350 aspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)((packed >> 8) & 0xFF); in unpackToColorAspects()
351 aspects.mTransfer = (ColorAspects::Transfer)(packed & 0xFF); in unpackToColorAspects()
/frameworks/rs/rsov/compiler/
DBuiltin.cpp176 auto packed = b->MakeExtInst(call->mResultType, m->getGLExt(), in BuiltinLookupTable() local
179 m->getVectorType(m->getUnsignedIntType(8), 4), packed); in BuiltinLookupTable()
/frameworks/base/tools/streaming_proto/
Dmain.cpp248 if (field.options().packed()) { in get_field_id()
270 string packed_comment = field.options().packed() in write_field()
/frameworks/av/include/media/
DIMediaSource.h101 } __attribute__((packed)); // sent through Binder
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h101 } __attribute__((packed)); // sent through Binder
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h80 } __attribute((packed));

12