Home
last modified time | relevance | path

Searched refs:successMessage (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DIssueCardAnimator.kt47 var successMessage = action.successMessage in transitionToIssueResolvedThenMarkComplete() variable
48 if (TextUtils.isEmpty(successMessage)) { in transitionToIssueResolvedThenMarkComplete()
49 successMessage = context.getString(R.string.safety_center_resolved_issue_fallback) in transitionToIssueResolvedThenMarkComplete()
51 (holder.findViewById(R.id.resolved_issue_text) as TextView).text = successMessage in transitionToIssueResolvedThenMarkComplete()
53 resolvedImageView.contentDescription = successMessage in transitionToIssueResolvedThenMarkComplete()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientTest.java83 String successMessage = "Success!"; in testPerformGetRequestSuccess() local
84 InputStream mockStream = new ByteArrayInputStream(successMessage.getBytes(UTF_8)); in testPerformGetRequestSuccess()
92 .thenReturn((long) successMessage.length()); in testPerformGetRequestSuccess()
98 assertThat(response.getPayload()).isEqualTo(successMessage.getBytes(UTF_8)); in testPerformGetRequestSuccess()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt501 waitAllTextNotDisplayed(action.successMessage) in issueCard_resolveIssueOnSubpage_issueDismisses()
638 val successMessage = action.successMessage in dismissedIssuesCard_resolveIssue_successConfirmationShown() constant
639 waitAllTextDisplayed(successMessage) in dismissedIssuesCard_resolveIssue_successConfirmationShown()
656 val successMessage = action.successMessage in dismissedIssuesCard_resolveIssue_issueDismisses() constant
657 waitAllTextNotDisplayed(successMessage) in dismissedIssuesCard_resolveIssue_issueDismisses()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterIssue.java538 @Nullable CharSequence successMessage, in Action() argument
545 mSuccessMessage = successMessage; in Action()
881 public Builder setSuccessMessage(@Nullable CharSequence successMessage) { in setSuccessMessage() argument
882 mSuccessMessage = successMessage; in setSuccessMessage()
DSafetySourceIssue.java682 @Nullable CharSequence successMessage, in Action() argument
688 mSuccessMessage = successMessage; in Action()
982 public Builder setSuccessMessage(@Nullable CharSequence successMessage) { in setSuccessMessage() argument
983 mSuccessMessage = successMessage; in setSuccessMessage()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DTestNotificationListener.kt149 successMessage: String, in <lambda>()
160 ?.getString(Notification.EXTRA_TITLE) == successMessage) in <lambda>()
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt671 val successMessage = action.successMessage in issueCard_resolveIssue_successConfirmationShown() constant
672 waitAllTextDisplayed(successMessage) in issueCard_resolveIssue_successConfirmationShown()
697 val successMessage = action.successMessage in issueCard_resolveIssue_issueDismisses() constant
698 waitAllTextNotDisplayed(successMessage) in issueCard_resolveIssue_issueDismisses()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java374 private void run(@NonNull Runnable runnable, @NonNull String successMessage) { in run() argument
377 showMessage(successMessage); in run()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterIssueTest.kt351 assertThat(action1.successMessage).isEqualTo("a success message") in action_getSuccessMessage_returnsSuccessMessage()
352 assertThat(action2.successMessage).isNull() in action_getSuccessMessage_returnsSuccessMessage()
DSafetySourceIssueTest.kt106 assertThat(action.successMessage).isNull() in action_getSuccessMessage_withDefaultBuilder_returnsNull()
116 assertThat(action.successMessage).isEqualTo("Action successfully completed") in action_getSuccessMessage_whenSetExplicitly_returnsSuccessMessage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DLiveSafetyCenterViewModel.kt291 .filter { it.isInFlight && !it.successMessage.isNullOrEmpty() } in SafetyCenterData()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockServiceImpl.java477 @NonNull ILockUnlockDeviceCallback callback, @NonNull String successMessage) { in getLockUnlockOutcomeReceiver() argument
481 Slog.i(TAG, successMessage); in getLockUnlockOutcomeReceiver()