Home
last modified time | relevance | path

Searched refs:hasUpdate (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/property/
DContCarPropertyEventTrackerUnitTest.java128 assertThat(mNoVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsTrueForFirstEvent()
133 assertThat(mVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsTrueForFirstEvent_vur()
138 assertThat(mNoVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsFalseForStaleEvent()
139 assertThat(mNoVurTracker.hasUpdate(STALE_CAR_PROPERTY_VALUE)).isFalse(); in testHasUpdate_returnsFalseForStaleEvent()
144 assertThat(mVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsFalseForStaleEvent_vur()
145 assertThat(mVurTracker.hasUpdate(STALE_CAR_PROPERTY_VALUE)).isFalse(); in testHasUpdate_returnsFalseForStaleEvent_vur()
150 assertThat(mNoVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)) in testHasUpdate_returnsFalseForEventArrivedTooEarly()
152 assertThat(mNoVurTracker.hasUpdate(TOO_EARLY_CAR_PROPERTY_VALUE)).isFalse(); in testHasUpdate_returnsFalseForEventArrivedTooEarly()
157 assertThat(mVurTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsFalseForEventArrivedTooEarly_vur()
158 assertThat(mVurTracker.hasUpdate(TOO_EARLY_CAR_PROPERTY_VALUE)).isFalse(); in testHasUpdate_returnsFalseForEventArrivedTooEarly_vur()
[all …]
DOnChangeCarPropertyEventTrackerUnitTest.java52 assertThat(mTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsTrueForFirstEvent()
57 assertThat(mTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsFalseForStaleEvent()
58 assertThat(mTracker.hasUpdate(STALE_CAR_PROPERTY_VALUE)).isFalse(); in testHasUpdate_returnsFalseForStaleEvent()
63 assertThat(mTracker.hasUpdate(GOOD_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsTrueForFreshEvent()
64 assertThat(mTracker.hasUpdate(FRESH_CAR_PROPERTY_VALUE)).isTrue(); in testHasUpdate_returnsTrueForFreshEvent()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DCarPropertyEventTracker.java37 boolean hasUpdate(CarPropertyValue<?> carPropertyValue); in hasUpdate() method
DOnChangeCarPropertyEventTracker.java50 public boolean hasUpdate(CarPropertyValue<?> carPropertyValue) { in hasUpdate() method in OnChangeCarPropertyEventTracker
DCarPropertyEventController.java175 if (tracker.hasUpdate(carPropertyValue)) { in getCarPropertyValueIfCallbackRequired()
DContCarPropertyEventTracker.java128 public boolean hasUpdate(CarPropertyValue<?> carPropertyValue) { in hasUpdate() method in ContCarPropertyEventTracker
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java522 boolean hasUpdate = false; in maybeUpdateFromCequintCallerId()
526 hasUpdate = true; in maybeUpdateFromCequintCallerId()
531 hasUpdate = true; in maybeUpdateFromCequintCallerId()
538 hasUpdate = true; in maybeUpdateFromCequintCallerId()
541 if (hasUpdate) { in maybeUpdateFromCequintCallerId()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java329 boolean hasUpdate = in setSafetySourceData()
332 if (hasUpdate) { in setSafetySourceData()
386 boolean hasUpdate = in reportSafetySourceError()
390 if (hasUpdate in reportSafetySourceError()
398 if (hasUpdate) { in reportSafetySourceError()