/aosp12/frameworks/av/media/mtp/ |
H A D | MtpStorage.cpp | 35 const char* description, bool removable, uint64_t maxFileSize) in MtpStorage() argument 40 mMaxFileSize(maxFileSize), in MtpStorage()
|
H A D | MtpStorage.h | 41 bool removable, uint64_t maxFileSize);
|
H A D | MtpServer.cpp | 1015 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 D | VolumeRecord.java | 109 final long maxFileSize = 0; in buildStorageVolume() local 119 emulated, allowMassStorage, maxFileSize, user, null /* uuid */, fsUuid, envState); in buildStorageVolume()
|
H A D | VolumeInfo.java | 407 long maxFileSize = 0; in buildStorageVolume() local 434 maxFileSize = 4294967295L; in buildStorageVolume() 446 emulated, allowMassStorage, maxFileSize, new UserHandle(userId), in buildStorageVolume()
|
H A D | StorageVolume.java | 141 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 D | debug_nfcsnoop.h | 51 bool storeNfcSnoopLogs(std::string filepath, off_t maxFileSize);
|
/aosp12/system/nfc/src/adaptation/ |
H A D | debug_nfcsnoop.cc | 216 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 D | WriterTest.cpp | 956 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 D | android_mtp_MtpServer.cpp | 196 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 D | VideoCamera.java | 1229 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 D | EffectsRecorder.java | 205 public synchronized void setMaxFileSize(long maxFileSize) { in setMaxFileSize() argument 214 mMaxFileSize = maxFileSize; in setMaxFileSize()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoModule.java | 1164 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 D | TranscodeHelperImpl.java | 545 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 D | StorageManagerService.java | 3832 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()
|