Searched refs:storage (Results 51 - 75 of 115) sorted by relevance

12345

/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp225 storage.reset(new uint16_t[byteLength]);
226 glyphIDs = storage.get();
227 count = paint.textToGlyphs(text, byteLength, storage.get());
236 std::unique_ptr<uint16_t[]> storage; member in class:android::uirenderer::GlyphIDConverter
H A DSkiaCanvas.cpp654 /* Our temp storage holds 2 or 3 arrays.
667 std::unique_ptr<char[]> storage(new char[storageSize]);
668 SkPoint* texs = (SkPoint*)storage.get();
718 SkASSERT((char*)indexPtr - (char*)storage.get() == storageSize);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DAppFuse.java22 import android.os.storage.StorageManager;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java51 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java30 import android.os.storage.IMountService;
31 import android.os.storage.StorageManager;
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java74 import android.os.storage.StorageManager;
75 import android.os.storage.VolumeInfo;
1774 final StorageManager storage = mContext.getSystemService(StorageManager.class);
1776 return storage.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL);
1778 return storage.getPrimaryPhysicalVolume();
1780 return storage.findVolumeByUuid(app.volumeUuid);
1786 final StorageManager storage = mContext.getSystemService(StorageManager.class);
1788 final List<VolumeInfo> vols = storage.getVolumes();
1807 // System apps and apps demanding internal storage can't be moved
1861 final StorageManager storage
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java64 // path to primary storage
239 public void addStorage(MtpStorage storage) { argument
240 mStorageMap.put(storage.getPath(), storage);
243 public void removeStorage(MtpStorage storage) { argument
244 mStorageMap.remove(storage.getPath());
282 // check to see if the path is contained in one of our storage subdirectories
302 // check to see if the path matches one of our storage subdirectories
314 // returns true if the path is in the storage root
332 // if the path is outside of the storage roo
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java33 import android.os.storage.DiskInfo;
34 import android.os.storage.StorageEventListener;
35 import android.os.storage.StorageManager;
36 import android.os.storage.VolumeInfo;
37 import android.os.storage.VolumeRecord;
121 // for moving primary storage
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java70 import android.os.storage.DiskInfo;
71 import android.os.storage.IMountService;
72 import android.os.storage.IMountServiceListener;
73 import android.os.storage.IMountShutdownObserver;
74 import android.os.storage.IObbActionListener;
75 import android.os.storage.MountServiceInternal;
76 import android.os.storage.OnObbStateChangeListener;
77 import android.os.storage.StorageManager;
78 import android.os.storage.StorageResultCode;
79 import android.os.storage
[all...]
/frameworks/base/core/java/android/os/
H A DEnvironment.java21 import android.os.storage.StorageManager;
22 import android.os.storage.StorageVolume;
59 private static final File DIR_ANDROID_STORAGE = getDirectory(ENV_ANDROID_STORAGE, "/storage");
383 * Return the primary shared/external storage directory. This directory may
390 * can better be thought as media/shared storage. It is a filesystem that
393 * card, but it may also be implemented as built-in storage in a device that
394 * is distinct from the protected internal storage and can be mounted as a
398 * each user has their own isolated shared storage. Applications only have
399 * access to the shared storage for the user they're running as.
401 * In devices with multiple shared/external storage directorie
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DStorageMeasurement.java37 import android.os.storage.StorageVolume;
38 import android.os.storage.VolumeInfo;
56 * Utility for measuring the disk usage of internal storage or a physical
71 /** Media types to measure on external storage. */
86 * When measuring internal storage, this value includes the code size of
89 * emulates external storage, this value also includes emulated storage
108 * When measuring internal storage, this reflects media on emulated
109 * storage for the respective profile.
126 * internal storage
[all...]
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java17 package com.android.server.storage;
43 import android.os.storage.StorageManager;
58 * storage space on the device. If the free storage on device is less
63 * storage space.
65 * Event log events: A low memory event with the free storage on
67 * on storage space. The amount of free storage on the device is
70 * storage differential goes below a threshold (again a secure
91 // hard codes 250MB in the message as the storage spac
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java17 package android.os.storage;
37 * Information about a shared/external storage volume for a specific user.
40 * A device always has one (and one only) primary storage volume, but it could have extra volumes,
41 * like SD cards and USB drives. This object represents the logical view of a storage
43 * volume (for example, if the volume is a built-in emulated storage).
46 * The storage volume is not necessarily mounted, applications should use {@link #getState()} to
50 * Applications willing to read or write to this storage volume needs to get a permission from the
61 * <li>To get read and write access to the primary storage volume, applications can declare the
65 * broad access to all files contained on a storage device.
74 * storage semantic
[all...]
H A DIMountServiceListener.java17 package android.os.storage;
28 * @hide - Applications should use IStorageEventListener for storage event
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerIntegrationTest.java17 package android.os.storage;
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java353 * Temp storage to use for decoding. Suggest 16K or so.
639 * do a rewind as needed, and supplies temporary storage if necessary. is MUST NOT be null.
718 private static native Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
/frameworks/base/native/android/
H A Dstorage_manager.cpp20 #include <storage/IMountService.h>
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DAppFuseTest.java20 import android.os.storage.StorageManager;
/frameworks/base/services/core/java/com/android/server/pm/
H A DBackgroundDexOptService.java33 import android.os.storage.StorageManager;
125 Log.e(TAG, "Invalid low storage threshold");
164 Log.w(TAG, "Aborting background dex opt job due to low storage: " +
218 Log.w(TAG, "Aborting background dex opt job due to low storage: " +
259 Log.i(TAG, "Low storage, skipping this run");
H A DOtaDexoptService.java31 import android.os.storage.StorageManager;
236 * Returns the difference of free space to the low-storage-space threshold. Positive values
241 // against that storage's free capacity.
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java24 import android.os.storage.StorageManager;
25 import android.os.storage.StorageVolume;
112 * Copy data from a socket to the given File location on permanent storage. The
321 // System apps have control over where their default storage context
361 * storage).
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp543 static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, argument
547 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage));
/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java47 import android.os.storage.IMountService;
48 import android.os.storage.IMountShutdownObserver;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java26 import android.os.storage.StorageManager;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java37 import android.os.storage.DiskInfo;
38 import android.os.storage.StorageManager;
39 import android.os.storage.VolumeInfo;
146 // This is basically the user's primary device storage.
158 // This should cover all other storage devices, like an SD card
222 // Finally, if primary storage is available we add the "Documents" directory.

Completed in 3005 milliseconds

12345