Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java112 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false); in testNotificationsShownAndCleared()
132 mManager.showNotification(100, NO_INTERNET, mCellNai, mWifiNai, null, false); in testNoInternetNotificationsNotShownForCellular()
133 mManager.showNotification(101, LOST_INTERNET, mCellNai, mWifiNai, null, false); in testNoInternetNotificationsNotShownForCellular()
137 mManager.showNotification(102, NO_INTERNET, mWifiNai, mCellNai, null, false); in testNoInternetNotificationsNotShownForCellular()
148 mManager.showNotification(102, NO_INTERNET, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
149 mManager.showNotification(103, LOST_INTERNET, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
150 mManager.showNotification(104, NETWORK_SWITCH, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
161 mManager.showNotification(id, NO_INTERNET, mWifiNai, mCellNai, null, false); in testDuplicatedNotificationsNoInternetThenSignIn()
166 mManager.showNotification(id, SIGN_IN, mWifiNai, mCellNai, null, false); in testDuplicatedNotificationsNoInternetThenSignIn()
183 mManager.showNotification(id, SIGN_IN, mWifiNai, mCellNai, null, false); in testDuplicatedNotificationsSignInThenNoInternet()
[all …]
DLingerMonitorTest.java327 .showNotification(anyInt(), any(), any(), any(), any(), anyBoolean()); in verifyNoNotification()
342 verify(mNotifier, times(1)).showNotification(eq(from.network.netId), in verifyNotification()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java158 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
164 showNotification(R.string.vpn_lockdown_connecting, R.drawable.vpn_disconnected); in handleStateChangedLocked()
174 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
178 showNotification(R.string.vpn_lockdown_error, R.drawable.vpn_disconnected); in handleStateChangedLocked()
193 showNotification(R.string.vpn_lockdown_connected, R.drawable.vpn_connected); in handleStateChangedLocked()
271 private void showNotification(int titleRes, int iconRes) { in showNotification() method in LockdownVpnTracker
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java102 mHeadsUpManager.showNotification(mEntry); in testBasicOperations()
150 mHeadsUpManager.showNotification(mEntry); in testsTimeoutRemoval()
176 mHeadsUpManager.showNotification(mEntry); in releaseImmediately()
201 mHeadsUpManager.showNotification(mEntry); in releaseAllImmediately()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWrongPasswordNotifier.java62 showNotification(ssid); in onWrongPasswordError()
81 private void showNotification(String ssid) { in showNotification() method in WrongPasswordNotifier
/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java151 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() method in LingerMonitor
152 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification()
188 showNotification(fromNai, toNai); in notify()
DNetworkNotificationManager.java130 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() method in NetworkNotificationManager
268 showNotification(id, NotificationType.SIGN_IN, null, null, pendingIntent, false); in setProvNotificationVisible()
/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.java144 InstallCarrierAppUtils.showNotification(mContext, pkgName);
/frameworks/base/core/java/android/app/
DDownloadManager.java1332 boolean showNotification) {
1334 length, showNotification, false, null, null);
1363 boolean showNotification, Uri uri, Uri referer) {
1365 length, showNotification, false, uri, referer);
1371 boolean showNotification, boolean allowWrite) {
1373 length, showNotification, allowWrite, null, null);
1379 boolean showNotification, boolean allowWrite, Uri uri, Uri referer) {
1411 values.put(Downloads.Impl.COLUMN_VISIBILITY, (showNotification) ?
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java175 mHeadsUpManager.showNotification(group.summary); in cleanUpHeadsUpStatesOnAdd()
222 mHeadsUpManager.showNotification(group.summary); in cleanUpHeadsUpStatesOnAdd()
555 mHeadsUpManager.showNotification(child); in handleSuppressedSummaryHeadsUpped()
/frameworks/base/services/usb/java/com/android/server/usb/
DMtpNotificationManager.java75 void showNotification(UsbDevice device) { in showNotification() method in MtpNotificationManager
DUsbProfileGroupSettingsManager.java676 mMtpNotificationManager.showNotification(device); in resolveActivity()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java814 String packageName, boolean showNotification, int userId) { in PackageDeleteObserverAdapter() argument
818 if (showNotification) { in PackageDeleteObserverAdapter()
872 boolean showNotification, int userId) { in PackageInstallObserverAdapter() argument
876 mShowNotification = showNotification; in PackageInstallObserverAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java114 public void showNotification(@NonNull NotificationData.Entry headsUp) { in showNotification() method in HeadsUpManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationEntryManager.java452 mHeadsUpManager.showNotification(shadeEntry); in addEntry()
1007 mHeadsUpManager.showNotification(entry); in updateHeadsUp()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1185 final boolean showNotification = mIsBootComplete in showZenUpgradeNotification()
1190 if (showNotification) { in showZenUpgradeNotification()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2294 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage()
2946 mNotifier.showNotification(nai.network.netId, type, nai, null, pendingIntent, true); in showValidationNotification()