Searched refs:packageOp (Results 1 – 6 of 6) 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()
143 for (AppOpsManager.PackageOps packageOp : packageOps) { in removeAllMockLocations()144 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in removeAllMockLocations()145 removeMockLocationForApp(packageOp.getPackageName()); in removeAllMockLocations()166 for (AppOpsManager.PackageOps packageOp : packageOps) { in getCurrentMockLocationApp()167 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in getCurrentMockLocationApp()
265 final AppOpsManager.PackageOps packageOp = packageOps.get(i); in loadAppOpsStates() local266 final int userId = UserHandle.getUserId(packageOp.getUid()); in loadAppOpsStates()276 final PermissionState pe = entriesForProfile.get(packageOp.getPackageName()); in loadAppOpsStates()278 Log.w(TAG, "AppOp permission exists for package " + packageOp.getPackageName() in loadAppOpsStates()284 if (packageOp.getOps().size() < 1) { in loadAppOpsStates()285 Log.w(TAG, "No AppOps permission exists for package " + packageOp.getPackageName()); in loadAppOpsStates()288 pe.appOpMode = packageOp.getOps().get(0).getMode(); in loadAppOpsStates()
61 for (packageOp in packageOps) { in loadDataAndPostValue() constant62 for (opEntry in packageOp.ops) { in loadDataAndPostValue()64 val user = UserHandle.getUserHandleForUid(packageOp.uid) in loadDataAndPostValue()94 accessList.add(OpAccess(packageOp.packageName, attributionTag, in loadDataAndPostValue()
71 PackageOps packageOp = new PackageOps(key.mPackageName, key.mUid, in getPackagesForOps() local73 result.add(packageOp); in getPackagesForOps()
788 for (AppOpsManager.PackageOps packageOp : packageOps) { in writeMockLocation()789 if (packageOp.getOps().get(0).getMode() != AppOpsManager.MODE_ERRORED) { in writeMockLocation()790 String oldMockLocationApp = packageOp.getPackageName(); in writeMockLocation()855 for (AppOpsManager.PackageOps packageOp : packageOps) { in updateMockLocation()856 if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) { in updateMockLocation()