/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 470 AppEntry appEntry, AppOpsManager.OpEntry opEntry, boolean allowMerge, int switchOrder) { in addOp() argument 475 boolean entryExe = opEntry.getTime() != 0; in addOp() 477 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package " in addOp() 479 last.addOp(opEntry); in addOp() 484 AppOpEntry entry = appEntry.getOpSwitch(opEntry.getOp()); in addOp() 486 entry.addOp(opEntry); in addOp() 489 entry = new AppOpEntry(pkgOps, opEntry, appEntry, switchOrder); in addOp() 490 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package " in addOp() 564 AppOpsManager.OpEntry opEntry = pkgOps.getOps().get(j); in buildState() local 565 addOp(entries, pkgOps, appEntry, opEntry, packageName == null, in buildState() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/utils/ |
D | MockUtil.kt | 39 val opEntry = Mockito.mock(AppOpsManager.OpEntry::class.java) in createOpEntry() constant 40 whenever(opEntry.opStr).thenReturn(opStr) in createOpEntry() 41 whenever(opEntry.getLastAccessTime(Mockito.anyInt())).thenReturn(time) in createOpEntry() 42 return opEntry in createOpEntry()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v31/ |
D | LightPackageOps.kt | 69 for (opEntry in packageOps.ops) { in createLastPermissionGroupAccessTimesMap() constant 70 val permissionGroupOfOp = getPlatformPermissionGroupForOp(opEntry.opStr) ?: continue in createLastPermissionGroupAccessTimesMap() 74 opEntry.getLastAccessTime(OPS_LAST_ACCESS_FLAGS) in createLastPermissionGroupAccessTimesMap()
|
D | LightHistoricalPackageOps.kt | 155 val opEntry: AttributedOpEntry = it.getDiscreteAccessAt(i) in <lambda>() constant 158 opEntry.getLastAccessTime(DISCRETE_ACCESS_OP_FLAGS), in <lambda>() 159 opEntry.getLastDuration(DISCRETE_ACCESS_OP_FLAGS), in <lambda>() 160 opEntry.getLastProxyInfo(DISCRETE_ACCESS_OP_FLAGS) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | AppPermissionUsage.java | 202 AppOpsManager.AttributedOpEntry opEntry = historicalOp.getDiscreteAccessAt(j); in getAllDiscreteAccessTime() local 204 opEntry.getLastAccessTime(PRIVACY_HUB_FLAGS), in getAllDiscreteAccessTime() 205 opEntry.getLastDuration(PRIVACY_HUB_FLAGS), in getAllDiscreteAccessTime() 206 opEntry.getLastProxyInfo(PRIVACY_HUB_FLAGS))); in getAllDiscreteAccessTime() 349 AttributedOpEntry opEntry = historicalOp.getDiscreteAccessAt(j); in getAttributionLabelledGroupUsages() local 360 opEntry.getLastAccessTime(PRIVACY_HUB_FLAGS), in getAttributionLabelledGroupUsages() 361 opEntry.getLastDuration(PRIVACY_HUB_FLAGS), in getAttributionLabelledGroupUsages() 362 opEntry.getLastProxyInfo(PRIVACY_HUB_FLAGS))); in getAttributionLabelledGroupUsages()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/ |
D | AppOpRepository.kt | 177 packageOps.ops.map { opEntry -> in getPackageOps() method 179 opEntry.opStr, in getPackageOps() 180 opEntry.getLastAccessTime(OPS_LAST_ACCESS_FLAGS) in getPackageOps()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | OpUsageLiveData.kt | 65 for (opEntry in packageOp.ops) { in loadDataAndPostValue() constant 66 for ((attributionTag, attributedOpEntry) in opEntry.attributedOpEntries) { in loadDataAndPostValue() 87 val accessList = opMap.getOrPut(opEntry.opStr) { mutableListOf() } in loadDataAndPostValue()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowAppOpsManager.java | 70 OpEntry opEntry = new OpEntry(op, mode, Collections.emptyMap()); in getPackagesForOps() local 72 Collections.singletonList(opEntry)); in getPackagesForOps()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 334 AppOpsManager.OpEntry opEntry = mock(AppOpsManager.OpEntry.class); in mockPackageOps() local 335 when(opEntry.getMode()).thenReturn(mode); in mockPackageOps() 337 Collections.singletonList(opEntry)); in mockPackageOps()
|