Home
last modified time | relevance | path

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

/cts/tests/tests/security/SplitBluetoothPermissionTestApp/src/
DRequestPermissionActivity.kt37 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/
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/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java247 @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/
DTestListActivity.java134 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()