Searched refs:OP_MANAGE_MEDIA (Results 1 – 2 of 2) sorted by relevance
80 private static final String OP_MANAGE_MEDIA = field in PermissionActivityTest91 OP_MANAGE_MEDIA137 final String[] enableAppOpsList = {OP_MANAGE_MEDIA}; in testShouldShowActionDialog_noRESAndMES_true()156 final String[] disableAppOpsList = {OP_MANAGE_MEDIA}; in testShouldShowActionDialog_noMANAGE_MEDIA_true()173 final String[] enableAppOpsList = {OP_MANAGE_MEDIA, OP_READ_EXTERNAL_STORAGE}; in testShouldShowActionDialog_hasPermissionWithRES_false()191 final String[] enableAppOpsList = {OP_MANAGE_EXTERNAL_STORAGE, OP_MANAGE_MEDIA}; in testShouldShowActionDialog_hasPermissionWithMES_false()210 {OP_MANAGE_EXTERNAL_STORAGE, OP_MANAGE_MEDIA, OP_READ_EXTERNAL_STORAGE}; in testShouldShowActionDialog_writeNoACCESS_MEDIA_LOCATION_true()231 OP_MANAGE_MEDIA, in testShouldShowActionDialog_writeHasACCESS_MEDIA_LOCATION_false()324 } else if (TextUtils.equals(op, OP_MANAGE_MEDIA)) { in checkPermission()
78 mAppOpsManager.setUidMode(AppOpsManager.OP_MANAGE_MEDIA, mPackageInfo.applicationInfo.uid, in setCanManageMedia()