Home
last modified time | relevance | path

Searched refs:Storage (Results 1 – 25 of 35) sorted by relevance

12

/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-services-storage-v1-rev158-1.25.0.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
Dgrpc-context-1.19.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java28 import com.android.camera.Storage;
72 Uri uri = Storage.instance().addEmptyPlaceholder(size); in insertEmptyPlaceholder()
94 Uri uri = Storage.instance().addPlaceholder(placeholder); in insertPlaceholder()
137 …Uri resultUri = Storage.instance().updateImage(placeholder.outputUri, mContext.getContentResolver(… in finishPlaceholder()
151 Storage.instance().replacePlaceholder(session.outputUri, placeholder); in replacePlaceholder()
161 return Storage.instance().getPlaceholderForSession(placeholder.outputUri); in getPlaceholder()
171 Storage.instance().removePlaceholder(placeholder.outputUri); in removePlaceholder()
199 if (name.toLowerCase().endsWith(Storage.JPEG_POSTFIX)) { in createSessionFromUri()
200 name = name.substring(0, name.length() - Storage.JPEG_POSTFIX.length()); in createSessionFromUri()
DStackSaverImpl.java25 import com.android.camera.Storage;
67 Storage.instance().generateFilepath(mStackDirectory.getAbsolutePath(), in saveStackedImage()
73 if (Storage.instance().renameFile(inputImagePath, outputImagePath)) { in saveStackedImage()
76 return Storage.instance().addImageToMediaStore(mContentResolver, title, in saveStackedImage()
/packages/modules/Virtualization/encryptedstore/
DREADME.md1 # Encrypted Storage
3 Since Android U, AVF (with Microdroid) supports Encrypted Storage which is the storage solution
7 Encrypted Storage is backed by a para-virtualized block device on the guest which is further
12 Encrypted Storage uses block level encryption layer (Device-Mapper's "crypt" target) using a key
17 Encrypted Storage does not offer the level of integrity offered by primitives such as
23 ## Encrypted Storage and Updatable VMs
25 With [Updatable VM feature][updatable_vm] shipping in Android V, Encrypted Storage can be accessed
/packages/apps/Camera2/src/com/android/camera/data/
DSessionItem.java26 import com.android.camera.Storage;
55 if (!Storage.instance().containsPlaceholderSize(uri)) { in create()
85 Point size = Storage.instance().getSizeForSession(uri); in getSessionSize()
104 Optional<Bitmap> placeholder = Storage.instance().getPlaceholderForSession(mData.getUri()); in getView()
174 return Storage.instance().getPlaceholderForSession(mUri); in generateThumbnail()
DFilmstripItemBase.java22 import com.android.camera.Storage;
150 String cameraPathStr = Storage.instance().DIRECTORY; in deleteIfEmptyCameraSubDir()
DPhotoItem.java29 import com.android.camera.Storage;
225 return Storage.instance().getPlaceholderForSession(data.getUri()); in generateThumbnail()
DFilmstripContentQueries.java24 import com.android.camera.Storage;
DCameraFilmstripDataAdapter.java25 import com.android.camera.Storage;
360 Uri sessionUri = Storage.instance().getSessionUriFromContentUri( in onPostExecute()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DSimpleUploaderAsyncTask.java33 import com.google.api.services.storage.Storage;
89 Storage storage, MetaBugReport bugReport, String uploadName, InputStream data) in uploadSimple()
104 Storage.Objects.Insert insertObject = storage.objects().insert(bucket, object, in uploadSimple()
136 Storage storage = new Storage.Builder(httpTransport, jsonFactory, credential) in upload()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java48 public class Storage { class
74 private static final Storage INSTANCE = new Storage(AndroidContext.instance().get());
77 public static Storage instance() { in instance()
81 private Storage(Context context) { in Storage() method in Storage
DCameraActivity.java237 private long mStorageSpaceBytes = Storage.LOW_STORAGE_THRESHOLD_BYTES;
865 if (!Storage.instance().isSessionUri(uri)) {
883 Uri contentUri = Storage.instance().getContentUriForSessionUri(sessionUri);
912 Storage.instance().getPlaceholderForSession(sessionUri));
2342 mStorageSpaceBytes = Storage.instance().getAvailableSpace(); in updateStorageSpaceAndHint()
2367 if (storageSpace == Storage.UNAVAILABLE) { in updateStorageHint()
2369 } else if (storageSpace == Storage.PREPARING) { in updateStorageHint()
2371 } else if (storageSpace == Storage.UNKNOWN_SIZE) { in updateStorageHint()
2373 } else if (storageSpace <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { in updateStorageHint()
DFatalErrorHandlerImpl.java42 UsageStatistics.instance().storageWarning(Storage.ACCESS_FAILURE); in onMediaStorageFailure()
DMediaSaverImpl.java181 return Storage.instance().addImage( in doInBackground()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraServicesImpl.java22 import com.android.camera.Storage;
68 StackSaverFactory mStackSaverFactory = new StackSaverFactory(Storage.instance().DIRECTORY, in CameraServicesImpl()
/packages/modules/ExtServices/java/src/android/ext/services/storage/
DREADME.md1 ExtServices module - Storage
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java686 mStorageSpace = Storage.getAvailableSpace(); in updateAndShowStorageHint()
692 if (mStorageSpace == Storage.UNAVAILABLE) { in showStorageHint()
694 } else if (mStorageSpace == Storage.PREPARING) { in showStorageHint()
696 } else if (mStorageSpace == Storage.UNKNOWN_SIZE) { in showStorageHint()
698 } else if (mStorageSpace < Storage.LOW_STORAGE_THRESHOLD) { in showStorageHint()
869 mStorageSpace = Storage.getAvailableSpace(); in doOnResume()
1230 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeRecorder()
1362 long maxFileSize = mStorageSpace - Storage.LOW_STORAGE_THRESHOLD; in initializeEffectsRecording()
1398 mVideoFilename = Storage.DIRECTORY + '/' + filename; in generateVideoFilename()
1553 if (mStorageSpace < Storage.LOW_STORAGE_THRESHOLD) { in startVideoRecording()
[all …]
DCamera.java410 Storage.ensureOSXCompatible(); in addIdleHandler()
995 Uri uri = Storage.addImage(mContentResolver, title, dateTaken, in storeImage()
1348 mPicturesRemaining = Storage.getAvailableSpace(); in checkStorage()
1349 if (mPicturesRemaining > Storage.LOW_STORAGE_THRESHOLD) { in checkStorage()
1350 mPicturesRemaining = (mPicturesRemaining - Storage.LOW_STORAGE_THRESHOLD) in checkStorage()
1351 / Storage.PICTURE_SIZE; in checkStorage()
1509 if (mPicturesRemaining == Storage.UNAVAILABLE) { in updateStorageHint()
1511 } else if (mPicturesRemaining == Storage.PREPARING) { in updateStorageHint()
1513 } else if (mPicturesRemaining == Storage.UNKNOWN_SIZE) { in updateStorageHint()
DThumbnail.java202 ImageColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastImageThumbnail()
227 String selection = VideoColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; in getLastVideoThumbnail()
DStorage.java32 public class Storage { class
DMenuHelper.java151 .appendQueryParameter("bucketId", Storage.BUCKET_ID).build(); in gotoGallery()
/packages/modules/Virtualization/
DREADME.md23 * [Encrypted Storage](encryptedstore/README.md)
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java30 import com.android.camera.Storage;
951 Uri uri = Storage.addImage(getContentResolver(), filename, mTimeTaken, null, in savePanorama()
954 String filepath = Storage.generateFilepath(filename); in savePanorama()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java47 import com.android.camera.Storage;
325 mRawDirectory = new File(Storage.instance().DIRECTORY, "DNG"); in OneCameraImpl()

12