Home
last modified time | relevance | path

Searched refs:STATUS_BAR_SERVICE (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/
DMediaTttCommandLineHelper.kt68 val statusBarManager = context.getSystemService(Context.STATUS_BAR_SERVICE) in execute()
159 val statusBarManager = context.getSystemService(Context.STATUS_BAR_SERVICE) in execute()
/frameworks/base/services/core/java/com/android/server/power/
DInattentiveSleepWarningController.java98 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getStatusBar()
DAmbientDisplaySuppressionController.java142 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsComponent.java63 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in start()
/frameworks/base/services/core/java/com/android/server/statusbar/
DSessionMonitor.java162 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.STATUS_BAR_SERVICE, in requireSetterPermissions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java81 .getSystemService(android.app.Service.STATUS_BAR_SERVICE); in setWorkModeEnabled()
DStatusBarNotificationPresenter.java161 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in StatusBarNotificationPresenter()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java367 android.app.Service.STATUS_BAR_SERVICE); in expandNotifications()
378 android.app.Service.STATUS_BAR_SERVICE); in expandQuickSettings()
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java23 import static android.Manifest.permission.STATUS_BAR_SERVICE;
467 STATUS_BAR_SERVICE, callingPid, callingUid); in isSystemOrSystemUI()
DLockTaskController.java25 import static android.content.Context.STATUS_BAR_SERVICE;
1040 ServiceManager.checkService(STATUS_BAR_SERVICE)); in getStatusBarService()
DDisplayPolicy.java1065 android.Manifest.permission.STATUS_BAR_SERVICE, callingPid, callingUid, in validateAddingWindowLw()
1073 android.Manifest.permission.STATUS_BAR_SERVICE, callingPid, callingUid, in validateAddingWindowLw()
1082 mContext.enforcePermission(android.Manifest.permission.STATUS_BAR_SERVICE, in validateAddingWindowLw()
1089 mContext.enforcePermission(android.Manifest.permission.STATUS_BAR_SERVICE, in validateAddingWindowLw()
1096 android.Manifest.permission.STATUS_BAR_SERVICE, callingPid, callingUid, in validateAddingWindowLw()
1107 android.Manifest.permission.STATUS_BAR_SERVICE, callingPid, callingUid, in validateAddingWindowLw()
DSession.java26 import static android.Manifest.permission.STATUS_BAR_SERVICE;
156 || service.mContext.checkCallingOrSelfPermission(STATUS_BAR_SERVICE) in Session()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java586 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in testSetConnectionNull_borderFlagEnabled_unregisterFullScreenMagnification()
1473 mFakePermissionEnforcer.revoke(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_statusBarServiceNotGranted_throwsException()
1486 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_manageAccessibilityNotGranted_throwsException()
1488 Manifest.permission.STATUS_BAR_SERVICE, PackageManager.PERMISSION_DENIED); in notifyQuickSettingsTilesChanged_manageAccessibilityNotGranted_throwsException()
1500 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_qsTileChanges_updateA11yTilesInQsPanel()
1537 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_serviceWarningRequired_qsShortcutRemainDisabled()
1555 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_serviceWarningNotRequired_qsShortcutEnabled()
1577 mFakePermissionEnforcer.grant(Manifest.permission.STATUS_BAR_SERVICE); in notifyQuickSettingsTilesChanged_addFrameworkTile_qsShortcutEnabled()
DSystemActionPerformerTest.java122 mMockContext).getSystemService(android.app.Service.STATUS_BAR_SERVICE); in setupWithMockContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java223 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in NotificationLogger()
452 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in ExpansionStateLogger()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java159 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in onCreate()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java54 mStatusBarManager = (StatusBarManager)getSystemService(STATUS_BAR_SERVICE); in tests()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricContextProvider.java68 Context.STATUS_BAR_SERVICE)), null /* handler */, in defaultProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/
DMediaTttCommandLineHelperTest.kt60 context.addMockSystemService(Context.STATUS_BAR_SERVICE, statusBarManager) in <lambda>()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java1731 @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE)
1745 @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE)
2512 @RequiresPermission(Manifest.permission.STATUS_BAR_SERVICE)
/frameworks/base/core/java/android/app/
DStatusBarManager.java74 @SystemService(Context.STATUS_BAR_SERVICE)
623 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService()
DNotificationManager.java162 @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE)
184 @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE)
207 @RequiresPermission(android.Manifest.permission.STATUS_BAR_SERVICE)
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java176 context.enforceCallingPermission(android.Manifest.permission.STATUS_BAR_SERVICE, in enforceSystemRootOrSystemUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java284 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in NotificationRemoteInputManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java217 ServiceManager.getService(Context.STATUS_BAR_SERVICE)) in BubblesManager()

123