Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java424 Cursor permCursor = getContentResolver().query(permUri, null, null, null, null); in doesWearHaveUngrantedPerms() local
425 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()