/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 47 fail("IWindowManager.pauseKeyDispatching did not throw SecurityException as" in testMANAGE_APP_TOKENS() 52 fail("Unexpected remote exception"); in testMANAGE_APP_TOKENS() 57 fail("IWindowManager.resumeKeyDispatching did not throw SecurityException as" in testMANAGE_APP_TOKENS() 62 fail("Unexpected remote exception"); in testMANAGE_APP_TOKENS() 67 fail("IWindowManager.setEventDispatching did not throw SecurityException as" in testMANAGE_APP_TOKENS() 72 fail("Unexpected remote exception"); in testMANAGE_APP_TOKENS() 77 fail("IWindowManager.addWindowToken did not throw SecurityException as" in testMANAGE_APP_TOKENS() 82 fail("Unexpected remote exception"); in testMANAGE_APP_TOKENS() 87 fail("IWindowManager.removeWindowToken did not throw SecurityException as" in testMANAGE_APP_TOKENS() 92 fail("Unexpected remote exception"); in testMANAGE_APP_TOKENS() [all …]
|
D | ActivityManagerPermissionTests.java | 43 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" in testREORDER_TASKS() 48 fail("Unexpected remote exception"); in testREORDER_TASKS() 53 fail("IActivityManager.moveTaskToBack did not throw SecurityException as" in testREORDER_TASKS() 58 fail("Unexpected remote exception"); in testREORDER_TASKS() 63 fail("IActivityManager.moveTaskToFront did not throw SecurityException as" in testREORDER_TASKS() 68 fail("Unexpected remote exception"); in testREORDER_TASKS() 76 fail("IActivityManager.updateConfiguration did not throw SecurityException as" in testCHANGE_CONFIGURATION() 81 fail("Unexpected remote exception"); in testCHANGE_CONFIGURATION() 89 fail("IActivityManager.setDebugApp did not throw SecurityException as" in testSET_DEBUG_APP() 94 fail("Unexpected remote exception"); in testSET_DEBUG_APP() [all …]
|
D | PmPermissionsTests.java | 45 fail("PackageManager.getPackageSizeInfo" + in testGetPackageSize() 60 fail("PackageManager.deleteApplicationCacheFiles" + in testDeleteApplicationCacheFiles() 79 fail("PackageManager.installPackage" + in testInstallPackage() 94 fail("PackageManager.freeStorage " + in testFreeStorage1() 109 fail("PackageManager.freeStorageAndNotify" + in testFreeStorage2() 124 fail("PackageManager.clearApplicationUserData" + in testClearApplicationUserData() 139 fail("PackageManager.deletePackage" + in testDeletePackage()
|
D | ServiceManagerPermissionTests.java | 41 fail("ServiceManager.addService did not throw SecurityException as" in testAddService() 58 fail("IServiceManager.setPermissionController did not throw SecurityException as" in testSetPermissionController() 63 fail("Unexpected remote exception"); in testSetPermissionController()
|
D | VibratorServicePermissionTest.java | 53 fail("vibrate did not throw SecurityException as expected"); in testVibrate() 70 fail("vibratePattern did not throw SecurityException as expected"); in testVibratePattern() 85 fail("cancelVibrate did not throw SecurityException as expected"); in testCancelVibrate()
|
D | SmsManagerPermissionTest.java | 45 fail("SmsManager.sendTextMessage did not throw SecurityException as expected"); in testSendTextMessage() 61 fail("SmsManager.sendDataMessage did not throw SecurityException as expected"); in testSendDataMessage() 80 fail("SmsManager.sendMultipartTextMessage did not throw SecurityException as expected"); in testSendMultipartMessage()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 108 AndroidTestCase.fail("Already initialized"); in initForImportTest() 123 AndroidTestCase.fail("Already initialized"); in initForExportTest() 140 AndroidTestCase.fail("Wrong resId: " + resId); in setInputResourceId() 147 AndroidTestCase.fail("addInputEntry() is called."); in setInputStream() 149 AndroidTestCase.fail("InputStream is already set"); in setInputStream() 156 AndroidTestCase.fail("Not initialized"); in addInputEntry() 159 AndroidTestCase.fail("setInputStream is called"); in addInputEntry() 166 AndroidTestCase.fail("Not initialized"); in addPropertyNodesVerifierElemWithoutVersion() 193 AndroidTestCase.fail("Not initialized"); in addPropertyNodesVerifierElemWithEmptyName() 209 AndroidTestCase.fail("Not initialized"); in addLineVerifierElem() [all …]
|
D | LineVerifierElem.java | 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); in verify() 65 TestCase.fail("Multiple \"END:VCARD\" line found"); in verify() 74 TestCase.fail("Multiple VERSION line + found"); in verify() 82 TestCase.fail("Property other than BEGIN came before BEGIN property: " + line); in verify() 84 TestCase.fail("Property other than END came after END property: " + line); in verify() 91 TestCase.fail("Unexpected line: " + line); in verify() 102 TestCase.fail("Expected line(s) not found:" + buffer.toString()); in verify()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 46 fail("Expected NullPointerException: null byte array"); in testConstructor() 51 fail("Expected NullPointerException: null InetAddress"); in testConstructor() 56 fail("Expected NullPointerException: null String"); in testConstructor() 63 fail("Expected IllegalArgumentException: invalid array length"); in testConstructor() 68 fail("Expected IllegalArgumentException: no prefix length"); in testConstructor() 73 fail("Expected IllegalArgumentException: empty prefix length"); in testConstructor() 78 fail("Expected IllegalArgumentException: invalid address"); in testConstructor() 83 fail("Expected IllegalArgumentException: deprecated IPv4 format"); in testConstructor() 88 fail("Expected IllegalArgumentException: invalid IPv4 address"); in testConstructor() 93 fail("Expected IllegalArgumentException: non-address"); in testConstructor() [all …]
|
D | LocalSocketTest.java | 88 fail("expected exception"); in testBasic() 95 fail("expected exception"); in testBasic() 102 fail("expected exception"); in testBasic() 109 fail("expected exception"); in testBasic() 116 fail("expected exception"); in testBasic() 123 fail("expected exception"); in testBasic() 142 fail("expected exception"); in testBasic() 151 fail("expected exception"); in testBasic() 160 fail("expected exception"); in testBasic()
|
D | SSLTest.java | 65 fail(); in testStringsToLengthPrefixedBytesEmptyArray() 73 fail(); in testStringsToLengthPrefixedBytesEmptyByteArray() 81 fail(); in testStringsToLengthPrefixedBytesOversizedInput()
|
D | LinkAddressTest.java | 120 fail("Null InetAddress should cause IllegalArgumentException"); in testConstructors() 125 fail("Null string should cause IllegalArgumentException"); in testConstructors() 130 fail("Null string should cause NullPointerException"); in testConstructors() 136 fail("Negative IPv4 prefix length should cause IllegalArgumentException"); in testConstructors() 141 fail("Negative IPv6 prefix length should cause IllegalArgumentException"); in testConstructors() 146 fail("/33 IPv4 prefix length should cause IllegalArgumentException"); in testConstructors() 151 fail("/33 IPv4 prefix length should cause IllegalArgumentException"); in testConstructors() 157 fail("/129 IPv6 prefix length should cause IllegalArgumentException"); in testConstructors() 162 fail("/129 IPv6 prefix length should cause IllegalArgumentException"); in testConstructors() 168 fail("IPv4 multicast address should cause IllegalArgumentException"); in testConstructors() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraUtilsBinderDecoratorTest.java | 89 Assert.fail("Unreachable"); in testStereotypes() 105 Assert.fail("Should've thrown SecurityException"); in testStereotypes() 113 Assert.fail("Should've thrown IllegalArgumentException"); in testStereotypes() 119 Assert.fail("Should've thrown CameraRuntimeException"); in testStereotypes() 126 Assert.fail("Should've thrown CameraRuntimeException"); in testStereotypes() 133 Assert.fail("Should've thrown CameraRuntimeException"); in testStereotypes() 140 Assert.fail("Should've thrown CameraRuntimeException"); in testStereotypes() 147 Assert.fail("Should've thrown UnsupportedOperationException"); in testStereotypes() 155 Assert.fail("Should've thrown CameraRuntimeException"); in testStereotypes() 159 Assert.fail("Should not throw a DeadObjectException directly, but rethrow"); in testStereotypes() [all …]
|
D | MediaRecorderStateUnitTestTemplate.java | 89 …fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was throw… in setMediaRecorderToInitialStateAfterReset() 111 …fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was throw… in setMediaRecorderToInitialStateAfterStop() 122 … fail("setMediaRecorderToInitializedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToInitializedState() 135 … fail("setMediaRecorderToPreparedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToPreparedState() 149 … fail("setMediaRecorderToRecordingState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToRecordingState() 171 …fail("setMediaRecorderToDataSourceConfiguredState: Exception " + e.getClass().getName() + " was th… in setMediaRecorderToDataSourceConfiguredState() 204 … fail("setMediaRecorderToErrorState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToErrorState()
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyPairGeneratorSpecTest.java | 94 fail("Should throw IllegalArgumentException when context is null"); in testConstructor_NullContext_Failure() 103 fail("Should throw IllegalArgumentException when keystoreAlias is null"); in testConstructor_NullKeystoreAlias_Failure() 112 fail("Should throw IllegalArgumentException when subjectDN is null"); in testConstructor_NullSubjectDN_Failure() 121 fail("Should throw IllegalArgumentException when startDate is null"); in testConstructor_NullSerial_Failure() 130 fail("Should throw IllegalArgumentException when startDate is null"); in testConstructor_NullStartDate_Failure() 139 fail("Should throw IllegalArgumentException when keystoreAlias is null"); in testConstructor_NullEndDate_Failure() 148 fail("Should throw IllegalArgumentException when end is before start"); in testConstructor_EndBeforeStart_Failure()
|
/frameworks/native/cmds/installd/ |
D | installd.c | 386 goto fail; in initialize_directories() 392 goto fail; in initialize_directories() 395 goto fail; in initialize_directories() 398 goto fail; in initialize_directories() 404 goto fail; in initialize_directories() 414 goto fail; in initialize_directories() 425 goto fail; in initialize_directories() 431 goto fail; in initialize_directories() 435 goto fail; in initialize_directories() 446 goto fail; in initialize_directories() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 451 fail(String.format("enable() invalid state: state=%d", state)); in enable() 474 fail(String.format("enable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)", in enable() 511 fail(String.format("disable() invalid state: state=%d", state)); in disable() 534 fail(String.format("disable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)", in disable() 548 fail("discoverable() bluetooth not enabled"); in discoverable() 576 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x " in discoverable() 591 fail("undiscoverable() bluetooth not enabled"); in undiscoverable() 619 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d), flags=0x%x " in undiscoverable() 634 fail("startScan() bluetooth not enabled"); in startScan() 658 fail(String.format("startScan() timeout: isDiscovering=%b, flags=0x%x (expected 0x%x)", in startScan() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ATResponseParserTest.java | 33 fail("exception expected"); in testBasic() 55 fail("exception expected"); in testBasic() 69 fail("exception expected"); in testBasic() 80 fail("exception expected"); in testBasic() 105 fail("expected ex"); in testBasic()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 86 fail("Failed to start the looper."); in setUp() 109 fail("Failed to stop the looper."); in tearDown() 131 fail("Failed to run the command on the looper."); in runOnLooper() 137 fail(String.format("Camera error, code: %d", error)); in onError() 143 fail(String.format("Media recorder error, code: %d\textra: %d", what, extra)); in onError() 154 fail("stressRecordAndPlayback"); in validateRecordedVideo() 158 fail("stressRecordAndPlayback"); in validateRecordedVideo() 269 fail("Record and playback"); in recordVideoAndPlayback() 374 fail("Camera time lapse stress test IllegalStateException"); in testStressTimeLapse() 377 fail("Camera time lapse stress test IOException"); in testStressTimeLapse() [all …]
|
D | CameraStressTest.java | 86 fail("Failed to start the looper."); in setUp() 107 fail("Failed to stop the looper."); in tearDown() 129 fail("Failed to run the command on the looper."); in runOnLooper() 173 fail("Camera scene mode test Exception"); in testStressCameraSceneModes() 188 fail("Camera zoom stress test failed due to unsupported feature"); in testStressCameraZoom() 232 fail("Camera zoom stress test Exception"); in testStressCameraZoom()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | ScanSettingsTest.java | 39 fail("should have thrown IllegalArgumentException!"); in testCallbackType() 48 fail("should have thrown IllegalArgumentException!"); in testCallbackType() 58 fail("should have thrown IllegalArgumentException!"); in testCallbackType()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 52 public int getThreadPriority() { fail(); return -999; } in getThreadPriority() 53 public String getThreadSchedulerGroup() { fail(); return null; } in getThreadSchedulerGroup() 54 public void setPriorityAndCallBack(int p, IBinderThreadPriorityService cb) { fail(); } in setPriorityAndCallBack() 55 public void callBack(IBinderThreadPriorityService cb) { fail(); } in callBack() 56 private static void fail() { throw new RuntimeException("unimplemented"); } in fail() method in BinderThreadPriorityTest.ServiceStub
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraFunctionalTest.java | 86 fail("Failed to start the looper."); in setUp() 103 fail("Failed to stop the looper."); in tearDown() 123 fail("Failed to run the command on the looper."); in runOnLooper() 159 fail("Camera exposure compensation test Exception"); in testFunctionalCameraExposureCompensation() 190 fail("Camera flash mode test Exception"); in testFunctionalCameraFlashModes() 221 fail("Camera focus modes test Exception"); in testFunctionalCameraFocusModes() 252 fail("Camera focus modes test Exception"); in testFunctionalCameraWhiteBalance()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | RequestAPITest.java | 78 fail("expected exception not thrown"); in verifyFailure() 208 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in testGet() 248 fail(); in testReuse() 280 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in testHead() 307 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in testChunked() 340 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in verifyRedirect() 359 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in verifyRedirect() 412 fail(); in testGetAndHead() 442 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in testPost() 480 fail("expectPassed was false " + testEventHandler.getFailureMessage()); in testPostWithData()
|
D | InetAddrTest.java | 65 fail("expected ex"); in testInetAddr() 72 fail("expected ex"); in testInetAddr() 79 fail("expected ex"); in testInetAddr()
|