Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java49 assertFalse(owners.getLegacyConfigFileWithTestOverride().exists()); in testUpgrade01()
52 assertFalse(owners.getDeviceOwnerFileWithTestOverride().exists()); in testUpgrade01()
54 assertFalse(owners.getProfileOwnerFileWithTestOverride(10).exists()); in testUpgrade01()
55 assertFalse(owners.getProfileOwnerFileWithTestOverride(11).exists()); in testUpgrade01()
56 assertFalse(owners.getProfileOwnerFileWithTestOverride(20).exists()); in testUpgrade01()
57 assertFalse(owners.getProfileOwnerFileWithTestOverride(21).exists()); in testUpgrade01()
59 assertFalse(owners.hasDeviceOwner()); in testUpgrade01()
64 assertFalse(owners.getDeviceOwnerUserRestrictionsNeedsMigration()); in testUpgrade01()
65 assertFalse(owners.getProfileOwnerUserRestrictionsNeedsMigration(10)); in testUpgrade01()
66 assertFalse(owners.getProfileOwnerUserRestrictionsNeedsMigration(11)); in testUpgrade01()
[all …]
/frameworks/support/v4/tests/java/android/support/v4/app/
DFragmentTransitionTest.java107 assertFalse(mEndFragment.wasEndCalled(TestFragment.EXIT)); in testFirstOutLastInTransition()
108 assertFalse(mEndFragment.wasEndCalled(TestFragment.RETURN)); in testFirstOutLastInTransition()
109 assertFalse(mEndFragment.wasEndCalled(TestFragment.REENTER)); in testFirstOutLastInTransition()
112 assertFalse(mStartFragment.wasEndCalled(TestFragment.ENTER)); in testFirstOutLastInTransition()
113 assertFalse(mStartFragment.wasEndCalled(TestFragment.RETURN)); in testFirstOutLastInTransition()
114 assertFalse(mStartFragment.wasEndCalled(TestFragment.REENTER)); in testFirstOutLastInTransition()
116 assertFalse(mMidFragment.wasStartCalled(TestFragment.ENTER)); in testFirstOutLastInTransition()
117 assertFalse(mMidFragment.wasStartCalled(TestFragment.EXIT)); in testFirstOutLastInTransition()
118 assertFalse(mMidFragment.wasStartCalled(TestFragment.REENTER)); in testFirstOutLastInTransition()
119 assertFalse(mMidFragment.wasStartCalled(TestFragment.RETURN)); in testFirstOutLastInTransition()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java82 assertFalse(a.isStarted()); in testStartDelay()
83 assertFalse(a.isRunning()); in testStartDelay()
87 assertFalse(a.isRunning()); in testStartDelay()
104 assertFalse(a.isStarted()); in testStartDelay()
117 assertFalse(l1.startCalled); in testListenerCallbacks()
118 assertFalse(l1.cancelCalled); in testListenerCallbacks()
119 assertFalse(l1.endCalled); in testListenerCallbacks()
120 assertFalse(l2.startCalled); in testListenerCallbacks()
121 assertFalse(l2.cancelCalled); in testListenerCallbacks()
122 assertFalse(l2.endCalled); in testListenerCallbacks()
[all …]
DAnimatorSetActivityTest.java218 assertFalse(s.getListeners().contains(listener));
223 assertFalse(listener.startIsCalled);
224 assertFalse(listener.endIsCalled);
232 assertFalse(listener.endIsCalled);
263 assertFalse(s.getListeners().contains(listener));
275 assertFalse(listener.startIsCalled);
276 assertFalse(listener.endIsCalled);
286 assertFalse(listener.endIsCalled);
293 assertFalse(listener.endIsCalled);
305 assertFalse(s.isRunning());
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DRouteInfoTest.java90 assertFalse(r.matches(Address("2001:db8:f00::ace:d00e"))); in testMatches()
91 assertFalse(r.matches(Address("2001:db8:f00::bad:d00d"))); in testMatches()
92 assertFalse(r.matches(Address("2001:4868:4860::8888"))); in testMatches()
93 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches()
98 assertFalse(r.matches(Address("192.0.0.21"))); in testMatches()
99 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches()
103 assertFalse(ipv6Default.matches(Address("192.0.2.1"))); in testMatches()
108 assertFalse(ipv4Default.matches(Address("2001:db8::f00"))); in testMatches()
117 assertFalse(o1.equals(o2)); in assertAreNotEqual()
118 assertFalse(o2.equals(o1)); in assertAreNotEqual()
[all …]
DLinkPropertiesTest.java92 assertFalse(source == target); in testEqualsNull()
136 assertFalse(source.equals(target)); in testEqualsSameOrder()
149 assertFalse(source.equals(target)); in testEqualsSameOrder()
161 assertFalse(source.equals(target)); in testEqualsSameOrder()
173 assertFalse(source.equals(target)); in testEqualsSameOrder()
185 assertFalse(source.equals(target)); in testEqualsSameOrder()
267 assertFalse(lp.addRoute(r)); in testRouteInterfaces()
351 assertFalse("newname".equals(link.getInterfaceName())); in testStackedInterfaces()
361 assertFalse(rmnet0.removeStackedLink("clat4")); in testStackedInterfaces()
373 assertFalse(lp.hasIPv4Address()); in testAddressMethods()
[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()
49 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall()
57 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall()
64 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
69 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
74 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
82 assertFalse("Installation should be marked as allowed", in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall()
89 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
94 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
99 assertFalse("Verification should not be marked as complete yet", in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall()
[all …]
DUserRestrictionsUtilsTest.java51 assertFalse(UserRestrictionsUtils.isEmpty(DpmTestUtils.newRestrictions("a"))); in testIsEmpty()
85 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_RECORD_AUDIO)); in testCanDeviceOwnerChange()
86 assertFalse(UserRestrictionsUtils.canDeviceOwnerChange(UserManager.DISALLOW_WALLPAPER)); in testCanDeviceOwnerChange()
92 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
94 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
102 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
104 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
106 assertFalse(UserRestrictionsUtils.canProfileOwnerChange( in testCanProfileOwnerChange()
172 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
176 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListFocusableTest.java59 assertFalse(mListView.isFocusable()); in testAdapterEmpty()
65 assertFalse(mListView.isFocusable()); in testAdapterNull()
81 assertFalse(mListView.isFocusable()); in testAdapterFullSetNonFocusable()
87 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable()
90 assertFalse(mListView.isFocusable()); in testAdapterEmptySetFocusable()
96 assertFalse(mListView.isFocusable()); in testAdapterEmptySetNonFocusable()
99 assertFalse(mListView.isFocusable()); in testAdapterEmptySetNonFocusable()
105 assertFalse(mListView.isFocusable()); in testAdapterNullSetFocusable()
108 assertFalse(mListView.isFocusable()); in testAdapterNullSetFocusable()
114 assertFalse(mListView.isFocusable()); in testAdapterNullSetNonFocusable()
[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/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/core/tests/coretests/src/android/util/
DStateSetTest.java38 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
41 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetPositiveMatches()
62 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
66 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStatesSetMatchMixEmUp()
85 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches()
88 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches()
91 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testStateSetNegativeMatches()
107 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet)); in testEmptySetFailsPositives()
109 assertFalse(StateSet.stateSetMatches(stateSpec, stateSet2)); in testEmptySetFailsPositives()
131 assertFalse(StateSet.stateSetMatches(stateSpec, state)); in testSingleStatePositiveMatches()
[all …]
DPatternsTest.java50 assertFalse("Matched invalid TLD!", t); in testTldPattern()
53 assertFalse("Matched invalid TLD!", t); in testTldPattern()
56 assertFalse("Matched invalid TLD!", t); in testTldPattern()
88 assertFalse("Should not match 'mem'", pattern.matcher("mem").matches()); in testIanaTopLevelDomains_doesNotMatchWrongTld()
94 assertFalse("Should not match invalid Punycode TLD", pattern.matcher("xn").matches()); in testIanaTopLevelDomains_doesNotMatchWrongPunycodeTld()
181 assertFalse("Should not match URL with invalid protocol", in testWebUrl_doesNotMatchValidUrlWithInvalidProtocol()
269 assertFalse("Should not match Punycode TLD that starts with dash", in testAutoLinkWebUrl_doesNotMatchPunycodeTldThatStartsWithDash()
276 assertFalse("Should not match Punycode TLD that ends with dash", in testAutoLinkWebUrl_doesNotMatchPunycodeTldThatEndsWithDash()
309 assertFalse("Should not match URL with invalid protocol", in testAutoLinkWebUrl_doesNotMatchValidUrlWithInvalidProtocol()
352 assertFalse("Should not match URL that does not start with a protocol and " + in testAutoLinkWebUrl_doesNotMatchUrlsWithoutProtocolAndWithUnknownTld()
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTableLayoutBindingAdapterTest.java52 assertFalse(mView.isColumnCollapsed(0)); in testColumns()
54 assertFalse(mView.isColumnCollapsed(2)); in testColumns()
56 assertFalse(mView.isColumnShrinkable(0)); in testColumns()
58 assertFalse(mView.isColumnShrinkable(2)); in testColumns()
60 assertFalse(mView.isColumnStretchable(0)); in testColumns()
62 assertFalse(mView.isColumnStretchable(2)); in testColumns()
66 assertFalse(mView.isColumnCollapsed(0)); in testColumns()
67 assertFalse(mView.isColumnCollapsed(1)); in testColumns()
68 assertFalse(mView.isColumnCollapsed(2)); in testColumns()
72 assertFalse(mView.isColumnShrinkable(2)); in testColumns()
/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java164 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, in testPut()
166 assertFalse(mKeyStore.contains(TEST_KEYNAME)); in testPut()
174 assertFalse(mKeyStore.contains(TEST_KEYNAME, Process.WIFI_UID)); in testPut_grantedUid_Wifi()
175 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, Process.WIFI_UID, in testPut_grantedUid_Wifi()
177 assertFalse(mKeyStore.contains(TEST_KEYNAME, Process.WIFI_UID)); in testPut_grantedUid_Wifi()
185 assertFalse(mKeyStore.contains(TEST_KEYNAME, Process.BLUETOOTH_UID)); in testPut_ungrantedUid_Bluetooth()
186 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, Process.BLUETOOTH_UID, in testPut_ungrantedUid_Bluetooth()
188 assertFalse(mKeyStore.contains(TEST_KEYNAME, Process.BLUETOOTH_UID)); in testPut_ungrantedUid_Bluetooth()
190 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, Process.BLUETOOTH_UID, in testPut_ungrantedUid_Bluetooth()
192 assertFalse(mKeyStore.contains(TEST_KEYNAME, Process.BLUETOOTH_UID)); in testPut_ungrantedUid_Bluetooth()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java42 assertFalse(adn.isEmpty()); in testBasic()
71 assertFalse(adn.isEmpty()); in testBasic()
81 assertFalse(adn.isEmpty()); in testBasic()
91 assertFalse(adn.isEmpty()); in testBasic()
101 assertFalse(adn.isEmpty()); in testBasic()
111 assertFalse(adn.isEmpty()); in testBasic()
121 assertFalse(adn.isEmpty()); in testBasic()
132 assertFalse(adn.isEmpty()); in testBasic()
139 assertFalse(adn.isEmpty()); in testBasic()
150 assertFalse(adn.isEmpty()); in testBasic()
[all …]
DIccServiceTableTest.java64 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE1)); in testIccServiceTable()
65 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE2)); in testIccServiceTable()
66 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE3)); in testIccServiceTable()
67 assertFalse(testTable1.isAvailable(TestIccServiceTable.TestIccService.SERVICE4)); in testIccServiceTable()
71 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE2)); in testIccServiceTable()
72 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE3)); in testIccServiceTable()
73 assertFalse(testTable2.isAvailable(TestIccServiceTable.TestIccService.SERVICE4)); in testIccServiceTable()
76 assertFalse(testTable3.isAvailable(TestIccServiceTable.TestIccService.SERVICE1)); in testIccServiceTable()
77 assertFalse(testTable3.isAvailable(TestIccServiceTable.TestIccService.SERVICE2)); in testIccServiceTable()
78 assertFalse(testTable3.isAvailable(TestIccServiceTable.TestIccService.SERVICE3)); in testIccServiceTable()
DPhoneNumberUtilsTest.java185 assertFalse(PhoneNumberUtils.compare(null, "123")); in testExtractNetworkPortion()
186 assertFalse(PhoneNumberUtils.compare("123", null)); in testExtractNetworkPortion()
268 assertFalse(PhoneNumberUtils.compare("", "")); in testCompare()
271 assertFalse(PhoneNumberUtils.compare("911", "18005550911")); in testCompare()
273 assertFalse(PhoneNumberUtils.compare("5555", "180055555555")); in testCompare()
289 assertFalse(PhoneNumberUtils.compare("+1 999 7005554141", "+1 7005554141")); in testCompare()
292 assertFalse(PhoneNumberUtils.compare("011 11 7005554141", "+17005554141")); in testCompare()
294 assertFalse(PhoneNumberUtils.compare("+17005554141", "7085882300")); in testCompare()
298 assertFalse(PhoneNumberUtils.compare("+44 207 792 3490", "00 207 792 3490")); in testCompare()
299 assertFalse(PhoneNumberUtils.compare("+44 207 792 3490", "011 207 792 3490")); in testCompare()
[all …]
DATResponseParserTest.java29 assertFalse(p.hasMore()); in testBasic()
41 assertFalse(p.hasMore()); in testBasic()
46 assertFalse(p.hasMore()); in testBasic()
52 assertFalse(p.hasMore()); in testBasic()
63 assertFalse(p.hasMore()); in testBasic()
75 assertFalse(p.nextBoolean()); in testBasic()
88 assertFalse(p.nextBoolean()); in testBasic()
94 assertFalse(p.hasMore()); in testBasic()
99 assertFalse(p.nextBoolean()); in testBasic()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java34 import static org.junit.Assert.assertFalse;
69 assertFalse("Querying open state of a view that is not a drawer", in testQueryOpenStateOfNonExistentDrawer()
78 assertFalse("Querying visible state of a view that is not a drawer", in testQueryVisibleStateOfNonExistentDrawer()
108 assertFalse("Start drawer is closed in initial state", in verifyDrawerOpenClose()
110 assertFalse("Start drawer is not visible in initial state", in verifyDrawerOpenClose()
112 assertFalse("End drawer is closed in initial state", in verifyDrawerOpenClose()
114 assertFalse("End drawer is not visible in initial state", in verifyDrawerOpenClose()
122 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
123 assertFalse("End drawer is still not visible", mDrawerLayout.isDrawerVisible(mEndDrawer)); in verifyDrawerOpenClose()
128 assertFalse("Start drawer is now closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
[all …]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DWizardManagerHelperTest.java49 assertFalse("ignoreExtra should not be in nextIntent", nextIntent.hasExtra("ignoreExtra")); in testGetNextIntent()
68 assertFalse("Is setup wizard should be true", in testIsSetupWizardFalse()
76 assertFalse("Theme holo should not be light theme", in testHoloIsNotLightTheme()
92 assertFalse("Theme material should not be light theme", in testMaterialIsNotLightTheme()
108 assertFalse("Theme material_blue should not be light theme", in testMaterialBlueIsNotLightTheme()
124 assertFalse("Theme glif should be dark theme", in testGlifIsDarkTheme()
126 assertFalse("Theme glif should be dark theme", in testGlifIsDarkTheme()
146 assertFalse("isLightTheme should return default value false", in testIsLightThemeDefault()
155 assertFalse("isLightTheme should return default value false", in testIsLightThemeUnspecified()
163 assertFalse("isLightTheme should return false for material", in testIsLightThemeString()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java26 import static org.junit.Assert.assertFalse;
210 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 2400)); in emptySettings()
211 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5150)); in emptySettings()
212 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5650)); in emptySettings()
224 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5150)); in settingsWithChannels()
238 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5150)); in settingsWithBand()
239 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5650)); in settingsWithBand()
253 assertFalse(mChannelHelper.settingsContainChannel(testSettings, 5650)); in settingsWithMultiBand()
291 assertFalse(mChannelCollection.containsChannel(2400)); in empty()
292 assertFalse(mChannelCollection.containsChannel(5150)); in empty()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java34 import static junit.framework.Assert.assertFalse;
238 assertFalse(createApnSetting( in testIsMetered()
242 assertFalse(createApnSetting( in testIsMetered()
251 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_SUPL, in testIsMetered()
253 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_CBS, in testIsMetered()
255 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_DUN, in testIsMetered()
257 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_FOTA, in testIsMetered()
259 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_IA, in testIsMetered()
261 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_HIPRI, in testIsMetered()
296 assertFalse(createApnSetting( in testIsRoamingMetered()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java71 assertFalse(mCopyFile.exists()); in testCopyFile()
79 assertFalse(mCopyFile.exists()); in testCopyToFile()
88 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))); in testIsFilenameSafe()
89 assertFalse(FileUtils.isFilenameSafe(new File("foo\nbar"))); in testIsFilenameSafe()
132 assertFalse(FileUtils.contains(new File("/sdcard"), new File("/moo.txt"))); in testContains()
133 assertFalse(FileUtils.contains(new File("/sdcard/"), new File("/moo.txt"))); in testContains()
135 assertFalse(FileUtils.contains(new File("/sdcard"), new File("/sdcard.txt"))); in testContains()
136 assertFalse(FileUtils.contains(new File("/sdcard/"), new File("/sdcard.txt"))); in testContains()
175 assertFalse(FileUtils.deleteOlderFiles(mDir, 0, DAY_IN_MILLIS)); in testDeleteOlderOnlyAge()
186 assertFalse(FileUtils.deleteOlderFiles(mDir, 2, 0)); in testDeleteOlderOnlyCount()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java39 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains()
40 assertFalse(ArrayUtils.contains(new Object[] { }, null)); in testContains()
41 assertFalse(ArrayUtils.contains(new Object[] { null }, A)); in testContains()
78 assertFalse(ArrayUtils.containsAll(new Object[] { }, new Object[] { A })); in testContainsAll()
79 assertFalse(ArrayUtils.containsAll(new Object[] { B }, new Object[] { A })); in testContainsAll()
80 assertFalse(ArrayUtils.containsAll(new Object[] { }, new Object[] { null })); in testContainsAll()
81 assertFalse(ArrayUtils.containsAll(new Object[] { A }, new Object[] { null })); in testContainsAll()
89 assertFalse(ArrayUtils.contains(new int[] { 1, 2, 3 }, 0)); in testContainsInt()
90 assertFalse(ArrayUtils.contains(new int[] { 1, 2, 3 }, 4)); in testContainsInt()
91 assertFalse(ArrayUtils.contains(new int[] { }, 2)); in testContainsInt()
[all …]

12345678910>>...14