OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:grantresults
(Results
26 - 50
of
99
) sorted by null
1
2
3
4
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
AudioMediaChooser.java
123
final int requestCode, final String permissions[], final int[]
grantResults
) {
125
final boolean permissionGranted =
grantResults
[0] == PackageManager.PERMISSION_GRANTED;
GalleryMediaChooser.java
211
final int requestCode, final String permissions[], final int[]
grantResults
) {
213
final boolean permissionGranted =
grantResults
[0] == PackageManager.PERMISSION_GRANTED;
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/
RequestDesiredPermissionsActivity.java
68
int requestCode, String permissions[], int[]
grantResults
) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestListActivity.java
105
int requestCode, String permissions[], int[]
grantResults
) {
107
if (
grantResults
.length > 0 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/
MainActivity.java
80
int[]
grantResults
) {
84
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/
MainActivity.java
80
int[]
grantResults
) {
84
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/
MainActivity.java
80
int[]
grantResults
) {
84
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/packages/apps/Dialer/src/com/android/dialer/list/
AllContactsFragment.java
190
int[]
grantResults
) {
192
if (
grantResults
.length >= 1 && PackageManager.PERMISSION_GRANTED ==
grantResults
[0]) {
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
HTMLViewerActivity.java
107
String permissions[], int[]
grantResults
) {
112
if (
grantResults
.length == 1 && PackageManager.PERMISSION_GRANTED ==
grantResults
[0]) {
/packages/experimental/PermissionApp2/src/foo/bar/permission2/
PermissionActivity.java
168
int[]
grantResults
) {
171
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
177
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
CameraOps2.java
144
int[]
grantResults
) {
146
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
162
if (
grantResults
[1] == PackageManager.PERMISSION_GRANTED) {
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
MainActivity.java
304
int requestCode, @NonNull String[] permissions, @NonNull int[]
grantResults
) {
316
if ((
grantResults
.length == 2)
317
&& (
grantResults
[0] == PackageManager.PERMISSION_GRANTED)
318
&& (
grantResults
[1] == PackageManager.PERMISSION_GRANTED)) {
332
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
MainActivity.java
304
int requestCode, @NonNull String[] permissions, @NonNull int[]
grantResults
) {
316
if ((
grantResults
.length == 2)
317
&& (
grantResults
[0] == PackageManager.PERMISSION_GRANTED)
318
&& (
grantResults
[1] == PackageManager.PERMISSION_GRANTED)) {
332
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
MainActivity.java
304
int requestCode, @NonNull String[] permissions, @NonNull int[]
grantResults
) {
316
if ((
grantResults
.length == 2)
317
&& (
grantResults
[0] == PackageManager.PERMISSION_GRANTED)
318
&& (
grantResults
[1] == PackageManager.PERMISSION_GRANTED)) {
332
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
/developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
MainActivity.java
199
String permissions[], int[]
grantResults
) {
201
if (
grantResults
.length > 0 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
MainActivity.java
199
String permissions[], int[]
grantResults
) {
201
if (
grantResults
.length > 0 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
MainActivity.java
199
String permissions[], int[]
grantResults
) {
201
if (
grantResults
.length > 0 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DeletionHelperSettings.java
199
int[]
grantResults
) {
201
if (
grantResults
.length > 0 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/packages/services/Car/car-support-lib/src/android/support/car/app/
CarProxyActivity.java
385
Integer[]
grantResults
= new Integer[array.length];
387
grantResults
[i] = array[i];
389
return
grantResults
;
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListActivity.java
119
int requestCode, String[] permissions, int[]
grantResults
) {
122
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListActivity.java
119
int requestCode, String[] permissions, int[]
grantResults
) {
122
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
AttractionListActivity.java
119
int requestCode, String[] permissions, int[]
grantResults
) {
122
if (
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java
265
@NonNull int[]
grantResults
) {
273
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
291
if (PermissionUtil.verifyPermissions(
grantResults
)) {
304
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/
MainActivity.java
265
@NonNull int[]
grantResults
) {
273
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
291
if (PermissionUtil.verifyPermissions(
grantResults
)) {
304
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
MainActivity.java
265
@NonNull int[]
grantResults
) {
273
if (
grantResults
.length == 1 &&
grantResults
[0] == PackageManager.PERMISSION_GRANTED) {
291
if (PermissionUtil.verifyPermissions(
grantResults
)) {
304
super.onRequestPermissionsResult(requestCode, permissions,
grantResults
);
Completed in 5368 milliseconds
1
2
3
4