/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() 75 fail("PackageManager.installPackage" + in testInstallPackage() 90 fail("PackageManager.freeStorage " + in testFreeStorage1() 105 fail("PackageManager.freeStorageAndNotify" + in testFreeStorage2() 120 fail("PackageManager.clearApplicationUserData" + in testClearApplicationUserData() 135 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 | 51 fail("vibrate did not throw SecurityException as expected"); in testVibrate() 67 fail("vibratePattern did not throw SecurityException as expected"); in testVibratePattern() 82 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/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/core/tests/coretests/src/android/util/ |
D | JsonReaderTest.java | 97 fail(); in testNulls() 226 fail(); in testLenientDoubles() 233 fail(); in testLenientDoubles() 267 fail(); in testTruncatedBufferBoundary() 320 fail(); in testLongs() 326 fail(); in testLongs() 380 fail(); in testNonFiniteDouble() 391 fail(); in testNumberWithHexPrefix() 402 fail(); in testNumberWithOctalPrefix() 435 fail(); in testMissingValue() [all …]
|
D | JsonWriterTest.java | 32 fail(); in testWrongTopLevelType() 44 fail(); in testTwoNames() 56 fail(); in testNameWithoutValue() 67 fail(); in testValueWithoutName() 78 fail(); in testMultipleTopLevelValues() 90 fail(); in testBadNestingObject() 102 fail(); in testBadNestingArray() 113 fail(); in testNullName() 134 fail(); in testNonFiniteDoubles() 139 fail(); in testNonFiniteDoubles() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
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()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | PreviewRenderer.cpp | 55 if (err) goto fail; in init() 59 if (err) goto fail; in init() 62 if (err) goto fail; in init() 66 if (err) goto fail; in init() 70 if (err) goto fail; in init() 73 if (err) goto fail; in init() 75 fail: in init()
|
/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 | 344 goto fail; in initialize_directories() 350 goto fail; in initialize_directories() 353 goto fail; in initialize_directories() 356 goto fail; in initialize_directories() 362 goto fail; in initialize_directories() 372 goto fail; in initialize_directories() 383 goto fail; in initialize_directories() 389 goto fail; in initialize_directories() 400 goto fail; in initialize_directories() 424 goto fail; in initialize_directories() [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/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 450 fail(String.format("enable() invalid state: state=%d", state)); in enable() 473 fail(String.format("enable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)", in enable() 510 fail(String.format("disable() invalid state: state=%d", state)); in disable() 533 fail(String.format("disable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)", in disable() 547 fail("discoverable() bluetooth not enabled"); in discoverable() 575 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x " in discoverable() 590 fail("undiscoverable() bluetooth not enabled"); in undiscoverable() 618 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d), flags=0x%x " in undiscoverable() 633 fail("startScan() bluetooth not enabled"); in startScan() 657 fail(String.format("startScan() timeout: isDiscovering=%b, flags=0x%x (expected 0x%x)", in startScan() [all …]
|
/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/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()
|