Home
last modified time | relevance | path

Searched defs:appOpsManager (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java79 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchActiveOps() local
179 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchActiveOpsForExternalDevice() local
222 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testIsRunning() local
234 private boolean isCameraOn(AppOpsManager appOpsManager) { in isCameraOn()
DAppOpsNotedWatcherTest.java63 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchNotedOps() local
136 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchNotedOpsForExternalDevice() local
DAppOpsStartedWatcherTest.java63 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchStartedOps() local
142 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchStartedOpsForExternalDevice() local
/frameworks/base/tests/EnforcePermission/test-app/src/android/tests/enforcepermission/tests/
DServiceTest.java134 AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in testAppOpPermissionGranted_succeeds() local
143 AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in testAppOpPermissionDenied_fails() local
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsController.kt58 private val appOpsManager = context.appOpsManager in setAllowed() constant
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsControllerTest.kt45 private val appOpsManager = mock<AppOpsManager>() constant
DAppOpsPermissionControllerTest.kt41 private val appOpsManager = mock<AppOpsManager>() constant in com.android.settingslib.spaprivileged.model.app.AppOpsPermissionControllerTest
/frameworks/base/apct-tests/perftests/core/src/android/permission/
DAppOpsPerfTest.kt37 private lateinit var appOpsManager: AppOpsManager variable in android.permission.AppOpsPerfTest
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/
DAppOpsPerfTest.kt32 private lateinit var appOpsManager: AppOpsManager variable in android.perftests.permission.AppOpsPerfTest
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/framework/common/
DContexts.kt42 val Context.appOpsManager get() = getSystemService(AppOpsManager::class.java)!! constant
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerService.java113 AppOpsManager appOpsManager = (AppOpsManager) mInjector.getSystemService( in checkDeviceIdentifierAccess() local
245 AppOpsManager appOpsManager = (AppOpsManager) mInjector.getSystemService( in checkPermissionAndAppop() local
DPermissionManagerService.java1039 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in finishDataDelivery() local
1500 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in performOpTransaction() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerAllowlistBackend.java132 final AppOpsManager appOpsManager = mAppContext.getSystemService(AppOpsManager.class); in isDefaultActiveApp() local
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
DAppOpPermissionAppListTest.kt52 private val appOpsManager = mock<AppOpsManager>() constant in com.android.settingslib.spaprivileged.template.app.AppOpPermissionAppListTest
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java151 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in checkCallerPermission() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java128 AppOpsManager appOpsManager = getSystemService(AppOpsManager.class); in onCreate() local
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java79 HotwordAudioStreamCopier(@NonNull AppOpsManager appOpsManager, int detectorType, in HotwordAudioStreamCopier()
DHotwordDetectionConnection.java270 AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in HotwordDetectionConnection() local
360 AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in cancelLocked() local
/frameworks/base/services/core/java/com/android/server/am/
DAssistDataRequester.java133 IWindowManager windowManager, AppOpsManager appOpsManager, in AssistDataRequester()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java1182 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in checkPermission() local
1226 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in checkPermission() local
/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java618 final AppOpsManager appOpsManager = mInjector.getSystemService(AppOpsManager.class); in exemptFromSuspensionByAppOp() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/
DInstallLaunch.kt78 private var appOpsManager: AppOpsManager? = null in <lambda>() variable in com.android.packageinstaller.v2.ui.InstallLaunch
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java139 public final AppOpsManager appOpsManager; field in MockSystemServices
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt57 private val appOpsManager: AppOpsManager? = context.getSystemService(AppOpsManager::class.java) constant in com.android.packageinstaller.v2.model.UninstallRepository
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundActivityStartControllerExemptionTests.java674 AppOpsManager appOpsManager = mock(AppOpsManager.class); in testCaller_isExemptFromBgStartRestriction() local

12