/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 78 @Mock NetworkNotificationManager mNotifier; field in LingerMonitorTest 87 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT); in setUp() 133 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterDisconnect() 147 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterSwitchingBack() 161 verify(mNotifier, times(1)).clearNotification(100); in testUniqueToast() 163 reset(mNotifier); in testUniqueToast() 180 verify(mNotifier, times(1)).clearNotification(100); in testMultipleNotifications() 182 reset(mNotifier); in testMultipleNotifications() 189 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, LOW_RATE_LIMIT); in testRateLimiting() 200 reset(mNotifier); in testRateLimiting() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | LingerMonitor.java | 73 private final NetworkNotificationManager mNotifier; field in LingerMonitor 90 mNotifier = notifier; in LingerMonitor() 154 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification() 169 mNotifier.clearNotification(fromNetId); in maybeStopNotifying() 193 mNotifier.showToast(fromNai, toNai); in notify()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 71 private final NotifierCallback<C, T, A> mNotifier; field in CallbackRegistry 78 mNotifier = notifier; in CallbackRegistry() 204 mNotifier.onNotifyCallback(mCallbacks.get(i), sender, arg, arg2); in notifyCallbacksLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Phone.java | 398 protected PhoneNotifier mNotifier; field in Phone 517 mNotifier = notifier; in Phone() 738 mNotifier.notifyOemHookRawEventForSubscriber(this, data); in handleMessage() 888 mNotifier.notifyPreciseCallState(this); in notifyPreciseCallStateChangedP() 1653 mNotifier.notifyServiceState(this); in notifyServiceStateChangedP() 2322 mNotifier.notifyDataActivity(this); in notifyDataActivity() 2331 mNotifier.notifyMessageWaitingChanged(this); in notifyMessageWaitingIndicator() 2335 mNotifier.notifyDataConnection(this, apnType, getDataConnectionState(apnType)); in notifyDataConnection() 2342 mNotifier.notifyDataConnection(this, apnType, in notifyDataConnection() 2350 mNotifier.notifyOtaspChanged(this, otaspMode); in notifyOtaspChanged() [all …]
|
D | GsmCdmaPhone.java | 672 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged() 693 mNotifier.notifyDisconnectCause(this, cn.getDisconnectCause(), in notifyDisconnect() 769 mNotifier.notifyCellLocation(this, cl); in notifyLocationChanged() 774 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator() 2389 mNotifier.notifyRadioPowerStateChanged(this, mCi.getRadioState()); in handleRadioPowerStateChange()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 139 mNotifier.notifyCallQualityChanged(this, callQuality, callNetworkType); in onCallQualityChanged() 196 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged() 215 mNotifier.notifyImsDisconnectCause(this, imsReasonInfo); in notifyImsReason() 232 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 246 private Notifier mNotifier; field in PowerManagerService 842 mNotifier = mInjector.createNotifier(Looper.getMainLooper(), mContext, mBatteryStats, in systemReady() 1257 mNotifier.onWakeLockAcquired(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName, in notifyWakeLockAcquiredLocked() 1282 mNotifier.onLongPartialWakeLockStart(wakeLock.mTag, wakeLock.mOwnerUid, in notifyWakeLockLongStartedLocked() 1290 mNotifier.onLongPartialWakeLockFinish(wakeLock.mTag, wakeLock.mOwnerUid, in notifyWakeLockLongFinishedLocked() 1298 mNotifier.onWakeLockChanging(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName, in notifyWakeLockChangingLocked() 1314 mNotifier.onWakeLockReleased(wakeLock.mFlags, wakeLock.mTag, in notifyWakeLockReleasedLocked() 1384 mNotifier.onUserActivity(event, uid); in userActivityNoUpdateLocked() 1469 mNotifier.onWakeUp(reason, details, reasonUid, opPackageName, opUid); in wakeUpNoUpdateLocked() 1604 if (mNotifier != null) { in setWakefulnessLocked() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 181 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 586 private NetworkNotificationManager mNotifier; field in ConnectivityService 1020 mNotifier = new NetworkNotificationManager(mContext, mTelephonyManager, in ConnectivityService() 1029 mLingerMonitor = new LingerMonitor(mContext, mNotifier, dailyLimit, rateLimit); in ConnectivityService() 2650 mNotifier.clearNotification(nai.network.netId, in maybeHandleNetworkMonitorMessage() 2652 mNotifier.clearNotification(nai.network.netId, in maybeHandleNetworkMonitorMessage() 2654 mNotifier.clearNotification(nai.network.netId, in maybeHandleNetworkMonitorMessage() 2707 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 2708 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 2715 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 3003 mNotifier.clearNotification(nai.network.netId); in disconnectAndDestroyNetwork() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 210 mNotifier.notifyPreciseCallState(this); in notifyPreciseCallStateChangedP()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 136 protected PhoneNotifier mNotifier; field in TelephonyTest
|
D | GsmCdmaPhoneTest.java | 103 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in onLooperPrepared()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 114 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, true); in onLooperPrepared()
|