/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
H A D | FlashlightQuickAffordanceConfigTest.kt | 74 val lastValue = values.last() regex 77 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) 80 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon 97 val lastValue = values.last() regex 100 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) 103 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon 120 val lastValue = values.last() regex 143 val lastValue = values.last() regex 146 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Hidden) 160 val lastValue = values.last() regex [all …]
|
H A D | DoNotDisturbQuickAffordanceConfigTest.kt | 246 val lastValue = valueSnapshot() regex 250 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Hidden) 266 val lastValue = valueSnapshot() regex 287 lastValue,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/ |
H A D | ConnectedDisplayInteractorTest.kt | 56 val value by lastValue() 66 val value by lastValue() 76 val value by lastValue() 86 val value by lastValue() 96 val value by lastValue() 108 val value by lastValue() 120 val value by lastValue() 132 private fun TestScope.lastValue(): FlowValue<State?> =
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/ |
H A D | MobileUiAdapter.kt | 51 private var lastValue: List<Int>? = null 61 lastValue = it 75 pw.println("Last values sent to icon controller: $lastValue")
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
H A D | Element.kt | 240 lastValue = { element.lastAlpha }, 278 lastValue = { 331 lastValue = { 332 val lastValue = element.lastOffset regex 333 if (lastValue.isSpecified) { 334 lastValue 377 lastValue: () -> T, 390 return lastValue()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | Roundable.kt | 90 val lastValue = roundnessMap.values.maxOrNull() ?: 0f regex 101 if (lastValue != newValue) { 108 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f 159 val lastValue = roundnessMap.values.maxOrNull() ?: 0f regex 170 if (lastValue != newValue) { 177 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/coroutines/ |
H A D | FlowTest.kt | 21 val lastValue by collectLastValue(flow) regex 22 assertThat(lastValue).isEqualTo(2)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/ |
H A D | FontScalingDialog.kt | 181 var lastValue = strEntryValues[0].toFloat() regex 184 if (value < lastValue + (thisValue - lastValue) * .5f) { 187 lastValue = thisValue
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/log/ |
H A 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()
|
/aosp14/system/core/libutils/ |
H A D | LruCache_test.cpp | 113 EntryRemovedCallback() : callbackCount(0), lastKey(-1), lastValue(nullptr) { } in EntryRemovedCallback() 118 lastValue = v; in operator ()() 122 StringValue lastValue; member in android::EntryRemovedCallback 312 EXPECT_STREQ("one", callback.lastValue); in TEST_F()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | BundleMerger.java | 244 final Object lastValue = last.get(key); in merge() local 246 res.putObject(key, merge(strategy, firstValue, lastValue)); in merge() 249 + lastValue + " using strategy " + strategy, e); in merge()
|
H A D | Parcel.java | 389 private static native void nativeRestoreAllowFds(long nativePtr, boolean lastValue); in nativeRestoreAllowFds() argument 764 public final void restoreAllowFds(boolean lastValue) { in restoreAllowFds() argument 765 nativeRestoreAllowFds(mNativePtr, lastValue); in restoreAllowFds()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
H A D | KeyguardTransitionRepositoryTest.kt | 239 val lastValue = fractions[fractions.size - 1].toFloat() regex 241 if (lastValue < 1f) { 247 .isEqualTo(TransitionStep(from, to, lastValue, status, OWNER_NAME))
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/ |
H A D | Swipeable.kt | 246 lastValue = anchors.getOffset(currentValue) ?: offset.value, 360 lastValue = lastAnchor, 750 lastValue: Float, 758 0 -> lastValue 763 if (lastValue <= offset) {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/data/repository/ |
H A D | KeyboardRepositoryTest.kt | 202 val lastValue = collectLastValue(flow) regex 206 return lastValue
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
H A D | CustomizedAppBar.kt | 587 var lastValue = 0f regex 593 val delta = value - lastValue 597 lastValue = value
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 188 static void android_os_Parcel_restoreAllowFds(jlong nativePtr, jboolean lastValue) in android_os_Parcel_restoreAllowFds() argument 192 parcel->restoreAllowFds((bool)lastValue); in android_os_Parcel_restoreAllowFds()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
H A D | UserInteractorTest.kt | 174 val lastValue = collectLastValue(underTest.dialogDismissRequests) regex 175 assertNotNull(lastValue)
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 1332 final boolean lastValue = lastValues.get(network.getNetId(), false); in updateCapabilityChange() 1333 final boolean changed = (lastValue != newValue) in updateCapabilityChange()
|