Home
last modified time | relevance | path

Searched refs:permissionManager (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerV2Test.kt88 @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 …]
DPrivacyDialogControllerTest.kt86 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/
DTelecomLoaderService.java72 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/
DGrammaticalInflectionUtils.java34 @NonNull PermissionManager permissionManager, in checkSystemGrammaticalGenderPermission()
36 int permissionCheckResult = permissionManager.checkPermissionForDataDelivery( in checkSystemGrammaticalGenderPermission()
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/
DPermissionManagerPerfTest.kt49 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/
DUsbSerialReader.java54 UsbSerialReader(@NonNull Context context, @NonNull UsbPermissionManager permissionManager, in UsbSerialReader() argument
57 mPermissionManager = permissionManager; in UsbSerialReader()
DUsbDeviceManager.java309 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()
DUsbHostManager.java245 UsbPermissionManager permissionManager) { in UsbHostManager() argument
251 mPermissionManager = permissionManager; in UsbHostManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt64 private val permissionManager: PermissionManager, constant in com.android.systemui.privacy.PrivacyDialogController
81 permissionManager: PermissionManager,
94 permissionManager,
191 return permissionManager.getIndicatorAppOpUsageData(appOpsController.isMicMuted) in permGroupUsage()
DPrivacyDialogControllerV2.kt67 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/
DPackageParser2.java87 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/
DHeaderPrivacyIconsController.kt58 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/
DTelephonyPermissions.java387 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()
DCarrierAppUtils.java145 LegacyPermissionManager permissionManager = (LegacyPermissionManager) in disableCarrierAppsUntilPrivileged() local
330 permissionManager.grantDefaultPermissionsToEnabledCarrierApps(packageNames, in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java163 PermissionManager permissionManager = in testWatchActiveOpsForExternalDevice() local
168 permissionManager.grantRuntimePermission( in testWatchActiveOpsForExternalDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DHeaderPrivacyIconsControllerTest.kt67 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/
DUsbHandlerTest.java103 UsbPermissionManager permissionManager) { in MockUsbHandler() argument
104 super(looper, context, deviceManager, alsaManager, permissionManager); in MockUsbHandler()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java761 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/
DAppOpsCheckingServiceImpl.java639 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/
DInstantAppRegistry.java205 @NonNull PermissionManagerServiceInternal permissionManager,
209 mPermissionManager = permissionManager;
1045 final PermissionManager permissionManager =
1047 final PermissionInfo permissionInfo = permissionManager.getPermissionInfo(permissionName,
DDumpHelper.java68 PermissionManagerServiceInternal permissionManager, in DumpHelper() argument
78 mPermissionManager = permissionManager; in DumpHelper()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2401 PermissionManager permissionManager, PowerManager powerManager, in init() argument
2419 mPermissionManager = permissionManager; in init()