Home
last modified time | relevance | path

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

123

/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DAbstractSdkLevelSupportedRule.java184 reason = getReason(reason, ((RequiresSdkLevelAtLeastR) annotation).reason());
188 reason = getReason(reason, ((RequiresSdkLevelAtLeastS) annotation).reason());
192 reason = getReason(reason, ((RequiresSdkLevelAtLeastS2) annotation).reason());
196 reason = getReason(reason, ((RequiresSdkLevelAtLeastT) annotation).reason());
201 reason = getReason(reason, ((RequiresSdkLevelAtLeastU) annotation).reason());
206 reason = getReason(reason, ((RequiresSdkRange) annotation).reason());
232 private String getReason(String currentReason, String newReason) {
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterRefreshTracker.java105 if (mRefreshInProgress.getReason() == REFRESH_REASON_RESCAN_BUTTON_CLICK) { in getRefreshStatus()
119 return mRefreshInProgress.getReason(); in getRefreshReason()
169 int refreshReason = refreshInProgress.getReason(); in reportSourceRefreshCompleted()
267 int refreshReason = clearedRefresh.getReason(); in timeoutRefresh()
404 private int getReason() { in getReason() method in SafetyCenterRefreshTracker.RefreshInProgress
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DMetadataFuture.java48 if (failure.getReason() == CaptureFailure.REASON_FLUSHED) { in onFailed()
50 } else if (failure.getReason() == CaptureFailure.REASON_ERROR) { in onFailed()
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DVideoCallNotAvailablePrompt.java39 && TelecomManagerCompat.REASON_IMS_ACCESS_BLOCKED.equals(disconnectCause.getReason())) { in shouldShow()
43 disconnectCause.getReason()); in shouldShow()
DDisconnectMessage.java63 cause.getReason(), in toString()
DEnableWifiCallingPrompt.java43 String reason = disconnectCause.getReason(); in shouldShow()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpByePacketTest.cpp139 RtpBuffer* reasonBuf = rtcpByePacket->getReason(); in TEST_F()
228 EXPECT_EQ(reasonBuf, rtcpByePacket->getReason()); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/core/
DRtcpByePacket.h62 RtpBuffer* getReason();
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxMetricsTestApp.java111 assertThat(mostRecentExitInfo.getReason()).isEqualTo(ApplicationExitInfo.REASON_CRASH); in testSdkCanAccessSdkSandboxExitReasons()
130 assertThat(info.getReason()).isEqualTo(ApplicationExitInfo.REASON_CRASH); in testAppWithDumpPermissionCanAccessSdkSandboxExitReasons()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DTaskViewPanelStateChangeReason.java98 public String getReason() { in getReason() method in TaskViewPanelStateChangeReason
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/
DRepeatFailureDetector.java110 if (failure.getReason() == CaptureFailure.REASON_ERROR) { in onFailed()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraOnControleeRemovedParams.java88 public @Reason int getReason() { in getReason() method in FiraOnControleeRemovedParams
/packages/apps/SecureElement/src/com/android/se/security/
DAccessControlEnforcer.java241 String reason = ca.getReason(); in checkCommand()
280 mTag + " access denied: " + mInitialChannelAccess.getReason()); in setUpChannelAccess()
DChannelAccess.java116 public String getReason() { in getReason() method in ChannelAccess
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DReportDetails.java102 final String reason = header.getReason(); in parseReasons()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitHomeScreen.java315 if (!ON_TASK_MOVED_TO_FRONT.equals(reason.getReason())) { in handleCalmMode()
417 if (ON_TASK_MOVED_TO_FRONT.equals(reason.getReason())) { in shouldOpenPanelForAppGrid()
420 } else if (ON_ACTIVITY_RESTART_ATTEMPT.equals(reason.getReason()) in shouldOpenPanelForAppGrid()
1091 if (!ON_PANEL_READY.equals(reason.getReason())) { in setUpRootTaskView()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpByePacket.cpp57 RtpBuffer* RtcpByePacket::getReason() in getReason() function in RtcpByePacket
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DAnrOccurredConverter.java51 a -> a.getReason()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DSmartForwardingUtils.java71 preferences.putInt(CALL_FORWARDING_REASON_KEY, callForwardingInfo.getReason()).commit(); in saveCallForwardingStatus()
DSmartForwardingActivity.java161 if (result.getReason() == FeatureResult.FailedReason.SIM_NOT_ACTIVE) { in onError()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DRetryLaunchViewModel.java177 int getReason() { in getReason() method in RetryLaunchViewModel.LaunchActivityFailureEvent
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java434 assertEquals(DownloadManager.ERROR_TOO_MANY_REDIRECTS, download.getReason()); in testRunawayRedirect()
476 assertEquals(DownloadManager.PAUSED_WAITING_TO_RETRY, download.getReason()); in testEtagChanged()
484 assertEquals(DownloadManager.ERROR_CANNOT_RESUME, download.getReason()); in testEtagChanged()
DAbstractPublicApiTest.java58 public int getReason() { in getReason() method in AbstractPublicApiTest.Download
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java220 if (REASON_VOICE_CALL_ENDED.equals(mmsNetworkInfo.getReason())) { in onMmsConnectivityChange()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraOpenerImpl.java208 if (ex.getReason() == CameraAccessException.CAMERA_IN_USE) { in open()

123