Searched refs:PartnerEnrollmentChecker (Results 1 – 7 of 7) sorted by relevance
45 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 …]
26 public class PartnerEnrollmentChecker { class29 private static final String TAG = PartnerEnrollmentChecker.class.getSimpleName();
39 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;245 if (!PartnerEnrollmentChecker.isCallerAppEnrolled(callingPackageName)) { in enforceEnrollment()250 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(service.getPackageName())) { in enforceEnrollment()
37 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;99 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in onStartJob()
44 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;149 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in cleanupVendorData()
45 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;119 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in cleanupVendorData()
33 import com.android.ondevicepersonalization.services.enrollment.PartnerEnrollmentChecker;217 if (!PartnerEnrollmentChecker.isIsolatedServiceEnrolled(packageName)) { in refreshFileGroups()