Searched refs:grantResults (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/permission3/UsePermissionApp30WithBackground/src/android/permission3/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 34 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/ |
D | RequestPermissionsActivity.kt | 36 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/ |
D | RequestPermissionsActivity.kt | 64 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/ |
D | PermissionActivity.java | 70 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/ |
D | MainActivity.java | 45 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/ |
D | TestListActivity.java | 136 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/ |
D | RequestPermissions.kt | 30 grantResults: IntArray in onRequestPermissionsResult()
|