Home
last modified time | relevance | path

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

12345678910>>...22

/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/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/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 …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DPersistentConnectionTest.java114 assertFalse(conn.isBound()); in testAll()
115 assertFalse(conn.isConnected()); in testAll()
116 assertFalse(conn.isRebindScheduled()); in testAll()
129 assertFalse(conn.isConnected()); in testAll()
130 assertFalse(conn.isRebindScheduled()); in testAll()
149 assertFalse(conn.isRebindScheduled()); in testAll()
158 assertFalse(conn.isBound()); in testAll()
159 assertFalse(conn.shouldBeBoundForTest()); in testAll()
160 assertFalse(conn.isConnected()); in testAll()
162 assertFalse(conn.isRebindScheduled()); in testAll()
[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 …]
DShortcutManagerTest6.java46 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
47 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
48 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_systemLauncherOnly()
76 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
77 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
78 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher()
96 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
97 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
98 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
118 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java33 import static org.junit.Assert.assertFalse;
61 assertFalse(fsc.removeNotification(sbn_user1_app3_fg)); in testNotificationCRUD()
62 assertFalse(fsc.removeNotification(sbn_user2_app2_fg)); in testNotificationCRUD()
63 assertFalse(fsc.removeNotification(sbn_user1_app1_fg)); in testNotificationCRUD()
64 assertFalse(fsc.removeNotification(sbn_user1_app1)); in testNotificationCRUD()
65 assertFalse(fsc.removeNotification(sbn_user2_app1)); in testNotificationCRUD()
74 assertFalse(fsc.removeNotification(sbn_user1_app1)); in testNotificationCRUD()
75 assertFalse(fsc.removeNotification(sbn_user2_app1)); in testNotificationCRUD()
80 assertFalse(fsc.removeNotification(sbn_user1_app1)); in testNotificationCRUD()
81 assertFalse(fsc.removeNotification(sbn_user2_app1)); in testNotificationCRUD()
[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.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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIMSIParameterTest.java20 import static org.junit.Assert.assertFalse;
69 assertFalse(param.matchesImsi(null)); in matchesNullImsi()
83 assertFalse(param.matchesImsi("123")); in matchesImsiWithFullImsi()
84 assertFalse(param.matchesImsi("12345")); in matchesImsiWithFullImsi()
99 assertFalse(param.matchesImsi("123")); in matchesImsiWithPrefixImsi()
113 assertFalse(param.matchesMccMnc(null)); in matchesNullMccMnc()
126 assertFalse(param.matchesMccMnc("1234567")); // Invalid length for MCC-MNC in matchesMccMncFullImsi()
127 assertFalse(param.matchesMccMnc("12345")); // Invalid length for MCC-MNC in matchesMccMncFullImsi()
141 assertFalse(param.matchesMccMnc("123448")); // Prefix mismatch in matchesMccMncWithPrefixImsiLessThanMccMncLength()
142 assertFalse(param.matchesMccMnc("12345")); // Invalid length for MCC-MNC in matchesMccMncWithPrefixImsiLessThanMccMncLength()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java273 assertFalse(mDut.isInitializationComplete()); in testGetName_exception()
284 assertFalse(mDut.find(1)); in testFind_success()
288 assertFalse(mDut.find(-1)); in testFind_success()
298 assertFalse(mDut.find(1)); in testFind_failure()
310 assertFalse(mDut.find(0)); in testFind_exception()
312 assertFalse(mDut.isInitializationComplete()); in testFind_exception()
323 assertFalse(mDut.stopFind()); in testStopFind_success()
335 assertFalse(mDut.stopFind()); in testStopFind_failure()
347 assertFalse(mDut.stopFind()); in testStopFind_exception()
349 assertFalse(mDut.isInitializationComplete()); in testStopFind_exception()
[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 …]
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DSimplePreferenceComparisonCallbackTest.java36 import static org.junit.Assert.assertFalse;
73 assertFalse("Compare class", in testClassComparison()
85 assertFalse("Compare same, detached", in testDetached()
97 assertFalse("Compare non-null to null", in testTitleComparison()
99 assertFalse("Compare null to non-null", in testTitleComparison()
109 assertFalse("Compare different", in testTitleComparison()
121 assertFalse("Compare non-null to null", in testSummaryComparison()
123 assertFalse("Compare null to non-null", in testSummaryComparison()
133 assertFalse("Compare different", in testSummaryComparison()
186 assertFalse("Compare non-null to null", in testIconComparison()
[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/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/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java23 import static org.junit.Assert.assertFalse;
103 assertFalse(mUNM.mobileNetworkRequested()); in testDoesNothingBeforeStarted()
127 assertFalse(mCM.listening.isEmpty()); in testListensForAllNetworks()
136 assertFalse(mUNM.mobileNetworkRequested()); in testRequestsMobileNetwork()
140 assertFalse(mUNM.mobileNetworkRequested()); in testRequestsMobileNetwork()
144 assertFalse(mUNM.mobileNetworkRequested()); in testRequestsMobileNetwork()
150 assertFalse(mCM.isDunRequested()); in testRequestsMobileNetwork()
153 assertFalse(mUNM.mobileNetworkRequested()); in testRequestsMobileNetwork()
159 assertFalse(mUNM.mobileNetworkRequested()); in testDuplicateMobileRequestsIgnored()
167 assertFalse(mUNM.mobileNetworkRequested()); in testDuplicateMobileRequestsIgnored()
[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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java42 import static junit.framework.Assert.assertFalse;
256 assertFalse(createApnSetting( in testIsMetered()
260 assertFalse(createApnSetting( in testIsMetered()
268 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_SUPL, in testIsMetered()
270 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_CBS, in testIsMetered()
272 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_DUN, in testIsMetered()
274 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_FOTA, in testIsMetered()
276 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_IA, in testIsMetered()
278 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_HIPRI, in testIsMetered()
287 assertFalse(ApnSetting.isMeteredApnType(PhoneConstants.APN_TYPE_MMS, in testIsMetered()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DUpdateParameterTest.java19 import static org.junit.Assert.assertFalse;
133 assertFalse(updateParam.validate()); in validateUpdateParameterWithDefault()
156 assertFalse(updateParam.validate()); in validateUpdateParameterWithUnknowMethod()
168 assertFalse(updateParam.validate()); in validateUpdateParameterWithUnknowRestriction()
182 assertFalse(updateParam.validate()); in validateUpdateParameterWithUsernameExceedingMaxSize()
194 assertFalse(updateParam.validate()); in validateUpdateParameterWithEmptyUsername()
208 assertFalse(updateParam.validate()); in validateUpdateParameterWithPasswordExceedingMaxSize()
220 assertFalse(updateParam.validate()); in validateUpdateParameterWithEmptyPassword()
233 assertFalse(updateParam.validate()); in validateUpdateParameterWithPasswordContainedInvalidPadding()
245 assertFalse(updateParam.validate()); in validateUpdateParameterWithoutTrustRootCertUrl()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java28 import static junit.framework.Assert.assertFalse;
48 assertFalse(intInOutMatcher.isIn(1)); in test_inOutMatcher_defaultOut()
49 assertFalse(intInOutMatcher.isIn(-1)); in test_inOutMatcher_defaultOut()
50 assertFalse(intInOutMatcher.isIn(0)); in test_inOutMatcher_defaultOut()
61 assertFalse(intInOutMatcher.isIn(0)); in test_inOutMatcher_someIn()
62 assertFalse(intInOutMatcher.isIn(4)); in test_inOutMatcher_someIn()
69 assertFalse(intInOutMatcher.isIn(1)); in test_inOutMatcher_someOut()
70 assertFalse(intInOutMatcher.isIn(2)); in test_inOutMatcher_someOut()
71 assertFalse(intInOutMatcher.isIn(3)); in test_inOutMatcher_someOut()
81 assertFalse(intInOutMatcher.isIn(1)); in test_inOutMatcher_mixed()
[all …]
/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/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutDoubleTest.java26 import static org.junit.Assert.assertFalse;
72 assertFalse("Querying open state of a view that is not a drawer", in testQueryOpenStateOfNonExistentDrawer()
81 assertFalse("Querying visible state of a view that is not a drawer", in testQueryVisibleStateOfNonExistentDrawer()
111 assertFalse("Start drawer is closed in initial state", in verifyDrawerOpenClose()
113 assertFalse("Start drawer is not visible in initial state", in verifyDrawerOpenClose()
115 assertFalse("End drawer is closed in initial state", in verifyDrawerOpenClose()
117 assertFalse("End drawer is not visible in initial state", in verifyDrawerOpenClose()
125 assertFalse("End drawer is still closed", mDrawerLayout.isDrawerOpen(mEndDrawer)); in verifyDrawerOpenClose()
126 assertFalse("End drawer is still not visible", mDrawerLayout.isDrawerVisible(mEndDrawer)); in verifyDrawerOpenClose()
131 assertFalse("Start drawer is now closed", mDrawerLayout.isDrawerOpen(mStartDrawer)); in verifyDrawerOpenClose()
[all …]

12345678910>>...22