Home
last modified time | relevance | path

Searched refs:mNotifier (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java78 @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/
DLingerMonitor.java73 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/
DCallbackRegistry.java71 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/
DPhone.java398 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 …]
DGsmCdmaPhone.java672 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/
DImsPhoneBase.java139 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/
DPowerManagerService.java246 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/
DSipPhoneBase.java181 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java586 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/
DPhoneMock.java210 mNotifier.notifyPreciseCallState(this); in notifyPreciseCallStateChangedP()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java136 protected PhoneNotifier mNotifier; field in TelephonyTest
DGsmCdmaPhoneTest.java103 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in onLooperPrepared()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java114 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, true); in onLooperPrepared()