Home
last modified time | relevance | path

Searched refs:SafetySourceErrorDetails (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceErrorDetails.java39 public final class SafetySourceErrorDetails implements Parcelable { class
42 public static final Creator<SafetySourceErrorDetails> CREATOR =
43 new Creator<SafetySourceErrorDetails>() {
45 public SafetySourceErrorDetails createFromParcel(Parcel in) {
47 return new SafetySourceErrorDetails(safetyEvent);
51 public SafetySourceErrorDetails[] newArray(int size) {
52 return new SafetySourceErrorDetails[0];
58 public SafetySourceErrorDetails(@NonNull SafetyEvent safetyEvent) { in SafetySourceErrorDetails() method in SafetySourceErrorDetails
71 if (!(o instanceof SafetySourceErrorDetails)) return false; in equals()
72 SafetySourceErrorDetails that = (SafetySourceErrorDetails) o; in equals()
DISafetyCenterManager.aidl23 import android.safetycenter.SafetySourceErrorDetails;
69 in SafetySourceErrorDetails safetySourceErrorDetails, in reportSafetySourceError()
DSafetySourceErrorDetails.aidl24 parcelable SafetySourceErrorDetails;
DSafetyCenterManager.java418 @NonNull SafetySourceErrorDetails safetySourceErrorDetails) { in reportSafetySourceError()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceErrorDetailsTest.kt20 import android.safetycenter.SafetySourceErrorDetails
33 val errorDetails = SafetySourceErrorDetails(SAFETY_EVENT) in getSafetyEvent_returnsSafetyEvent()
40 val errorDetails = SafetySourceErrorDetails(SAFETY_EVENT) in parcelRoundTrip_recreatesEqual()
42 assertThat(errorDetails).recreatesEqual(SafetySourceErrorDetails.CREATOR) in parcelRoundTrip_recreatesEqual()
48 parcelableCreator = SafetySourceErrorDetails.CREATOR in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
51 SafetySourceErrorDetails(SAFETY_EVENT), in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
52 SafetySourceErrorDetails( in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
57 SafetySourceErrorDetails( in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
DSafetyCenterUnsupportedTest.kt24 import android.safetycenter.SafetySourceErrorDetails
162 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_doesntCallListener()
175 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_withoutPermission_throwsSecurityException()
DSafetyCenterManagerTest.kt34 import android.safetycenter.SafetySourceErrorDetails
704 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_changesSafetyCenterDataButDoesntCallErrorListener()
719 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_unknownId_throwsIllegalArgumentException()
734 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_staticId_throwsIllegalArgumentException()
751 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_differentPackage_throwsIllegalArgumentException()
771 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_withFlagDisabled_doesntCallListener()
784 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in reportSafetySourceError_withoutPermission_throwsSecurityException()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterApisWithShellPermissions.kt28 import android.safetycenter.SafetySourceErrorDetails
75 safetySourceErrorDetails: SafetySourceErrorDetails in SafetyCenterManager()
DSafetySourceIntentHandler.kt36 import android.safetycenter.SafetySourceErrorDetails
227 reportSafetySourceError(request.sourceId, SafetySourceErrorDetails(safetyEvent)) in processRequest()
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetySourceStateCollectedLoggingHelperTests.kt22 import android.safetycenter.SafetySourceErrorDetails
83 SafetySourceErrorDetails( in reportSafetySourceError_source1()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetySourceDataRepository.java31 import android.safetycenter.SafetySourceErrorDetails;
165 SafetySourceKey safetySourceKey, SafetySourceErrorDetails safetySourceErrorDetails) { in reportSafetySourceError()
DSafetyCenterDataManager.java29 import android.safetycenter.SafetySourceErrorDetails;
212 SafetySourceErrorDetails safetySourceErrorDetails, in reportSafetySourceError()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt57 import android.safetycenter.SafetySourceErrorDetails in <lambda>()
1239 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
2621 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
2680 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
2919 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
2923 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
2963 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
3790 SafetySourceErrorDetails(EVENT_SOURCE_STATE_CHANGED) in <lambda>()
DSafetyCenterNotificationTest.kt29 import android.safetycenter.SafetySourceErrorDetails
585 SafetySourceErrorDetails( in reportSafetySourceError_sourceWithNotification_cancelsNotification()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java63 import android.safetycenter.SafetySourceErrorDetails;
369 SafetySourceErrorDetails errorDetails, in reportSafetySourceError()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt272 …d reportSafetySourceError(@NonNull String, @NonNull android.safetycenter.SafetySourceErrorDetails);
403 public final class SafetySourceErrorDetails implements android.os.Parcelable {
404 ctor public SafetySourceErrorDetails(@NonNull android.safetycenter.SafetyEvent);
408 … static final android.os.Parcelable.Creator<android.safetycenter.SafetySourceErrorDetails> CREATOR;