/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
H A D | SpacingAndPunctuationsTests.java | 20 import static org.junit.Assert.assertFalse; 126 assertFalse("Number", sp.isWordSeparator('#')); in testingStandardWordSeparator() 127 assertFalse("Dollar", sp.isWordSeparator('$')); in testingStandardWordSeparator() 128 assertFalse("Percent", sp.isWordSeparator('%')); in testingStandardWordSeparator() 136 assertFalse("Minus", sp.isWordSeparator('-')); in testingStandardWordSeparator() 385 assertFalse(THAI.mCurrentLanguageHasSpaces); in testLanguageHasSpace() 387 assertFalse(LAOS_LAO.mCurrentLanguageHasSpaces); in testLanguageHasSpace() 399 assertFalse(FRENCH.mUsesAmericanTypography); in testUsesAmericanTypography() 400 assertFalse(GERMAN.mUsesAmericanTypography); in testUsesAmericanTypography() 406 assertFalse(ENGLISH.mUsesGermanRules); in testUsesGermanRules() [all …]
|
/aosp12/art/test/021-string2/src/ |
H A D | Main.java | 597 Assert.assertFalse( in testEqualsConstString() 632 Assert.assertFalse( in testEqualsConstString() 634 Assert.assertFalse( in testEqualsConstString() 636 Assert.assertFalse( in testEqualsConstString() 642 Assert.assertFalse( in testEqualsConstString() 644 Assert.assertFalse( in testEqualsConstString() 646 Assert.assertFalse( in testEqualsConstString() 648 Assert.assertFalse( in testEqualsConstString() 696 Assert.assertFalse( in testConstStringEquals() 731 Assert.assertFalse( in testConstStringEquals() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | DumpUtilsTest.java | 55 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage() 56 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage() 62 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage() 69 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage() 74 assertFalse(isNonPlatformPackage("android")); in testIsNonPlatformPackage() 75 assertFalse(isNonPlatformPackage("android.abc")); in testIsNonPlatformPackage() 78 assertFalse(isNonPlatformPackage((String) null)); in testIsNonPlatformPackage() 85 assertFalse(isNonPlatformPackage(cn(null))); in testIsNonPlatformPackage() 92 assertFalse(isNonPlatformPackage(wcn(null))); in testIsNonPlatformPackage() 106 assertFalse(isPlatformCriticalPackage(null)); in testIsPlatformCriticalPackage() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | RouteInfoTest.java | 26 import static org.junit.Assert.assertFalse; 199 assertFalse(r.isHostRoute()); in testHostAndDefaultRoutes() 202 assertFalse(r.isIPv6Default()); in testHostAndDefaultRoutes() 209 assertFalse(r.isHostRoute()); in testHostAndDefaultRoutes() 211 assertFalse(r.isIPv4Default()); in testHostAndDefaultRoutes() 219 assertFalse(r.isHostRoute()); in testHostAndDefaultRoutes() 221 assertFalse(r.isIPv4Default()); in testHostAndDefaultRoutes() 222 assertFalse(r.isIPv6Default()); in testHostAndDefaultRoutes() 229 assertFalse(r.isHostRoute()); in testHostAndDefaultRoutes() 309 assertFalse(r.isHostRoute()); in testHostAndDefaultRoutes() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 129 assertFalse(l1.startCalled); in testListenerCallbacks() 130 assertFalse(l1.cancelCalled); in testListenerCallbacks() 131 assertFalse(l1.endCalled); in testListenerCallbacks() 132 assertFalse(l2.startCalled); in testListenerCallbacks() 133 assertFalse(l2.cancelCalled); in testListenerCallbacks() 134 assertFalse(l2.endCalled); in testListenerCallbacks() 192 assertFalse(a1.isStarted()); in testIsStarted() 193 assertFalse(a2.isStarted()); in testIsStarted() 194 assertFalse(a1.isRunning()); in testIsStarted() 195 assertFalse(a2.isRunning()); in testIsStarted() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageVerificationStateTest.java | 58 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall() 84 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall() 215 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationPasses() 219 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationPasses() 225 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyIntegrityCheckPasses() 229 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyIntegrityCheckPasses() 235 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_bothPasses() 246 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationFails() 250 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyVerificationFails() 256 assertFalse(state.areAllVerificationsComplete()); in testAreAllVerificationsComplete_onlyIntegrityCheckFails() [all …]
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | LocaleSetTest.java | 48 assertFalse(LocaleSet.isLanguageChinese(Locale.JAPANESE)); in testIsLanguageChinese() 49 assertFalse(LocaleSet.isLanguageChinese(Locale.ENGLISH)); in testIsLanguageChinese() 71 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.JAPAN)); in testIsLocaleSimplifiedChinese() 96 assertFalse(LocaleSet.isLanguageJapanese(Locale.ENGLISH)); in testIsLanguageJapanese() 105 assertFalse(LocaleSet.isLanguageKorean(Locale.JAPANESE)); in testIsLanguageKorean() 106 assertFalse(LocaleSet.isLanguageKorean(Locale.JAPAN)); in testIsLanguageKorean() 107 assertFalse(LocaleSet.isLanguageKorean(Locale.ENGLISH)); in testIsLanguageKorean() 118 assertFalse(LocaleSet.isLocaleCJK(Locale.ENGLISH)); in testIsLocaleCJK() 122 assertFalse(LocaleSet.newForTest(Locale.ENGLISH) in testShouldPreferJapanese() 144 assertFalse(LocaleSet.newForTest(Locale.ENGLISH) in testShouldPreferSimplifiedChinese() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | BytesMatcherTest.java | 38 assertFalse(matcher.test(hexStringToByteArray("cafe"))); in testEmpty() 39 assertFalse(matcher.test(hexStringToByteArray(""))); in testEmpty() 46 assertFalse(matcher.test(hexStringToByteArray("beef"))); in testExact() 47 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testExact() 57 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testMask() 67 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testPrefix() 71 assertFalse(matcher.test(hexStringToByteArray("be"))); in testPrefix() 79 assertFalse(matcher.testMacAddress( in testMacAddress() 88 assertFalse(matcher.testBluetoothUuid( in testBluetoothUuid() 101 assertFalse(matcher.testBluetoothUuid( in testBluetoothUuid_Mixed() [all …]
|
/aosp12/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 …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerPropertyTests.java | 41 assertFalse(p.isFloat()); in testBooleanProperty() 42 assertFalse(p.isInteger()); in testBooleanProperty() 44 assertFalse(p.isString()); in testBooleanProperty() 65 assertFalse(p.isBoolean()); in testFloatProperty() 67 assertFalse(p.isInteger()); in testFloatProperty() 69 assertFalse(p.isString()); in testFloatProperty() 91 assertFalse(p.isFloat()); in testIntegerProperty() 94 assertFalse(p.isString()); in testIntegerProperty() 116 assertFalse(p.isFloat()); in testResourceProperty() 119 assertFalse(p.isString()); in testResourceProperty() [all …]
|
/aosp12/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 …]
|
/aosp12/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 …]
|
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
H A D | LocalCallingIdentityTest.java | 20 import static org.junit.Assert.assertFalse; 71 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_IS_SHELL)); in testFromSelf() 73 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_IS_DELEGATOR)); in testFromSelf() 101 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_IS_SELF)); in testFromExternal() 102 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_IS_SHELL)); in testFromExternal() 103 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_IS_MANAGER)); in testFromExternal() 111 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_READ_AUDIO)); in testFromExternal() 112 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_READ_VIDEO)); in testFromExternal() 113 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_READ_IMAGES)); in testFromExternal() 114 assertFalse(ident.hasPermission(LocalCallingIdentity.PERMISSION_WRITE_AUDIO)); in testFromExternal() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimServiceTableTest.java | 40 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable() 41 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.FDN)); in testUsimServiceTable() 42 assertFalse(testTable1.isAvailable(UsimServiceTable.UsimService.NAS_CONFIG_BY_USIM)); in testUsimServiceTable() 46 assertFalse(testTable2.isAvailable(UsimServiceTable.UsimService.FDN)); in testUsimServiceTable() 50 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable() 51 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.BDN_EXTENSION)); in testUsimServiceTable() 57 assertFalse(testTable4.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable() 58 assertFalse(testTable4.isAvailable(UsimServiceTable.UsimService.BDN_EXTENSION)); in testUsimServiceTable() 61 assertFalse(testTable4.isAvailable(UsimServiceTable.UsimService.SM_STORAGE)); in testUsimServiceTable() 65 assertFalse(testTable5.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable() [all …]
|
/aosp12/art/test/580-fp16/src-art/ |
H A D | Main.java | 47 static public void assertFalse(boolean condition) { in assertFalse() method in Main 212 assertFalse(FP16.greater(FP16.toHalf(12.3f), FP16.NaN)); in testGreater() 213 assertFalse(FP16.greater(FP16.NaN, FP16.toHalf(12.3f))); in testGreater() 215 assertFalse(FP16.greater(FP16.MIN_VALUE, FP16.MIN_NORMAL)); in testGreater() 284 assertFalse(FP16.less(FP16.NaN, FP16.toHalf(12.3f))); in testLess() 285 assertFalse(FP16.less(FP16.toHalf(12.3f), FP16.NaN)); in testLess() 287 assertFalse(FP16.less(FP16.MIN_NORMAL, FP16.MIN_VALUE)); in testLess() 298 assertFalse(FP16.less(FP16.toHalf(1.0f), FP16.toHalf(0.0f))); in testLess() 300 assertFalse(FP16.less(FP16.toHalf(1.0f), FP16.toHalf(1.0f))); in testLess() 318 assertFalse(FP16.lessEquals(FP16.NaN, FP16.toHalf(12.3f))); in testLessEquals() [all …]
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
H A D | BipTransformationTest.java | 34 Assert.assertFalse(trans.supportsAny()); in testCreateEmpty() 43 Assert.assertFalse(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation() 44 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation() 50 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation() 60 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddExistingTransformation() 66 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddExistingTransformation() 89 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testRemoveOnlyTransformation() 93 Assert.assertFalse(trans.isSupported(BipTransformation.CROP)); in testRemoveOnlyTransformation() 95 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testRemoveOnlyTransformation() 96 Assert.assertFalse(trans.supportsAny()); in testRemoveOnlyTransformation() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceHalTest.java | 406 assertFalse(mDut.find(1)); in testFind_success() 410 assertFalse(mDut.find(-1)); in testFind_success() 420 assertFalse(mDut.find(1)); in testFind_failure() 432 assertFalse(mDut.find(0)); in testFind_exception() 445 assertFalse(mDut.stopFind()); in testStopFind_success() 457 assertFalse(mDut.stopFind()); in testStopFind_failure() 469 assertFalse(mDut.stopFind()); in testStopFind_exception() 482 assertFalse(mDut.flush()); in testFlush_success() 494 assertFalse(mDut.flush()); in testFlush_failure() 506 assertFalse(mDut.flush()); in testFlush_exception() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | DexoptOptionsTests.java | 23 import static org.junit.Assert.assertFalse; 49 assertFalse(opt.isBootComplete()); in testCreateDexoptOptionsEmpty() 50 assertFalse(opt.isCheckForProfileUpdates()); in testCreateDexoptOptionsEmpty() 51 assertFalse(opt.isDexoptOnlySecondaryDex()); in testCreateDexoptOptionsEmpty() 52 assertFalse(opt.isDexoptOnlySharedDex()); in testCreateDexoptOptionsEmpty() 53 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsEmpty() 54 assertFalse(opt.isForce()); in testCreateDexoptOptionsEmpty() 55 assertFalse(opt.isDexoptIdleBackgroundJob()); in testCreateDexoptOptionsEmpty() 114 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsReason() 131 assertFalse(opt.isDexoptOnlySharedDex()); in testCreateDexoptOptionsSplit() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | KnownBandsChannelHelperTest.java | 26 import static org.junit.Assert.assertFalse; 369 assertFalse(mChannelCollection.isAllChannels()); in empty() 391 assertFalse(mChannelCollection.isAllChannels()); in clear() 408 assertFalse(mChannelCollection.isEmpty()); in addBand() 412 assertFalse(mChannelCollection.isAllChannels()); in addBand() 429 assertFalse(mChannelCollection.isEmpty()); in addChannel_single() 433 assertFalse(mChannelCollection.isAllChannels()); in addChannel_single() 451 assertFalse(mChannelCollection.isEmpty()); in addChannel_multiple() 473 assertFalse(mChannelCollection.isEmpty()); in addChannel_and_addBand_sameBand() 495 assertFalse(mChannelCollection.isEmpty()); in addChannel_and_addBand_withDifferentBandChannel() [all …]
|
/aosp12/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 …]
|
/aosp12/art/test/712-varhandle-invocations/src/ |
H A D | VarHandleBadCoordinateTests.java | 301 assertFalse(i == alignedIndex); in doTest() 307 assertFalse(i == alignedIndex); in doTest() 313 assertFalse(i == alignedIndex); in doTest() 319 assertFalse(i == alignedIndex); in doTest() 325 assertFalse(i == alignedIndex); in doTest() 331 assertFalse(i == alignedIndex); in doTest() 337 assertFalse(i == alignedIndex); in doTest() 343 assertFalse(i == alignedIndex); in doTest() 349 assertFalse(i == alignedIndex); in doTest() 355 assertFalse(i == alignedIndex); in doTest() [all …]
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | ShiftModeTests.java | 43 assertFalse("Caps after letter", isCapsModeAutoShifted()); in testTypicalSentence() 45 assertFalse("Caps after space", isCapsModeAutoShifted()); in testTypicalSentence() 47 assertFalse("Caps after comma", isCapsModeAutoShifted()); in testTypicalSentence() 49 assertFalse("Caps after comma space", isCapsModeAutoShifted()); in testTypicalSentence() 51 assertFalse("Caps directly after period", isCapsModeAutoShifted()); in testTypicalSentence() 59 assertFalse("Caps state after one letter", isCapsModeAutoShifted()); in testBackspace() 84 assertFalse("(English) Auto caps after digits-period", isCapsModeAutoShifted()); in testAutoCapsAfterDigitsPeriod() 90 assertFalse("(French) Auto caps after digits-period", isCapsModeAutoShifted()); in testAutoCapsAfterDigitsPeriod() 96 assertFalse("(German) Auto caps after digits-period", isCapsModeAutoShifted()); in testAutoCapsAfterDigitsPeriod() 116 assertFalse("(Armenian) No auto-caps after latin period", isCapsModeAutoShifted()); in testOtherSentenceSeparators() [all …]
|
/aosp12/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardUtilsTests.java | 40 assertFalse(VCardUtils.containsOnlyPrintableAscii("\u0019")); in testContainsOnlyPrintableAscii() 41 assertFalse(VCardUtils.containsOnlyPrintableAscii("\u007F")); in testContainsOnlyPrintableAscii() 56 assertFalse(VCardUtils.containsOnlyNonCrLfPrintableAscii("\u0019")); in testContainsOnlyNonCrLfPrintableAscii() 57 assertFalse(VCardUtils.containsOnlyNonCrLfPrintableAscii("\u007F")); in testContainsOnlyNonCrLfPrintableAscii() 58 assertFalse(VCardUtils.containsOnlyNonCrLfPrintableAscii("\r")); in testContainsOnlyNonCrLfPrintableAscii() 59 assertFalse(VCardUtils.containsOnlyNonCrLfPrintableAscii("\n")); in testContainsOnlyNonCrLfPrintableAscii() 122 assertFalse(VCardUtils.appearsLikeAndroidVCardQuotedPrintable("=")); in testAppearsLikeAndroidVCardQuotedPrintableByLength() 123 assertFalse(VCardUtils.appearsLikeAndroidVCardQuotedPrintable("=1")); in testAppearsLikeAndroidVCardQuotedPrintableByLength() 138 assertFalse(VCardUtils.appearsLikeAndroidVCardQuotedPrintable("=123")); in testAppearsLikeAndroidVCardQuotedPrintableByContent() 140 assertFalse(VCardUtils.appearsLikeAndroidVCardQuotedPrintable("_12=")); in testAppearsLikeAndroidVCardQuotedPrintableByContent() [all …]
|
/aosp12/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 …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
H A D | JobStatusTest.java | 42 import static org.junit.Assert.assertFalse; 236 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CHARGING)); in testWouldBeReadyWithConstraint_NonRequestedConstraints() 237 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints() 241 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints() 272 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CHARGING)); in testWouldBeReadyWithConstraint_RequestedCharging() 274 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CHARGING)); in testWouldBeReadyWithConstraint_RequestedCharging() 293 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle() 295 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle() 377 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline() 379 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline() [all …]
|