Searched refs:hasPermissions (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 78 public static boolean hasPermissions(Context context, in hasPermissions() method in ChipsUtil
|
D | RecipientAlternatesAdapter.java | 127 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()
|
D | BaseRecipientAdapter.java | 243 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/ |
D | NetworkScorerAppManager.java | 83 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/ |
D | UsageStatsService.java | 950 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()
|