Home
last modified time | relevance | path

Searched refs:getResultCode (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DInstrumentation_ActivityResultTest.java30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp()
34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode()); in testActivityResultOp()
/cts/tests/tests/content/src/android/content/cts/
DBroadcastReceiverTest.java149 if (getResultCode() == mExpectedInitialCode) { in onReceive()
165 assertEquals(0, internalReceiver.getResultCode()); in testOnReceive()
188 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testOnReceiverOrdered()
202 assertEquals(0, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
219 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
238 assertEquals(0, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
249 assertEquals(RESULT_INTERNAL_FINAL_CODE, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
DContextWrapperTest.java201 assertEquals("Incorrect code: " + broadcastReceiver.getResultCode(), 3, in testSendOrderedBroadcast2()
202 broadcastReceiver.getResultCode()); in testSendOrderedBroadcast2()
/cts/tests/tests/os/src/android/os/cts/
DResultReceiverTest.java36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver()
69 public int getResultCode() { in getResultCode() method in ResultReceiverTest.MockResultReceiver
DActivityTestsBase.java195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
/cts/tests/app/src/android/app/cts/
DMockReceiver.java37 sResultCode = getResultCode(); in onReceive()
DActivityTestsBase.java195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java119 handleResultCode(getResultCode(), "delivery"); in onReceive()
121 handleResultCode(getResultCode(), "sent"); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java197 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
430 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult()
458 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests()
483 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in promptUserToSetResult()
567 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in logTestDetails()
DSensorCtsVerifierTestActivity.java104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java97 public ResultCode getResultCode() { in getResultCode() method in SensorTestDetails
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DModifyInstallerPackageTest.java51 switch (getResultCode()) { in onReceive()
DAccessPermissionWithDiffSigTest.java438 switch (getResultCode()) { in onReceive()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java658 public int getResultCode() { in getResultCode() method in DeqpTestRunner.InstrumentationParser
713 public int getResultCode() { in getResultCode() method in DeqpTestRunner.PlatformQueryInstrumentationParser
1668 if (parser.wasSuccessful() && parser.getResultCode() == 0 && in queryIsSupportedConfigCommandLine()
1680 parser.getResultCode(), parser.getResultMap().toString()); in queryIsSupportedConfigCommandLine()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java105 final int resultCode = getResultCode(); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java294 accept(Integer.valueOf(getResultCode())); in onReceive()