Home
last modified time | relevance | path

Searched refs:curSize (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/util/apk/
DReadFileDataSource.java63 for (long pos = start, curSize = Math.min(size, CHUNK_SIZE); in feedIntoDataDigester()
64 pos < end; curSize = Math.min(end - pos, CHUNK_SIZE)) { in feedIntoDataDigester()
65 final int readSize = Os.pread(mFd, buffer, 0, (int) curSize, pos); in feedIntoDataDigester()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp536 size_t *curSize, in growParamSize() argument
540 size_t pos = ((*curSize - 1 ) / size + 1) * size; in growParamSize()
553 *curSize = pos + size; in growParamSize()
560 size_t *curSize, in readParamValue() argument
567 pos = growParamSize(param, sizeof(short), curSize, totSize); in readParamValue()
575 pos = growParamSize(param, sizeof(int), curSize, totSize); in readParamValue()
583 pos = growParamSize(param, sizeof(float), curSize, totSize); in readParamValue()
591 pos = growParamSize(param, sizeof(bool), curSize, totSize); in readParamValue()
605 if (*curSize + len + 1 > *totSize) { in readParamValue()
606 *totSize = *curSize + len + 1; in readParamValue()
[all …]
DAudioPolicyEffects.h236 size_t *curSize,
240 size_t *curSize,
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java312 final Integer curSize = datastore.get(op.key); in performBackupInternal() local
313 if (curSize != null) { in performBackupInternal()
314 updatedSize -= curSize.intValue(); in performBackupInternal()
324 Log.v(TAG, ((curSize == null) ? " new " : " replace ") in performBackupInternal()
/frameworks/base/core/java/android/content/res/
DConfiguration.java481 int curSize = curLayout&SCREENLAYOUT_SIZE_MASK; in reduceScreenLayout() local
482 if (screenLayoutSize < curSize) { in reduceScreenLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2589 private int reduceCompatConfigWidthSize(int curSize, int rotation, in reduceCompatConfigWidthSize() argument
2597 if (curSize == 0 || size < curSize) { in reduceCompatConfigWidthSize()
2598 curSize = size; in reduceCompatConfigWidthSize()
2600 return curSize; in reduceCompatConfigWidthSize()