Home
last modified time | relevance | path

Searched refs:getReason (Results 1 – 25 of 32) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DTestCase.java97 mListener.onTestFailed(getReason()); in start()
179 private String getReason() { in getReason() method in TestCase
DP2pClientConfigTestCase.java79 sb.append(listener.getReason()); in getListenerError()
DP2pClientPbcTestCase.java119 sb.append(listener.getReason()); in getListenerError()
DServReqTestCase.java114 sb.append(listener.getReason()); in getListenerError()
DP2pClientPinTestCase.java116 sb.append(listener.getReason()); in getListenerError()
DListenerTest.java125 public synchronized String getReason() { in getReason() method in ListenerTest
/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountSuggestionTest.java29 assertEquals(PhoneAccountSuggestion.REASON_INTRA_CARRIER, suggestion.getReason()); in testAccessors()
DDataObjectUnitTests.java188 assertEquals(reason, cause.getReason()); in testDisconnectCause()
201 assertEquals(reason, parcelCause.getReason()); in testDisconnectCause()
229 assertEquals(reason, cause.getReason()); in testDisconnectCauseWithTelephonyDebugInfo()
DExtendedInCallServiceTest.java654 connection.getDisconnectCause().getReason()); in testRejectIncomingCallWithUnwantedReason()
679 connection.getDisconnectCause().getReason()); in testRejectIncomingCallWithDeclinedReason()
/cts/tests/app/app/src/android/app/stubs/
DStubRemoteService.java62 return asi.getReason();
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordDetectionServiceRestartedStatsTests.java115 metric.getAtom().getHotwordDetectionServiceRestarted().getReason(); in testLogHotwordDetectionServiceRestartedDspScheduleRestartService()
143 metric.getAtom().getHotwordDetectionServiceRestarted().getReason(); in testLogHotwordDetectionServiceRestartedSoftwareScheduleRestartService()
/cts/tests/inputmethod/src/com/android/cts/mockime/
DMockImeSessionCrashTest.java63 exitInfo.getReason()).isEqualTo(ApplicationExitInfo.REASON_USER_REQUESTED); in testRetrieveExitReasonsWhenMockImeSessionCrashes()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DMmTelFeatureTestOnMockModem.java457 assertEquals(0, result.getReason()); in testStartAndStopImsTrafficSession()
499 assertEquals(0, result.getReason()); in testStartAndStopImsTrafficSession()
514 assertEquals(0, result.getReason()); in testStartAndStopImsTrafficSession()
540 assertEquals(REASON_RF_BUSY, result.getReason()); in testStartAndStopImsTrafficSession()
566 assertEquals(0, result.getReason()); in testStartAndStopImsTrafficSession()
574 assertEquals(REASON_RRC_TIMEOUT, result.getReason()); in testStartAndStopImsTrafficSession()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java105 assertThat(appDied.getReason()).isEqualTo(REASON_PERMISSION_CHANGE); in testLogStatsdPermChanged()
120 assertThat(appDied.getReason()).isEqualTo(REASON_OTHER); in testLogStatsdOther()
/cts/hostsidetests/gwp_asan/common/android/cts/gwp_asan/
DUtils.java116 if (exitReason.getReason() != ApplicationExitInfo.REASON_CRASH_NATIVE) continue; in appExitInfoHasReport()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/display/
DDisplayBrightnessChangedStatsTests.java95 assertThat(displayBrightnessChanged.getReason()) in testBrightnessEventReported()
/cts/hostsidetests/compilation/status_checker_app/src/android/compilation/cts/statuscheckerapp/
DStatusCheckerAppTest.java66 assertThat(info.getReason()).isEqualTo(bundle.getString("compilation-reason")); in checkStatus()
/cts/tests/camera/src/android/hardware/camera2/cts/
DIdleUidTest.java130 assertThat(e.getReason()).isSameInstanceAs(CameraAccessException.CAMERA_DISABLED); in assertCameraAccess()
DFlashlightTest.java390 int reason = e.getReason(); in testTorchModeExceptions()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DAnrTests.java221 assertEquals(ApplicationExitInfo.REASON_ANR, reasons.get(0).getReason()); in waitForNewExitReasonAfter()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java227 assertThat(result.getReason().toString()).isEqualTo("REASON_UNKNOWN"); in testTrackChangeEvent_default()
258 assertThat(result.getReason().toString()).isEqualTo("REASON_MANUAL"); in testTrackChangeEvent_text()
287 assertThat(result.getReason().toString()).isEqualTo("REASON_INITIAL"); in testTrackChangeEvent_audio()
318 assertThat(result.getReason().toString()).isEqualTo("REASON_INITIAL"); in testTrackChangeEvent_video()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java156 enablePassButton = (e.getReason() == CameraAccessException.CAMERA_DISABLED); in onResume()
/cts/tests/app/AppStartTest/src/android/app/cts/
DActivityManagerAppStartInfoTest.java501 assertEquals(reason, info.getReason()); in verify()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java1042 assertEquals(ApplicationExitInfo.REASON_PACKAGE_STATE_CHANGE, list.get(0).getReason()); in testPackageDisabled()
1066 assertEquals(ApplicationExitInfo.REASON_PACKAGE_UPDATED, list.get(0).getReason()); in testPackageUpdated()
1555 assertEquals(reason, info.getReason()); in verify()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java300 e.getReason() == CameraAccessException.CAMERA_IN_USE); in testBasicCamera2ActivityEvictionInternal()

12