Searched refs:cacheEntry (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | AbstractCache.java | 50 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put() local 51 cacheEntry.value = value; in put() 52 mCacheMap.put(key, cacheEntry); in put() 68 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get() local 69 if (cacheEntry != null) { in get() 70 cacheEntry.hit++; in get() 72 Log.v(TAG, key + " hit " + cacheEntry.hit + " times."); in get() 74 return cacheEntry.value; in get()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactInfoCache.java | 355 final ContactCacheEntry cacheEntry = infoMap.get(callId); in findInfo() local 359 boolean forceQuery = needForceQuery(call, cacheEntry); in findInfo() 365 if (cacheEntry != null && !forceQuery) { in findInfo() 370 callback.onContactInfoComplete(callId, cacheEntry); in findInfo() 412 if (cacheEntry != null) { in findInfo() 417 cacheEntry.queryId = queryToken.queryId; in findInfo() 466 ContactCacheEntry cacheEntry = buildEntry(context, callerInfo, presentationMode); in updateCallerInfoInCacheOnAnyThread() local 467 cacheEntry.queryId = queryToken.queryId; in updateCallerInfoInCacheOnAnyThread() 470 if (cacheEntry.displayPhotoUri != null) { in updateCallerInfoInCacheOnAnyThread() 477 && existingCacheEntry.displayPhotoUri.equals(cacheEntry.displayPhotoUri) in updateCallerInfoInCacheOnAnyThread() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 453 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in getInterfaceCacheEntry() local 454 if (cacheEntry == null) { in getInterfaceCacheEntry() 459 return cacheEntry; in getInterfaceCacheEntry() 472 InterfaceCacheEntry cacheEntry = getInterfaceCacheEntry(iface); in getChip() local 473 return (cacheEntry == null) ? null : cacheEntry.chip; in getChip() 479 InterfaceCacheEntry cacheEntry = getInterfaceCacheEntry(iface); in getChipInfo() local 480 if (cacheEntry == null) return null; in getChipInfo() 486 if (info.chipId == cacheEntry.chipId) { in getChipInfo() 601 InterfaceCacheEntry cacheEntry = mInterfaceInfoCache.get(Pair.create(name, type)); in replaceRequestorWs() local 602 if (cacheEntry == null) { in replaceRequestorWs() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/ |
D | CacheEntryDaoTest.java | 115 DBCacheEntry cacheEntry = in test_CacheEntryGetStaleEntry_Failure() local 123 mCacheEntryDao.persistCacheEntry(cacheEntry); in test_CacheEntryGetStaleEntry_Failure() 148 DBCacheEntry cacheEntry = in test_CacheEntryDeleteStaleQueries_SmallMaxAge_Succeeds() local 156 mCacheEntryDao.persistCacheEntry(cacheEntry); in test_CacheEntryDeleteStaleQueries_SmallMaxAge_Succeeds()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CloneContactsProvider2Test.java | 481 ContactsProvider2.LaunchableCloneAppsCacheEntry cacheEntry = in testIsAppAllowedToUseParentUsersContacts_AppInAllowlistCacheEmpty() local 483 assertNotNull(cacheEntry); in testIsAppAllowedToUseParentUsersContacts_AppInAllowlistCacheEmpty() 485 assertTrue(cacheEntry.doesAppHaveLaunchableActivity); in testIsAppAllowedToUseParentUsersContacts_AppInAllowlistCacheEmpty() 498 ContactsProvider2.LaunchableCloneAppsCacheEntry cacheEntry = in testIsAppAllowedToUseParentUsersContacts_AppNotInAllowlistCacheEmtpy() local 500 assertNotNull(cacheEntry); in testIsAppAllowedToUseParentUsersContacts_AppNotInAllowlistCacheEmtpy() 502 assertFalse(cacheEntry.doesAppHaveLaunchableActivity); in testIsAppAllowedToUseParentUsersContacts_AppNotInAllowlistCacheEmtpy()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 565 PduCacheEntry cacheEntry = null; in load() local 582 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in load() 583 if (cacheEntry != null) { in load() 584 return cacheEntry.getPdu(); in load() 627 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load() 628 PDU_CACHE_INSTANCE.put(uri, cacheEntry); in load() 1222 PduCacheEntry cacheEntry; in updateParts() local 1233 cacheEntry = PDU_CACHE_INSTANCE.get(uri); in updateParts() 1234 if (cacheEntry != null) { in updateParts() 1235 ((MultimediaMessagePdu) cacheEntry.getPdu()).setBody(body); in updateParts()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/ |
D | CacheEntryDao.java | 35 long persistCacheEntry(DBCacheEntry cacheEntry); in persistCacheEntry() argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 5763 LaunchableCloneAppsCacheEntry cacheEntry = mLaunchableCloneAppsCache.get(callingUid); in isAppAllowedToUseParentUsersContacts() local 5764 if (cacheEntry == null || ((now - cacheEntry.lastUpdatedAt) in isAppAllowedToUseParentUsersContacts()
|