/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | DropboxRateLimiterTest.java | 20 import static org.junit.Assert.assertFalse; 47 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 48 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 49 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 50 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 51 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 52 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses() 63 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testBufferClearing() 64 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testBufferClearing() 65 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testBufferClearing() [all …]
|
H A D | ProcessRecordTests.java | 23 import static org.junit.Assert.assertFalse; 130 assertFalse(mProcessErrorState.isCrashing()); in testProcessDefaultAnrRelatedStatus() 131 assertFalse(mProcessRecord.isKilledByAm()); in testProcessDefaultAnrRelatedStatus() 132 assertFalse(mProcessRecord.isKilled()); in testProcessDefaultAnrRelatedStatus() 144 assertFalse(mProcessRecord.isKilledByAm()); in testAnrWhenCrash() 145 assertFalse(mProcessRecord.isKilled()); in testAnrWhenCrash() 156 assertFalse(mProcessErrorState.isCrashing()); in testAnrWhenKilledByAm() 157 assertFalse(mProcessRecord.isKilled()); in testAnrWhenKilledByAm() 169 assertFalse(mProcessRecord.isKilledByAm()); in testAnrWhenKilled() 181 assertFalse(mProcessRecord.isKilledByAm()); in testNonSilentAnr() [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | PackageVerificationStateTest.java | 562 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_timeoutSuccessWithSufficient() 563 assertFalse(state.isVerificationComplete()); in testAreAllVerificationsComplete_timeoutSuccessWithSufficient() 564 assertFalse(state.isInstallAllowed()); in testAreAllVerificationsComplete_timeoutSuccessWithSufficient() 568 assertFalse(state.isVerificationComplete()); in testAreAllVerificationsComplete_timeoutSuccessWithSufficient() 580 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationPasses() 584 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationPasses() 590 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyIntegrityCheckPasses() 594 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyIntegrityCheckPasses() 600 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_bothPasses() 611 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationFails() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | DumpUtilsTest.java | 64 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage() 65 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage() 71 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage() 78 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage() 83 assertFalse(isNonPlatformPackage("android")); in testIsNonPlatformPackage() 84 assertFalse(isNonPlatformPackage("android.abc")); in testIsNonPlatformPackage() 87 assertFalse(isNonPlatformPackage((String) null)); in testIsNonPlatformPackage() 94 assertFalse(isNonPlatformPackage(cn(null))); in testIsNonPlatformPackage() 101 assertFalse(isNonPlatformPackage(wcn(null))); in testIsNonPlatformPackage() 115 assertFalse(isPlatformCriticalPackage(null)); in testIsPlatformCriticalPackage() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 131 assertFalse(l1.startCalled); in testListenerCallbacks() 132 assertFalse(l1.cancelCalled); in testListenerCallbacks() 133 assertFalse(l1.endCalled); in testListenerCallbacks() 134 assertFalse(l2.startCalled); in testListenerCallbacks() 135 assertFalse(l2.cancelCalled); in testListenerCallbacks() 136 assertFalse(l2.endCalled); in testListenerCallbacks() 194 assertFalse(a1.isStarted()); in testIsStarted() 195 assertFalse(a2.isStarted()); in testIsStarted() 196 assertFalse(a1.isRunning()); in testIsStarted() 197 assertFalse(a2.isRunning()); in testIsStarted() [all …]
|
/aosp14/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
H A D | UsbDescriptorParserTests.java | 20 import static org.junit.Assert.assertFalse; 114 assertFalse(parser.hasInput()); in testHeadphoneDescriptorParser() 116 assertFalse(parser.isInputHeadset()); in testHeadphoneDescriptorParser() 140 assertFalse(parser.hasInput()); in testLineoutDescriptorParser() 142 assertFalse(parser.isInputHeadset()); in testLineoutDescriptorParser() 162 assertFalse(parser.hasInput()); in testNothingDescriptorParser() 163 assertFalse(parser.hasOutput()); in testNothingDescriptorParser() 164 assertFalse(parser.isInputHeadset()); in testNothingDescriptorParser() 184 assertFalse(parser.hasInput()); in testMassStorageDescriptorParser() 185 assertFalse(parser.hasOutput()); in testMassStorageDescriptorParser() [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | PersistentConnectionTest.java | 127 assertFalse(conn.isBound()); in testAll() 128 assertFalse(conn.isConnected()); in testAll() 171 assertFalse(conn.isBound()); in testAll() 218 assertFalse(conn.isBound()); in testAll() 257 assertFalse(conn.isBound()); in testAll() 285 assertFalse(conn.isBound()); in testAll() 300 assertFalse(conn.isBound()); in testAll() 346 assertFalse(conn.isBound()); in testReconnectFiresAfterUnbind() 354 assertFalse(conn.isBound()); in testReconnectFiresAfterUnbind() 363 assertFalse(conn.isBound()); in testReconnectFiresAfterUnbind() [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
H A D | BatteryControllerTest.java | 25 import static org.junit.Assert.assertFalse; 225 assertFalse( in testFlexibilityController_BatteryNotLow() 231 assertFalse( in testFlexibilityController_BatteryNotLow() 250 assertFalse( in testFlexibilityController_Charging_BatterNotLow() 256 assertFalse( in testFlexibilityController_Charging_BatterNotLow() 274 assertFalse( in testFlexibilityController_Charging_BatterNotLow() 407 assertFalse(trackedJobs.contains(unrelatedJob)); in testControllerOnlyTracksPowerJobs() 418 assertFalse(trackedJobs.contains(unrelatedJob)); in testControllerOnlyTracksPowerJobs() 439 assertFalse(trackedJobs.contains(batteryJob)); in testControllerOnlyTracksPowerJobs() 440 assertFalse(trackedJobs.contains(chargingJob)); in testControllerOnlyTracksPowerJobs() [all …]
|
H A D | JobStatusTest.java | 47 import static org.junit.Assert.assertFalse; 143 assertFalse(job.canRunInBatterySaver()); in testCanRunInBatterySaver_regular() 145 assertFalse(job.canRunInBatterySaver()); in testCanRunInBatterySaver_regular() 158 assertFalse(job.canRunInBatterySaver()); in testCanRunInBatterySaver_expedited() 190 assertFalse(job.canRunInDoze()); in testCanRunInDoze_regular() 192 assertFalse(job.canRunInDoze()); in testCanRunInDoze_regular() 205 assertFalse(job.canRunInDoze()); in testCanRunInDoze_expedited() 215 assertFalse(job.canRunInDoze()); in testCanRunInDoze_expedited() 239 assertFalse(job.isUserVisibleJob()); in testIsUserVisibleJob() 251 assertFalse(job.isUserVisibleJob()); in testIsUserVisibleJob() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerPropertyTests.java | 44 assertFalse(p.isFloat()); in testBooleanProperty() 45 assertFalse(p.isInteger()); in testBooleanProperty() 47 assertFalse(p.isString()); in testBooleanProperty() 68 assertFalse(p.isBoolean()); in testFloatProperty() 70 assertFalse(p.isInteger()); in testFloatProperty() 72 assertFalse(p.isString()); in testFloatProperty() 94 assertFalse(p.isFloat()); in testIntegerProperty() 97 assertFalse(p.isString()); in testIntegerProperty() 119 assertFalse(p.isFloat()); in testResourceProperty() 122 assertFalse(p.isString()); in testResourceProperty() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListFocusableTest.java | 60 assertFalse(mListView.isFocusable()); in testAdapterEmpty() 66 assertFalse(mListView.isFocusable()); in testAdapterNull() 82 assertFalse(mListView.isFocusable()); in testAdapterFullSetNonFocusable() 88 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable() 91 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable() 97 assertFalse(mListView.isFocusable()); in testAdapterEmptySetNonFocusable() 100 assertFalse(mListView.isFocusable()); in testAdapterEmptySetNonFocusable() 106 assertFalse(mListView.isFocusable()); in testAdapterNullSetFocusable() 109 assertFalse(mListView.isFocusable()); in testAdapterNullSetFocusable() 115 assertFalse(mListView.isFocusable()); in testAdapterNullSetNonFocusable() [all …]
|
/aosp14/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/ |
H A D | SettingsValidatorsTest.java | 21 import static org.junit.Assert.assertFalse; 165 assertFalse(v.validate("-1")); in testInclusiveIntegerRangeValidator() 166 assertFalse(v.validate("6")); in testInclusiveIntegerRangeValidator() 182 assertFalse(v.validate("-1.0")); in testInclusiveFloatRangeValidator() 183 assertFalse(v.validate("6.0")); in testInclusiveFloatRangeValidator() 198 assertFalse(v.validate("com.google.5android,android")); in testComponentNameListValidator() 205 assertFalse(v.validate(null)); in testComponentNameListValidator_onNullValue_returnsFalse() 219 assertFalse(v.validate(null)); in testPackageNameListValidator_onNullValue_returnsFalse() 264 assertFalse( in testTTSListValidator_withInvalidInput_returnsFalse() 271 assertFalse(SettingsValidators.TTS_LIST_VALIDATOR.validate("")); in testTTSListValidator_withEmptyInput_returnsFalse() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | StateSetTest.java | 39 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches() 42 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches() 63 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp() 67 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp() 86 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches() 89 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches() 132 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testSingleStatePositiveMatches() 135 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testSingleStatePositiveMatches() 145 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testSingleStateNegativeMatches() 160 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testZeroStateOnlyMatchesDefault() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewTransientStateTest.java | 57 assertFalse(mP3.hasTransientState()); in testSetTransientState1() 58 assertFalse(mP2.hasTransientState()); in testSetTransientState1() 59 assertFalse(mP1.hasTransientState()); in testSetTransientState1() 69 assertFalse(mP3.hasTransientState()); in testSetTransientState2() 70 assertFalse(mP2.hasTransientState()); in testSetTransientState2() 71 assertFalse(mP1.hasTransientState()); in testSetTransientState2() 81 assertFalse(mP3.hasTransientState()); in testSetTransientState3() 82 assertFalse(mP2.hasTransientState()); in testSetTransientState3() 83 assertFalse(mP1.hasTransientState()); in testSetTransientState3() 93 assertFalse(mP3.hasTransientState()); in testSetTransientState4() [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/ |
H A D | ThermalStatusRestrictionTest.java | 33 import static org.junit.Assert.assertFalse; 233 assertFalse(mThermalStatusRestriction.isJobRestricted(ej)); in testIsJobRestricted() 235 assertFalse(mThermalStatusRestriction.isJobRestricted(ejRetried)); in testIsJobRestricted() 236 assertFalse(mThermalStatusRestriction.isJobRestricted(ejRunning)); in testIsJobRestricted() 238 assertFalse(mThermalStatusRestriction.isJobRestricted(ui)); in testIsJobRestricted() 239 assertFalse(mThermalStatusRestriction.isJobRestricted(uiRetried)); in testIsJobRestricted() 240 assertFalse(mThermalStatusRestriction.isJobRestricted(uiRunning)); in testIsJobRestricted() 254 assertFalse(mThermalStatusRestriction.isJobRestricted(ej)); in testIsJobRestricted() 258 assertFalse(mThermalStatusRestriction.isJobRestricted(ui)); in testIsJobRestricted() 274 assertFalse(mThermalStatusRestriction.isJobRestricted(ej)); in testIsJobRestricted() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
H A D | ProximitySensorImplDualTest.java | 22 import static org.junit.Assert.assertFalse; 79 assertFalse(listener.mLastEvent.getBelow()); in testInitiallyAbovePrimary() 101 assertFalse(listener.mLastEvent.getBelow()); in testInitiallyBelowPrimaryAboveSecondary() 148 assertFalse(mProximitySensor.isRegistered()); in testSingleListener() 184 assertFalse(mProximitySensor.isRegistered()); in testSecondaryPausing() 203 assertFalse(listener.mLastEvent.getBelow()); in testSecondaryPausing() 219 assertFalse(mProximitySensor.isRegistered()); in testUnregister() 236 assertFalse(mProximitySensor.isRegistered()); in testUnregister() 302 assertFalse(listener.mLastEvent.getBelow()); in testPauseAndResume() 324 assertFalse(listener.mLastEvent.getBelow()); in testPrimarySecondaryDisagreement() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserRestrictionsUtilsTest.java | 80 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange_mainUser() 82 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange_mainUser() 84 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange_mainUser() 93 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange_notMainUser() 165 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual() 169 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual() 177 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual() 181 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual() 185 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual() 196 assertFalse(UserRestrictionsUtils.areEqual(a, b)); in testAreEqual() [all …]
|
H A D | UserSystemPackageInstallerTest.java | 33 import static org.junit.Assert.assertFalse; 457 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode() 458 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode() 465 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode() 471 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode() 478 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode() 479 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode() 485 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode() 486 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode() 492 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | DexoptOptionsTests.java | 23 import static org.junit.Assert.assertFalse; 52 assertFalse(opt.isBootComplete()); in testCreateDexoptOptionsEmpty() 53 assertFalse(opt.isCheckForProfileUpdates()); in testCreateDexoptOptionsEmpty() 54 assertFalse(opt.isDexoptOnlySecondaryDex()); in testCreateDexoptOptionsEmpty() 55 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsEmpty() 56 assertFalse(opt.isForce()); in testCreateDexoptOptionsEmpty() 57 assertFalse(opt.isDexoptIdleBackgroundJob()); in testCreateDexoptOptionsEmpty() 59 assertFalse(opt.isDexoptInstallForRestore()); in testCreateDexoptOptionsEmpty() 113 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsReason() 130 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsSplit() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PackageTagsListTest.java | 20 import static org.junit.Assert.assertFalse; 59 assertFalse(list.contains("package1", "attr3")); in testPackageTagsList() 60 assertFalse(list.contains("package4", "attr3")); in testPackageTagsList() 61 assertFalse(list.containsAll("package1")); in testPackageTagsList() 62 assertFalse(list.includes("package3")); in testPackageTagsList() 67 assertFalse(list.contains(bigList)); in testPackageTagsList() 89 assertFalse(list.containsAll("package1")); in testPackageTagsList_BuildFromMap() 90 assertFalse(list.includes("package3")); in testPackageTagsList_BuildFromMap() 96 assertFalse(list.contains(bigList)); in testPackageTagsList_BuildFromMap() 125 assertFalse(list.includes("package1")); in testPackageTagsList_Remove() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
H A D | ConfigurationInternalTest.java | 30 import static org.junit.Assert.assertFalse; 117 assertFalse(config.getLocationEnabledSetting()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() 120 assertFalse(config.isGeoDetectionExecutionEnabled()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() 149 assertFalse(config.getAutoDetectionEnabledSetting()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() 153 assertFalse(config.isGeoDetectionExecutionEnabled()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() 173 assertFalse(configuration.isAutoDetectionEnabled()); in test_telephonyAndGeoSupported_capabilitiesAndConfiguration() 237 assertFalse(config.getLocationEnabledSetting()); in test_autoDetectNotSupported_capabilitiesAndConfiguration() 283 assertFalse(configuration.isAutoDetectionEnabled()); in test_autoDetectNotSupported_capabilitiesAndConfiguration() 426 assertFalse(configuration.isGeoDetectionEnabled()); in test_onlyGeoSupported_capabilitiesAndConfiguration() 436 assertFalse(config.getLocationEnabledSetting()); in test_onlyGeoSupported_capabilitiesAndConfiguration() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
H A D | ObjectPoolTests.java | 25 import static org.junit.Assert.assertFalse; 74 assertFalse(item.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem() 81 assertFalse(item2.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem() 89 assertFalse(item.equals(emptyItem)); in testRecycleActivityResultItem() 96 assertFalse(item2.equals(emptyItem)); in testRecycleActivityResultItem() 104 assertFalse(item.equals(emptyItem)); in testRecycleConfigurationChangeItem() 111 assertFalse(item2.equals(emptyItem)); in testRecycleConfigurationChangeItem() 119 assertFalse(item.equals(emptyItem)); in testRecycleDestroyActivityItem() 126 assertFalse(item2.equals(emptyItem)); in testRecycleDestroyActivityItem() 164 assertFalse(item.equals(emptyItem)); in testRecycleLaunchActivityItem() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | BubbleExtractorTest.java | 176 assertFalse(r.canBubble()); in testAppYesChannelNo() 219 assertFalse(r.canBubble()); in testAppYesChannelYesFeatureNo() 234 assertFalse(r.canBubble()); in testAppNoChannelYes() 249 assertFalse(r.canBubble()); in testAppNoChannelDefault() 264 assertFalse(r.canBubble()); in testAppSelectedChannelDefault() 279 assertFalse(r.canBubble()); in testAppSelectedChannelNo() 310 assertFalse(r.canBubble()); in testAppSeletedChannelYesFeatureNo() 380 assertFalse(r.canBubble()); in testFlagBubble_false_noIntentInvalidShortcut() 397 assertFalse(r.canBubble()); in testFlagBubble_false_invalidIntentNoShortcut() 413 assertFalse(r.canBubble()); in testFlagBubble_false_noIntentNoShortcut() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
H A D | VisualStabilityCoordinatorTest.java | 21 import static junit.framework.Assert.assertFalse; 170 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenTurningOff_groupAndSectionChangesNotAllowed() 186 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testScreenTurningOn_groupAndSectionChangesNotAllowed() 218 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPanelExpanded_groupAndSectionChangesNotAllowed() 233 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPulsing_screenOff_groupAndSectionChangesNotAllowed() 249 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testPulsing_panelNotExpanded_groupAndSectionChangesNotAllowed() 269 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testOverrideReorderingSuppression_onlySectionChangesAllowed() 274 assertFalse(mNotifStabilityManager.isSectionChangeAllowed( in testOverrideReorderingSuppression_onlySectionChangesAllowed() 423 assertFalse(mNotifStabilityManager.isGroupChangeAllowed(mEntry)); in testNotSuppressingGroupChangesAnymore_invalidationCalled() 438 assertFalse(mNotifStabilityManager.isPipelineRunAllowed()); in testNotLaunchingActivityAnymore_invalidationCalled() [all …]
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | DisplayPowerProximityStateControllerTest.java | 22 import static org.junit.Assert.assertFalse; 111 assertFalse( in updatePendingProximityRequestsWorksAsExpectedWhenPending() 120 assertFalse( in updatePendingProximityRequestsWorksAsExpectedWhenNotPending() 138 assertFalse( in updatePendingProximityRequestsWorksAsExpectedWhenPendingAndProximityIgnored() 147 assertFalse( in updatePendingProximityRequestsWorksAsExpectedWhenPendingAndProximityIgnored() 157 assertFalse(mDisplayPowerProximityStateController.isProximitySensorEnabled()); in cleanupDisablesTheProximitySensor() 185 assertFalse(mDisplayPowerProximityStateController.isProximitySensorAvailable()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableAndNoDefault() 223 assertFalse(mDisplayPowerProximityStateController.isProximitySensorAvailable()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay() 263 assertFalse( in setPendingWaitForNegativeProximityLockedWorksAsExpected() 344 assertFalse(mDisplayPowerProximityStateController.isProximitySensorEnabled()); in evaluateProximityStateWhenDisplayIsTurningOff() [all …]
|