HomeSort by relevance Sort by last modified time
    Searched full:maxbytes (Results 1 - 23 of 23) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/util/
CacheManager.java 40 int maxEntries, int maxBytes, int version) {
51 cache = new BlobCache(path, maxEntries, maxBytes, false,
  /packages/apps/Mms/src/com/android/mms/util/
CacheManager.java 41 int maxEntries, int maxBytes, int version) {
54 cache = new BlobCache(path, maxEntries, maxBytes, false,
BlobCache.java 30 // [8] MaxBytes: Max number of data bytes per region (including header).
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
129 // them can grow to the size specified by maxBytes. The maxEntries parameter
132 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
134 this(path, maxEntries, maxBytes, reset, 0);
137 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
148 resetCache(maxEntries, maxBytes);
299 private void resetCache(int maxEntries, int maxBytes) throws IOException {
306 writeInt(buf, IH_MAX_BYTES, maxBytes);
  /frameworks/av/media/libstagefright/
NuCachedSource2.cpp 44 size_t releaseFromStart(size_t maxBytes);
113 size_t PageCache::releaseFromStart(size_t maxBytes) {
116 while (maxBytes > 0 && !mActivePages.empty()) {
121 if (maxBytes < page->mSize) {
127 maxBytes -= page->mSize;
439 size_t maxBytes = mLastAccessPos - mCacheOffset;
442 if (maxBytes < kGrayArea) {
446 maxBytes -= kGrayArea;
449 size_t actualBytes = mCache->releaseFromStart(maxBytes);
  /frameworks/base/core/java/android/os/
DropBoxManager.java 184 * @param maxBytes of string to return (will truncate at this length).
187 public String getText(int maxBytes) {
189 if (mData != null) return new String(mData, 0, Math.min(maxBytes, mData.length));
195 byte[] buf = new byte[maxBytes];
198 while (n >= 0 && (readBytes += n) < maxBytes) {
199 n = is.read(buf, readBytes, maxBytes - readBytes);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utf8ByteLengthFilter.java 43 Utf8ByteLengthFilter(int maxBytes) {
44 mMaxBytes = maxBytes;
  /external/skia/src/gpu/
GrResourceCache.h 187 GrResourceCache(int maxCount, size_t maxBytes);
195 * @param maxBytes If non-null, returns maximum number of bytes of
198 void getLimits(int* maxResources, size_t* maxBytes) const;
206 * @param maxBytes The maximum number of bytes of resource memory that
GrResourceCache.cpp 37 GrResourceCache::GrResourceCache(int maxCount, size_t maxBytes) :
39 fMaxBytes(maxBytes) {
  /system/netd/
BandwidthController.cpp 526 int BandwidthController::setInterfaceSharedQuota(const char *iface, int64_t maxBytes) {
536 if (!maxBytes) {
547 if (maxBytes == -1) {
560 quotaCmd = makeIptablesQuotaCmd(IptOpInsert, costName, maxBytes);
566 sharedQuotaBytes = maxBytes;
572 if (maxBytes != sharedQuotaBytes) {
573 res |= updateQuota(costName, maxBytes);
578 sharedQuotaBytes = maxBytes;
632 int BandwidthController::setInterfaceQuota(const char *iface, int64_t maxBytes) {
640 if (!maxBytes) {
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BlobCache.java 30 // [8] MaxBytes: Max number of data bytes per region (including header).
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
129 // them can grow to the size specified by maxBytes. The maxEntries parameter
132 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
134 this(path, maxEntries, maxBytes, reset, 0);
137 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
148 resetCache(maxEntries, maxBytes);
299 private void resetCache(int maxEntries, int maxBytes) throws IOException {
306 writeInt(buf, IH_MAX_BYTES, maxBytes);
  /device/moto/stingray/ril/
tty2ttyd 
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 643 int maxBytes = 2 * ((START_WINDOW_MS * mSampleRate) / 1000);
644 maxBytes = ((maxBytes-1) / blockSize + 1) * blockSize;
653 while (count < maxBytes) {
    [all...]
  /packages/apps/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java 98 * @param maxBytes the limit
101 public void setFileSizeLimit(File file, long maxBytes) {
103 mMaxBytes = maxBytes;
  /external/javassist/src/main/javassist/util/proxy/
ProxyFactory.java 784 int maxBytes = ((l + 7) >> 3);
785 signature = new byte[maxBytes];
803 int maxBytes = ((l + 7) >> 3);
804 if (signature.length != maxBytes) {
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DatabaseHelper.java     [all...]
  /external/libmtp/src/
ptp.c 799 * maxbytes - Maximum of bytes to read
803 * allocated 'object'. Start from offset and read at most maxbytes.
809 uint32_t maxbytes, unsigned char** object)
818 ptp.Param3=maxbytes;
    [all...]
ptp.h     [all...]
  /external/valgrind/main/VEX/priv/
guest_ppc_toIR.c     [all...]
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/
arm-linux-androideabi-objcopy 
arm-linux-androideabi-strip 
  /cts/tools/dex-tools/dex/
classes0.out.dex     [all...]
  /dalvik/hit/samples/
android.hprof     [all...]
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/
libbfd.a     [all...]

Completed in 1812 milliseconds