Home
last modified time | relevance | path

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

/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/
DActivityRecognizerAttributionTags.kt69 val appOpsManager = context.getSystemService(AppOpsManager::class.java)!! in setUpTest() constant
104 val appOpsManager = context.getSystemService(AppOpsManager::class.java) in accessActivityRecognition() constant
114 val appOpsManager: AppOpsManager = context.getSystemService(AppOpsManager::class.java)!! in assertNotedOpsSinceLastArAccess() constant
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java140 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() local
182 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService() local
202 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException() local
269 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() local
312 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testBindServiceAsUser_withInteractAcrossProfilePermission_noAsserts() local
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordAppOpTest.java63 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testRecordAppOps() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsAppOpsTests.java86 final AppOpsManager appOpsManager = getInstrumentation().getContext() in testSystemAlertWindowAppOpsInitiallyAllowed() local
/cts/tests/tests/appop/jni/android/app/appops/cts/
DAppOpsLoggingTest.cpp33 AppOpsManager appOpsManager; in Java_android_app_appops_cts_AppOpsLoggingTestKt_nativeNoteOp() local
/cts/tests/tests/voiceRecognition/RecognitionService/src/com/android/recognitionservice/service/
DCtsVoiceRecognitionService.java90 final AppOpsManager appOpsManager = getSystemService(AppOpsManager.class); in blameCameraPermission() local
/cts/tests/tests/permission3/AccessMicrophoneApp2/src/android/permission3/cts/accessmicrophoneapp2/
DAccessMicActivity2.kt31 private var appOpsManager: AppOpsManager? = null variable in android.permission3.cts.accessmicrophoneapp2.AccessMicActivity2
/cts/tests/tests/permission3/AccessMicrophoneApp/src/android/permission3/cts/accessmicrophoneapp/
DAccessMicActivity.kt31 private var appOpsManager: AppOpsManager? = null variable in android.permission3.cts.accessmicrophoneapp.AccessMicActivity
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomManagerTest.java71 AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in testHasManageOngoingCallsPermission() local
/cts/tests/tests/appop2/src/android/app/appops2/cts/
DAppOpsLoggingTest.kt51 private val appOpsManager = context.getSystemService(AppOpsManager::class.java) in <lambda>() constant
/cts/tests/tests/appop/src/android/app/appops/cts/
DAttributionTest.kt50 private val appOpsManager = context.getSystemService(AppOpsManager::class.java) constant
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt64 val appOpsManager = context.getSystemService(AppOpsManager::class.java)!! in openCam() constant
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedStoragePermissionTest.java510 AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in assertHasFullStorageAccess() local
520 AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in assertHasIsolatedStorageAccess() local
DRestrictedPermissionsTest.java502 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in assertRestrictedPermissionWhitelisted() local
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DMusicRecognitionManagerTest.java216 final AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testRecordAudioOpsAreTracked() local
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/
DUseMicCamera.kt36 private lateinit var appOpsManager: AppOpsManager variable in android.sensorprivacy.cts.usemiccamera.overlay.UseMicCamera
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DUseMicCamera.kt36 private lateinit var appOpsManager: AppOpsManager variable in android.sensorprivacy.cts.usemiccamera.UseMicCamera
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DPermissionUtils.java167 AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in checkPermissionAndAppOps() local
/cts/tests/tests/permission4/AppThatAccessesCameraAndMic/src/android/permission4/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt57 private var appOpsManager: AppOpsManager? = null variable in android.permission4.cts.appthataccessescameraandmic.AccessCameraOrMicActivity
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java819 AppOpsManager appOpsManager = sContext.getSystemService(AppOpsManager.class); in noNotificationIfBlamerNotSystemOrLocationProvider() local
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java1796 final AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in assertNotedOpsSinceLastLocationAccess() local
1829 final AppOpsManager appOpsManager = mContext.getSystemService(AppOpsManager.class); in assertNoOpsNotedSinceLastLocationAccess() local
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java549 AppOpsManager appOpsManager = in setModeForOps() local
DTelephonyManagerTest.java4624 AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in setAppOpsPermissionAllowed() local
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java479 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testForegroundServiceAccessAppOp() local
509 AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class); in testAppOps() local