Home
last modified time | relevance | path

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

1234567

/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/docs/html/guide/topics/data/
Dinstall-location.jd11 <li>You can allow your application to install on the device's external storage.</li>
13 storage.</li>
14 <li>Installing on the external storage is ideal for large applications that are not tightly
35 external storage (for example, the device's SD card). This is an optional feature you can declare
39 <em>not</em> declare this attribute, your application will be installed on the internal storage
40 only and it cannot be moved to the external storage.</p>
42 <p>To allow the system to install your application on the external storage, modify your
56 external storage, but the system does not guarantee that your application will be installed on
57 the external storage. If the external storage is full, the system will install it on the internal
58 storage. The user can also move your application between the two locations.</p>
[all …]
Ddata-storage.jd12 <li>Use internal device storage for private data</li>
13 <li>Use external storage for large data sets that are not private</li>
14 <li>Use SQLite databases for structured storage</li>
40 <p>Your data storage options are the following:</p>
48 <dd>Store public data on the shared external storage.</dd>
151 <p>You can save files directly on the device's internal storage. By default, files saved
152 to the internal storage are private to your application and other applications cannot access
155 <p>To create and write a private file to the internal storage:</p>
181 <p>To read a file from internal storage:</p>
207 low on internal storage space, Android may delete these cache files to recover space. However, you
[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.cpp129 jbyteArray storage) { in CreateJavaInputStreamAdaptor() argument
130 return new JavaInputStreamAdaptor(env, stream, storage); in CreateJavaInputStreamAdaptor()
157 jbyteArray storage) { in CopyJavaInputStream() argument
158 SkAutoTUnref<SkStream> adaptor(CreateJavaInputStreamAdaptor(env, stream, storage)); in CopyJavaInputStream()
172 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) in SkJavaOutputStream() argument
173 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage) { in SkJavaOutputStream()
174 fCapacity = env->GetArrayLength(storage); in SkJavaOutputStream()
179 jbyteArray storage = fJavaByteArray; in write() local
187 env->SetByteArrayRegion(storage, 0, requested, in write()
197 storage, 0, requested); in write()
[all …]
DCreateJavaOutputStreamAdaptor.h25 jbyteArray storage);
37 jbyteArray storage);
40 jbyteArray storage);
DNinePatch.cpp71 int8_t* storage = new int8_t[chunkSize]; in validateNinePatchChunk() local
73 env->GetByteArrayRegion(obj, 0, chunkSize, reinterpret_cast<jbyte*>(storage)); in validateNinePatchChunk()
75 return (int8_t*) Res_png_9patch::deserialize(storage); in validateNinePatchChunk()
DInterpolator.cpp32 SkAutoSTMalloc<16, SkScalar> storage(n); in Interpolator_setKeyFrame() local
33 SkScalar* scalars = storage.get(); in Interpolator_setKeyFrame()
DPathEffect.cpp34 SkAutoSTMalloc<32, SkScalar> storage(count); in Dash_constructor() local
35 SkScalar* intervals = storage.get(); in Dash_constructor()
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd23 <li><a href="{@docRoot}guide/topics/data/data-storage.html#filesInternal">Using the Internal
25 <li><a href="{@docRoot}guide/topics/data/data-storage.html#filesExternal">Using the External
48 <p>All Android devices have two file storage areas: "internal" and "external" storage. These names
50 (internal storage), plus a removable storage medium such as a micro SD card (external storage).
51 Some devices divide the permanent storage space into "internal" and "external" partitions, so even
52 without a removable storage medium, there are always two storage spaces and
53 the API behavior is the same whether the external storage is removable or not.
54 The following lists summarize the facts about each storage space.</p>
57 <p><b>Internal storage:</b></p>
62 internal storage.</li>
[all …]
Dindex.jd2 page.tags="data storage","files","sql","database","preferences"
22 <li><a href="{@docRoot}guide/topics/data/data-storage.html">Storage Options</a></li>
32 principal data storage options in Android, including:</p>
/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. Once installed, the user can move the applica…
148 either internal or external storage through the system settings.</td>
[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.cpp113 jint* storage = env->GetIntArrayElements(size, NULL); in android_view_HardwareRenderer_beginFrame() local
116 storage[0] = value; in android_view_HardwareRenderer_beginFrame()
119 storage[1] = value; in android_view_HardwareRenderer_beginFrame()
121 env->ReleaseIntArrayElements(size, storage, 0); in android_view_HardwareRenderer_beginFrame()
Dandroid_view_GLES20Canvas.cpp521 jfloat* storage = env->GetFloatArrayElements(rects, NULL); in android_view_GLES20Canvas_drawRects() local
522 renderer->drawRects(storage, count, paint); in android_view_GLES20Canvas_drawRects()
523 env->ReleaseFloatArrayElements(rects, storage, 0); in android_view_GLES20Canvas_drawRects()
528 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawPoints() local
529 renderer->drawPoints(storage + offset, count, paint); in android_view_GLES20Canvas_drawPoints()
530 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawPoints()
540 jfloat* storage = env->GetFloatArrayElements(points, NULL); in android_view_GLES20Canvas_drawLines() local
541 renderer->drawLines(storage + offset, count, paint); in android_view_GLES20Canvas_drawLines()
542 env->ReleaseFloatArrayElements(points, storage, 0); in android_view_GLES20Canvas_drawLines()
820 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.cpp237 memcpy(storage(), from.storage(), mSize); in typed_data()
246 memcpy(storage(), from.storage(), mSize); in operator =()
264 memcpy(storage(), data, size); in setData()
271 *data = storage(); in getData()
297 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/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.cpp281 const_iterator begin() const { return storage; } in begin()
282 const_iterator end() const { return storage+count; } in end()
285 Rect* storage = reg.storage; in subtract() local
288 storage->left = lhs.left; in subtract()
289 storage->top = lhs.top; in subtract()
290 storage->right = lhs.right; in subtract()
291 storage->bottom = rhs.top; in subtract()
292 storage++; in subtract()
298 storage->left = lhs.left; in subtract()
299 storage->top = top; in subtract()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp393 Vector<Rect>& storage; member in android::Region::rasterizer
400 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
401 storage.clear(); in rasterizer()
408 if (storage.size()) { in ~rasterizer()
409 bounds.top = storage.itemAt(0).top; in ~rasterizer()
410 bounds.bottom = storage.top().bottom; in ~rasterizer()
411 if (storage.size() == 1) { in ~rasterizer()
412 storage.clear(); in ~rasterizer()
418 storage.add(bounds); in ~rasterizer()
466 storage.appendVector(span); in flushSpan()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPicture.java182 byte[] storage); in nativeCreateFromStream() argument
188 OutputStream stream, byte[] storage); in nativeWriteToStream() argument
/frameworks/base/core/java/android/os/storage/
DStorageVolume.aidl17 package android.os.storage;
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DSharedStorageAgent.java9 import android.os.storage.StorageManager;
10 import android.os.storage.StorageVolume;

1234567