Lack of distinction to confirm and deny runtime permission

I use this code to recognize permissions in onCreate:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
            requestPermissions(
                    new String[]{
                            Manifest.permission.READ_PHONE_STATE,
                            Manifest.permission.WRITE_EXTERNAL_STORAGE,
                            Manifest.permission.READ_EXTERNAL_STORAGE}, 250);

And in activity I use this code snippet to check, allow or deny the permissions :

@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[], @NonNull int[] grantResults) {

    Log.i("get_permission", "onRequestPermissionsResult: grantResults.length= " + requestCode + " permissions= " + permissions.length + "  grantResults= " + grantResults.length);
    for (int i = 0; i < permissions.length; i++)
        Log.i("get_permission", " permissions[" + i + "]= " + permissions[i] + " grantResults[" + i + "]= " + grantResults[i]);

    switch (requestCode) {
        case 250: {
            if (grantResults.length > 0 && (grantResults[0] + grantResults[1] + grantResults[2]) == PackageManager.PERMISSION_GRANTED) {
                Toast.makeText(getApplicationContext(), "Ok", Toast.LENGTH_SHORT).show();
            } else {
                Toast.makeText(getApplicationContext(), "No", Toast.LENGTH_SHORT).show();
                startActivityForResult(new Intent(this, RequiredPermission.class), 250);
            }
        }
    }
}

But it always returns the value of zero in the code, both when it is verified and when it is rejected.

Log is :

01-13 09:36:09.153 12637-12637/com.example.test I/get_permission: onRequestPermissionsResult: grantResults.length= 250 permissions= 3  grantResults= 3
01-13 09:36:09.153 12637-12637/com.example.test I/get_permission:  permissions[0]= android.permission.READ_PHONE_STATE grantResults[0]= 0
01-13 09:36:09.153 12637-12637/com.example.test I/get_permission:  permissions[1]= android.permission.WRITE_EXTERNAL_STORAGE grantResults[1]= 0
01-13 09:36:09.163 12637-12637/com.example.test I/get_permission:  permissions[2]= android.permission.READ_EXTERNAL_STORAGE grantResults[2]= 0

How do I tell if the user has verified or denied?