Searched refs:permCursor (Results 1 – 1 of 1) sorted by relevance
424 Cursor permCursor = getContentResolver().query(permUri, null, null, null, null); in doesWearHaveUngrantedPerms() local425 if (permCursor == null) { in doesWearHaveUngrantedPerms()433 while(permCursor.moveToNext()) { in doesWearHaveUngrantedPerms()436 if (permCursor.getColumnCount() == 2 in doesWearHaveUngrantedPerms()437 && Cursor.FIELD_TYPE_STRING == permCursor.getType(0) in doesWearHaveUngrantedPerms()438 && Cursor.FIELD_TYPE_INTEGER == permCursor.getType(1)) { in doesWearHaveUngrantedPerms()439 String perm = permCursor.getString(0); in doesWearHaveUngrantedPerms()440 Integer granted = permCursor.getInt(1); in doesWearHaveUngrantedPerms()448 permCursor.close(); in doesWearHaveUngrantedPerms()