Home
last modified time | relevance | path

Searched refs:showNotification (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java115 mManager.showNotification(id, PRIVATE_DNS_BROKEN, nai, null, null, true); in verifyTitleByNetwork()
154 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false); in testNotificationsShownAndCleared()
174 mManager.showNotification(100, NO_INTERNET, mCellNai, mWifiNai, null, false); in testNoInternetNotificationsNotShownForCellular()
175 mManager.showNotification(101, LOST_INTERNET, mCellNai, mWifiNai, null, false); in testNoInternetNotificationsNotShownForCellular()
179 mManager.showNotification(102, NO_INTERNET, mWifiNai, mCellNai, null, false); in testNoInternetNotificationsNotShownForCellular()
190 mManager.showNotification(102, NO_INTERNET, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
191 mManager.showNotification(103, LOST_INTERNET, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
192 mManager.showNotification(104, NETWORK_SWITCH, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
203 mManager.showNotification(id, NO_INTERNET, mWifiNai, mCellNai, null, false); in testDuplicatedNotificationsNoInternetThenSignIn()
208 mManager.showNotification(id, SIGN_IN, mWifiNai, mCellNai, null, false); in testDuplicatedNotificationsNoInternetThenSignIn()
[all …]
DLingerMonitorTest.java332 .showNotification(anyInt(), any(), any(), any(), any(), anyBoolean()); in verifyNoNotification()
347 verify(mNotifier, times(1)).showNotification(eq(from.network.netId), in verifyNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java143 mAlertingNotificationManager.showNotification(mEntry); in testShowNotification_addsEntry()
152 mAlertingNotificationManager.showNotification(mEntry); in testShowNotification_autoDismisses()
164 mAlertingNotificationManager.showNotification(mEntry); in testRemoveNotification_removeDeferred()
175 mAlertingNotificationManager.showNotification(mEntry); in testRemoveNotification_forceRemove()
192 mAlertingNotificationManager.showNotification(entry); in testReleaseAllImmediately()
202 mAlertingNotificationManager.showNotification(mEntry); in testCanRemoveImmediately_notShownLongEnough()
210 mAlertingNotificationManager.showNotification(mEntry); in testShouldExtendLifetime()
218 mAlertingNotificationManager.showNotification(mEntry); in testSetShouldManageLifetime_setShouldManage()
227 mAlertingNotificationManager.showNotification(mEntry); in testSetShouldManageLifetime_setShouldManageCallsRemoval()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java107 mHeadsUpManager.showNotification(mEntry); in testSnooze()
116 mHeadsUpManager.showNotification(mEntry); in testSwipedOutNotification()
127 mHeadsUpManager.showNotification(mEntry); in testCanRemoveImmediately_swipedOut()
141 mHeadsUpManager.showNotification(mEntry); in testCanRemoveImmediately_notTopEntry()
142 mHeadsUpManager.showNotification(laterEntry); in testCanRemoveImmediately_notTopEntry()
151 mHeadsUpManager.showNotification(mEntry); in testExtendHeadsUp()
DNotificationGroupAlertTransferHelperTest.java111 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChild()
135 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()
159 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()
179 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()
197 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()
226 mHeadsUpManager.showNotification(summaryEntry); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation()
254 mHeadsUpManager.showNotification(summaryEntry); in testCleanUpPendingAlertInfo()
274 mHeadsUpManager.showNotification(summaryEntry); in testUpdateGroupChangeDoesNotTransfer()
298 mHeadsUpManager.showNotification(summaryEntry); in testUpdateChildToSummaryDoesNotTransfer()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java154 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
160 showNotification(R.string.vpn_lockdown_connecting, R.drawable.vpn_disconnected); in handleStateChangedLocked()
170 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
174 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
184 showNotification(R.string.vpn_lockdown_connected, R.drawable.vpn_connected); in handleStateChangedLocked()
261 private void showNotification(int titleRes, int iconRes) { in showNotification() method in LockdownVpnTracker
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java70 showNotification(ssid); in onWrongPasswordError()
102 private void showNotification(String ssid) { in showNotification() method in WrongPasswordNotifier
DEapFailureNotifier.java92 showNotification(errorMessage, config.SSID); in onEapFailure()
100 private void showNotification(String errorMessage, String ssid) { in showNotification() method in EapFailureNotifier
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java155 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() method in LingerMonitor
156 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification()
192 showNotification(fromNai, toNai); in notify()
DNetworkNotificationManager.java144 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() method in NetworkNotificationManager
329 showNotification(id, NotificationType.SIGN_IN, null, null, pendingIntent, false); in setProvNotificationVisible()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java280 showNotification(R.drawable.stat_sys_tether_general, title, message, in notifyTetheringDisabledByRestriction()
301 showNotification(R.drawable.stat_sys_tether_general, title, message, in notifyTetheringNoUpstream()
324 showNotification(R.drawable.stat_sys_tether_general, title, message, in setupRoamingNotification()
341 private void showNotification(@DrawableRes final int iconId, @NonNull final String title, in showNotification() method in TetheringNotificationUpdater
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DHeadsUpController.java112 mHeadsUpManager.showNotification(entry); in showAlertingView()
132 mHeadsUpViewBinder.bindHeadsUpView(entry, mHeadsUpManager::showNotification); in updateHunState()
DBypassHeadsUpNotifier.kt95 headsUpManager.showNotification(it) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DShowInstallAppNotificationReceiver.java42 InstallCarrierAppUtils.showNotification(context, pkgName); in onReceive()
DInstallCarrierAppUtils.java52 static void showNotification(Context context, String pkgName) { in showNotification() method in InstallCarrierAppUtils
DUiccProfile.java1303 InstallCarrierAppUtils.showNotification(mContext, pkgName); in showCarrierAppNotificationsIfPossible()
/frameworks/base/core/java/android/app/
DDownloadManager.java1437 boolean showNotification) { in addCompletedDownload() argument
1439 length, showNotification, false, null, null); in addCompletedDownload()
1483 boolean showNotification, Uri uri, Uri referer) { in addCompletedDownload() argument
1485 length, showNotification, false, uri, referer); in addCompletedDownload()
1508 boolean showNotification, boolean allowWrite) { in addCompletedDownload() argument
1510 length, showNotification, allowWrite, null, null); in addCompletedDownload()
1533 boolean showNotification, boolean allowWrite, Uri uri, Uri referer) { in addCompletedDownload() argument
1566 values.put(Downloads.Impl.COLUMN_VISIBILITY, (showNotification) ? in addCompletedDownload()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerTest.java74 mHeadsUpManager.showNotification(mEntry); in testShowNotification_autoDismissesWithAccessibilityTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.java192 verify(mHeadsUpManager).showNotification(mEntry); in testShowHUNOnInflationFinished()
206 verify(mHeadsUpManager, never()).showNotification(mEntry); in testNoHUNOnInflationFinished()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java75 void showNotification(UsbDevice device) { in showNotification() method in MtpNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.java97 mHeadsUpManager.showNotification(entry); in onHeadsUpViewBound()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAlertingNotificationManager.java63 public void showNotification(@NonNull NotificationEntry entry) { in showNotification() method in AlertingNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java405 alertManager.showNotification(entry); in alertNotificationWhenPossible()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java1069 String packageName, boolean showNotification, int userId) { in PackageDeleteObserverAdapter() argument
1073 if (showNotification) { in PackageDeleteObserverAdapter()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1401 final boolean showNotification = mIsBootComplete in showZenUpgradeNotification()
1414 if (showNotification) { in showZenUpgradeNotification()

12