Home
last modified time | relevance | path

Searched refs:crc (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/
Dframing.c105 OI_UINT crc; in crc_iterate() local
108 crc = crc8_wide[idx >> 1]; in crc_iterate()
110 crc &= 0xff; in crc_iterate()
112 crc >>= 8; in crc_iterate()
115 return crc; in crc_iterate()
119 OI_UINT crc; in crc_iterate_top4() local
122 crc = crc8_wide[idx >> 1]; in crc_iterate_top4()
124 crc &= 0xff; in crc_iterate_top4()
126 crc >>= 8; in crc_iterate_top4()
129 return (oldcrc << 4) ^ crc; in crc_iterate_top4()
[all …]
Ddecoder-sbc.c276 uint8_t crc; in OI_CODEC_SBC_DecodeFrame() local
297 context->common.frameInfo.crc = (*frameData)[3]; in OI_CODEC_SBC_DecodeFrame()
346 crc = OI_SBC_CalculateChecksum(&context->common.frameInfo, *frameData); in OI_CODEC_SBC_DecodeFrame()
347 if (crc != context->common.frameInfo.crc) { in OI_CODEC_SBC_DecodeFrame()
348 TRACE(("CRC Mismatch: calc=%02x read=%02x\n", crc, in OI_CODEC_SBC_DecodeFrame()
349 context->common.frameInfo.crc)); in OI_CODEC_SBC_DecodeFrame()
398 uint8_t crc; in OI_CODEC_SBC_SkipFrame() local
413 crc = OI_SBC_CalculateChecksum(&context->common.frameInfo, *frameData); in OI_CODEC_SBC_SkipFrame()
414 if (crc != context->common.frameInfo.crc) { in OI_CODEC_SBC_SkipFrame()
Ddecoder-private.c121 frame->crc = data[3]; in OI_SBC_ReadHeader()
/packages/modules/Bluetooth/system/gd/l2cap/
Dfcs.cc48 crc = 0; in Initialize()
52 crc = ((crc >> 8) & 0x00ff) ^ crctab[(crc & 0x00ff) ^ byte]; in AddByte()
56 return crc; in GetChecksum()
Dfcs.h34 uint16_t crc;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java156 long crc = INITIALCRC; in crc64Long() local
158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()
160 return crc; in crc64Long()
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp210 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local
211 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked()
270 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local
271 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dbredr_bb.pdl43 crc: 16
59 crc: 16
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunUtils.java184 long crc = crc32.getValue(); in getCrcFromBytes() local
187 result[offset] = (byte) (crc & 0xFF); in getCrcFromBytes()
188 crc >>= 8; in getCrcFromBytes()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc109 unsigned short crc = icrc; in l2c_fcr_updcrc() local
114 crc = ((crc >> 8) & 0xff) ^ crctab[(crc & 0xff) ^ *cp++]; in l2c_fcr_updcrc()
117 return (crc); in l2c_fcr_updcrc()
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/
Doi_codec_sbc.h183 uint8_t crc; /**< Parity check byte used for error detection. */ member
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java2101 int crc = 0xffffffff; in checkSanity() local
2103 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in checkSanity()
2104 crc = CRC_TABLE[index] ^ (crc << 8); in checkSanity()
2106 if (crc != 0) { in checkSanity()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokio-1.15.0.jarMETA-INF/ META-INF/MANIFEST.MF okio/ okio/AsyncTimeout$Watchdog. ...
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jar ... props String pkg java.util.zip.CRC32 crc String encodedType String decodedType } com/google/auto ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...