/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | CustomRingtone.java | 39 CustomRingtone(long id, Uri uri, String title, boolean hasPermissions) { in CustomRingtone() argument 43 mHasPermissions = hasPermissions; in CustomRingtone() 49 public boolean hasPermissions() { return mHasPermissions; } in hasPermissions() method in CustomRingtone 51 CustomRingtone setHasPermissions(boolean hasPermissions) { in setHasPermissions() argument 52 if (mHasPermissions == hasPermissions) { in setHasPermissions() 56 return new CustomRingtone(mId, mUri, mTitle, hasPermissions); in setHasPermissions()
|
D | CustomRingtone.kt | 38 fun hasPermissions(): Boolean = mHasPermissions in hasPermissions() method 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 | RingtoneHolder.java | 38 RingtoneHolder(Uri uri, String name, boolean hasPermissions) { in RingtoneHolder() argument 41 mHasPermissions = hasPermissions; in RingtoneHolder() 45 boolean hasPermissions() { return mHasPermissions; } in hasPermissions() method in RingtoneHolder
|
D | RingtonePickerActivity.kt | 294 val hasPermissions = toRemove.hasPermissions() in <lambda>() constant 295 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.uri, hasPermissions) in <lambda>() 395 fun show(manager: FragmentManager, toRemove: Uri?, hasPermissions: Boolean) { in <lambda>() 402 args.putBoolean(ARG_RINGTONE_HAS_PERMISSIONS, hasPermissions) in <lambda>() 406 fragment.isCancelable = hasPermissions in <lambda>()
|
D | RingtonePickerActivity.java | 359 final boolean hasPermissions = toRemove.hasPermissions(); in onContextItemSelected() 360 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.getUri(), hasPermissions); in onContextItemSelected() 440 static void show(FragmentManager manager, Uri toRemove, boolean hasPermissions) { in show() argument 447 args.putBoolean(ARG_RINGTONE_HAS_PERMISSIONS, hasPermissions); in show() 451 fragment.setCancelable(hasPermissions); in show()
|
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 | RingtoneViewHolder.java | 65 final boolean opaque = itemHolder.isSelected() || !itemHolder.hasPermissions(); in onBindItemView() 72 if (!itemHolder.hasPermissions()) { in onBindItemView() 101 if (getItemHolder().hasPermissions()) { in onClick()
|
D | CustomRingtoneHolder.kt | 22 : RingtoneHolder(ringtone.uri, ringtone.title, ringtone.hasPermissions()) {
|
D | CustomRingtoneHolder.java | 24 super(ringtone.getUri(), ringtone.getTitle(), ringtone.hasPermissions()); in CustomRingtoneHolder()
|
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 | 110 return hasTelephony() && hasPermissions() && in canReadSimContacts() 403 private boolean hasPermissions() { in hasPermissions() method in SimContactDaoImpl
|