Home
last modified time | relevance | path

Searched refs:grantResults (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/permission3/UsePermissionApp30WithBackground/src/android/permission3/cts/usepermission/
DRequestPermissionsActivity.kt34 grantResults: IntArray in onRequestPermissionsResult()
36 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult()
40 putExtra("$packageName.GRANT_RESULTS", grantResults) in onRequestPermissionsResult()
/cts/tests/tests/permission3/UsePermissionAppLatest/src/android/permission3/cts/usepermission/
DRequestPermissionsActivity.kt36 grantResults: IntArray in onRequestPermissionsResult()
38 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult()
42 putExtra("$packageName.GRANT_RESULTS", grantResults) in onRequestPermissionsResult()
/cts/tests/tests/permission3/UsePermissionAppWithOverlay/src/android/permission3/cts/usepermission/
DRequestPermissionsActivity.kt64 grantResults: IntArray in onRequestPermissionsResult()
66 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult()
70 putExtra("$packageName.GRANT_RESULTS", grantResults) in onRequestPermissionsResult()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java70 int[] grantResults) { in onRequestPermissionsResult() argument
77 Log.d(TAG, "Received valid permission result: " + grantResults[0]); in onRequestPermissionsResult()
78 sendResultBroadcast(grantResults[0]); in onRequestPermissionsResult()
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/
DMainActivity.java45 int[] grantResults) { in onRequestPermissionsResult() argument
49 if (grantResults[0] != PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
74 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java136 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument
138 if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
/cts/tests/tests/permission/AppThatDefinesUndefinedPermissionGroupElement/src/android/permission/cts/appthatrequestpermission/
DRequestPermissions.kt30 grantResults: IntArray in onRequestPermissionsResult()