Searched refs:getAdminRestriction (Results 1 – 2 of 2) sorted by relevance
107 val admin = appForceStopButton.getAdminRestriction(createApp()) in getAdminRestriction_packageNotProtected()121 val admin = appForceStopButton.getAdminRestriction(createApp())!! in getAdminRestriction_packageProtectedAndHaveOwner()135 val admin = appForceStopButton.getAdminRestriction(createApp())!! in getAdminRestriction_packageProtectedAndNotHaveOwner()
64 getAdminRestriction(app)?.let { admin -> in <lambda>()72 fun getAdminRestriction(app: ApplicationInfo): EnforcedAdmin? = when { in <lambda>() method in com.android.settings.spa.app.appinfo.AppForceStopButton