/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 85 @Mock NetworkNotificationManager mNotifier; field in LingerMonitorTest 96 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT); in setUp() 147 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterDisconnect() 161 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterSwitchingBack() 175 verify(mNotifier, times(1)).clearNotification(100); in testUniqueToast() 177 reset(mNotifier); in testUniqueToast() 194 verify(mNotifier, times(1)).clearNotification(100); in testMultipleNotifications() 196 reset(mNotifier); in testMultipleNotifications() 203 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, LOW_RATE_LIMIT); in testRateLimiting() 214 reset(mNotifier); in testRateLimiting() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 100 private lateinit var mNotifier: NetworkStackNotifier variable in com.android.networkstack.NetworkStackNotifierTest 174 mNotifier = NetworkStackNotifier(mContext, mLooper.looper, mDependencies) in setUp() 175 mHandler = mNotifier.handler in setUp() 228 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) in testConnectedNotification_NoSsid() 242 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) in testConnectedNotification_WithSsid() 256 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) in testConnectedVenueInfoNotification() 276 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) in testConnectedVenueInfoNotification_VenueInfoDisabled() 357 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) in testConnectedVenueInfoWithFriendlyNameNotification()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | LingerMonitor.java | 78 private final NetworkNotificationManager mNotifier; field in LingerMonitor 96 mNotifier = notifier; in LingerMonitor() 159 mNotifier.showNotification(fromNai.network.getNetId(), NotificationType.NETWORK_SWITCH, in showNotification() 177 mNotifier.clearNotification(fromNetId); in maybeStopNotifying() 200 mNotifier.showToast(fromNai, toNai); in notify()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalAlbumSet.java | 53 private final ChangeNotifier mNotifier; field in LocalAlbumSet 66 mNotifier = new ChangeNotifier(this, mWatchUris, application); in LocalAlbumSet() 167 if (mNotifier.isDirty()) { in reload() 199 mNotifier.fakeChange(); in fakeChange()
|
D | SecureAlbum.java | 50 private final ChangeNotifier mNotifier; field in SecureAlbum 60 mNotifier = new ChangeNotifier(this, mWatchUris, application); in SecureAlbum() 81 mNotifier.fakeChange(); in addMediaItem() 126 if (mNotifier.isDirty()) { in reload()
|
D | LocalAlbum.java | 57 private final ChangeNotifier mNotifier; field in LocalAlbum 86 mNotifier = new ChangeNotifier(this, mBaseUri, application); in LocalAlbum() 256 if (mNotifier.isDirty()) { in reload()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 111 private BluetoothOppNotification mNotifier; field in BluetoothOppService 230 mNotifier = new BluetoothOppNotification(this); in start() 231 mNotifier.mNotificationMgr.cancelAll(); in start() 232 mNotifier.updateNotification(); in start() 354 mNotifier.cancelNotifications(); 700 mNotifier.updateNotification(); in run() 868 mNotifier.mNotificationMgr.cancel(info.mId); in updateShare() 882 mNotifier.mNotificationMgr.cancel(info.mId); in updateShare()
|
D | BluetoothOppTransferHistory.java | 83 private BluetoothOppNotification mNotifier; field in BluetoothOppTransferHistory 146 mNotifier = new BluetoothOppNotification(this); in onCreate() 341 mNotifier.updateNotification(); in updateNotificationWhenBtDisabled()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 244 protected ChangeNotification mNotifier = null; field in PhotoProvider 347 mNotifier = notification; in setMockNotification() 444 if (mNotifier != null) { in notifyChange() 445 mNotifier.notifyChange(uri, syncToNetwork); in notifyChange()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 196 private final NetworkStackNotifier mNotifier; field in NetworkStackService.NetworkStackConnector 296 mNotifier = mDeps.makeNotifier(context, notifierThread.getLooper()); in NetworkStackConnector() 298 mNotifier = null; in NetworkStackConnector() 403 return mNotifier; in getNotifier()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 123 private final DownloadNotifier mNotifier; field in DownloadThread 250 mNotifier = Helpers.getDownloadNotifier(mContext); in DownloadThread() 367 mNotifier.notifyDownloadSpeed(mId, 0); in run() 750 mNotifier.notifyDownloadSpeed(mId, mSpeed); in updateProgress()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 945 private final Object mNotifier; field in CopyJob.DirectoryChildrenObserver 950 mNotifier = notifier; in DirectoryChildrenObserver() 955 synchronized (mNotifier) { in onChange() 956 mNotifier.notify(); in onChange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 758 private CancelListener mNotifier = new CancelListener() { field in TileImageView.TileDecoder 770 jc.setCancelListener(mNotifier); in run()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 746 private NetworkNotificationManager mNotifier; field in ConnectivityService 1458 mNotifier = new NetworkNotificationManager(mContext, mTelephonyManager); in ConnectivityService() 1467 mLingerMonitor = new LingerMonitor(mContext, mNotifier, dailyLimit, rateLimit); in ConnectivityService() 3405 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 3406 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 3413 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 3463 mNotifier.clearNotification(nai.network.getNetId(), in handleNetworkTested() 3465 mNotifier.clearNotification(nai.network.getNetId(), in handleNetworkTested() 3467 mNotifier.clearNotification(nai.network.getNetId(), in handleNetworkTested() 3469 mNotifier.clearNotification(nai.network.getNetId(), in handleNetworkTested() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 427 private final NetworkStackNotifier mNotifier; field in NetworkMonitor 576 mNotifier = serviceManager.getNotifier(); in NetworkMonitor() 1197 if (mNotifier != null) { in processMessage() 1198 mNotifier.notifyCaptivePortalValidationPending(network); in processMessage()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 227 private @Mock NetworkStackNotifier mNotifier; field in NetworkMonitorTest 484 when(mServiceManager.getNotifier()).thenReturn(mNotifier); in setUp() 1864 verify(mNotifier).notifyCaptivePortalValidationPending(networkCaptor.getValue()); 2455 verify(mNotifier).notifyCaptivePortalValidationPending(networkCaptor.getValue());
|