Lines Matching refs:appid

242             if ((extra->appInfo[idx].appid < EXTRA_APPMARKER_MIN) ||  in PrepareAppWriter()
243 (extra->appInfo[idx].appid >= EXTRA_APPMARKER_LIMIT)) { in PrepareAppWriter()
244 ALOGE("Invalid extra APP segment ID %d", extra->appInfo[idx].appid); in PrepareAppWriter()
251 ALOGE("Invalid APP%d segment size, %u bytes", extra->appInfo[idx].appid, in PrepareAppWriter()
256 ALOGD("APP%d: %u bytes", extra->appInfo[idx].appid, extra->appInfo[idx].dataSize); in PrepareAppWriter()
302 int appid = m_pExtra->appInfo[idx].appid; in WriteAPPX() local
307 *current++ = 0xE0 + (appid & 0xF); in WriteAPPX()
509 if ((info->appInfo[idx].appid < EXTRA_APPMARKER_MIN) || in GetExtraAPPSize()
510 (info->appInfo[idx].appid >= EXTRA_APPMARKER_LIMIT)) { in GetExtraAPPSize()
511 ALOGE("%s: Invalid extra APP segment ID %d", dbgerrmsg, info->appInfo[idx].appid); in GetExtraAPPSize()
517 ALOGE("%s: Invalid APP%d segment size, %u bytes.", dbgerrmsg, info->appInfo[idx].appid, in GetExtraAPPSize()
570 int appid; in UpdateDebugData() local
580 appid = marker & 0xF; in UpdateDebugData()
582 ((appid >= EXTRA_APPMARKER_MIN) && (appid <= EXTRA_APPMARKER_LIMIT))) { in UpdateDebugData()
583 if (appid != extra->appInfo[idx].appid) { in UpdateDebugData()
584 ALOGE("%s: stored appid(%d) is different with updated appid(%d)", dbgerrmsg, appid, in UpdateDebugData()
585 extra->appInfo[idx].appid); in UpdateDebugData()
591 ALOGE("%s: too small APP%d length %zu to store %u bytes", dbgerrmsg, appid, seglen, in UpdateDebugData()
598 ALOGD("Successfully updated %u bytes to APP%d", extra->appInfo[idx].dataSize, appid); in UpdateDebugData()
661 int appid = debug->idx[idx][0]; in ExtractDebugAttributeInfo() local
662 extra->appInfo[idx].appid = appid; in ExtractDebugAttributeInfo()
663 extra->appInfo[idx].appData = debug->debugData[appid]; in ExtractDebugAttributeInfo()
664 extra->appInfo[idx].dataSize = debug->debugSize[appid]; in ExtractDebugAttributeInfo()