/cts/tests/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityResultTest.java | 30 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/ |
D | BroadcastReceiverTest.java | 149 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()
|
D | ContextWrapperTest.java | 201 assertEquals("Incorrect code: " + broadcastReceiver.getResultCode(), 3, in testSendOrderedBroadcast2() 202 broadcastReceiver.getResultCode()); in testSendOrderedBroadcast2()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ResultReceiverTest.java | 36 assertEquals(resultCode, sender.getResultCode()); in testResultReceiver() 69 public int getResultCode() { in getResultCode() method in ResultReceiverTest.MockResultReceiver
|
D | ActivityTestsBase.java | 195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
|
/cts/tests/app/src/android/app/cts/ |
D | MockReceiver.java | 37 sResultCode = getResultCode(); in onReceive()
|
D | ActivityTestsBase.java | 195 public int getResultCode() { in getResultCode() method in ActivityTestsBase
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoReceiveSmsPermissionTest.java | 119 handleResultCode(getResultCode(), "delivery"); in onReceive() 121 handleResultCode(getResultCode(), "sent"); in onReceive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 197 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()
|
D | SensorCtsVerifierTestActivity.java | 104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); in executeTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 97 public ResultCode getResultCode() { in getResultCode() method in SensorTestDetails
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ModifyInstallerPackageTest.java | 51 switch (getResultCode()) { in onReceive()
|
D | AccessPermissionWithDiffSigTest.java | 438 switch (getResultCode()) { in onReceive()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 658 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/ |
D | MmsTest.java | 105 final int resultCode = getResultCode(); in onReceive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 294 accept(Integer.valueOf(getResultCode())); in onReceive()
|