Home
last modified time | relevance | path

Searched refs:StatusBarManager (Results 1 – 25 of 146) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DChipStateReceiver.kt19 import android.app.StatusBarManager
28 @StatusBarManager.MediaTransferSenderState val stateInt: Int,
32 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER,
36 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_FAR_FROM_SENDER,
40 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED,
44 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_FAILED,
54 @StatusBarManager.MediaTransferReceiverState displayState: Int in getReceiverStateFromId()
69 @StatusBarManager.MediaTransferReceiverState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/
DDisableFlagsLogger.kt18 import android.app.StatusBarManager.DISABLE2_GLOBAL_ACTIONS
19 import android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE
20 import android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS
21 import android.app.StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS
22 import android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS
23 import android.app.StatusBarManager.DISABLE_BACK
24 import android.app.StatusBarManager.DISABLE_CLOCK
25 import android.app.StatusBarManager.DISABLE_EXPAND
26 import android.app.StatusBarManager.DISABLE_HOME
27 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ALERTS
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/sender/
DChipStateSender.kt19 import android.app.StatusBarManager
40 @StatusBarManager.MediaTransferSenderState val stateInt: Int,
53 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_START_CAST,
75 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_END_CAST,
93 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_TRIGGERED,
114 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_TRIGGERED,
132 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED,
140 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_TRIGGERED
154 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_SUCCEEDED,
162 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_TRIGGERED
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DStatusBarVisibilityModel.kt17 import android.app.StatusBarManager.DISABLE2_NONE
18 import android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS
19 import android.app.StatusBarManager.DISABLE_CLOCK
20 import android.app.StatusBarManager.DISABLE_NONE
21 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS
22 import android.app.StatusBarManager.DISABLE_ONGOING_CALL_CHIP
23 import android.app.StatusBarManager.DISABLE_SYSTEM_INFO
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java22 import android.app.StatusBarManager;
34 StatusBarManager mStatusBarManager;
54 mStatusBarManager = (StatusBarManager)getSystemService(STATUS_BAR_SERVICE); in tests()
179 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_ALERTS);
184 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_TICKER);
191 mStatusBarManager.disable(StatusBarManager.DISABLE_EXPAND);
200 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_ICONS);
209 mStatusBarManager.disable(StatusBarManager.DISABLE_EXPAND
210 | StatusBarManager.DISABLE_NOTIFICATION_ICONS);
217 mStatusBarManager.disable(StatusBarManager.DISABLE_HOME);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DQuickSettingsControllerImplWithCoroutinesTest.kt19 import android.app.StatusBarManager
60 StatusBarManager.DISABLE_NONE, in isExpansionEnabled_qsDisabled_false()
61 StatusBarManager.DISABLE2_QUICK_SETTINGS in isExpansionEnabled_qsDisabled_false()
75 StatusBarManager.DISABLE_NONE, in isExpansionEnabled_shadeDisabled_false()
76 StatusBarManager.DISABLE2_NOTIFICATION_SHADE in isExpansionEnabled_shadeDisabled_false()
89 DisableFlagsModel(StatusBarManager.DISABLE_NONE, StatusBarManager.DISABLE2_NONE) in isExpansionEnabled_qsAndShadeEnabled_true()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowStateController.kt19 import android.app.StatusBarManager
20 import android.app.StatusBarManager.WindowVisibleState
21 import android.app.StatusBarManager.WINDOW_STATE_SHOWING
22 import android.app.StatusBarManager.WINDOW_STATUS_BAR
23 import android.app.StatusBarManager.windowStateToString
45 @StatusBarManager.WindowType window: Int, in setWindowState()
73 @StatusBarManager.WindowType window: Int, in windowIsShowing()
DStatusBarWindowStateListener.kt19 import android.app.StatusBarManager
23 fun onStatusBarWindowStateChanged(@StatusBarManager.WindowVisibleState state: Int) in interface()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/
DMediaTttCommandLineHelperTest.kt19 import android.app.StatusBarManager in <lambda>()
55 private lateinit var statusBarManager: StatusBarManager in <lambda>()
92 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_START_CAST), in <lambda>()
107 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_ALMOST_CLOSE_TO_END_CAST), in <lambda>()
122 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_TRIGGERED), in <lambda>()
136 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_TRIGGERED), in <lambda>()
150 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED), in <lambda>()
165 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_SUCCEEDED), in <lambda>()
179 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_FAILED), in <lambda>()
192 eq(StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_FAILED), in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/data/model/
DDisableFlagsModel.kt17 import android.app.StatusBarManager.DISABLE2_NONE
18 import android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE
19 import android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS
20 import android.app.StatusBarManager.DISABLE_NONE
21 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ALERTS
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt19 import android.app.StatusBarManager
184 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER, in commandQueueCallback_closeToSender_triggersChip()
200 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_FAR_FROM_SENDER, in commandQueueCallback_farFromSender_noChipShown()
216 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED, in commandQueueCallback_transferToReceiverSucceeded_noChipShown()
232 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_FAILED, in commandQueueCallback_transferToReceiverFailed_noChipShown()
248 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER, in commandQueueCallback_closeThenFar_chipShownThenHidden()
255 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_FAR_FROM_SENDER, in commandQueueCallback_closeThenFar_chipShownThenHidden()
269 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER, in commandQueueCallback_closeThenSucceeded_chipShownThenHidden()
276 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED, in commandQueueCallback_closeThenSucceeded_chipShownThenHidden()
290 StatusBarManager.MEDIA_TRANSFER_RECEIVER_STATE_CLOSE_TO_SENDER, in commandQueueCallback_closeThenSucceeded_sameViewInstanceId()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileRequestDialogEventLogger.kt19 import android.app.StatusBarManager
63 @StatusBarManager.RequestResult response: Int, in logUserResponse()
68 StatusBarManager.TILE_ADD_REQUEST_RESULT_DIALOG_DISMISSED -> { in logUserResponse()
71 StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_NOT_ADDED -> { in logUserResponse()
74 StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_ADDED -> { in logUserResponse()
DTileServiceRequestController.kt21 import android.app.StatusBarManager in <lambda>()
56 internal const val ADD_TILE = StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_ADDED
57 internal const val DONT_ADD_TILE = StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_NOT_ADDED
59 StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_ALREADY_ADDED
60 internal const val DISMISSED = StatusBarManager.TILE_ADD_REQUEST_RESULT_DIALOG_DISMISSED
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/
DNotificationAlertsInteractorTest.kt17 import android.app.StatusBarManager
52 StatusBarManager.DISABLE_NONE, in create()
53 StatusBarManager.DISABLE2_NONE, in create()
63 StatusBarManager.DISABLE_NOTIFICATION_ALERTS, in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
64 StatusBarManager.DISABLE2_NONE, in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/
DMediaTttCommandLineHelper.kt20 import android.app.StatusBarManager
58 @StatusBarManager.MediaTransferSenderState in execute()
69 as StatusBarManager in execute()
114 @StatusBarManager.MediaTransferSenderState displayState: Int in isSucceededState()
117 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_RECEIVER_SUCCEEDED || in isSucceededState()
119 StatusBarManager.MEDIA_TRANSFER_SENDER_STATE_TRANSFER_TO_THIS_DEVICE_SUCCEEDED in isSucceededState()
149 @StatusBarManager.MediaTransferReceiverState in execute()
160 as StatusBarManager in execute()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java21 import static android.app.StatusBarManager.DISABLE2_GLOBAL_ACTIONS;
22 import static android.app.StatusBarManager.DISABLE2_MASK;
23 import static android.app.StatusBarManager.DISABLE2_NONE;
24 import static android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE;
25 import static android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS;
26 import static android.app.StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS;
27 import static android.app.StatusBarManager.DISABLE_BACK;
28 import static android.app.StatusBarManager.DISABLE_CLOCK;
29 import static android.app.StatusBarManager.DISABLE_HOME;
30 import static android.app.StatusBarManager.DISABLE_MASK;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/
DDisableStateTrackerTest.kt19 import android.app.StatusBarManager.DISABLE2_GLOBAL_ACTIONS
20 import android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS
21 import android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS
22 import android.app.StatusBarManager.DISABLE_CLOCK
23 import android.app.StatusBarManager.DISABLE_EXPAND
24 import android.app.StatusBarManager.DISABLE_NAVIGATION
25 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS
26 import android.app.StatusBarManager.DISABLE_NOTIFICATION_TICKER
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java44 import android.app.StatusBarManager;
94 static final int STATUS_BAR_MASK_LOCKED = StatusBarManager.DISABLE_MASK
95 & (~StatusBarManager.DISABLE_EXPAND)
96 & (~StatusBarManager.DISABLE_NOTIFICATION_TICKER)
97 & (~StatusBarManager.DISABLE_SYSTEM_INFO)
98 & (~StatusBarManager.DISABLE_BACK);
100 static final int STATUS_BAR_MASK_PINNED = StatusBarManager.DISABLE_MASK
101 & (~StatusBarManager.DISABLE_BACK)
102 & (~StatusBarManager.DISABLE_HOME)
103 & (~StatusBarManager.DISABLE_RECENT);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DStatusBarVisibilityModelTest.kt17 import android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS
18 import android.app.StatusBarManager.DISABLE_CLOCK
19 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS
20 import android.app.StatusBarManager.DISABLE_ONGOING_CALL_CHIP
21 import android.app.StatusBarManager.DISABLE_SYSTEM_INFO
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/window/
DStatusBarWindowStateControllerTest.kt19 import android.app.StatusBarManager.WindowVisibleState
20 import android.app.StatusBarManager.WINDOW_NAVIGATION_BAR
21 import android.app.StatusBarManager.WINDOW_STATE_HIDDEN
22 import android.app.StatusBarManager.WINDOW_STATE_SHOWING
23 import android.app.StatusBarManager.WINDOW_STATUS_BAR
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacksTest.java28 import android.app.StatusBarManager;
155 mSbcqCallbacks.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NONE, in testDisableNotificationShade()
156 StatusBarManager.DISABLE2_NONE, false); in testDisableNotificationShade()
160 mSbcqCallbacks.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NONE, in testDisableNotificationShade()
161 StatusBarManager.DISABLE2_NOTIFICATION_SHADE, false); in testDisableNotificationShade()
170 mSbcqCallbacks.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NONE, in testEnableNotificationShade()
171 StatusBarManager.DISABLE2_NOTIFICATION_SHADE, false); in testEnableNotificationShade()
176 mSbcqCallbacks.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NONE, in testEnableNotificationShade()
177 StatusBarManager.DISABLE2_NONE, false); in testEnableNotificationShade()
/frameworks/base/services/core/java/com/android/server/statusbar/
DSessionMonitor.java19 import static android.app.StatusBarManager.ALL_SESSIONS;
20 import static android.app.StatusBarManager.SESSION_BIOMETRIC_PROMPT;
21 import static android.app.StatusBarManager.SESSION_KEYGUARD;
22 import static android.app.StatusBarManager.SessionFlags;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileRequestDialogEventLoggerTest.kt19 import android.app.StatusBarManager
86 StatusBarManager.TILE_ADD_REQUEST_RESULT_DIALOG_DISMISSED, in testLogDialogDismissed()
99 StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_NOT_ADDED, in testLogDialogTileNotAdded()
113 StatusBarManager.TILE_ADD_REQUEST_RESULT_TILE_ADDED, in testLogDialogTileAdded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java22 import static android.app.StatusBarManager.DISABLE2_MASK;
23 import static android.app.StatusBarManager.DISABLE2_NONE;
24 import static android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE;
25 import static android.app.StatusBarManager.DISABLE_HOME;
26 import static android.app.StatusBarManager.DISABLE_NOTIFICATION_ALERTS;
27 import static android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS;
65 import android.app.StatusBarManager;
692 assertTrue((StatusBarManager.DISABLE_CLOCK & flags.first) != 0); in testGetStatusBarDisableFlags()
693 assertTrue((StatusBarManager.DISABLE2_QUICK_SETTINGS & flags.second) != 0); in testGetStatusBarDisableFlags()
701 assertTrue((StatusBarManager.DISABLE_HOME & flags.first) == 0); in testGetStatusBarDisableFlags()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/data/repository/
DDisableFlagsRepositoryTest.kt17 import android.app.StatusBarManager.DISABLE2_NONE
18 import android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE
19 import android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS
20 import android.app.StatusBarManager.DISABLE_CLOCK
21 import android.app.StatusBarManager.DISABLE_NONE
22 import android.app.StatusBarManager.DISABLE_NOTIFICATION_ALERTS

123456