Home
last modified time | relevance | path

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

1234567

/frameworks/base/docs/html/guide/topics/data/
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 …]
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>
39 <p>Your data storage options are the following:</p>
47 <dd>Store public data on the shared external storage.</dd>
150 <p>You can save files directly on the device's internal storage. By default, files saved
151 to the internal storage are private to your application and other applications cannot access
154 <p>To create and write a private file to the internal storage:</p>
180 <p>To read a file from internal storage:</p>
206 low on internal storage space, Android may delete these cache files to recover space. However, you
[all …]
/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/av/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);
/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/core/jni/
Dandroid_view_HardwareRenderer.cpp111 jint* storage = env->GetIntArrayElements(size, NULL); in android_view_HardwareRenderer_beginFrame() local
114 storage[0] = value; in android_view_HardwareRenderer_beginFrame()
117 storage[1] = value; in android_view_HardwareRenderer_beginFrame()
119 env->ReleaseIntArrayElements(size, storage, 0); in android_view_HardwareRenderer_beginFrame()
Dandroid_view_GLES20Canvas.cpp404 jbyte* storage = env->GetByteArrayElements(chunks, NULL); in android_view_GLES20Canvas_drawPatch() local
405 Res_png_9patch* patch = reinterpret_cast<Res_png_9patch*>(storage); in android_view_GLES20Canvas_drawPatch()
412 env->ReleaseByteArrayElements(chunks, storage, 0); in android_view_GLES20Canvas_drawPatch()
461 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawPoints() local
462 renderer->drawPoints(storage + offset, count, paint); in android_view_GLES20Canvas_drawPoints()
463 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawPoints()
473 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawLines() local
474 renderer->drawLines(storage + offset, count, paint); in android_view_GLES20Canvas_drawLines()
475 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawLines()
740 jint* storage = env->GetIntArrayElements(layerInfo, NULL); in android_view_GLES20Canvas_createTextureLayer() local
[all …]
/frameworks/av/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/av/media/libstagefright/
DMetaData.cpp232 memcpy(storage(), from.storage(), mSize); in typed_data()
241 memcpy(storage(), from.storage(), mSize); in operator =()
259 memcpy(storage(), data, size); in setData()
266 *data = storage(); in getData()
291 const void *data = storage(); in asString()
/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/native/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;
247 void SortedVector<TYPE>::do_construct(void* storage, size_t num) const {
248 construct_type( reinterpret_cast<TYPE*>(storage), num );
252 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const {
253 destroy_type( reinterpret_cast<TYPE*>(storage), num );
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;
390 void Vector<TYPE>::do_construct(void* storage, size_t num) const {
391 construct_type( reinterpret_cast<TYPE*>(storage), num );
395 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
396 destroy_type( reinterpret_cast<TYPE*>(storage), num );
/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/native/opengl/libagl/
Degl.cpp279 const_iterator begin() const { return storage; } in begin()
280 const_iterator end() const { return storage+count; } in end()
283 Rect* storage = reg.storage; in subtract() local
286 storage->left = lhs.left; in subtract()
287 storage->top = lhs.top; in subtract()
288 storage->right = lhs.right; in subtract()
289 storage->bottom = rhs.top; in subtract()
290 storage++; in subtract()
296 storage->left = lhs.left; in subtract()
297 storage->top = top; in subtract()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp262 Vector<Rect>& storage; member in android::Region::rasterizer
269 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
273 storage.clear(); in rasterizer()
280 if (storage.size()) { in ~rasterizer()
281 bounds.top = storage.itemAt(0).top; in ~rasterizer()
282 bounds.bottom = storage.top().bottom; in ~rasterizer()
283 if (storage.size() == 1) { in ~rasterizer()
284 storage.clear(); in ~rasterizer()
337 storage.appendVector(span); in flushSpan()
338 tail = storage.editArray() + storage.size(); in flushSpan()
/frameworks/base/core/java/android/webkit/
DViewStateSerializer.java72 OutputStream stream, byte[] storage); in nativeSerializeViewState() argument
76 InputStream stream, byte[] storage); in nativeDeserializeViewState() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java88 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, in nativeDecodeStream() argument
90 return nativeDecodeStream(is, storage, padding, opts, false, 1.f); in nativeDecodeStream()
94 /*package*/ static Bitmap nativeDecodeStream(InputStream is, byte[] storage, in nativeDecodeStream() argument
/frameworks/base/graphics/java/android/graphics/
DPicture.java162 byte[] storage); in nativeCreateFromStream() argument
168 OutputStream stream, byte[] storage); in nativeWriteToStream() argument

1234567