/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 51 void PermissionCache::cache(const String16& permission, function in class:android::PermissionCache 107 pc.cache(permission, uid, granted);
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpsConnection.java | 71 * @param sessionDir directory to cache SSL sessions 75 SSLClientSessionCache cache = null; 79 cache = FileClientSessionCache.usingDirectory(sessionDir); 102 sslContext.engineGetClientSessionContext().setPersistentCache(cache);
|
/frameworks/native/cmds/installd/ |
H A D | installd.h | 61 #define CACHE_DIR_POSTFIX "/cache" 75 #define DALVIK_CACHE_PREFIX "/data/dalvik-cache/" 80 #define IDMAP_PREFIX "/data/resource-cache/" 176 void add_cache_files(cache_t* cache, const char *basepath, const char *cachedir); 178 void clear_cache_files(cache_t* cache, int64_t free_size); 180 void finish_cache_collection(cache_t* cache);
|
H A D | commands.c | 321 /* it's okay if code cache is missing */ 335 * when just reading from the cache, which is pretty awful. 339 cache_t* cache; local 352 cache = start_cache_collection(); 354 // Collect cache files for primary user. 356 //ALOGI("adding cache files from %s\n", tmpdir); 357 add_cache_files(cache, tmpdir, "cache"); 360 // Search for other users and add any cache files from them. 376 //ALOGI("adding cache file [all...] |
/frameworks/testing/espresso/libs/ |
H A D | guava-14.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1311 sp<AudioCache> cache = new AudioCache(heap); local 1312 player = MediaPlayerFactory::createPlayer(playerType, cache.get(), cache->notify); 1316 static_cast<MediaPlayerInterface*>(player.get())->setAudioSink(cache); 1325 if (cache->wait() != NO_ERROR) goto Exit; 1331 cache->wait(); 1333 if (cache->size() == 0) { 1337 *pSize = cache->size(); 1338 *pSampleRate = cache->sampleRate(); 1339 *pNumChannels = cache 1366 sp<AudioCache> cache = new AudioCache(heap); local [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfoSource.java | 46 private final SimpleCache<String, ClassPathPackageInfo> cache = field in class:ClassPathPackageInfoSource 58 // A cache of jar file contents 72 return cache.get(pkgName);
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
H A D | FileSystem.inc | 52 // set cache is full, then Directory::begin() can return end().
|
/frameworks/base/core/java/android/widget/ |
H A D | SlidingDrawer.java | 316 final Bitmap cache = mContent.getDrawingCache(); 317 if (cache != null) { 319 canvas.drawBitmap(cache, 0, handle.getBottom(), null); 321 canvas.drawBitmap(cache, handle.getRight(), 0, null);
|
H A D | NumberPicker.java | 1815 SparseArray<String> cache = mSelectorIndexToStringCache; 1816 String scrollSelectorValue = cache.get(selectorIndex); 1830 cache.put(selectorIndex, scrollSelectorValue);
|
/frameworks/support/ |
H A D | gradlew | 174 exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain --project-cache-dir=$ANDROID_CACHE_DIR "$@"
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 52 * If being used with a long-lived cache (static cache, attached to the Application instead of the 54 * times so the cache has accurate unref counts. The 94 public BasicBitmapDrawable(final Resources res, final BitmapCache cache, argument 97 mCache = cache; 122 * attached to the same cache, because caches can only contain bitmaps of one size for re-use. 135 * Binds to the given key and start the decode process. This will first look in the cache, then
|
H A D | ExtendedBitmapDrawable.java | 73 public ExtendedBitmapDrawable(final Resources res, final BitmapCache cache, argument 75 super(res, cache, limitDensity); 188 // this allows the initial transition to be specially instantaneous, so e.g. a cache hit
|
H A D | StyledCornersBitmapDrawable.java | 73 public StyledCornersBitmapDrawable(Resources res, BitmapCache cache, argument 76 super(res, cache, limitDensity, opts);
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 72 // Layout cache datatypes 355 HbFaceCache& cache = LayoutEngine::getInstance().hbFaceCache; local 357 hb_face_t* face = cache.mCache.get(fontId); 360 cache.mCache.put(fontId, face); 397 // Note: ctx == NULL means we're copying from the cache, no need to create 618 LayoutCache& cache = LayoutEngine::getInstance().layoutCache; local 626 Layout* layout = cache.get(key, ctx, mCollection);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeTask.java | 39 * decode is complete, even if the task is cancelled, the result is placed in the given cache. 91 * @param requestKey The request to decode, also the key to use for the cache. 96 * @param cache The cache and pool. 99 FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) { 104 mCache = cache; 260 Log.e(TAG, "decode thread wants a bitmap. cache dump:\n" 443 // Put result in cache, regardless of null. The cache will handle null results. 448 Log.d(TAG, "placed result in cache 98 DecodeTask(RequestKey requestKey, DecodeOptions decodeOpts, FileDescriptorFactory factory, DecodeCallback callback, BitmapCache cache) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 77 public UsimPhoneBookManager(IccFileHandler fh, AdnRecordCache cache) { argument 84 mAdnCache = cache; 108 // Check if the PBR file is present in the cache, if not read it
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 731 * Ignore any optimizations using the measure cache. 918 * <p>Indicates that no drawing cache should ever be created for this view.<p> 935 * <p>Enables low quality mode for the drawing cache.</p> 940 * <p>Enables high quality mode for the drawing cache.</p> 945 * <p>Enables automatic quality mode for the drawing cache.</p> 954 * <p>Mask for use with setFlags indicating bits used for the cache 3362 * Solid color to use as a background when creating the drawing cache. Enables 3363 * the cache to use 16 bit bitmaps instead of 32 bit. 3438 * accelerated pipeline. It can also be used to cache a complex view tree 3465 * <p>A hardware layer can be used to cache [all...] |
H A D | ViewDebug.java | 774 final Bitmap[] cache = new Bitmap[1]; 779 cache[0] = captureView.createSnapshot( 791 return cache[0];
|
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1850 LongSparseArray<WeakReference<ConstantState>> cache, int configChanges) { 1855 final int N = cache.size(); 1857 final WeakReference<ConstantState> ref = cache.valueAt(i); 1865 + Long.toHexString(cache.keyAt(i)) 1869 cache.setValueAt(i, null); 1872 + Long.toHexString(cache.keyAt(i)) 2197 // First see if this block is in our cache. 2334 // cache (either preload or themed). 2615 // First see if this block is in our cache. 2625 // Not in the cache, creat 1849 clearDrawableCacheLocked( LongSparseArray<WeakReference<ConstantState>> cache, int configChanges) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 421 // Update prepared statement cache size. 448 // Returns true if the prepared statement cache contains the specified SQL. 478 * be bound to it, consequently it it possible to cache certain prepared statements 480 * then it will be stored in the cache for later. 484 * in its prepared statement cache so that it is ready for execution. 883 // The statement is already in the cache but is in use (this statement appears 885 // statement but do not cache it. 901 // it to the cache. If it is already in the cache, then leave it there. 917 // The statement could not be reset due to an error. Remove it from the cache [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 280 ArrayList<Object> cache = ctx.mServiceCache; 282 synchronized (cache) { 283 if (cache.size() == 0) { 284 // Initialize the cache vector on first access. 289 cache.add(null); 292 service = cache.get(mContextCacheIndex); 298 cache.set(mContextCacheIndex, service); 776 // The system service cache for the system services that are 1072 mCacheDir = new File(getDataDirFile(), "cache");
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 1016 final Bitmap cache = child.getDrawingCache(); 1017 if (cache != null) { 1018 canvas.drawBitmap(cache, child.getLeft(), child.getTop(), lp.dimPaint); 1021 Log.e(TAG, "drawChild: child view " + child + " returned null drawing cache");
|
/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 290 // which would thrash the layer cache 320 TextureCache& cache = Caches::getInstance().textureCache; local 328 info.prepareTextures = cache.prefetchAndMarkInUse(subtree->bitmapResources[i]);
|
H A D | DisplayListOp.h | 858 PatchCache& cache = renderer.getCaches().patchCache; local 859 mMesh = cache.get(getAtlasEntry(), mBitmap->width(), mBitmap->height(), 861 mGenerationId = cache.getGenerationId();
|