Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/data/
DCustomRingtone.kt38 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/
DRingtonePickerActivity.kt295 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>()
DRingtoneViewHolder.kt50 val opaque = itemHolder.isSelected || !itemHolder.hasPermissions() in onBindItemView()
57 if (!itemHolder.hasPermissions()) { in onBindItemView()
85 if (itemHolder!!.hasPermissions()) { in onClick()
DCustomRingtoneHolder.kt22 : RingtoneHolder(ringtone.uri, ringtone.title, ringtone.hasPermissions()) {
DRingtoneHolder.kt37 fun hasPermissions(): Boolean { in hasPermissions() method
/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivityBase.java91 if (!hasPermissions(activity, requiredPermissions)) { in startPermissionActivity()
147 protected static boolean hasPermissions(Context context, String[] permissions) { in hasPermissions() method in RequestPermissionsActivityBase
DRequestPermissionsActivity.java48 return hasPermissions(context, getPermissions(context.getPackageManager())); in hasRequiredPermissions()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java212 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/
DVoicemailPermissionHelper.java45 public static boolean hasPermissions(Context context) { in hasPermissions() method in VoicemailPermissionHelper
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailModule.java44 if (!VoicemailPermissionHelper.hasPermissions(context)) { in provideVoicemailClient()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java103 return hasTelephony() && hasPermissions() && in canReadSimContacts()
391 private boolean hasPermissions() { in hasPermissions() method in SimContactDaoImpl