Searched refs:hasPermissions (Results 1 – 11 of 11) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CustomRingtone.kt | 38 fun hasPermissions(): Boolean = mHasPermissions in hasPermissions() method in com.android.deskclock.data.CustomRingtone 40 fun setHasPermissions(hasPermissions: Boolean): CustomRingtone = in hasPermissions() 41 if (mHasPermissions == hasPermissions) { in hasPermissions() 44 CustomRingtone(id, mUri, title, hasPermissions)
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.kt | 295 val hasPermissions = toRemove.hasPermissions() in <lambda>() constant 296 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.uri, hasPermissions) in <lambda>() 396 fun show(manager: FragmentManager, toRemove: Uri?, hasPermissions: Boolean) { in <lambda>() 403 args.putBoolean(ARG_RINGTONE_HAS_PERMISSIONS, hasPermissions) in <lambda>() 407 fragment.isCancelable = hasPermissions in <lambda>()
|
D | RingtoneViewHolder.kt | 50 val opaque = itemHolder.isSelected || !itemHolder.hasPermissions() in onBindItemView() 57 if (!itemHolder.hasPermissions()) { in onBindItemView() 85 if (itemHolder!!.hasPermissions()) { in onClick()
|
D | CustomRingtoneHolder.kt | 22 : RingtoneHolder(ringtone.uri, ringtone.title, ringtone.hasPermissions()) {
|
D | RingtoneHolder.kt | 37 fun hasPermissions(): Boolean { in hasPermissions() method
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivityBase.java | 91 if (!hasPermissions(activity, requiredPermissions)) { in startPermissionActivity() 147 protected static boolean hasPermissions(Context context, String[] permissions) { in hasPermissions() method in RequestPermissionsActivityBase
|
D | RequestPermissionsActivity.java | 48 return hasPermissions(context, getPermissions(context.getPackageManager())); in hasRequiredPermissions()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 212 public static boolean hasPermissions(final String[] permissions) { in hasPermissions() method in OsUtil 274 return hasPermissions(sRequiredPermissions); in hasRequiredPermissions()
|
/packages/apps/Dialer/java/com/android/voicemail/ |
D | VoicemailPermissionHelper.java | 45 public static boolean hasPermissions(Context context) { in hasPermissions() method in VoicemailPermissionHelper
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VoicemailModule.java | 44 if (!VoicemailPermissionHelper.hasPermissions(context)) { in provideVoicemailClient()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 103 return hasTelephony() && hasPermissions() && in canReadSimContacts() 391 private boolean hasPermissions() { in hasPermissions() method in SimContactDaoImpl
|