Searched refs:storage (Results 1 - 25 of 95) sorted by relevance

1234

/frameworks/base/core/java/android/os/storage/
H A DDiskInfo.aidl17 package android.os.storage;
H A DStorageVolume.aidl17 package android.os.storage;
H A DVolumeInfo.aidl17 package android.os.storage;
H A DMountServiceListener.java17 package android.os.storage;
26 * USB Mass storage connection state has changed.
H A DStorageResultCode.java17 package android.os.storage;
29 * @see android.os.storage.StorageManager
35 * @see android.os.storage.StorageManager
41 * @see android.os.storage.StorageManager
47 * @see android.os.storage.StorageManager
53 * @see android.os.storage.StorageManager
59 * @see android.os.storage.StorageManager
65 * @see android.os.storage.StorageManager
71 * @see android.os.storage.StorageManager
H A DOnObbStateChangeListener.java17 package android.os.storage;
H A DMountServiceInternal.java17 package android.os.storage;
27 * Policy that influences how external storage is mounted and reported.
31 * Gets the external storage mount mode for the given uid.
45 * Gets whether external storage should be reported to the given UID.
47 * @param uid The UID for which to determine whether it has external storage.
49 * @return Weather to report external storage.
50 * @return True to report the state of external storage, false to
57 * Adds a policy for determining how external storage is mounted and reported.
H A DStorageEventListener.java17 package android.os.storage;
27 * @param connected true if the USB mass storage is connected.
33 * Called when storage has changed state
34 * @param path the filesystem path for the storage
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorInternal.java17 package com.android.server.storage;
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.h17 * @param storage Java byte array for retrieving data from the
25 jbyteArray storage);
31 * @param storage Java byte array for retrieving data from the
37 jbyteArray storage);
40 jbyteArray storage);
H A DCreateJavaOutputStreamAdaptor.cpp138 jbyteArray storage) {
139 return new JavaInputStreamAdaptor(env, stream, storage);
166 jbyteArray storage) {
167 SkAutoTDelete<SkStream> adaptor(CreateJavaInputStreamAdaptor(env, stream, storage));
181 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) argument
182 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage), fBytesWritten(0) {
183 fCapacity = env->GetArrayLength(storage);
192 jbyteArray storage = fJavaByteArray; local
204 env->SetByteArrayRegion(storage, 0, requested,
214 storage,
137 CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage) argument
165 CopyJavaInputStream(JNIEnv* env, jobject stream, jbyteArray storage) argument
241 CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpServer.java59 public void addStorage(MtpStorage storage) { argument
60 native_add_storage(storage);
63 public void removeStorage(MtpStorage storage) { argument
64 native_remove_storage(storage.getStorageId());
73 private native final void native_add_storage(MtpStorage storage); argument
H A DMtpStorage.java20 import android.os.storage.StorageVolume;
23 * This class represents a storage unit on an MTP device.
48 * Returns the storage ID for the storage unit
50 * @return the storage ID
57 * Returns the file path for the storage unit's storage in the file system
59 * @return the storage file path
66 * Returns the description string for the storage unit
68 * @return the storage uni
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_container.h58 storage_t storage; member in struct:__anon611
H A Dh264bsd_storage.c72 Initialize storage structure. Sets contents of the storage to '0'
108 Store sequence parameter set into the storage. If active SPS is
113 pStorage pointer to storage structure
192 Store picture parameter set into the storage. If active PPS is
197 pStorage pointer to storage structure
280 pStorage pointer to storage data structure
425 Reset contents of the storage. This should be called before
429 pStorage pointer to storage structure
474 pStorage pointer to storage structur
625 h264bsdCheckAccessUnitBoundary( strmData_t *strm, nalUnit_t *nuNext, storage_t *storage, u32 *accessUnitBoundaryFlag) argument
[all...]
H A DH264SwDecApi.c161 rv = h264bsdInit(&pDecCont->storage, noOutputReordering);
217 pStorage = &(((decContainer_t *)decInst)->storage);
299 h264bsdShutdown(&pDecCont->storage);
389 pDecCont->storage.intraConcealmentFlag = pInput->intraConcealmentMethod;
401 decResult = h264bsdDecode(&pDecCont->storage, tmpStream, strmLen,
417 if(pDecCont->storage.dpb->flushed &&
418 pDecCont->storage.dpb->numOut !=
419 pDecCont->storage.dpb->outIndex)
423 pDecCont->storage.dpb->flushed = 0;
447 if ( !h264bsdCheckValidParamSets(&pDecCont->storage)
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageListener.java17 package android.os.storage;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTests.java192 String storage = mStorage.readKeyValue("key", "default", 0);
193 assertEquals("Cached value didn't match stored value", storage, cached);
297 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
299 assertEquals("/data/system/gesture.key", storage.getLockPatternFilename(0));
300 assertEquals("/data/system/password.key", storage.getLockPasswordFilename(0));
304 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
306 assertEquals("/data/system/users/1/gesture.key", storage.getLockPatternFilename(1));
307 assertEquals("/data/system/users/1/password.key", storage.getLockPasswordFilename(1));
311 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
313 assertEquals("/data/system/users/1/gesture.key", storage
[all...]
/frameworks/base/libs/storage/
H A DIMountShutdownObserver.cpp17 #include <storage/IMountShutdownObserver.h>
H A DIMountServiceListener.cpp17 #include <storage/IMountServiceListener.h>
H A DIObbActionListener.cpp17 #include <storage/IObbActionListener.h>
/frameworks/base/include/storage/
H A DIMountService.h20 #include <storage/IMountServiceListener.h>
21 #include <storage/IMountShutdownObserver.h>
22 #include <storage/IObbActionListener.h>
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java179 private static native long nativeCreateFromStream(InputStream stream, byte[] storage); argument
186 OutputStream stream, byte[] storage);
185 nativeWriteToStream(long nativePicture, OutputStream stream, byte[] storage) argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp150 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, local
152 server->addStorage(storage);
171 MtpStorage* storage = server->getStorage(storageId); local
172 if (storage) {
173 server->removeStorage(storage);
174 delete storage;
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java32 import android.os.storage.IMountService;
33 import android.os.storage.StorageManager;
34 import android.os.storage.StorageResultCode;
35 import android.os.storage.StorageVolume;
36 import android.os.storage.VolumeInfo;
344 * for internal storage.
349 // they'll end up back on internal storage
376 // System apps always forced to internal storage
412 final StorageManager storage = context.getSystemService(StorageManager.class);
414 return (sizeBytes <= storage
[all...]

Completed in 1935 milliseconds

1234