Home
last modified time | relevance | path

Searched refs:hasPermissions (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DChipsUtil.java78 public static boolean hasPermissions(Context context, in hasPermissions() method in ChipsUtil
DRecipientAlternatesAdapter.java127 if (ChipsUtil.hasPermissions(context, permissionsCheckListener)) { in getMatchingRecipients()
181 if (ChipsUtil.hasPermissions(context, permissionsCheckListener)) { in getMatchingRecipientsFromDirectoryQueries()
345 if (!ChipsUtil.hasPermissions(context, permissionsCheckListener)) { in doQuery()
437 if (ChipsUtil.hasPermissions(context, permissionsCheckListener)) { in getCursorForConstruction()
DBaseRecipientAdapter.java243 if (!ChipsUtil.hasPermissions(mContext, mPermissionsCheckListener)) { in performFiltering()
356 if (!ChipsUtil.hasPermissions(mContext, mPermissionsCheckListener)) { in searchOtherDirectories()
933 if (!ChipsUtil.hasPermissions(mContext, mPermissionsCheckListener)) { in doQuery()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java83 if (hasPermissions(serviceInfo.applicationInfo.uid, serviceInfo.packageName)) { in getAllValidScorers()
201 private boolean hasPermissions(final int uid, final String packageName) { in hasPermissions() method in NetworkScorerAppManager
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java950 private boolean hasPermissions(String callingPackage, String... permissions) { in hasPermissions() method in UsageStatsService.BinderService
957 boolean hasPermissions = true; in hasPermissions()
960 hasPermissions = hasPermissions && (context.checkCallingPermission(permissions[i]) in hasPermissions()
963 return hasPermissions; in hasPermissions()
1460 if (!hasPermissions(callingPackage, in registerAppUsageLimitObserver()
1485 if (!hasPermissions(callingPackage, in unregisterAppUsageLimitObserver()