Searched refs:packed (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.cpp70 inline uint64_t unpackDeviceID(uint64_t packed) { argument
71 return (packed & kDeviceIDMask);
74 inline uint8_t unpackDevicePriority(uint64_t packed) { argument
75 return static_cast<uint8_t>(packed >> kDevicePriorityShift);
188 uint64_t packed = packDeviceID(senderDeviceID, senderDevicePriority); local
189 SERIALIZE_INT64(packed);
198 uint64_t packed; local
199 DESERIALIZE_INT64(packed);
200 senderDeviceID = unpackDeviceID(packed);
201 senderDevicePriority = unpackDevicePriority(packed);
210 uint64_t packed = packDeviceID(deviceID, devicePriority); local
220 uint64_t packed; local
274 uint64_t packed = packDeviceID(deviceID, devicePriority); local
284 uint64_t packed; local
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmAlphabetTest.java133 byte[] packed;
138 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0);
140 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0]));
159 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0);
161 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[0]));
174 packed = GsmAlphabet.stringToGsm7BitPacked(testString.toString(), 0, 0);
176 GsmAlphabet.gsm7BitPackedToString(packed, 1, 0xff & packed[
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DInput.java34 public boolean packed; field in class:Input
48 packed = false;
63 packed = in.readInt() == 1 ? true : false;
84 dest.writeInt(packed ? 1 : 0);
H A DResponseData.java80 public GetInkeyInputResponseData(String inData, boolean ucs2, boolean packed) { argument
83 mIsPacked = packed;
123 // since 7-bit GSM packed only requires ((mInData.length * 7) + 7) / 8 bytes.
159 buf.write(0x00); // 7 bit packed
H A DCommandParamsFactory.java80 // No issues for GSM 7 bit packed format encoding.
539 input.packed = (cmdDet.commandQualifier & 0x08) != 0;
548 } else if (!input.packed && input.maxLen > MAX_GSM7_DEFAULT_CHARS) {
H A DCatService.java988 input.ucs2, input.packed);
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DStream.h34 } __attribute__((packed));
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp221 } __attribute__((packed)) bc1 = {
241 } __attribute__((packed)) br;
281 } __attribute__((packed)) bc2 = {
308 } __attribute__((packed)) bc = {
329 } __attribute__((packed)) br;
/frameworks/rs/scriptc/
H A Drs_object_types.rsh36 } __attribute__((packed, aligned(4)))
132 * RS_TYPE_UNSIGNED_5_6_5, RS_TYPE_UNSIGNED_5_5_5_1, RS_TYPE_UNSIGNED_4_4_4_4 are for packed
/frameworks/rs/
H A Drs_hal.h110 #define RS_BASE_OBJ(_t_) typedef struct { const _t_* p; } __attribute__((packed, aligned(4)))
124 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_mesh;
125 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_fragment;
126 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_vertex;
127 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_raster;
128 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_program_store;
129 typedef struct { const int* p; } __attribute__((packed, aligned(4))) rs_font;
/frameworks/native/cmds/servicemanager/
H A Dbinder.c176 } __attribute__((packed)) data;
192 } __attribute__((packed)) data;
326 } __attribute__((packed)) data;
343 } __attribute__((packed)) writebuf;
474 } __attribute__((packed)) data;
/frameworks/base/include/androidfw/
H A DCursorWindow.h79 } __attribute((packed));
H A DResourceTypes.h181 } __attribute__((packed));
927 // - A single 16 bit little endian packed value representing an
950 // - An UN M.49 3 digit region code. For simplicity, these are packed
/frameworks/rs/api/
H A 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/minikin/tools/
H A Dmk_hyb_file.py337 # assumes hyph structure has been packed, ie node.ix values have been set
364 packed = (pat_array[i] << pattern_shift) | (link_array[i] << link_shift) | ch_array[i]
365 result.append(struct.pack('<I', packed))
/frameworks/base/core/jni/
H A DAndroid.mk14 LOCAL_CFLAGS += -DPACKED="__attribute__ ((packed))"
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp83 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) t;

Completed in 3857 milliseconds