Home
last modified time | relevance | path

Searched refs:assertFalse (Results 1 – 25 of 839) sorted by relevance

12345678910>>...34

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DDumpUtilsTest.java55 assertFalse(isPlatformPackage((String) null)); in testIsPlatformPackage()
56 assertFalse(isPlatformPackage("com.google")); in testIsPlatformPackage()
62 assertFalse(isPlatformPackage(cn(null))); in testIsPlatformPackage()
63 assertFalse(isPlatformPackage(cn("com.google.def/abc"))); in testIsPlatformPackage()
69 assertFalse(isPlatformPackage(wcn(null))); in testIsPlatformPackage()
70 assertFalse(isPlatformPackage(wcn("com.google.def/abc"))); in testIsPlatformPackage()
74 assertFalse(isNonPlatformPackage("android")); in testIsNonPlatformPackage()
75 assertFalse(isNonPlatformPackage("android.abc")); in testIsNonPlatformPackage()
76 assertFalse(isNonPlatformPackage("com.android.abc")); in testIsNonPlatformPackage()
78 assertFalse(isNonPlatformPackage((String) null)); in testIsNonPlatformPackage()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageVerificationStateTest.java34 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_OnlyRequiredVerifier_AllowedInstall()
50 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall()
58 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall()
66 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
71 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
76 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
84 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
92 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
97 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
102 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
[all …]
DUserRestrictionsUtilsTest.java71 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_RECORD_AUDIO)); in testCanDeviceOwnerChange()
72 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_WALLPAPER)); in testCanDeviceOwnerChange()
79 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
81 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
83 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
91 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
93 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
95 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
97 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
163 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
[all …]
DUserSystemPackageInstallerTest.java33 import static org.junit.Assert.assertFalse;
272 assertFalse(UserSystemPackageInstaller.shouldInstallPackage( in testShouldInstallPackage()
274 assertFalse(UserSystemPackageInstaller.shouldInstallPackage( in testShouldInstallPackage()
276 assertFalse(UserSystemPackageInstaller.shouldInstallPackage( in testShouldInstallPackage()
283 assertFalse(UserSystemPackageInstaller.shouldInstallPackage( in testShouldInstallPackage()
285 assertFalse(UserSystemPackageInstaller.shouldInstallPackage( in testShouldInstallPackage()
429 assertFalse("Should not install static overlay for package2", UserSystemPackageInstaller in testInstallOverlayPackagesExplicitMode()
431 assertFalse("Should not install regular overlay for package1", UserSystemPackageInstaller in testInstallOverlayPackagesExplicitMode()
455 assertFalse(mUserSystemPackageInstaller.isLogMode()); in testSetWhitelistEnabledMode()
456 assertFalse(mUserSystemPackageInstaller.isEnforceMode()); in testSetWhitelistEnabledMode()
[all …]
DShortcutManagerTest6.java29 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
30 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
31 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
52 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
65 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_multiUser()
67 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_multiUser()
68 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_multiUser()
74 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_10)); in testHasShortcutHostPermissionInner_multiUser()
75 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_10)); in testHasShortcutHostPermissionInner_multiUser()
76 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_10)); in testHasShortcutHostPermissionInner_multiUser()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java22 import static junit.framework.Assert.assertFalse;
94 assertFalse(a.isStarted()); in testStartDelay()
95 assertFalse(a.isRunning()); in testStartDelay()
99 assertFalse(a.isRunning()); in testStartDelay()
116 assertFalse(a.isStarted()); in testStartDelay()
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()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBytesMatcherTest.java38 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()
48 assertFalse(matcher.test(hexStringToByteArray("cafe00"))); in testExact()
56 assertFalse(matcher.test(hexStringToByteArray("beef"))); in testMask()
57 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testMask()
58 assertFalse(matcher.test(hexStringToByteArray("cafe00"))); in testMask()
65 assertFalse(matcher.test(hexStringToByteArray("caff"))); in testPrefix()
67 assertFalse(matcher.test(hexStringToByteArray("ca"))); in testPrefix()
[all …]
DPackageTagsListTest.java20 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()
88 assertFalse(list.contains("package1", "attr3")); in testPackageTagsList_BuildFromMap()
89 assertFalse(list.containsAll("package1")); in testPackageTagsList_BuildFromMap()
90 assertFalse(list.includes("package3")); in testPackageTagsList_BuildFromMap()
96 assertFalse(list.contains(bigList)); in testPackageTagsList_BuildFromMap()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerPropertyTests.java20 import static org.junit.Assert.assertFalse;
41 assertFalse(p.isFloat()); in testBooleanProperty()
42 assertFalse(p.isInteger()); in testBooleanProperty()
43 assertFalse(p.isResourceId()); in testBooleanProperty()
44 assertFalse(p.isString()); in testBooleanProperty()
65 assertFalse(p.isBoolean()); in testFloatProperty()
67 assertFalse(p.isInteger()); in testFloatProperty()
68 assertFalse(p.isResourceId()); in testFloatProperty()
69 assertFalse(p.isString()); in testFloatProperty()
70 assertFalse(p.getBoolean()); in testFloatProperty()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java20 import static org.junit.Assert.assertFalse;
95 assertFalse(parser.hasStorageInterface()); in testHeadsetDescriptorParser()
114 assertFalse(parser.hasInput()); in testHeadphoneDescriptorParser()
116 assertFalse(parser.isInputHeadset()); in testHeadphoneDescriptorParser()
121 assertFalse(parser.hasStorageInterface()); in testHeadphoneDescriptorParser()
140 assertFalse(parser.hasInput()); in testLineoutDescriptorParser()
142 assertFalse(parser.isInputHeadset()); in testLineoutDescriptorParser()
143 assertFalse(parser.isOutputHeadset()); in testLineoutDescriptorParser()
147 assertFalse(parser.hasStorageInterface()); in testLineoutDescriptorParser()
162 assertFalse(parser.hasInput()); in testNothingDescriptorParser()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPersistentConnectionTest.java127 assertFalse(conn.isBound()); in testAll()
128 assertFalse(conn.isConnected()); in testAll()
129 assertFalse(conn.isRebindScheduled()); in testAll()
142 assertFalse(conn.isConnected()); in testAll()
143 assertFalse(conn.isRebindScheduled()); in testAll()
162 assertFalse(conn.isRebindScheduled()); in testAll()
171 assertFalse(conn.isBound()); in testAll()
172 assertFalse(conn.shouldBeBoundForTest()); in testAll()
173 assertFalse(conn.isConnected()); in testAll()
175 assertFalse(conn.isRebindScheduled()); in testAll()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximitySensorDualTest.java20 import static org.junit.Assert.assertFalse;
70 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyAbovePrimary()
77 assertFalse(listener.mLastEvent.getBelow()); in testInitiallyAbovePrimary()
88 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAboveSecondary()
99 assertFalse(listener.mLastEvent.getBelow()); in testInitiallyBelowPrimaryAboveSecondary()
110 assertFalse(mThresholdSensorPrimary.isPaused()); in testInitiallyBelowPrimaryAndSecondary()
131 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
138 assertFalse(mThresholdSensorPrimary.isPaused()); in testPrimaryBelowDoesNotInvokeSecondary()
146 assertFalse(mProximitySensor.isRegistered()); in testSingleListener()
149 assertFalse(mThresholdSensorPrimary.isPaused()); in testSingleListener()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimServiceTableTest.java40 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()
47 assertFalse(testTable2.isAvailable(UsimServiceTable.UsimService.NAS_CONFIG_BY_USIM)); in testUsimServiceTable()
50 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable()
51 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.BDN_EXTENSION)); in testUsimServiceTable()
53 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.INCOMING_CALL_INFO)); in testUsimServiceTable()
54 assertFalse(testTable3.isAvailable(UsimServiceTable.UsimService.NAS_CONFIG_BY_USIM)); in testUsimServiceTable()
57 assertFalse(testTable4.isAvailable(UsimServiceTable.UsimService.PHONEBOOK)); in testUsimServiceTable()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFocusableTest.java60 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 …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptOptionsTests.java23 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()
56 assertFalse(opt.isDexoptInstallWithDexMetadata()); in testCreateDexoptOptionsEmpty()
57 assertFalse(opt.isDexoptInstallForRestore()); in testCreateDexoptOptionsEmpty()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java40 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()
74 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen()
77 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen()
80 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen()
83 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/android/provider/settings/validators/
DSettingsValidatorsTest.java21 import static org.junit.Assert.assertFalse;
54 assertFalse(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("-1")); in testNonNegativeIntegerValidator()
55 assertFalse(SettingsValidators.NON_NEGATIVE_INTEGER_VALIDATOR.validate("rectangle")); in testNonNegativeIntegerValidator()
68 assertFalse(SettingsValidators.ANY_INTEGER_VALIDATOR.validate("rectangle")); in testAnyIntegerValidator()
85 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate("rectangle")); in testComponentNameValidator()
90 assertFalse(SettingsValidators.COMPONENT_NAME_VALIDATOR.validate(null)); in testComponentNameValidator_onNullValue_returnsFalse()
106 assertFalse(SettingsValidators.NULLABLE_COMPONENT_NAME_VALIDATOR.validate( in testNullableComponentNameValidator_onInvalidComponentName_returnsFalse()
119 assertFalse(SettingsValidators.LOCALE_VALIDATOR.validate("rectangle")); in testLocaleValidator()
131 assertFalse(SettingsValidators.PACKAGE_NAME_VALIDATOR.validate("com.google.@android")); in testPackageNameValidator()
132 assertFalse(SettingsValidators.PACKAGE_NAME_VALIDATOR.validate(".com.google.android")); in testPackageNameValidator()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewTransientStateTest.java57 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 …]
/frameworks/base/core/tests/coretests/src/android/util/
DStateSetTest.java39 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()
92 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches()
108 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testEmptySetFailsPositives()
110 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet2)); in testEmptySetFailsPositives()
132 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testSingleStatePositiveMatches()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DProcessRecordTests.java23 import static org.junit.Assert.assertFalse;
125 assertFalse(mProcessErrorState.isNotResponding()); in testProcessDefaultAnrRelatedStatus()
126 assertFalse(mProcessErrorState.isCrashing()); in testProcessDefaultAnrRelatedStatus()
127 assertFalse(mProcessRecord.isKilledByAm()); in testProcessDefaultAnrRelatedStatus()
128 assertFalse(mProcessRecord.isKilled()); in testProcessDefaultAnrRelatedStatus()
139 assertFalse(mProcessErrorState.isNotResponding()); in testAnrWhenCrash()
140 assertFalse(mProcessRecord.isKilledByAm()); in testAnrWhenCrash()
141 assertFalse(mProcessRecord.isKilled()); in testAnrWhenCrash()
151 assertFalse(mProcessErrorState.isNotResponding()); in testAnrWhenKilledByAm()
152 assertFalse(mProcessErrorState.isCrashing()); in testAnrWhenKilledByAm()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRadioConfigResponseTest.java21 import static org.junit.Assert.assertFalse;
48 assertFalse( in testVersion_1_5()
50 assertFalse( in testVersion_1_5()
52 assertFalse( in testVersion_1_5()
55 assertFalse( in testVersion_1_5()
57 assertFalse( in testVersion_1_5()
64 assertFalse( in testReducedFeatureSet()
68 assertFalse( in testReducedFeatureSet()
71 assertFalse( in testReducedFeatureSet()
73 assertFalse( in testReducedFeatureSet()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java19 import static junit.framework.Assert.assertFalse;
347 assertFalse(ApnSettingUtils.isMetered( in testIsMetered()
350 assertFalse(ApnSettingUtils.isMetered( in testIsMetered()
355 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_SUPL, mPhone)); in testIsMetered()
356 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_CBS, mPhone)); in testIsMetered()
357 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DUN, mPhone)); in testIsMetered()
358 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_FOTA, mPhone)); in testIsMetered()
359 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_IA, mPhone)); in testIsMetered()
360 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_HIPRI, mPhone)); in testIsMetered()
361 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_XCAP, mPhone)); in testIsMetered()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java42 import static org.junit.Assert.assertFalse;
236 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CHARGING)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
237 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
238 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BATTERY_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
239 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
240 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
241 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
242 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
243 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
272 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CHARGING)); in testWouldBeReadyWithConstraint_RequestedCharging()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java25 import static org.junit.Assert.assertFalse;
75 assertFalse(item.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem()
82 assertFalse(item2.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem()
90 assertFalse(item.equals(emptyItem)); in testRecycleActivityResultItem()
97 assertFalse(item2.equals(emptyItem)); in testRecycleActivityResultItem()
105 assertFalse(item.equals(emptyItem)); in testRecycleConfigurationChangeItem()
112 assertFalse(item2.equals(emptyItem)); in testRecycleConfigurationChangeItem()
120 assertFalse(item.equals(emptyItem)); in testRecycleDestroyActivityItem()
127 assertFalse(item2.equals(emptyItem)); in testRecycleDestroyActivityItem()
164 assertFalse(item.equals(emptyItem)); in testRecycleLaunchActivityItem()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java28 import static junit.framework.Assert.assertFalse;
176 assertFalse(r.canBubble()); in testAppYesChannelNo()
177 assertFalse(r.getNotification().isBubbleNotification()); in testAppYesChannelNo()
219 assertFalse(r.canBubble()); in testAppYesChannelYesFeatureNo()
220 assertFalse(r.getNotification().isBubbleNotification()); in testAppYesChannelYesFeatureNo()
234 assertFalse(r.canBubble()); in testAppNoChannelYes()
235 assertFalse(r.getNotification().isBubbleNotification()); in testAppNoChannelYes()
249 assertFalse(r.canBubble()); in testAppNoChannelDefault()
250 assertFalse(r.getNotification().isBubbleNotification()); in testAppNoChannelDefault()
264 assertFalse(r.canBubble()); in testAppSelectedChannelDefault()
[all …]

12345678910>>...34