/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipAppOpsListener.kt | 29 mContext.getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager) in <lambda>()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 195 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneState() 248 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub() 483 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkCallingOrSelfUseIccAuthWithDeviceIdentifier() 520 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadCallLog()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 86 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken() 124 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsTokenWithPackageInfo()
|
D | SmsPermissions.java | 206 ((AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE)) in packageNameMatchesCallingUid()
|
D | IccSmsInterfaceManager.java | 162 (AppOpsManager) phone.getContext().getSystemService(Context.APP_OPS_SERVICE), in IccSmsInterfaceManager() 167 Context.APP_OPS_SERVICE))); in IccSmsInterfaceManager()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | TestDocumentsProvider.java | 118 if (Context.APP_OPS_SERVICE.equals(name)) { in getSystemService()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | LegacyPermissionManagerService.java | 114 Context.APP_OPS_SERVICE); in checkDeviceIdentifierAccess() 246 Context.APP_OPS_SERVICE); in checkPermissionAndAppop()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 166 AppOpsManager appOps = (AppOpsManager) parent.getSystemService(Context.APP_OPS_SERVICE); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 66 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in HardwarePropertiesManagerService()
|
D | MmsServiceBroker.java | 303 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppOpsManager()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PermissionsUtils.java | 231 ServiceManager.getService(Context.APP_OPS_SERVICE)); in getAppOpsService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 80 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 65 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsPermissionsTest.java | 260 Mockito.when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn( in testPackageNameMatchesCallingUid()
|
D | ContextFixture.java | 265 case Context.APP_OPS_SERVICE: in getSystemService() 329 return Context.APP_OPS_SERVICE; in getSystemServiceName()
|
D | TelephonyPermissionsTest.java | 109 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOps); in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 319 ServiceManager.getService(Context.APP_OPS_SERVICE)); in onSystemReady()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccessesTest.java | 94 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 272 ServiceManager.getService(Context.APP_OPS_SERVICE)); in assertOpBlockedOnSuspend()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/ |
D | LegacyPermissionManagerServiceTest.java | 442 when(mInjector.getSystemService(eq(Context.APP_OPS_SERVICE))).thenReturn(mAppOpsManager); in setupAccessTest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 240 case Context.APP_OPS_SERVICE: in getSystemService()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 130 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AccessibilitySecurityPolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 166 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppOpsControllerImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicyTest.java | 158 mContext.addMockSystemService(Context.APP_OPS_SERVICE, mMockAppOpsManager); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperManagerServiceTests.java | 154 sContext.addMockSystemService(Context.APP_OPS_SERVICE, mock(AppOpsManager.class)); in setUpClass()
|