/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyDialogControllerV2Test.kt | 88 @Mock private lateinit var permissionManager: PermissionManager in <lambda>() variable in com.android.systemui.privacy.PrivacyDialogControllerV2Test 139 permissionManager, in <lambda>() 171 verify(permissionManager).getIndicatorAppOpUsageData(true) in <lambda>() 177 verify(permissionManager, never()).getIndicatorAppOpUsageData(anyBoolean()) in <lambda>() 179 verify(permissionManager).getIndicatorAppOpUsageData(anyBoolean()) in <lambda>() 186 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 198 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 213 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 233 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 250 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() [all …]
|
D | PrivacyDialogControllerTest.kt | 86 private lateinit var permissionManager: PermissionManager in <lambda>() variable in com.android.systemui.privacy.PrivacyDialogControllerTest 139 permissionManager, in <lambda>() 168 verify(permissionManager).getIndicatorAppOpUsageData(true) in <lambda>() 174 verify(permissionManager, never()).getIndicatorAppOpUsageData(anyBoolean()) in <lambda>() 176 verify(permissionManager).getIndicatorAppOpUsageData(anyBoolean()) in <lambda>() 183 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 195 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 214 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 231 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() 245 `when`(permissionManager.getIndicatorAppOpUsageData(anyBoolean())).thenReturn(listOf(usage)) in <lambda>() [all …]
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 72 final LegacyPermissionManagerInternal permissionManager = in onServiceConnected() local 85 permissionManager in onServiceConnected() 170 final LegacyPermissionManagerInternal permissionManager = in registerDefaultAppProviders() local 174 permissionManager.setSmsAppPackagesProvider(userId -> { in registerDefaultAppProviders() 189 permissionManager.setDialerAppPackagesProvider(userId -> { in registerDefaultAppProviders() 203 permissionManager.setSimCallManagerPackagesProvider(userId -> { in registerDefaultAppProviders() 259 final LegacyPermissionManagerInternal permissionManager = in updateSimCallManagerPermissions() local 267 permissionManager.grantDefaultPermissionsToDefaultSimCallManager(packageName, in updateSimCallManagerPermissions()
|
/frameworks/base/services/core/java/com/android/server/grammaticalinflection/ |
D | GrammaticalInflectionUtils.java | 34 @NonNull PermissionManager permissionManager, in checkSystemGrammaticalGenderPermission() 36 int permissionCheckResult = permissionManager.checkPermissionForDataDelivery( in checkSystemGrammaticalGenderPermission()
|
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/ |
D | PermissionManagerPerfTest.kt | 49 val permissionManager = context.getSystemService(PermissionManager::class.java)!! constant 66 permissionManager.getAllPermissionStates(PKG_NAME, PERSISTENT_DEVICE_ID_DEFAULT) in testGetAllPermissionStates()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSerialReader.java | 54 UsbSerialReader(@NonNull Context context, @NonNull UsbPermissionManager permissionManager, in UsbSerialReader() argument 57 mPermissionManager = permissionManager; in UsbSerialReader()
|
D | UsbDeviceManager.java | 309 UsbSettingsManager settingsManager, UsbPermissionManager permissionManager) { in UsbDeviceManager() argument 339 alsaManager, permissionManager); in UsbDeviceManager() 345 alsaManager, permissionManager); in UsbDeviceManager() 617 UsbAlsaManager alsaManager, UsbPermissionManager permissionManager) { in UsbHandler() argument 622 mPermissionManager = permissionManager; in UsbHandler() 1782 UsbAlsaManager alsaManager, UsbPermissionManager permissionManager) { in UsbHandlerLegacy() argument 1783 super(looper, context, deviceManager, alsaManager, permissionManager); in UsbHandlerLegacy() 2190 UsbAlsaManager alsaManager, UsbPermissionManager permissionManager) { in UsbHandlerHal() argument 2191 super(looper, context, deviceManager, alsaManager, permissionManager); in UsbHandlerHal()
|
D | UsbHostManager.java | 245 UsbPermissionManager permissionManager) { in UsbHostManager() argument 251 mPermissionManager = permissionManager; in UsbHostManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyDialogController.kt | 64 private val permissionManager: PermissionManager, constant in com.android.systemui.privacy.PrivacyDialogController 81 permissionManager: PermissionManager, 94 permissionManager, 191 return permissionManager.getIndicatorAppOpUsageData(appOpsController.isMicMuted) in permGroupUsage()
|
D | PrivacyDialogControllerV2.kt | 67 private val permissionManager: PermissionManager, constant in com.android.systemui.privacy.PrivacyDialogControllerV2 85 permissionManager: PermissionManager, 99 permissionManager, 212 return permissionManager.getIndicatorAppOpUsageData(appOpsController.isMicMuted) in permGroupUsage()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageParser2.java | 87 final PermissionManager permissionManager = in PackageParser2() local 89 if (permissionManager != null) { in PackageParser2() 90 splitPermissions = permissionManager.getSplitPermissions(); in PackageParser2()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | HeaderPrivacyIconsController.kt | 58 private val permissionManager: PermissionManager, in onChipVisibilityRefreshed() constant in com.android.systemui.qs.HeaderPrivacyIconsController 185 return permissionManager.getIndicatorAppOpUsageData(appOpsController.isMicMuted) in onChipVisibilityRefreshed()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 387 LegacyPermissionManager permissionManager = (LegacyPermissionManager) in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() local 390 if (permissionManager.checkDeviceIdentifierAccess(callingPackage, message, in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() 551 LegacyPermissionManager permissionManager = (LegacyPermissionManager) in checkReadPhoneNumber() local 557 int permissionResult = permissionManager.checkPhoneNumberAccess(callingPackage, message, in checkReadPhoneNumber()
|
D | CarrierAppUtils.java | 145 LegacyPermissionManager permissionManager = (LegacyPermissionManager) in disableCarrierAppsUntilPrivileged() local 330 permissionManager.grantDefaultPermissionsToEnabledCarrierApps(packageNames, in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 163 PermissionManager permissionManager = in testWatchActiveOpsForExternalDevice() local 168 permissionManager.grantRuntimePermission( in testWatchActiveOpsForExternalDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | HeaderPrivacyIconsControllerTest.kt | 67 private lateinit var permissionManager: PermissionManager in eq() variable in com.android.systemui.qs.HeaderPrivacyIconsControllerTest 108 permissionManager, in eq()
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbHandlerTest.java | 103 UsbPermissionManager permissionManager) { in MockUsbHandler() argument 104 super(looper, context, deviceManager, alsaManager, permissionManager); in MockUsbHandler()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastSkipPolicy.java | 761 final PermissionManager permissionManager = getPermissionManager(); in hasPermissionForDataDelivery() local 762 if (permissionManager == null) { in hasPermissionForDataDelivery() 768 permissionManager.checkPermissionForDataDelivery( in hasPermissionForDataDelivery()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 639 final PermissionManager permissionManager = in resetUseFullScreenIntentLocked() local 650 final int flags = permissionManager.getPermissionFlags(pkg, permissionName, in resetUseFullScreenIntentLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppRegistry.java | 205 @NonNull PermissionManagerServiceInternal permissionManager, 209 mPermissionManager = permissionManager; 1045 final PermissionManager permissionManager = 1047 final PermissionInfo permissionInfo = permissionManager.getPermissionInfo(permissionName,
|
D | DumpHelper.java | 68 PermissionManagerServiceInternal permissionManager, in DumpHelper() argument 78 mPermissionManager = permissionManager; in DumpHelper()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 2401 PermissionManager permissionManager, PowerManager powerManager, in init() argument 2419 mPermissionManager = permissionManager; in init()
|