/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/ |
D | WorkModeTileUserActionInteractorTest.kt | 51 val wasEnabled = true in <lambda>() constant 52 profileController.isWorkModeEnabled = wasEnabled in <lambda>() 55 QSTileInputTestKtx.click(WorkModeTileModel.HasActiveProfile(wasEnabled)) in <lambda>() 58 assertThat(profileController.isWorkModeEnabled).isEqualTo(!wasEnabled) in <lambda>() 63 val wasEnabled = false in <lambda>() constant 64 profileController.isWorkModeEnabled = wasEnabled in <lambda>() 67 QSTileInputTestKtx.click(WorkModeTileModel.HasActiveProfile(wasEnabled)) in <lambda>() 70 assertThat(profileController.isWorkModeEnabled).isEqualTo(!wasEnabled) in <lambda>() 75 val wasEnabled = false in <lambda>() constant 76 profileController.isWorkModeEnabled = wasEnabled in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/inversion/domain/interactor/ |
D | ColorInversionUserActionInteractorTest.kt | 52 val wasEnabled = true in <lambda>() constant 53 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 55 underTest.handleInput(QSTileInputTestKtx.click(ColorInversionTileModel(wasEnabled))) in <lambda>() 57 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>() 62 val wasEnabled = false in <lambda>() constant 63 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 65 underTest.handleInput(QSTileInputTestKtx.click(ColorInversionTileModel(wasEnabled))) in <lambda>() 67 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/interactor/ |
D | ColorCorrectionTileUserActionInteractorTest.kt | 52 val wasEnabled = true in <lambda>() constant 53 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 55 underTest.handleInput(QSTileInputTestKtx.click(ColorCorrectionTileModel(wasEnabled))) in <lambda>() 57 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>() 62 val wasEnabled = false in <lambda>() constant 63 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 65 underTest.handleInput(QSTileInputTestKtx.click(ColorCorrectionTileModel(wasEnabled))) in <lambda>() 67 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/domain/interactor/ |
D | ReduceBrightColorsTileUserActionInteractorTest.kt | 52 val wasEnabled = true in <lambda>() constant 53 controller.isReduceBrightColorsActivated = wasEnabled in <lambda>() 55 underTest.handleInput(QSTileInputTestKtx.click(ReduceBrightColorsTileModel(wasEnabled))) in <lambda>() 57 assertThat(controller.isReduceBrightColorsActivated).isEqualTo(!wasEnabled) in <lambda>() 62 val wasEnabled = false in <lambda>() constant 63 controller.isReduceBrightColorsActivated = wasEnabled in <lambda>() 65 underTest.handleInput(QSTileInputTestKtx.click(ReduceBrightColorsTileModel(wasEnabled))) in <lambda>() 67 assertThat(controller.isReduceBrightColorsActivated).isEqualTo(!wasEnabled) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/domain/interactor/ |
D | RotationLockTileUserActionInteractorTest.kt | 50 val wasEnabled = true in <lambda>() constant 51 controller.setRotationLocked(wasEnabled, null) in <lambda>() 53 underTest.handleInput(QSTileInputTestKtx.click(RotationLockTileModel(wasEnabled, false))) in <lambda>() 55 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>() 60 val wasEnabled = false in <lambda>() constant 61 controller.setRotationLocked(wasEnabled, null) in <lambda>() 63 underTest.handleInput(QSTileInputTestKtx.click(RotationLockTileModel(wasEnabled, false))) in <lambda>() 65 assertThat(controller.isRotationLocked).isEqualTo(!wasEnabled) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/onehanded/domain/interactor/ |
D | OneHandedModeTileUserActionInteractorTest.kt | 53 val wasEnabled = true in <lambda>() constant 54 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 57 QSTileInputTestKtx.click(OneHandedModeTileModel(wasEnabled), testUser) in <lambda>() 60 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>() 65 val wasEnabled = false in <lambda>() constant 66 repository.setIsEnabled(wasEnabled, testUser) in <lambda>() 69 QSTileInputTestKtx.click(OneHandedModeTileModel(wasEnabled), testUser) in <lambda>() 72 assertThat(repository.isEnabled(testUser).value).isEqualTo(!wasEnabled) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/interactor/ |
D | LocationTileUserActionInteractor.kt | 52 val wasEnabled: Boolean = input.data.isEnabled in handleInput() constant 56 locationController.setLocationEnabled(!wasEnabled) in handleInput() 61 locationController.setLocationEnabled(!wasEnabled) in handleInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | LocationTile.java | 98 final boolean wasEnabled = mState.value; in handleClick() 100 mController.setLocationEnabled(!wasEnabled); in handleClick() 104 final boolean wasEnabled = mState.value; in handleClick() 105 mController.setLocationEnabled(!wasEnabled); in handleClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/ |
D | DataSaverTileUserActionInteractor.kt | 67 val wasEnabled: Boolean = data.isEnabled in <lambda>() constant 68 if (wasEnabled || sharedPreferences.getBoolean(DIALOG_SHOWN, false)) { in <lambda>() 70 dataSaverController.setDataSaverEnabled(!wasEnabled) in <lambda>()
|
/frameworks/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 39 bool wasEnabled = mIsEnabled; in setEnabled() local 41 if (isEnabled != wasEnabled) { in setEnabled() 79 return wasEnabled; in setEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LatencyTester.java | 110 boolean wasEnabled = mEnabled; in updateEnabled() 114 if (mEnabled != wasEnabled) { in updateEnabled()
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractPerUserSystemService.java | 145 final boolean wasEnabled = isEnabledLocked(); in updateLocked() 147 Slog.v(mTag, "updateLocked(u=" + mUserId + "): wasEnabled=" + wasEnabled in updateLocked() 168 return wasEnabled != isEnabledLocked(); in updateLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | CommonVisualInterruptionSuppressors.kt | 71 val wasEnabled = isEnabled in shouldSuppress() constant 82 if (wasEnabled && !isEnabled) { in shouldSuppress()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LatencyTracker.java | 394 boolean wasEnabled = mEnabled; in updateProperties() 396 if (wasEnabled != mEnabled) { in updateProperties()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 812 final boolean wasEnabled = mBatterySaverController.isFullEnabled(); in enableBatterySaverLocked() 814 if (wasEnabled == enable) { in enableBatterySaverLocked()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 2764 Boolean wasEnabled = index < 0 ? null : mEnabled.valueAt(index); 2765 if (wasEnabled != null && wasEnabled == enabled) { 2772 if (wasEnabled != null || enabled) { 2788 if (wasEnabled != null) {
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 3232 boolean wasEnabled = mEnabled; in setBackupEnabled() 3240 updateStateOnBackupEnabled(wasEnabled, enable); in setBackupEnabled() 3250 boolean wasEnabled = isFrameworkSchedulingEnabled(); in setFrameworkSchedulingEnabled() 3251 if (wasEnabled == isEnabled) { in setFrameworkSchedulingEnabled() 3286 void updateStateOnBackupEnabled(boolean wasEnabled, boolean enable) { in updateStateOnBackupEnabled() argument 3288 if (enable && !wasEnabled && mSetupComplete) { in updateStateOnBackupEnabled() 3303 if (wasEnabled && mSetupComplete) { in updateStateOnBackupEnabled()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 347 void updateStateOnBackupEnabled(boolean wasEnabled, boolean enable) {} in updateStateOnBackupEnabled() argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplayMapper.java | 1069 final boolean wasEnabled = fromDisplay == null || fromDisplay.isEnabled(); in resetLayoutLocked() 1084 || (wasEnabled != willBeEnabled) in resetLayoutLocked()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 1456 final boolean wasEnabled = isEnabled(); in setStateLocked() 1467 if (wasEnabled != isEnabled()) { in setStateLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3824 boolean wasEnabled = mPermissionHelper.hasPermission(uid); 3825 if (wasEnabled == enabled) {
|