/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 85 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/ |
D | SuggestionsAdapter.java | 625 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/ |
D | LegacyResultMapper.java | 65 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/ |
D | SuggestionsAdapter.java | 559 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/ |
D | BasicBitmapDrawable.java | 244 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/ |
D | GridLayoutManager.java | 375 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/ |
D | EGL_ANDROID_blob_cache.txt | 46 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/ |
D | Uri.java | 540 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/ |
D | ColorStateList.java | 115 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/ |
D | redundant_redundant.jd | 85 …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/ |
D | LockSettingsStorageTests.java | 190 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/ |
D | LockSettingsStorage.java | 510 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/ |
D | JobSchedulerService.java | 797 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/ |
D | memory.jd | 162 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/ |
D | adding-licensing.jd | 187 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
|
D | licensing-reference.jd | 276 (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/ |
D | manage-memory.jd | 114 // 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/ |
D | ProcessRecord.java | 140 boolean cached; // Is this a cached process? field in ProcessRecord 260 pw.print(prefix); pw.print("cached="); pw.print(cached); in dump()
|
D | ActivityManagerService.java | 6025 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/ |
D | NotificationUsageStats.java | 169 boolean starred, boolean cached) { in registerPeopleAffinity() argument 178 if (cached) { in registerPeopleAffinity()
|
/frameworks/base/docs/html/guide/topics/processes/ |
D | process-lifecycle.jd | 100 balance overall system resources between these empty cached processes and the
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | draw.jd | 136 get created once and then cached for later use.</p>
|
/frameworks/base/docs/html/training/volley/ |
D | simple.jd | 100 thread and triaged: if the request can be serviced from cache, the cached response is
|
/frameworks/base/docs/html/guide/topics/location/ |
D | strategies.jd | 173 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/ |
D | purchase-iab-products.jd | 78 <p>Upon a successful purchase, the user’s purchase data is cached locally by Google Play’s In-app B…
|