Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/mtp/
H A DMtpStorage.cpp35 const char* description, bool removable, uint64_t maxFileSize) in MtpStorage() argument
40 mMaxFileSize(maxFileSize), in MtpStorage()
H A DMtpStorage.h41 bool removable, uint64_t maxFileSize);
H A DMtpServer.cpp1015 uint64_t maxFileSize = storage->getMaxFileSize(); in doSendObjectInfo() local
1017 if (maxFileSize != 0) { in doSendObjectInfo()
1020 if (mSendObjectFileSize > maxFileSize || mSendObjectFileSize == 0xFFFFFFFF) in doSendObjectInfo()
/aosp12/frameworks/base/core/java/android/os/storage/
H A DVolumeRecord.java109 final long maxFileSize = 0; in buildStorageVolume() local
119 emulated, allowMassStorage, maxFileSize, user, null /* uuid */, fsUuid, envState); in buildStorageVolume()
H A DVolumeInfo.java407 long maxFileSize = 0; in buildStorageVolume() local
434 maxFileSize = 4294967295L; in buildStorageVolume()
446 emulated, allowMassStorage, maxFileSize, new UserHandle(userId), in buildStorageVolume()
H A DStorageVolume.java141 long maxFileSize, UserHandle owner, UUID uuid, String fsUuid, String state) { in StorageVolume() argument
150 mMaxFileSize = maxFileSize; in StorageVolume()
/aosp12/system/nfc/src/include/
H A Ddebug_nfcsnoop.h51 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize);
/aosp12/system/nfc/src/adaptation/
H A Ddebug_nfcsnoop.cc216 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize) { in storeNfcSnoopLogs() argument
228 if (fileSize >= maxFileSize) { in storeNfcSnoopLogs()
/aosp12/frameworks/av/media/libstagefright/tests/writer/
H A 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()
/aosp12/frameworks/base/media/jni/
H A 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()
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/
H A DVideoCamera.java1229 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder() local
1230 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeRecorder()
1231 maxFileSize = requestedSizeLimit; in initializeRecorder()
1235 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()
1361 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeEffectsRecording() local
1362 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeEffectsRecording()
1363 maxFileSize = requestedSizeLimit; in initializeEffectsRecording()
1365 mEffectsRecorder.setMaxFileSize(maxFileSize); in initializeEffectsRecording()
H A DEffectsRecorder.java205 public synchronized void setMaxFileSize(long maxFileSize) { in setMaxFileSize() argument
214 mMaxFileSize = maxFileSize; in setMaxFileSize()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DVideoModule.java1164 long maxFileSize = mActivity.getStorageSpaceBytes() - Storage.LOW_STORAGE_THRESHOLD_BYTES; in initializeRecorder() local
1165 if (requestedSizeLimit > 0 && requestedSizeLimit < maxFileSize) { in initializeRecorder()
1166 maxFileSize = requestedSizeLimit; in initializeRecorder()
1170 mMediaRecorder.setMaxFileSize(maxFileSize); in initializeRecorder()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/
H A DTranscodeHelperImpl.java545 long maxFileSize = (long) (file.length() * 2); in getIoPath() local
548 raf.setLength(maxFileSize); in getIoPath()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java3832 final long maxFileSize = 0; in getVolumeList() local
3838 emulated, allowMassStorage, maxFileSize, user, null /*uuid */, id, envState)); in getVolumeList()
3854 final long maxFileSize = 0L; in getVolumeList() local
3862 allowMassStorage, maxFileSize, owner, uuid, fsUuid, state)); in getVolumeList()