Home
last modified time | relevance | path

Searched refs:assertResult (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java182 assertResult("installCaCert", true); in testCaCertsOperations()
188 assertResult("getInstalledCaCerts()", true); in testCaCertsOperations()
192 assertResult("uninstallCaCert()", true); in testCaCertsOperations()
201 assertResult("installCaCert", false); in testCaCertsOperations()
212 assertResult("installKeyPair", false); in testInstallKeyPair()
222 assertResult("installKeyPair", true); in testInstallKeyPair()
286 private void assertResult(String testName, Boolean expectSuccess) throws InterruptedException { in assertResult() method in DelegatedCertInstallerTest
/cts/hostsidetests/services/windowmanager/src/android/wm/cts/
DCrossAppDragAndDropTests.java303 assertResult(RESULT_KEY_DROP_RESULT, expectedDropResult); in doTestDragAndDrop()
307 private void assertResult(String resultKey, String expectedResult) { in assertResult() method in CrossAppDragAndDropTests
320 assertResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in testCancelSoon()
321 assertResult(RESULT_KEY_EXTRAS, RESULT_OK); in testCancelSoon()
326 assertResult(RESULT_KEY_DRAG_STARTED, null); in testDisallowGlobal()
332 assertResult(RESULT_KEY_DRAG_STARTED, null); in testDisallowGlobalBelowSdk24()
337 assertResult(RESULT_KEY_DRAG_STARTED, RESULT_OK); in testGrantNoneRequestNone()
338 assertResult(RESULT_KEY_EXTRAS, RESULT_OK); in testGrantNoneRequestNone()