Lines Matching refs:permission
17 package foo.bar.permission;
192 case Manifest.permission.READ_CALENDAR: { in onRequestPermissionsResult()
197 case Manifest.permission.READ_CONTACTS: { in onRequestPermissionsResult()
224 if (checkSelfPermission(Manifest.permission.READ_CONTACTS) in showContacts()
226 requestPermissions(new String[] {Manifest.permission.READ_CONTACTS}, in showContacts()
238 if (checkSelfPermission(Manifest.permission.READ_CALENDAR) in showEvents()
240 requestPermissions(new String[]{Manifest.permission.READ_CALENDAR}, in showEvents()
253 if (checkSelfPermission(Manifest.permission.READ_CALENDAR) in requestPermissions()
255 permissions.add(Manifest.permission.READ_CALENDAR); in requestPermissions()
257 if (checkSelfPermission(Manifest.permission.READ_CONTACTS) in requestPermissions()
259 permissions.add(Manifest.permission.READ_CONTACTS); in requestPermissions()