Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java84 Pair<Boolean, Integer> cached = mGrayscaleBitmapCache.get(bitmap); in isGrayscaleIcon() local
85 if (cached != null) { in isGrayscaleIcon()
86 if (cached.second == bitmap.getGenerationId()) { in isGrayscaleIcon()
87 return cached.first; in isGrayscaleIcon()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java600 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
601 if (cached == null) { in checkIconCache()
605 return cached.newDrawable(); in checkIconCache()
645 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
646 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java293 final int cached = mPreLayoutSpanIndexCache.get(pos, -1); in getSpanIndex() local
294 if (cached != -1) { in getSpanIndex()
295 return cached; in getSpanIndex()
314 final int cached = mPreLayoutSpanSizeCache.get(pos, -1); in getSpanSize() local
315 if (cached != -1) { in getSpanSize()
316 return cached; in getSpanSize()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyResultMapper.java65 boolean cached; in cachedConvertResultMetadata()
72 cached = true; in cachedConvertResultMetadata()
75 cached = false; in cachedConvertResultMetadata()
92 Log.v(TAG, "cachedConvertResultMetadata - cached? " + cached + in cachedConvertResultMetadata()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java559 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
560 if (cached == null) { in checkIconCache()
564 return cached.newDrawable(); in checkIconCache()
604 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
605 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java212 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); in setImage() local
213 if (cached != null) { in setImage()
214 setBitmap(cached); in setImage()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt46 then retrieve those cached shaders during subsequent executions of the same
82 * client API implementation may use to retrieve a cached value from the
107 function pointers through which the client APIs can request data be cached
184 previously cached entries. How can the driver handle this situation?
/frameworks/base/core/java/android/net/
DUri.java535 boolean cached = (scheme != NOT_CACHED); in getScheme()
536 return cached ? scheme : (scheme = parseScheme()); in getScheme()
941 boolean cached = cachedString != NOT_CACHED; in toString()
942 if (cached) { in toString()
1075 boolean cached = (host != NOT_CACHED); in getHost()
1076 return cached ? host in getHost()
1270 boolean cached = (uriString != NOT_CACHED); in toString()
1271 return cached ? uriString in toString()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java394 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); in peekKeyValue() local
395 return cached == DEFAULT ? defaultValue : (String) cached; in peekKeyValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java190 String cached = mStorage.readKeyValue("key", "default", 0); in testKeyValue_CacheStarvedWriter() local
193 assertEquals("Cached value didn't match stored value", storage, cached); in testKeyValue_CacheStarvedWriter()
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd85 …d, fully cached HTTP requests can be served directly from local storage, eliminating the need to o…
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java740 Boolean cached = mPersistCache.get(uid); in canPersistJobs() local
741 if (cached != null) { in canPersistJobs()
742 canPersist = cached.booleanValue(); in canPersistJobs()
/frameworks/base/docs/html/training/articles/
Dmemory.jd162 leaves the app, that process does <em>not</em> quit. The system keeps the process cached, so if
165 <p>If your app has a cached process and it retains memory that it currently does not need,
169 which processes are most memory intensive. To keep your process cached as long as possible, follow
172 <p>More information about how processes are cached while not running in the foreground and how
200 anything else or paged out. This reduces the number of cached processes that the system can keep in
221 significantly increase the system's capacity for cached processes, which has a direct impact on the
275 <p>Also, when your app process is currently cached, you may receive one of the following
713 user experience than killing other cached processes, because so much user interaction goes through
719 <li>Cached processes: These are cached processes held in the LRU cache, which allow for fast app
726 such services having memory leaks that over time reduce the number of regular cached processes that
/frameworks/base/docs/html/google/play-services/
Ddrive.jd49 already cached on the device, the Drive service downloads the file
/frameworks/base/docs/html/google/play/licensing/
Dadding-licensing.jd187 that uses server-provided settings and cached responses to manage access across
219 <li>Returns the cached response for all license checks, for as long as the
220 cached response is valid, rather than making a request to the licensing server.
321 retry requests are not tracked and cached responses can not be used to fulfill
334 there is no data cached locally, there is no way a malicious user could tamper
335 with the cached data and obtain access to the application.</p>
341 cached response is not possible.</p>
550 whether there is a valid license response cached locally, in
821 thread <em>only</em> if there is valid license response cached locally. If the
Dlicensing-reference.jd276 (cached) license response expires and must be rechecked on the licensing server. See the section
348 {@code Policy} to cache the initial license status locally and return the cached license
369 cached the validity timestamp locally, it will not need to recheck the
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java130 boolean cached; // Is this a cached process? field in ProcessRecord
253 pw.print(prefix); pw.print("cached="); pw.print(cached); in dump()
DActivityManagerService.java5920 app.cached = false; in attachApplicationLocked()
13763 pw.print("cached="); pw.print(r.cached); in dumpProcessOomList()
16954 app.cached = false; in computeOomAdjLocked()
17036 app.cached = true; in computeOomAdjLocked()
17060 app.cached = false; in computeOomAdjLocked()
17073 app.cached = false; in computeOomAdjLocked()
17093 app.cached = false; in computeOomAdjLocked()
17110 app.cached = false; in computeOomAdjLocked()
17117 app.cached = false; in computeOomAdjLocked()
17129 app.cached = false; in computeOomAdjLocked()
[all …]
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd114 // Keep a count to determine when the drawable is no longer being cached.
175 // Notify the removed entry that is no longer being cached.
/frameworks/base/docs/html/design/building-blocks/
Dprogress.jd74 <li>Temporarily downloaded (automatically cached by the app)</li>
/frameworks/base/core/java/android/content/res/
DResources.java2711 final TypedArray cached = mCachedStyledAttributes; in recycleCachedStyledAttributes() local
2712 if (cached == null || cached.mData.length < attrs.mData.length) { in recycleCachedStyledAttributes()
/frameworks/base/docs/html/training/custom-views/
Doptimizing-view.jd162 of the application's lifetime, the pie chart is cached as an image, and redrawn at different
/frameworks/base/docs/html/training/volley/
Dsimple.jd100 thread and triaged: if the request can be serviced from cache, the cached response is
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd136 get created once and then cached for later use.</p>
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd100 balance overall system resources between these empty cached processes and the

12