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

/frameworks/base/libs/androidfw/
H A DObbFile.cpp173 char* scanBuf = (char*)malloc(footerSize); local
174 if (scanBuf == NULL) {
175 ALOGW("couldn't allocate scanBuf: %s\n", strerror(errno));
179 actual = TEMP_FAILURE_RETRY(read(fd, scanBuf, footerSize));
183 free(scanBuf);
189 ALOGI("char: 0x%02x\n", scanBuf[i]);
193 uint32_t sigVersion = get4LE((unsigned char*)scanBuf);
196 free(scanBuf);
200 mVersion = (int32_t) get4LE((unsigned char*)scanBuf + kPackageVersionOffset);
201 mFlags = (int32_t) get4LE((unsigned char*)scanBuf
[all...]

Completed in 289 milliseconds