/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | FlashlightQuickAffordanceConfigTest.kt | 72 val lastValue = values.last() in <lambda>() constant 75 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>() 78 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>() 95 val lastValue = values.last() in <lambda>() constant 98 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>() 101 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>() 118 val lastValue = values.last() in <lambda>() constant 121 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>() 124 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>() 141 val lastValue = values.last() in <lambda>() constant [all …]
|
D | DoNotDisturbQuickAffordanceConfigTest.kt | 244 val lastValue = valueSnapshot() in lockScreenState - dndAvailable starts as true - change to false - State is Hidden() constant 248 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState - dndAvailable starts as true - change to false - State is Hidden() 264 val lastValue = valueSnapshot() in lockScreenState - dndMode starts as ZEN_MODE_OFF - change to not OFF - State Visible() constant 285 lastValue, in lockScreenState - dndMode starts as ZEN_MODE_OFF - change to not OFF - State Visible()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/coroutines/ |
D | Flow.kt | 46 var lastValue: T? = null in collectLastValue() variable 47 backgroundScope.launch(context, start) { flow.collect { lastValue = it } } in collectLastValue() 50 lastValue in collectLastValue()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/pager/ |
D | SnappingFlingBehavior.kt | 129 var lastValue = 0f in performDecayFling() variable 135 val delta = value - lastValue in performDecayFling() 137 lastValue = value in performDecayFling() 185 var lastValue = 0f in performSpringFling() variable 201 val delta = coercedValue - lastValue in performSpringFling() 203 lastValue = coercedValue in performSpringFling()
|
/frameworks/native/libs/battery/ |
D | MultiStateCounter.h | 42 T lastValue; variable 120 lastValue(emptyValue), in MultiStateCounter() 213 if (delta(lastValue, value, &deltaValue)) { in updateValue() 226 << ", which is lower than the previous value " << valueToString(lastValue) in updateValue() 244 lastValue = value; in updateValue() 251 T newValue = lastValue; in incrementValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/ |
D | FontScalingDialog.kt | 83 var lastValue = strEntryValues[0].toFloat() in fontSizeValueToIndex() variable 86 if (value < lastValue + (thisValue - lastValue) * .5f) { in fontSizeValueToIndex() 89 lastValue = thisValue in fontSizeValueToIndex()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | Roundable.kt | 81 val lastValue = roundnessMap.values.maxOrNull() ?: 0f in <lambda>() constant 92 if (lastValue != newValue) { in <lambda>() 99 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f in <lambda>() 150 val lastValue = roundnessMap.values.maxOrNull() ?: 0f in <lambda>() constant 161 if (lastValue != newValue) { in <lambda>() 168 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/coroutines/ |
D | FlowTest.kt | 21 val lastValue by collectLastValue(flow) in <lambda>() constant 22 assertThat(lastValue).isEqualTo(2) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/ |
D | MobileUiAdapter.kt | 83 private var lastValue: List<Int>? = null in <lambda>() variable 95 lastValue = it in <lambda>() 104 pw.println("Last values sent to icon controller: $lastValue") in <lambda>()
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 80 typename std::iterator_traits<I>::pointer lastValue = nullptr; in isIncreasing() local 85 lastValue = &(*iter); in isIncreasing() 88 if (getField(*iter) < getField(*lastValue)) { in isIncreasing() 90 << pos << ", " << getField(*iter) << " < " << getField(*lastValue); in isIncreasing()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
D | ALSProbeTest.java | 324 final float lastValue = 5.5f; in testDestroyAllowsAwaitLuxExactlyOnce() local 333 new SensorEvent(mLightSensor, 1, 1, new float[]{lastValue})); in testDestroyAllowsAwaitLuxExactlyOnce() 335 assertThat(lux.get()).isEqualTo(Math.round(lastValue)); in testDestroyAllowsAwaitLuxExactlyOnce() 343 assertThat(lux.get()).isEqualTo(Math.round(lastValue)); in testDestroyAllowsAwaitLuxExactlyOnce()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardTransitionRepositoryTest.kt | 239 val lastValue = fractions[fractions.size - 1].toFloat() in <lambda>() constant 241 if (lastValue < 1f) { in <lambda>() 247 .isEqualTo(TransitionStep(from, to, lastValue, status, OWNER_NAME)) in <lambda>()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 119 double lastValue = _mMin; in contains() local 123 if (T(lastValue + MIN_STEP / 2) == value) { in contains() 126 double nextValue = fma(lastValue, base, _mStep); in contains() 127 if (nextValue <= lastValue || nextValue > _mMax) { in contains() 130 lastValue = nextValue; in contains()
|
/frameworks/base/core/jni/ |
D | android_os_Parcel.cpp | 174 static void android_os_Parcel_restoreAllowFds(jlong nativePtr, jboolean lastValue) in android_os_Parcel_restoreAllowFds() argument 178 parcel->restoreAllowFds((bool)lastValue); in android_os_Parcel_restoreAllowFds()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | UserInteractorTest.kt | 189 val lastValue = collectLastValue(underTest.dialogDismissRequests) in <lambda>() constant 190 assertNotNull(lastValue) in <lambda>()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 378 private static native void nativeRestoreAllowFds(long nativePtr, boolean lastValue); in nativeRestoreAllowFds() argument 731 public final void restoreAllowFds(boolean lastValue) { in restoreAllowFds() argument 732 nativeRestoreAllowFds(mNativePtr, lastValue); in restoreAllowFds()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 559 void Parcel::restoreAllowFds(bool lastValue) in restoreAllowFds() argument 561 mAllowFds = lastValue; in restoreAllowFds()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 93 void restoreAllowFds(bool lastValue);
|
/frameworks/native/libs/binder/include/binder/ |
D | Parcel.h | 93 void restoreAllowFds(bool lastValue);
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1328 final boolean lastValue = lastValues.get(network.getNetId(), false); in updateCapabilityChange() 1329 final boolean changed = (lastValue != newValue) in updateCapabilityChange()
|