Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java85 Pair<Boolean, Integer> cached = mGrayscaleBitmapCache.get(bitmap); in isGrayscaleIcon() local
86 if (cached != null) { in isGrayscaleIcon()
87 if (cached.second == bitmap.getGenerationId()) { in isGrayscaleIcon()
88 return cached.first; in isGrayscaleIcon()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() local
626 if (cached == null) { in checkIconCache()
630 return cached.newDrawable(); in checkIconCache()
670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() local
671 return cached == null ? null : cached.newDrawable(mProviderContext.getResources()); in getActivityIconWithCache()
/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.java244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */); in setImage() local
245 if (cached != null) { in setImage()
246 setBitmap(cached); in setImage()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java375 final int cached = mPreLayoutSpanIndexCache.get(pos, -1); in getSpanIndex() local
376 if (cached != -1) { in getSpanIndex()
377 return cached; in getSpanIndex()
396 final int cached = mPreLayoutSpanSizeCache.get(pos, -1); in getSpanSize() local
397 if (cached != -1) { in getSpanSize()
398 return cached; in getSpanSize()
/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.java540 boolean cached = (scheme != NOT_CACHED); in getScheme()
541 return cached ? scheme : (scheme = parseScheme()); in getScheme()
946 boolean cached = cachedString != NOT_CACHED; in toString()
947 if (cached) { in toString()
1080 boolean cached = (host != NOT_CACHED); in getHost()
1081 return cached ? host in getHost()
1275 boolean cached = (uriString != NOT_CACHED); in toString()
1276 return cached ? uriString in toString()
/frameworks/base/core/java/android/content/res/
DColorStateList.java115 final ColorStateList cached = sCache.valueAt(index).get(); in valueOf() local
116 if (cached != null) { in valueOf()
117 return cached; in valueOf()
/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/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/services/core/java/com/android/server/
DLockSettingsStorage.java510 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); in peekKeyValue() local
511 return cached == DEFAULT ? defaultValue : (String) cached; in peekKeyValue()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java797 Boolean cached = mPersistCache.get(uid); in canPersistJobs() local
798 if (cached != null) { in canPersistJobs()
799 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/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/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/services/core/java/com/android/server/am/
DProcessRecord.java140 boolean cached; // Is this a cached process? field in ProcessRecord
260 pw.print(prefix); pw.print("cached="); pw.print(cached); in dump()
DActivityManagerService.java6025 app.cached = false; in attachApplicationLocked()
14317 pw.print("cached="); pw.print(r.cached); in dumpProcessOomList()
17582 app.cached = false; in computeOomAdjLocked()
17666 app.cached = true; in computeOomAdjLocked()
17690 app.cached = false; in computeOomAdjLocked()
17703 app.cached = false; in computeOomAdjLocked()
17723 app.cached = false; in computeOomAdjLocked()
17740 app.cached = false; in computeOomAdjLocked()
17747 app.cached = false; in computeOomAdjLocked()
17759 app.cached = false; in computeOomAdjLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java169 boolean starred, boolean cached) { in registerPeopleAffinity() argument
178 if (cached) { in registerPeopleAffinity()
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd100 balance overall system resources between these empty cached processes and the
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd136 get created once and then cached for later use.</p>
/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/guide/topics/location/
Dstrategies.jd173 updates and when to use cached location data.</p>
223 should utilize a cached location by calling {@link
/frameworks/base/docs/html/training/in-app-billing/
Dpurchase-iab-products.jd78 <p>Upon a successful purchase, the user’s purchase data is cached locally by Google Play’s In-app B…

12