Searched refs:isCallerAppEnrolled (Results 1 – 3 of 3) 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 …]
32 public static boolean isCallerAppEnrolled(final String packageName) { in isCallerAppEnrolled() method in PartnerEnrollmentChecker
245 if (!PartnerEnrollmentChecker.isCallerAppEnrolled(callingPackageName)) { in enforceEnrollment()