Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 136) sorted by relevance

123456

/frameworks/base/docs/html/guide/appendix/
Dinstall-location.jd10 <li>You can allow your application to install on the device's external storage.</li>
12 storage.</li>
13 <li>Installing on the external storage is ideal for large applications that are not tightly
34 external storage (for example, the device's SD card). This is an optional feature you can declare
38 <em>not</em> declare this attribute, your application will be installed on the internal storage
39 only and it cannot be moved to the external storage.</p>
41 <p>To allow the system to install your application on the external storage, modify your
55 external storage, but the system does not guarantee that your application will be installed on
56 the external storage. If the external storage is full, the system will install it on the internal
57 storage. The user can also move your application between the two locations.</p>
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_storage.c628 storage_t *storage, in h264bsdCheckAccessUnitBoundary() argument
643 ASSERT(storage); in h264bsdCheckAccessUnitBoundary()
644 ASSERT(storage->sps); in h264bsdCheckAccessUnitBoundary()
645 ASSERT(storage->pps); in h264bsdCheckAccessUnitBoundary()
663 if (storage->aub->firstCallFlag) in h264bsdCheckAccessUnitBoundary()
666 storage->aub->firstCallFlag = HANTRO_FALSE; in h264bsdCheckAccessUnitBoundary()
675 pps = storage->pps[ppsId]; in h264bsdCheckAccessUnitBoundary()
676 if ( pps == NULL || storage->sps[pps->seqParameterSetId] == NULL || in h264bsdCheckAccessUnitBoundary()
677 (storage->activeSpsId != MAX_NUM_SEQ_PARAM_SETS && in h264bsdCheckAccessUnitBoundary()
678 pps->seqParameterSetId != storage->activeSpsId && in h264bsdCheckAccessUnitBoundary()
[all …]
DH264SwDecApi.c157 rv = h264bsdInit(&pDecCont->storage, noOutputReordering); in H264SwDecInit()
213 pStorage = &(((decContainer_t *)decInst)->storage); in H264SwDecGetInfo()
295 h264bsdShutdown(&pDecCont->storage); in H264SwDecRelease()
385 pDecCont->storage.intraConcealmentFlag = pInput->intraConcealmentMethod; in H264SwDecDecode()
397 decResult = h264bsdDecode(&pDecCont->storage, tmpStream, strmLen, in H264SwDecDecode()
413 if(pDecCont->storage.dpb->flushed && in H264SwDecDecode()
414 pDecCont->storage.dpb->numOut != in H264SwDecDecode()
415 pDecCont->storage.dpb->outIndex) in H264SwDecDecode()
419 pDecCont->storage.dpb->flushed = 0; in H264SwDecDecode()
443 if ( !h264bsdCheckValidParamSets(&pDecCont->storage) && in H264SwDecDecode()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpServer.java54 public void addStorage(MtpStorage storage) { in addStorage() argument
55 native_add_storage(storage); in addStorage()
58 public void removeStorage(MtpStorage storage) { in removeStorage() argument
59 native_remove_storage(storage.getStorageId()); in removeStorage()
67 private native final void native_add_storage(MtpStorage storage); in native_add_storage() argument
/frameworks/base/core/jni/android/graphics/
DCreateJavaOutputStreamAdaptor.cpp146 jbyteArray storage, int markSize) { in CreateJavaInputStreamAdaptor() argument
177 return new JavaInputStreamAdaptor(env, stream, storage); in CreateJavaInputStreamAdaptor()
187 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) in SkJavaOutputStream() argument
188 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage) { in SkJavaOutputStream()
189 fCapacity = env->GetArrayLength(storage); in SkJavaOutputStream()
194 jbyteArray storage = fJavaByteArray; in write() local
202 env->SetByteArrayRegion(storage, 0, requested, in write()
212 storage, 0, requested); in write()
238 jbyteArray storage) { in CreateJavaOutputStreamAdaptor() argument
255 return new SkJavaOutputStream(env, stream, storage); in CreateJavaOutputStreamAdaptor()
DNinePatch.cpp73 void* storage = alloca(chunkSize); in draw() local
75 reinterpret_cast<jbyte*>(storage)); in draw()
78 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); in draw()
154 void* storage = alloca(chunkSize); in getTransparentRegion() local
156 reinterpret_cast<jbyte*>(storage)); in getTransparentRegion()
159 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); in getTransparentRegion()
DCreateJavaOutputStreamAdaptor.h9 jbyteArray storage, int markSize = 0);
11 jbyteArray storage);
DPathEffect.cpp34 SkAutoSTMalloc<32, SkScalar> storage(count); in Dash_constructor() local
35 SkScalar* intervals = storage.get(); in Dash_constructor()
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-element.jd133 <td>The application must be installed on the internal device storage only. If this is set,
134 the application will never be installed on the external storage. If the internal
135 storage is full, then the system will not install the application. This is also the default behavior
139 <td>The application may be installed on the external storage, but the system will install the
140 application on the internal storage by default. If the internal storage is full, then the system
141 will install it on the external storage. Once installed, the user can move the application
142 to either internal or external storage through the system settings.</td>
145 <td>The application prefers to be installed on the external storage (SD card). There is no
147 storage if the external media is unavailable or full, or if the application uses the forward-locking
148 mechanism (not supported on external storage). Once installed, the user can move the application to
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp138 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage() local
140 server->addStorage(storage); in android_mtp_MtpServer_add_storage()
159 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage() local
160 if (storage) { in android_mtp_MtpServer_remove_storage()
161 server->removeStorage(storage); in android_mtp_MtpServer_remove_storage()
162 delete storage; in android_mtp_MtpServer_remove_storage()
/frameworks/base/media/mtp/
DMtpServer.cpp117 void MtpServer::addStorage(MtpStorage* storage) { in addStorage() argument
120 mStorages.push(storage); in addStorage()
121 sendStoreAdded(storage->getStorageID()); in addStorage()
124 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage() argument
128 if (mStorages[i] == storage) { in removeStorage()
130 sendStoreRemoved(storage->getStorageID()); in removeStorage()
140 MtpStorage* storage = mStorages[i]; in getStorage() local
141 if (storage->getStorageID() == id) in getStorage()
142 return storage; in getStorage()
517 MtpStorage* storage = getStorage(id); in doGetStorageInfo() local
[all …]
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd11 <li>Use internal device storage for private data</li>
12 <li>Use external storage for large data sets that are not private</li>
13 <li>Use SQLite databases for structured storage</li>
27 <li><a href="#AccessingExtFiles">Accessing files on external storage</a></li>
52 <p>Your data storage options are the following:</p>
60 <dd>Store public data on the shared external storage.</dd>
163 <p>You can save files directly on the device's internal storage. By default, files saved
164 to the internal storage are private to your application and other applications cannot access
167 <p>To create and write a private file to the internal storage:</p>
193 <p>To read a file from internal storage:</p>
[all …]
/frameworks/base/media/libstagefright/
DMetaData.cpp228 memcpy(storage(), from.storage(), mSize); in typed_data()
237 memcpy(storage(), from.storage(), mSize); in operator =()
255 memcpy(storage(), data, size); in setData()
262 *data = storage(); in getData()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp371 jbyte* storage = env->GetByteArrayElements(chunks, NULL); in android_view_GLES20Canvas_drawPatch() local
372 Res_png_9patch* patch = reinterpret_cast<Res_png_9patch*>(storage); in android_view_GLES20Canvas_drawPatch()
379 env->ReleaseByteArrayElements(chunks, storage, 0); in android_view_GLES20Canvas_drawPatch()
428 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawPoints() local
429 renderer->drawPoints(storage + offset, count, paint); in android_view_GLES20Canvas_drawPoints()
430 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawPoints()
440 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawLines() local
441 renderer->drawLines(storage + offset, count, paint); in android_view_GLES20Canvas_drawLines()
442 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawLines()
650 jint* storage = env->GetIntArrayElements(layerInfo, NULL); in android_view_GLES20Canvas_createTextureLayer() local
[all …]
/frameworks/base/include/utils/
DSortedVector.h127 virtual void do_construct(void* storage, size_t num) const;
128 virtual void do_destroy(void* storage, size_t num) const;
244 void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument
245 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct()
249 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument
250 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
DVectorImpl.h101 virtual void do_construct(void* storage, size_t num) const = 0;
102 virtual void do_destroy(void* storage, size_t num) const = 0;
122 inline void _do_construct(void* storage, size_t num) const;
123 inline void _do_destroy(void* storage, size_t num) const;
DVector.h196 virtual void do_construct(void* storage, size_t num) const;
197 virtual void do_destroy(void* storage, size_t num) const;
387 void Vector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument
388 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct()
392 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument
393 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
/frameworks/base/libs/hwui/utils/
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 { in do_construct() argument
206 construct_type(reinterpret_cast<TYPE*> (storage), num); in do_construct()
210 void SortedList<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument
211 destroy_type(reinterpret_cast<TYPE*> (storage), num); in do_destroy()
/frameworks/base/core/java/com/android/internal/os/storage/
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;
/frameworks/base/opengl/libagl2/src/
Degl.cpp256 return storage; in begin()
259 return storage+count; in end()
263 Rect* storage = reg.storage; in subtract() local
266 storage->left = lhs.left; in subtract()
267 storage->top = lhs.top; in subtract()
268 storage->right = lhs.right; in subtract()
269 storage->bottom = rhs.top; in subtract()
270 storage++; in subtract()
276 storage->left = lhs.left; in subtract()
277 storage->top = top; in subtract()
[all …]
/frameworks/base/opengl/libagl/
Degl.cpp274 const_iterator begin() const { return storage; } in begin()
275 const_iterator end() const { return storage+count; } in end()
278 Rect* storage = reg.storage; in subtract() local
281 storage->left = lhs.left; in subtract()
282 storage->top = lhs.top; in subtract()
283 storage->right = lhs.right; in subtract()
284 storage->bottom = rhs.top; in subtract()
285 storage++; in subtract()
291 storage->left = lhs.left; in subtract()
292 storage->top = top; in subtract()
[all …]
/frameworks/base/libs/ui/
DRegion.cpp244 Vector<Rect>& storage; member in android::Region::rasterizer
251 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
255 storage.clear(); in rasterizer()
262 if (storage.size()) { in ~rasterizer()
263 bounds.top = storage.itemAt(0).top; in ~rasterizer()
264 bounds.bottom = storage.top().bottom; in ~rasterizer()
265 if (storage.size() == 1) { in ~rasterizer()
266 storage.clear(); in ~rasterizer()
319 storage.appendVector(span); in flushSpan()
320 tail = storage.editArray() + storage.size(); in flushSpan()
/frameworks/base/graphics/java/android/graphics/
DPicture.java143 byte[] storage); in nativeCreateFromStream() argument
149 OutputStream stream, byte[] storage); in nativeWriteToStream() argument
/frameworks/base/core/java/android/webkit/
DViewStateSerializer.java76 OutputStream stream, byte[] storage); in nativeSerializeViewState() argument
80 InputStream stream, byte[] storage); in nativeDeserializeViewState() argument
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java11 import android.os.storage.StorageManager;
12 import android.os.storage.StorageVolume;

123456