Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/cts/tests/tests/permission/src/android/permission/cts/
DNoWifiStatePermissionTest.java49 fail("WifiManager.getWifiState didn't throw SecurityException as expected"); in testGetWifiState()
63 fail("WifiManager.getConfiguredNetworks didn't throw SecurityException as expected"); in testGetConfiguredNetworks()
77 fail("WifiManager.getConnectionInfo didn't throw SecurityException as expected"); in testGetConnectionInfo()
91 fail("WifiManager.getScanResults didn't throw SecurityException as expected"); in testGetScanResults()
105 fail("WifiManager.getDhcpInfo didn't throw SecurityException as expected"); in testGetDhcpInfo()
119 fail("WifiManager.disconnect didn't throw SecurityException as expected"); in testDisconnect()
133 fail("WifiManager.reconnect didn't throw SecurityException as expected"); in testReconnect()
147 fail("WifiManager.reassociate didn't throw SecurityException as expected"); in testReassociate()
161 fail("WifiManager.addNetwork didn't throw SecurityException as expected"); in testAddNetwork()
177 fail("WifiManager.updateNetwork didn't throw SecurityException as expected"); in testUpdateNetwork()
[all …]
DNoLocationPermissionTest.java82 fail("TelephonyManager.listen(LISTEN_CELL_LOCATION) did not" + in testListenCellLocation()
90 fail("TelephonyManager.getCellLocation did not throw SecurityException as expected"); in testListenCellLocation()
114fail("TelephonyManager.getNeighbouringCellInfo did not throw SecurityException as expected"); in testListenCellLocation2()
121 fail("TelephonyManager.getAllCellInfo did not throw SecurityException as expected"); in testListenCellLocation2()
143 fail("LocationManager.requestLocationUpdates did not" + in checkRequestLocationUpdates()
151 fail("LocationManager.requestLocationUpdates did not" + in checkRequestLocationUpdates()
192 fail("LocationManager.addProximityAlert did not throw SecurityException as expected"); in testAddProximityAlert()
212 fail("LocationManager.getLastKnownLocation did not" + in checkGetLastKnownLocation()
255 fail("LocationManager.getProvider did not throw SecurityException as expected"); in checkGetProvider()
339 fail("LocationManager.addTestProvider did not throw SecurityException as expected"); in testAddTestProvider()
[all …]
DNoSystemFunctionPermissionTest.java52 fail("ActivityManager.restartPackage() didn't throw SecurityException as expected."); in testRestartPackage()
72 fail("AlarmManager.setTimeZone() did not throw SecurityException as expected."); in testSetTimeZone()
90 fail("Context.setWallpaper(BitMap) did not throw SecurityException as expected."); in testSetWallpaper()
97 fail("Context.setWallpaper(InputStream) did not throw SecurityException as expected."); in testSetWallpaper()
104 fail("Context.clearWallpaper() did not throw SecurityException as expected."); in testSetWallpaper()
121 fail("Vibrator.cancel() did not throw SecurityException as expected."); in testVibrator()
128 fail("Vibrator.vibrate(long) did not throw SecurityException as expected."); in testVibrator()
137 fail("Vibrator.vibrate(long[], int) not throw SecurityException as expected."); in testVibrator()
158 fail("SmsManager.sendDataMessage() did not throw SecurityException as expected."); in testSendSms()
DContactsProviderTest.java40 fail("query(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException" in testQueryContacts()
58 fail("insert(ContactsContract.Contacts.CONTENT_URI) did not throw SecurityException" in testInsertContacts()
76 fail("query(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException" in testQueryProfile()
96 fail("insert(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException " in testInsertProfile()
114 fail("update(ContactsContract.Profile.CONTENT_URI) did not throw SecurityException" in testUpdateProfile()
133 fail("query(ContactsContract.CommonDataKinds.Phone.ENTERPRISE_CONTENT_URI) did not" in testQueryPhoneEnterprise()
151 fail("query(ContactsContract.RawContactsEntity.CORP_CONTENT_URI) did not throw" in testRawContactsEntityCorp()
DNoBroadcastPackageRemovedPermissionTest.java41 fail("Context.sendStickyBroadcast did not throw SecurityException as expected"); in testSendOrRemoveStickyBroadcast()
48 fail("Context.removeStickyBroadcast did not throw SecurityException as expected"); in testSendOrRemoveStickyBroadcast()
68 fail("Context.sendBroadcast did not throw SecurityException as expected"); in testSendBroadcast()
76 fail("Context.sendBroadcast did not throw SecurityException as expected"); in testSendBroadcast()
84 fail("Context.sendOrderedBroadcast did not throw SecurityException as expected"); in testSendBroadcast()
92 fail("Context.sendOrderedBroadcast did not throw SecurityException as expected"); in testSendBroadcast()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSimRestrictedApisTest.java48 fail("Expected SecurityException. App doesn't have carrier privileges."); in testInjectSmsPdu()
63 fail("Expected SecurityException. App doesn't have carrier privileges."); in testSetLine1NumberForDisplay()
78 fail("Expected SecurityException. App doesn't have carrier privileges."); in testSetLine1NumberForDisplay2()
93 fail("Expected SecurityException. App doesn't have carrier privileges."); in testIccOpenLogicalChannel()
108 fail("Expected SecurityException. App doesn't have carrier privileges."); in testIccCloseLogicalChannel()
123 fail("Expected SecurityException. App doesn't have carrier privileges."); in testIccTransmitApduLogicalChannel()
138 fail("Expected SecurityException. App doesn't have carrier privileges."); in testIccTransmitApduBasicChannel()
153 fail("Expected SecurityException. App doesn't have carrier privileges."); in testSendEnvelopeWithStatus()
167 fail("Expected SecurityException. App doesn't have carrier privileges."); in testNvReadItem()
181 fail("Expected SecurityException. App doesn't have carrier privileges."); in testNvWriteItem()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DParamsTest.java49 try { fail("got " + p.getAudioAdjustMode()); } catch (IllegalStateException e) {} in testSyncParamsDefaults()
50 try { fail("got " + p.getSyncSource()); } catch (IllegalStateException e) {} in testSyncParamsDefaults()
51 try { fail("got " + p.getTolerance()); } catch (IllegalStateException e) {} in testSyncParamsDefaults()
52 try { fail("got " + p.getFrameRate()); } catch (IllegalStateException e) {} in testSyncParamsDefaults()
60 try { fail("got " + p.getFrameRate()); } catch (IllegalStateException e) {} in testSyncParamsDefaults()
73 try { fail("got " + p.getSyncSource()); } catch (IllegalStateException e) {}
74 try { fail("got " + p.getTolerance()); } catch (IllegalStateException e) {}
75 try { fail("got " + p.getFrameRate()); } catch (IllegalStateException e) {}
88 try { fail("got " + p.getAudioAdjustMode()); } catch (IllegalStateException e) {}
90 try { fail("got " + p.getTolerance()); } catch (IllegalStateException e) {}
[all …]
DAudioEffectTest.java103 fail("AudioRecord invalid parameter"); in getAudioRecord()
134 fail("getEnabled() processed after release()"); in test1_3GetEnabledAfterRelease()
139 fail("AudioEffect not found"); in test1_3GetEnabledAfterRelease()
141 fail("Effect library not loaded"); in test1_3GetEnabledAfterRelease()
157 fail("AudioEffect not initialized"); in test1_4InsertOnMediaPlayer()
187 fail("Attach effect: wait was interrupted."); in test1_5AuxiliaryOnMediaPlayer()
191 fail("attach aux effect failed"); in test1_5AuxiliaryOnMediaPlayer()
220 fail("attach aux effect failed"); in test1_6AuxiliaryOnMediaPlayerFailure()
254 fail("could not attach aux effect"); in test1_7AuxiliaryOnAudioTrack()
258 fail("could not set send level"); in test1_7AuxiliaryOnAudioTrack()
[all …]
DEnvReverbTest.java58 fail("EnvironmentalReverb not initialized"); in test0_0ConstructorAndRelease()
61 fail("EnvironmentalReverb not found"); in test0_0ConstructorAndRelease()
63 fail("Effect library not loaded"); in test0_0ConstructorAndRelease()
100 fail("Bad parameter value"); in test1_0Room()
102 fail("get parameter() rejected"); in test1_0Room()
104 fail("get parameter() called in wrong state"); in test1_0Room()
133 fail("Bad parameter value"); in test1_1Decay()
135 fail("get parameter() rejected"); in test1_1Decay()
137 fail("get parameter() called in wrong state"); in test1_1Decay()
170 fail("Bad parameter value"); in test1_2Reverb()
[all …]
DVirtualizerTest.java63 fail("Virtualizer not initialized"); in test0_0ConstructorAndRelease()
66 fail("Virtualizer not found"); in test0_0ConstructorAndRelease()
68 fail("Effect library not loaded"); in test0_0ConstructorAndRelease()
103 fail("Bad parameter value"); in test1_0Strength()
105 fail("get parameter() rejected"); in test1_0Strength()
107 fail("get parameter() called in wrong state"); in test1_0Strength()
140 fail("Bad parameter value"); in test1_1Properties()
142 fail("get parameter() rejected"); in test1_1Properties()
144 fail("get parameter() called in wrong state"); in test1_1Properties()
184 fail("setEnabled() in wrong state"); in test2_0SetEnabledGetEnabled()
[all …]
/cts/tests/tests/location/src/android/location/cts/
DGeocoderTest.java38 fail("should throw NullPointerException."); in testConstructor()
64 fail("Failed to geocode location " + MAX_NUM_RETRIES + " times."); in testGetFromLocation()
71 fail("should throw IllegalArgumentException"); in testGetFromLocation()
78 fail("should throw IllegalArgumentException"); in testGetFromLocation()
85 fail("should throw IllegalArgumentException"); in testGetFromLocation()
92 fail("should throw IllegalArgumentException"); in testGetFromLocation()
117 fail("Failed to geocode location name " + MAX_NUM_RETRIES + " times."); in testGetFromLocationName()
122 fail("should throw IllegalArgumentException"); in testGetFromLocationName()
128 fail("should throw IllegalArgumentException"); in testGetFromLocationName()
134 fail("should throw IllegalArgumentException"); in testGetFromLocationName()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/
DTest_f1.java31 fail("expected a verification exception"); in testVFE1()
44 fail("expected a verification exception"); in testVFE2()
57 fail("expected a verification exception"); in testVFE3()
70 fail("expected a verification exception"); in testVFE4()
83 fail("expected a verification exception"); in testVFE5()
96 fail("expected a verification exception"); in testVFE6()
109 fail("expected a verification exception"); in testVFE7()
122 fail("expected a verification exception"); in testVFE8()
135fail("expected a verification exception but this test may fail if this check is not enforced"); in testVFE9()
161 fail("expected a verification exception"); in testVFE11()
[all …]
/cts/tests/app/src/android/app/cts/
DLocalActivityManagerTestHelper.java96 fail(); in testRemoveAllActivity()
102 fail(); in testRemoveAllActivity()
109 fail(); in testRemoveAllActivity()
125 fail(); in testDispatchDestroy()
130 fail(); in testDispatchDestroy()
139 fail(); in testDispatchDestroy()
144 fail(); in testDispatchDestroy()
155 fail(); in testSaveInstanceState()
171 fail(); in testSaveInstanceState()
185 fail(); in testDispatchPauseFalse()
[all …]
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java78 fail("Expected to just barf if the caller doesn't share a signature."); in testNotifyAccountAuthenticated()
89 fail("Expecting a OperationCanceledException."); in testEditProperties()
101 fail("addAccountExplicitly should just barf if the caller isn't permitted."); in testAddAccountExplicitly()
111 fail("removeAccount should just barf if the caller isn't permitted."); in testRemoveAccount_withBooleanResult()
122 fail("removeAccount should just barf if the caller isn't permitted."); in testRemoveAccount_withBundleResult()
130 fail("removeAccountExplicitly should just barf if the caller isn't permitted."); in testRemoveAccountExplicitly()
138 fail("getPassword should just barf if the caller isn't permitted."); in testGetPassword()
147 fail("setPassword should just barf if the caller isn't permitted."); in testSetPassword()
155 fail("clearPassword should just barf if the caller isn't permitted."); in testClearPassword()
164 fail("getUserData should just barf if the caller isn't permitted."); in testGetUserData()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java53 fail("should throw NullPointerException"); in testConstructor1()
66 fail("should throw StringIndexOutOfBoundsException"); in testConstructor2()
73 fail("should throw StringIndexOutOfBoundsException"); in testConstructor2()
80 fail("should throw StringIndexOutOfBoundsException"); in testConstructor2()
118 fail("should throw IndexOutOfBoundsException here"); in testSetSpan()
125 fail("should throw ..IndexOutOfBoundsException here"); in testSetSpan()
144 fail("should throw NullPointerException here"); in testValueOf()
151 fail("should throw NullPointerException here"); in testValueOf()
174 fail("should throw IndexOutOfBoundsException here"); in testReplace1()
181 fail("should throw IndexOutOfBoundsException here"); in testReplace1()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_SecureTest.java56 fail("Shouldn't be able to parse this setting's value for later tests."); in assertSettingsForTests()
72 fail("SecurityException should have been thrown!"); in testGetPutInt()
78 fail("SettingNotFoundException should have been thrown!"); in testGetPutInt()
84 fail("SettingNotFoundException should have been thrown!"); in testGetPutInt()
94 fail("SecurityException should have been thrown!"); in testGetPutFloat()
100 fail("SettingNotFoundException should have been thrown!"); in testGetPutFloat()
106 fail("SettingNotFoundException should have been thrown!"); in testGetPutFloat()
116 fail("SecurityException should have been thrown!"); in testGetPutLong()
122 fail("SettingNotFoundException should have been thrown!"); in testGetPutLong()
128 fail("SettingNotFoundException should have been thrown!"); in testGetPutLong()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DObservableTest.java29 fail("registerObserver should throw a IllegalArgumentException here."); in testRegisterUnRegisterObserver()
37 fail("unregisterObserver should throw a IllegalStateException here."); in testRegisterUnRegisterObserver()
44 fail("unregisterObserver should throw a IllegalArgumentException here."); in testRegisterUnRegisterObserver()
54 fail("registerObserver should throw a IllegalStateException here."); in testRegisterUnRegisterObserver()
64 fail("unregisterObserver should throw a IllegalStateException here."); in testRegisterUnRegisterObserver()
81 fail("registerObserver should throw a IllegalStateException here."); in testUnregisterAll()
86 fail("registerObserver should throw a IllegalStateException here."); in testUnregisterAll()
/cts/tests/tests/os/src/android/os/cts/
DVibratorTest.java38 fail("testVibratorCancel failed!"); in testVibratorCancel()
44 fail("testVibratorCancel failed!"); in testVibratorCancel()
53 fail("vibrate failed!"); in testVibratePattern()
57 fail("Should throw ArrayIndexOutOfBoundsException"); in testVibratePattern()
71 fail("MultiThread fail1"); in testVibrateMultiThread()
84 fail("MultiThread fail2"); in testVibrateMultiThread()
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/
DTest_b2.java31 fail("expected a verification exception"); in testVFE1()
44 fail("expected a verification exception"); in testVFE2()
57 fail("expected a verification exception"); in testVFE3()
70 fail("expected a verification exception"); in testVFE4()
83 fail("expected a verification exception"); in testVFE5()
/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java86 fail("Should not be possible to skip without elements."); in testSkipBeforeEndOfObject()
96 fail("Should not be possible to skip without elements."); in testSkipBeforeEndOfArray()
108 fail("Should not be possible to skip without elements."); in testSkipAfterEndOfDocument()
133 fail(); in testNulls()
262 fail(); in testLenientDoubles()
269 fail(); in testLenientDoubles()
303 fail(); in testTruncatedBufferBoundary()
356 fail(); in testLongs()
362 fail(); in testLongs()
426 fail(); in testNonFiniteDouble()
[all …]
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java64 fail("Was able to access another app's private data"); in testAccessPrivateData()
81 fail("Was not able to access another app's public file: " + e); in testAccessPublicData()
83 fail("Was not able to access another app's public file: " + e); in testAccessPublicData()
102 fail("Was not able to access another app's public file: " + e); in accessPrivateTrafficStats()
104 fail("Was not able to access another app's public file: " + e); in accessPrivateTrafficStats()
116 fail("Other apps detailed traffic stats leaked"); in accessPrivateTrafficStats()
122 fail("Was not able to access qtaguid/stats: " + e); in accessPrivateTrafficStats()
/cts/tests/tests/textureview/src/android/textureview/cts/
DTextureViewTest.java32 fail("Did not complete 48Hz test."); in testTextureViewStress48Hz()
39 fail("Did not complete 60Hz test."); in testTextureViewStress60Hz()
46 fail("Did not complete 70Hz test."); in testTextureViewStress70Hz()
53 fail("Did not complete 200Hz test."); in testTextureViewStress200Hz()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java67 fail("shouldn't come to here"); in testCompress()
76 fail("shouldn't come to here"); in testCompress()
83 fail("shouldn't come to here"); in testCompress()
90 fail("shouldn't come to here"); in testCompress()
104 fail("shouldn't come to here"); in testCopy()
121 fail("shouldn't come to here"); in testCopyPixelsToBuffer()
128 fail("shouldn't come to here"); in testCopyPixelsToBuffer()
141 fail("shouldn't come to here"); in testCopyPixelsToBuffer()
154 fail("shouldn't come to here"); in testCopyPixelsToBuffer()
195 fail("shouldn't come to here"); in testCreateBitmap2()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketTest.java77 fail("testLocalSocket shouldn't come to here"); in testLocalConnections()
90 fail("testLocalSocket shouldn't come to here"); in testLocalConnections()
99 fail("testLocalSocket shouldn't come to here"); in testLocalConnections()
108 fail("testLocalSocket shouldn't come to here"); in testLocalConnections()
138 fail("testLocalSocketSecondary shouldn't come to here"); in testAccessors()
145 fail("testLocalSocketSecondary shouldn't come to here"); in testAccessors()
152 fail("testLocalSocketSecondary shouldn't come to here"); in testAccessors()
159 fail("testLocalSocketSecondary shouldn't come to here"); in testAccessors()
166 fail("testLocalSocketSecondary shouldn't come to here"); in testAccessors()
/cts/tools/vm-tests-tf/src/dot/junit/
DDxTestCase.java26 fail("Expected error of type " + expectedErrorClass); in checkError()
28 fail("Unexpected error " + thrown); in checkError()
32 fail("Expected invocation target exception, but got " + thrown); in checkError()
37 fail("Expected error of type " + expectedErrorClass + ", but got " + in checkError()
55 fail("Could not load class " + className + ": " + t); in load()
79 fail("Could not find method 'run'"); in loadAndRun()
87 fail("Could not instantiate " + className + ": " + exc.getMessage()); in loadAndRun()

12345678910>>...25