Searched refs:grantResults (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/security/SplitBluetoothPermissionTestApp/src/ |
D | RequestPermissionActivity.kt | 37 grantResults: IntArray in onRequestPermissionsResult() 39 super.onRequestPermissionsResult(requestCode, permissions, grantResults) in onRequestPermissionsResult() 42 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/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/ |
D | MainActivity.java | 247 @NonNull int[] grantResults) { in onRequestPermissionsResult() argument 248 super.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult() 251 + " result=" + List.of(grantResults)); in onRequestPermissionsResult() 255 if (grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListActivity.java | 134 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult() argument 136 if (arrayContains(grantResults, PackageManager.PERMISSION_DENIED)) { in onRequestPermissionsResult() 150 if (grantResults[0] == PackageManager.PERMISSION_DENIED) { in onRequestPermissionsResult()
|