Home
last modified time | relevance | path

Searched refs:oldResult (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DAsyncLoaderCompat.java66 final T oldResult = mResult; in deliverResult() local
73 if (oldResult != null && oldResult != mResult) { in deliverResult()
74 onDiscardResult(oldResult); in deliverResult()
DAsyncLoader.java67 final T oldResult = mResult; in deliverResult() local
74 if (oldResult != null && oldResult != mResult) { in deliverResult()
75 onDiscardResult(oldResult); in deliverResult()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DScanResultUpdaterTest.java58 ScanResult oldResult = buildScanResult(SSID, BSSID_1, 10); in testGetScanResults_mergeSameBssid() local
63 sru.update(Arrays.asList(oldResult)); in testGetScanResults_mergeSameBssid()
64 assertThat(sru.getScanResults()).containsExactly(oldResult); in testGetScanResults_mergeSameBssid()
71 sru.update(Arrays.asList(oldResult)); in testGetScanResults_mergeSameBssid()
82 ScanResult oldResult = buildScanResult(SSID, BSSID_1, NOW_MILLIS - (maxScanAge + 1)); in testGetScanResults_filtersOldScans() local
87 sru.update(Arrays.asList(newResult, oldResult)); in testGetScanResults_filtersOldScans()
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeMigrationUtilsTest.java110 String oldResult = time.format("%Y-%m-%d %H:%M:%S"); in formatMillisAsDateTime_matchesOldBehavior() local
115 oldResult, newResult); in formatMillisAsDateTime_matchesOldBehavior()
/frameworks/base/core/tests/coretests/src/android/app/
DPropertyInvalidatedCacheTests.java312 public String refresh(String oldResult, Integer query) { in testRefreshSameObject()
314 return oldResult; in testRefreshSameObject()
333 public String refresh(String oldResult, Integer query) { in testRefreshInvalidateRace()
336 return new String(oldResult); in testRefreshInvalidateRace()
/frameworks/base/core/java/android/app/
DPropertyInvalidatedCache.java815 protected Result refresh(Result oldResult, Query query) {
816 return oldResult;