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

1234

/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.aidl17 package android.os.storage;
H A DMountServiceListener.java17 package android.os.storage;
26 * USB Mass storage connection state has changed.
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
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;
/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.cpp129 jbyteArray storage) {
130 return new JavaInputStreamAdaptor(env, stream, storage);
157 jbyteArray storage) {
158 SkAutoTUnref<SkStream> adaptor(CreateJavaInputStreamAdaptor(env, stream, storage));
172 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) argument
173 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage) {
174 fCapacity = env->GetArrayLength(storage);
179 jbyteArray storage = fJavaByteArray; local
187 env->SetByteArrayRegion(storage, 0, requested,
197 storage,
128 CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage) argument
156 CopyJavaInputStream(JNIEnv* env, jobject stream, jbyteArray storage) argument
222 CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, jbyteArray storage) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpServer.java54 public void addStorage(MtpStorage storage) { argument
55 native_add_storage(storage);
58 public void removeStorage(MtpStorage storage) { argument
59 native_remove_storage(storage.getStorageId());
67 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 * Generates a storage ID for storage of given index.
58 * Index 0 is for primary external storage
60 * @return the storage ID
63 // storage I
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_container.h58 storage_t storage; member in struct:__anon830
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.c157 rv = h264bsdInit(&pDecCont->storage, noOutputReordering);
213 pStorage = &(((decContainer_t *)decInst)->storage);
295 h264bsdShutdown(&pDecCont->storage);
385 pDecCont->storage.intraConcealmentFlag = pInput->intraConcealmentMethod;
397 decResult = h264bsdDecode(&pDecCont->storage, tmpStream, strmLen,
413 if(pDecCont->storage.dpb->flushed &&
414 pDecCont->storage.dpb->numOut !=
415 pDecCont->storage.dpb->outIndex)
419 pDecCont->storage.dpb->flushed = 0;
443 if ( !h264bsdCheckValidParamSets(&pDecCont->storage)
[all...]
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageListener.java17 package android.os.storage;
/frameworks/base/core/jni/
H A Dandroid_view_HardwareRenderer.cpp113 jint* storage = env->GetIntArrayElements(size, NULL); local
116 storage[0] = value;
119 storage[1] = value;
121 env->ReleaseIntArrayElements(size, storage, 0);
/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.java182 byte[] storage);
188 OutputStream stream, byte[] storage);
181 nativeCreateFromStream(InputStream stream, byte[] storage) argument
187 nativeWriteToStream(int nativePicture, OutputStream stream, byte[] storage) argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp138 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, local
140 server->addStorage(storage);
159 MtpStorage* storage = server->getStorage(storageId); local
160 if (storage) {
161 server->removeStorage(storage);
162 delete storage;
/frameworks/av/media/mtp/
H A DMtpServer.cpp117 void MtpServer::addStorage(MtpStorage* storage) { argument
120 mStorages.push(storage);
121 sendStoreAdded(storage->getStorageID());
124 void MtpServer::removeStorage(MtpStorage* storage) { argument
128 if (mStorages[i] == storage) {
130 sendStoreRemoved(storage->getStorageID());
140 MtpStorage* storage = mStorages[i]; local
141 if (storage->getStorageID() == id)
142 return storage;
517 MtpStorage* storage local
820 MtpStorage* storage = getStorage(storageID); local
[all...]
/frameworks/av/media/libstagefright/
H A DMetaData.cpp237 memcpy(storage(), from.storage(), mSize);
246 memcpy(storage(), from.storage(), mSize);
264 memcpy(storage(), data, size);
271 *data = storage();
297 const void *data = storage();
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java1 package com.android.internal.os.storage;
14 import android.os.storage.IMountService;
15 import android.os.storage.StorageEventListener;
16 import android.os.storage.StorageManager;
17 import android.os.storage.StorageVolume;
25 * Takes care of unmounting and formatting external storage.
31 public static final String FORMAT_ONLY = "com.android.internal.os.storage.FORMAT_ONLY";
32 public static final String FORMAT_AND_FACTORY_RESET = "com.android.internal.os.storage.FORMAT_AND_FACTORY_RESET";
36 // If non-null, the volume to format. Otherwise, will use the default external storage directory
57 Log.i(TAG, "Received storage stat
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java91 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
93 return nativeDecodeStream(is, storage, padding, opts, false, 1.f);
97 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, argument
/frameworks/base/libs/hwui/utils/
H A DSortedList.h96 virtual void do_construct(void* storage, size_t num) const;
97 virtual void do_destroy(void* storage, size_t num) const;
205 void SortedList<TYPE>::do_construct(void* storage, size_t num) const {
206 construct_type(reinterpret_cast<TYPE*> (storage), num);
210 void SortedList<TYPE>::do_destroy(void* storage, size_t num) const {
211 destroy_type(reinterpret_cast<TYPE*> (storage), num);

Completed in 5464 milliseconds

1234