Home
last modified time | relevance | path

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

/cts/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.java158 if (getResultCode() == mExpectedInitialCode) { in onReceive()
174 assertEquals(0, internalReceiver.getResultCode()); in testOnReceive()
199 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testOnReceiverOrdered()
213 assertEquals(0, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
231 assertEquals(RESULT_INTERNAL_FINAL_CODE, internalOrderReceiver.getResultCode()); in testAbortBroadcast()
250 assertEquals(0, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
262 assertEquals(RESULT_INTERNAL_FINAL_CODE, lastReceiver.getResultCode()); in testDisabledBroadcastReceiver()
DContextWrapperTest.java204 assertEquals("Incorrect code: " + broadcastReceiver.getResultCode(), 3, in testSendOrderedBroadcast2()
205 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/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java123 handleResultCode(getResultCode(), "delivery"); in onReceive()
125 handleResultCode(getResultCode(), "sent"); in onReceive()
/cts/tests/app/app/src/android/app/stubs/
DMockReceiver.java42 sResultCode = getResultCode(); in onReceive()
DActivityTestsBase.java195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DBaseGnssTestActivity.java179 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
338 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult()
366 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java199 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in run()
432 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in setTestResult()
460 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeActivityTests()
485 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in promptUserToSetResult()
573 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in logTestDetails()
DSensorCtsVerifierTestActivity.java104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/
DGnssTestDetails.java92 public ResultCode getResultCode() { in getResultCode() method in GnssTestDetails
/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.java718 public int getResultCode() { in getResultCode() method in DeqpTestRunner.InstrumentationParser
773 public int getResultCode() { in getResultCode() method in DeqpTestRunner.PlatformQueryInstrumentationParser
1742 if (parser.wasSuccessful() && parser.getResultCode() == 0 && in queryIsSupportedConfigCommandLine()
1754 parser.getResultCode(), parser.getResultMap().toString()); in queryIsSupportedConfigCommandLine()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java107 final int resultCode = getResultCode(); in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java294 accept(Integer.valueOf(getResultCode())); in onReceive()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java437 result.offer(getResultCode()); in sendOrderedBroadcastAndReturnResultCode()
/cts/tools/dex-tools/dex/
Dclasses.out.dex3921 public final int getResultCode()
12626 public int getResultCode()
15656 public int getResultCode()