Home
last modified time | relevance | path

Searched refs:hasPermissions (Results 1 – 6 of 6) 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.java1432 private boolean hasPermissions(String callingPackage, String... permissions) { in hasPermissions() method in UsageStatsService.BinderService
1439 boolean hasPermissions = true; in hasPermissions()
1442 hasPermissions = hasPermissions && (context.checkCallingPermission(permissions[i]) in hasPermissions()
1445 return hasPermissions; in hasPermissions()
1915 if (!hasPermissions(callingPackage, in registerAppUsageLimitObserver()
1942 if (!hasPermissions(callingPackage, in unregisterAppUsageLimitObserver()
/frameworks/base/services/
Dart-profile2799 PLcom/android/server/NetworkScorerAppManager;->hasPermissions(ILjava/lang/String;)Z
32160 PLcom/android/server/usage/UsageStatsService$BinderService;->hasPermissions(Ljava/lang/String;[Ljav…