Searched refs:packageOp (Results 1 – 7 of 7) sorted by relevance
141 for (AppOpsManager.PackageOps packageOp : packageOps) { in loadAppOpModes()142 int userId = UserHandle.getUserId(packageOp.getUid()); in loadAppOpModes()149 PermissionState permissionState = packageStateMap.get(packageOp.getPackageName()); in loadAppOpModes()151 LOG.w("AppOp permission exists for package " + packageOp.getPackageName() in loadAppOpModes()156 if (packageOp.getOps().size() < 1) { in loadAppOpModes()157 LOG.w("No AppOps permission exists for package " + packageOp.getPackageName()); in loadAppOpModes()160 permissionState.mAppOpMode = packageOp.getOps().get(0).getMode(); in loadAppOpModes()
245 final AppOpsManager.PackageOps packageOp = packageOps.get(i); in loadAppOpsStates() local246 final int userId = UserHandle.getUserId(packageOp.getUid()); in loadAppOpsStates()256 final PermissionState pe = entriesForProfile.get(packageOp.getPackageName()); in loadAppOpsStates()258 Log.w(TAG, "AppOp permission exists for package " + packageOp.getPackageName() in loadAppOpsStates()264 if (packageOp.getOps().size() < 1) { in loadAppOpsStates()265 Log.w(TAG, "No AppOps permission exists for package " + packageOp.getPackageName()); in loadAppOpsStates()268 pe.appOpMode = packageOp.getOps().get(0).getMode(); in loadAppOpsStates()
136 for (AppOpsManager.PackageOps packageOp : packageOps) { in removeAllMockLocations()137 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations()138 removeMockLocationForApp(packageOp.getPackageName()); in removeAllMockLocations()158 for (AppOpsManager.PackageOps packageOp : packageOps) { in getCurrentMockLocationApp()159 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
142 for (AppOpsManager.PackageOps packageOp : packageOps) { in removeAllMockLocations()143 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations()144 removeMockLocationForApp(packageOp.getPackageName()); in removeAllMockLocations()164 for (AppOpsManager.PackageOps packageOp : packageOps) { in getCurrentMockLocationApp()165 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
70 PackageOps packageOp = new PackageOps(key.mPackageName, key.mUid, in getPackagesForOps() local72 result.add(packageOp); in getPackagesForOps()
738 for (AppOpsManager.PackageOps packageOp : packageOps) { in writeMockLocation()739 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in writeMockLocation()740 String oldMockLocationApp = packageOp.getPackageName(); in writeMockLocation()805 for (AppOpsManager.PackageOps packageOp : packageOps) { in updateMockLocation()806 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in updateMockLocation()