/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | OpenNetworkNotifierTest.java | 89 @Mock private ConnectToNetworkNotificationBuilder mNotificationBuilder; field in OpenNetworkNotifierTest 122 mWifiConfigManager, mWifiConfigStore, mConnectHelper, mNotificationBuilder, in setUp() 172 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_hasOpenNetworks_notificationDisplayed() 210 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_emptyList_notificationCleared() 229 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_noRecommendation_notificationCleared() 249 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in handleScanResults_notificationShown_screenOff_emptyList_notificationCleared() 269 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in clearPendingNotification_clearsNotificationIfOneIsShowing() 311 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 327 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 341 verify(mNotificationBuilder).createConnectToAvailableNetworkNotification( in postNotification_clearNotificationWithoutDelayReset_shouldNotPostNotification() [all …]
|
D | EapFailureNotifierTest.java | 61 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Notification.Builder mNotificationBuilder; field in EapFailureNotifierTest 117 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 142 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onEapFailure_showNotificationFalse_notShown() 163 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid() 191 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid() 211 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onEapFailureWithUnDefinedErrorCode()
|
D | WifiCarrierInfoManagerTest.java | 136 @Mock Notification.Builder mNotificationBuilder; field in WifiCarrierInfoManagerTest 168 .thenReturn(mNotificationBuilder); in setUp() 179 when(mNotificationBuilder.setSmallIcon(any())).thenReturn(mNotificationBuilder); in setUp() 180 when(mNotificationBuilder.setTicker(any())).thenReturn(mNotificationBuilder); in setUp() 181 when(mNotificationBuilder.setContentTitle(any())).thenReturn(mNotificationBuilder); in setUp() 182 when(mNotificationBuilder.setStyle(any())).thenReturn(mNotificationBuilder); in setUp() 183 when(mNotificationBuilder.setContentIntent(any())).thenReturn(mNotificationBuilder); in setUp() 184 when(mNotificationBuilder.setDeleteIntent(any())).thenReturn(mNotificationBuilder); in setUp() 185 when(mNotificationBuilder.setShowWhen(anyBoolean())).thenReturn(mNotificationBuilder); in setUp() 186 when(mNotificationBuilder.setLocalOnly(anyBoolean())).thenReturn(mNotificationBuilder); in setUp() [all …]
|
D | SoftApNotifierTest.java | 51 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Notification.Builder mNotificationBuilder; field in SoftApNotifierTest 73 eq(WifiService.NOTIFICATION_NETWORK_STATUS))).thenReturn(mNotificationBuilder); in showSoftApShutdownTimeoutExpiredNotification()
|
D | WrongPasswordNotifierTest.java | 57 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Notification.Builder mNotificationBuilder; field in WrongPasswordNotifierTest 103 eq(WifiService.NOTIFICATION_NETWORK_ALERTS))).thenReturn(mNotificationBuilder); in onWrongPasswordError()
|
D | WifiNetworkSuggestionsManagerTest.java | 163 private @Mock Notification.Builder mNotificationBuilder; field in WifiNetworkSuggestionsManagerTest 217 when(mNotificationBuilder.setSmallIcon(any())).thenReturn(mNotificationBuilder); in setUp() 218 when(mNotificationBuilder.setTicker(any())).thenReturn(mNotificationBuilder); in setUp() 219 when(mNotificationBuilder.setContentTitle(any())).thenReturn(mNotificationBuilder); in setUp() 220 when(mNotificationBuilder.setStyle(any())).thenReturn(mNotificationBuilder); in setUp() 221 when(mNotificationBuilder.setDeleteIntent(any())).thenReturn(mNotificationBuilder); in setUp() 222 when(mNotificationBuilder.setShowWhen(anyBoolean())).thenReturn(mNotificationBuilder); in setUp() 223 when(mNotificationBuilder.setLocalOnly(anyBoolean())).thenReturn(mNotificationBuilder); in setUp() 224 when(mNotificationBuilder.setColor(anyInt())).thenReturn(mNotificationBuilder); in setUp() 225 when(mNotificationBuilder.addAction(any())).thenReturn(mNotificationBuilder); in setUp() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 79 private NotificationCompat.Builder mNotificationBuilder; field in IngestService 88 mNotificationBuilder = new NotificationCompat.Builder(this); in onCreate() 90 mNotificationBuilder.setSmallIcon(android.R.drawable.stat_notify_sync) in onCreate() 133 mNotificationBuilder.setContentTitle(mDevicePrettyName); in setDevice() 157 mNotificationBuilder.setProgress(0, 0, false) in setClientActivity() 160 mNotificationBuilder.build()); in setClientActivity() 197 mNotificationBuilder.setProgress(0, 0, true) in importSelectedItems() 200 mNotificationBuilder.build()); in importSelectedItems() 232 mNotificationBuilder.setProgress(totalCount, visitedCount, false) in onImportProgress() 235 mNotificationBuilder.build()); in onImportProgress() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 77 private Notification.Builder mNotificationBuilder; field in ProcessingService 116 mNotificationBuilder = createInProgressNotificationBuilder(); in onCreate() 140 startForeground(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build()); in onStartCommand() 243 mNotificationBuilder.setContentText("…").setProgress(100, 0, false); in resetNotification() 255 mNotificationManager.notify(CAMERA_NOTIFICATION_ID, mNotificationBuilder.build()); in postNotification() 271 mNotificationBuilder.setProgress(100, progress, false); in onProgressChanged() 277 mNotificationBuilder.setContentText(messageId > 0 ? getString(messageId) : ""); in onStatusMessageChanged()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/ |
D | InCallNotificationController.java | 57 private final Notification.Builder mNotificationBuilder; field in InCallNotificationController 75 mNotificationBuilder = new Notification.Builder(mContext, CHANNEL_ID) in InCallNotificationController() 99 mNotificationBuilder.setFullScreenIntent( in showInCallNotification() 102 mNotificationBuilder in showInCallNotification() 114 mNotificationBuilder.build()); in showInCallNotification() 120 mNotificationBuilder in showInCallNotification() 127 mNotificationBuilder.build()); in showInCallNotification()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | AvailableNetworkNotifier.java | 130 private final ConnectToNetworkNotificationBuilder mNotificationBuilder; field in AvailableNetworkNotifier 183 mNotificationBuilder = connectToNetworkNotificationBuilder; in AvailableNetworkNotifier() 360 postNotification(mNotificationBuilder.createNetworkConnectedNotification(mTag, in handleWifiConnected() 384 postNotification(mNotificationBuilder.createNetworkFailedNotification(mTag)); in handleConnectionFailure() 406 postNotification(mNotificationBuilder.createConnectToAvailableNetworkNotification(mTag, in postInitialNotification() 430 postNotification(mNotificationBuilder.createNetworkConnectingNotification(mTag, in handleConnectToNetworkAction()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | NotificationGroupTest.java | 60 private Notification.Builder mNotificationBuilder; field in NotificationGroupTest 70 mNotificationBuilder = new Notification.Builder(mContext, in setup() 75 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup() 78 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedConnection.java | 64 private Notification.Builder mNotificationBuilder; field in SelfManagedConnection 143 mNotificationBuilder = builder; in onShowIncomingCallUi() 186 mNotificationBuilder.setOnlyAlertOnce(true); in onSilence() 189 notificationManager.notify(CALL_NOTIFICATION, mCallId, mNotificationBuilder.build()); in onSilence()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchModel.kt | 50 private val mNotificationBuilder = StopwatchNotificationBuilder() constant in com.android.deskclock.data.StopwatchModel 222 mNotificationBuilder.build(mContext, mNotificationModel, stopwatch) in updateNotification() 223 mNotificationBuilder.buildChannel(mContext, mNotificationManager) in updateNotification()
|
D | TimerModel.kt | 77 private val mNotificationBuilder = TimerNotificationBuilder() constant 711 mNotificationBuilder.build(mContext, mNotificationModel, unexpired) in updateNotification() 713 mNotificationBuilder.buildChannel(mContext, mNotificationManager) in updateNotification() 735 val notification: Notification = mNotificationBuilder.buildMissed(mContext, in updateMissedNotification() 761 val notification: Notification = mNotificationBuilder.buildHeadsUp(mContext, expired) in updateHeadsUpNotification()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleNotifications.java | 466 state.mNotificationBuilder = notifBuilder; in processAndSend() 697 notificationState.mNotificationBuilder in sendNotification() 706 notificationState.mNotificationBuilder.setLargeIcon(avatarIcon); in sendNotification() 712 notificationState.mNotificationBuilder.addPerson(contactUri.toString()); in sendNotification() 784 final NotificationCompat.Builder notifBuilder = notificationState.mNotificationBuilder; in fireOffNotification() 817 notificationState.mNotificationBuilder.setLargeIcon(smallBitmap); in fireOffNotification()
|
D | NotificationState.java | 64 public NotificationCompat.Builder mNotificationBuilder; field in NotificationState
|