Home
last modified time | relevance | path

Searched refs:requiredSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DZipFileRO.cpp182 const uint16_t requiredSize = zipEntry->name.name_length + 1; in getEntryFileName() local
184 if (bufLen < requiredSize) { in getEntryFileName()
185 ALOGW("Buffer too short, requires %d bytes for entry name", requiredSize); in getEntryFileName()
186 return requiredSize; in getEntryFileName()
189 memcpy(buffer, zipEntry->name.name, requiredSize - 1); in getEntryFileName()
190 buffer[requiredSize - 1] = '\0'; in getEntryFileName()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java190 final int requiredSize = index + 1; in ensurePeriodicSyncTimeSize() local
191 if (periodicSyncTimes.size() < requiredSize) { in ensurePeriodicSyncTimeSize()
192 for (int i = periodicSyncTimes.size(); i < requiredSize; i++) { in ensurePeriodicSyncTimeSize()