Home
last modified time | relevance | path

Searched refs:maxFileSize (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/mtp/
DMtpStorage.cpp35 const char* description, bool removable, uint64_t maxFileSize) in MtpStorage() argument
40 mMaxFileSize(maxFileSize), in MtpStorage()
DMtpStorage.h41 bool removable, uint64_t maxFileSize);
DMtpServer.cpp1019 uint64_t maxFileSize = storage->getMaxFileSize(); in doSendObjectInfo() local
1021 if (maxFileSize != 0) { in doSendObjectInfo()
1024 if (mSendObjectFileSize > maxFileSize || mSendObjectFileSize == 0xFFFFFFFF) in doSendObjectInfo()
/frameworks/base/core/java/android/os/storage/
DVolumeRecord.java110 final long maxFileSize = 0; in buildStorageVolume() local
120 emulated, externallyManaged, allowMassStorage, maxFileSize, user, null /* uuid */, in buildStorageVolume()
DVolumeInfo.java424 long maxFileSize = 0; in buildStorageVolume() local
451 maxFileSize = 4294967295L; in buildStorageVolume()
463 emulated, externallyManaged, allowMassStorage, maxFileSize, new UserHandle(userId), in buildStorageVolume()
DStorageVolume.java140 boolean allowMassStorage, long maxFileSize, UserHandle owner, UUID uuid, String fsUuid, in StorageVolume() argument
151 mMaxFileSize = maxFileSize; in StorageVolume()
/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_handle_fuzzer.cpp68 uint32_t maxFileSize = std::min(mDataSize, kMaxMtpFileSize); in writeInputFile() local
70 mFdp.ConsumeIntegralInRange<uint32_t>(minFileSize, maxFileSize)); in writeInputFile()
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp196 jlong maxFileSize = env->GetLongField(jstorage, field_MtpStorage_maxFileSize); in android_mtp_MtpServer_add_storage() local
203 removable, maxFileSize); in android_mtp_MtpServer_add_storage()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp956 int64_t maxFileSize = 0; in TEST_P() local
959 maxFileSize = (int64_t)(fileSizeLimit * inputFileSize); in TEST_P()
960 mWriter->setMaxFileSize(maxFileSize); in TEST_P()
1003 if (maxFileSize <= 0) { in TEST_P()
1007 } else if (maxFileSize > 0 && maxFileDuration <= 0) { in TEST_P()
1009 } else if (maxFileDuration > 0 && maxFileSize <= 0) { in TEST_P()
1015 if (maxFileSize > 0) { in TEST_P()
1019 ASSERT_LE(buf.st_size, maxFileSize); in TEST_P()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4102 final long maxFileSize = 0; in getVolumeList() local
4108 externallyManaged, allowMassStorage, maxFileSize, user, null /*uuid */, id, in getVolumeList()
4126 final long maxFileSize = 0L; in getVolumeList() local
4134 allowMassStorage, maxFileSize, owner, uuid, fsUuid, state)); in getVolumeList()