Home
last modified time | relevance | path

Searched refs:mNotificationBuilder (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkNotifierTest.java87 @Mock private ConnectToNetworkNotificationBuilder mNotificationBuilder; field in CarrierNetworkNotifierTest
121 mWifiConfigManager, mWifiConfigStore, mClientModeImpl, mNotificationBuilder); in setUp()
165 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_hasCarrierNetworks_notificationDisplayed()
203 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_emptyList_notificationCleared()
222 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_noRecommendation_notificationCleared()
242 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_screenOff_emptyList_notificationCleared()
262 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in clearPendingNotification_clearsNotificationIfOneIsShowing()
304 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
320 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
334 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in postNotification_clearNotificationWithoutDelayReset_shouldNotPostNotification()
[all …]
DOpenNetworkNotifierTest.java87 @Mock private ConnectToNetworkNotificationBuilder mNotificationBuilder; field in OpenNetworkNotifierTest
120 mWifiConfigManager, mWifiConfigStore, mClientModeImpl, mNotificationBuilder); in setUp()
164 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_hasOpenNetworks_notificationDisplayed()
202 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_emptyList_notificationCleared()
221 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_noRecommendation_notificationCleared()
241 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_screenOff_emptyList_notificationCleared()
261 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in clearPendingNotification_clearsNotificationIfOneIsShowing()
303 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
319 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
333 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in postNotification_clearNotificationWithoutDelayReset_shouldNotPostNotification()
[all …]
DWrongPasswordNotifierTest.java51 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Notification.Builder mNotificationBuilder; field in WrongPasswordNotifierTest
76 eq(SystemNotificationChannels.NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onWrongPasswordError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java55 private final Notification.Builder mNotificationBuilder; field in PipNotification
150 mNotificationBuilder = new Notification.Builder(context, NotificationChannels.TVPIP) in PipNotification()
184 mNotificationBuilder in notifyPipNotification()
190 mNotificationBuilder.setStyle(new Notification.BigPictureStyle() in notifyPipNotification()
193 mNotificationBuilder.setStyle(null); in notifyPipNotification()
196 mNotificationBuilder.build()); in notifyPipNotification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceStateTrackerTest.java113 Notification.Builder mNotificationBuilder = new Notification.Builder(mContext); in testSendBothNotifications() local
119 doReturn(mNotificationBuilder).when(mSpyCarrierSST).getNotificationBuilder(any()); in testSendBothNotifications()
147 Notification.Builder mNotificationBuilder = new Notification.Builder(mContext); in testSendPrefNetworkNotification() local
151 doReturn(mNotificationBuilder).when(spyPrefNetworkNotification).getNotificationBuilder(); in testSendPrefNetworkNotification()
189 Notification.Builder mNotificationBuilder = new Notification.Builder(mContext); in testSendEmergencyNetworkNotification() local
190 doReturn(mNotificationBuilder).when(spyEmergencyNetworkNotification) in testSendEmergencyNetworkNotification()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DAvailableNetworkNotifier.java130 private final ConnectToNetworkNotificationBuilder mNotificationBuilder; field in AvailableNetworkNotifier
177 mNotificationBuilder = connectToNetworkNotificationBuilder; in AvailableNetworkNotifier()
354 postNotification(mNotificationBuilder.createNetworkConnectedNotification(mTag, in handleWifiConnected()
378 postNotification(mNotificationBuilder.createNetworkFailedNotification(mTag)); in handleConnectionFailure()
404 postNotification(mNotificationBuilder.createConnectToAvailableNetworkNotification(mTag, in postInitialNotification()
428 postNotification(mNotificationBuilder.createNetworkConnectingNotification(mTag, in handleConnectToNetworkAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java155 private final Notification.Builder mNotificationBuilder, mPublicNotificationBuilder; field in SaveImageInBackgroundTask
235 mNotificationBuilder = new Notification.Builder(context, in SaveImageInBackgroundTask()
244 mNotificationBuilder.setFlag(Notification.FLAG_NO_CLEAR, true); in SaveImageInBackgroundTask()
245 SystemUI.overrideNotificationAppName(context, mNotificationBuilder, true); in SaveImageInBackgroundTask()
248 mNotificationBuilder.build()); in SaveImageInBackgroundTask()
258 mNotificationBuilder.setLargeIcon(icon.createAshmemBitmap()); in SaveImageInBackgroundTask()
367 populateNotificationActions(context, r, uri, smartActionsFuture, mNotificationBuilder); in doInBackground()
515 mNotificationBuilder in onPostExecute()
527 mNotificationBuilder.build()); in onPostExecute()