Home
last modified time | relevance | path

Searched refs:PartnerEnrollmentChecker (Results 1 – 7 of 7) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/enrollment/
DPartnerEnrollmentCheckerTest.java45 assertTrue(PartnerEnrollmentChecker.isCallerAppEnrolled("app1")); in testIsCallerAppEnrolled()
46 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled("app")); in testIsCallerAppEnrolled()
47 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled("app4")); in testIsCallerAppEnrolled()
48 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled("app5")); in testIsCallerAppEnrolled()
49 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled("")); in testIsCallerAppEnrolled()
50 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled(null)); in testIsCallerAppEnrolled()
53 assertTrue(PartnerEnrollmentChecker.isCallerAppEnrolled("random")); in testIsCallerAppEnrolled()
54 assertTrue(PartnerEnrollmentChecker.isCallerAppEnrolled("")); in testIsCallerAppEnrolled()
55 assertTrue(PartnerEnrollmentChecker.isCallerAppEnrolled(null)); in testIsCallerAppEnrolled()
58 assertFalse(PartnerEnrollmentChecker.isCallerAppEnrolled("random")); in testIsCallerAppEnrolled()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/enrollment/
DPartnerEnrollmentChecker.java26 public class PartnerEnrollmentChecker { class
29 private static final String TAG = PartnerEnrollmentChecker.class.getSimpleName();
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationManagingServiceDelegate.java39 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;
245 if (!PartnerEnrollmentChecker.isCallerAppEnrolled(callingPackageName)) { in enforceEnrollment()
250 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(service.getPackageName())) { in enforceEnrollment()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDownloadProcessingJobService.java37 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;
99 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in onStartJob()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/maintenance/
DOnDevicePersonalizationMaintenanceJob.java44 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;
149 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in cleanupVendorData()
DOnDevicePersonalizationMaintenanceJobService.java45 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;
119 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in cleanupVendorData()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileGroupPopulator.java33 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;
217 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in refreshFileGroups()