public boolean isAllGranted(){
  int count=0;
  for (int i=0; i < mPerms.size(); i++) {
    if (mPerms.get(mUserPermission.get(i)) == PackageManager.PERMISSION_GRANTED)     count++;
  }
  return count == mPerms.size();
}

public boolean isAllGranted ( ) { int count = 0 ; for ( int i = 0 ; i < mPerms . size ( ) ; i ++ ) { if ( mPerms . get ( mUserPermission . get ( i ) ) == PackageManager . PERMISSION_GRANTED ) count ++ ; } return count == mPerms . size ( ) ; }
is all granted boolean .
