/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 77 @Mock NetworkNotificationManager mNotifier; field in LingerMonitorTest 86 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT); in setUp() 132 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterDisconnect() 146 verify(mNotifier, times(1)).clearNotification(100); in testNotificationClearedAfterSwitchingBack() 160 verify(mNotifier, times(1)).clearNotification(100); in testUniqueToast() 162 reset(mNotifier); in testUniqueToast() 179 verify(mNotifier, times(1)).clearNotification(100); in testMultipleNotifications() 181 reset(mNotifier); in testMultipleNotifications() 188 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, LOW_RATE_LIMIT); in testRateLimiting() 199 reset(mNotifier); in testRateLimiting() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | LingerMonitor.java | 75 private final NetworkNotificationManager mNotifier; field in LingerMonitor 92 mNotifier = notifier; in LingerMonitor() 156 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification() 171 mNotifier.clearNotification(fromNetId); in maybeStopNotifying() 195 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 | 425 protected PhoneNotifier mNotifier; field in Phone 527 mNotifier = notifier; in Phone() 608 mImsPhone = PhoneFactory.makeImsPhone(mNotifier, this); in createImsPhone() 893 mNotifier.notifyPreciseCallState(this); in notifyPreciseCallStateChangedP() 1688 mNotifier.notifyServiceState(this); in notifyServiceStateChangedP() 2511 mNotifier.notifyDataActivity(this); in notifyDataActivity() 2520 mNotifier.notifyMessageWaitingChanged(this); in notifyMessageWaitingIndicator() 2525 mNotifier.notifyDataConnection(this, apnType, getPreciseDataConnectionState(apnType)); in notifyDataConnection() 2535 mNotifier.notifyDataConnection( in notifyAllActiveDataConnections() 2549 mNotifier.notifyVoiceActivationStateChanged(this, state); in notifyVoiceActivationStateChanged() [all …]
|
D | GsmCdmaPhone.java | 748 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged() 769 mNotifier.notifyDisconnectCause(this, cn.getDisconnectCause(), in notifyDisconnect() 845 mNotifier.notifyCellLocation(this, cellIdentity); in notifyLocationChanged() 850 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator() 2669 mNotifier.notifyRadioPowerStateChanged(this, mCi.getRadioState()); in handleRadioPowerStateChange() 2939 mNotifier.notifyRegistrationFailed(this, rfe.cellIdentity, rfe.chosenPlmn, in handleMessage() 2947 mNotifier.notifyBarringInfoChanged(this, barringInfo); in handleMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 138 mNotifier.notifyCallQualityChanged(this, callQuality, callNetworkType); in onCallQualityChanged() 190 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged() 209 mNotifier.notifyImsDisconnectCause(this, imsReasonInfo); in notifyImsReason() 226 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 248 private Notifier mNotifier; field in PowerManagerService 850 mNotifier = mInjector.createNotifier(Looper.getMainLooper(), mContext, mBatteryStats, in systemReady() 1267 mNotifier.onWakeLockAcquired(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName, in notifyWakeLockAcquiredLocked() 1292 mNotifier.onLongPartialWakeLockStart(wakeLock.mTag, wakeLock.mOwnerUid, in notifyWakeLockLongStartedLocked() 1300 mNotifier.onLongPartialWakeLockFinish(wakeLock.mTag, wakeLock.mOwnerUid, in notifyWakeLockLongFinishedLocked() 1308 mNotifier.onWakeLockChanging(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName, in notifyWakeLockChangingLocked() 1324 mNotifier.onWakeLockReleased(wakeLock.mFlags, wakeLock.mTag, in notifyWakeLockReleasedLocked() 1394 mNotifier.onUserActivity(event, uid); in userActivityNoUpdateLocked() 1479 mNotifier.onWakeUp(reason, details, reasonUid, opPackageName, opUid); in wakeUpNoUpdateLocked() 1619 if (mNotifier != null) { in setWakefulnessLocked() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 180 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 629 private NetworkNotificationManager mNotifier; field in ConnectivityService 1150 mNotifier = new NetworkNotificationManager(mContext, mTelephonyManager, in ConnectivityService() 1159 mLingerMonitor = new LingerMonitor(mContext, mNotifier, dailyLimit, rateLimit); in ConnectivityService() 2857 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 2858 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 2865 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 2922 mNotifier.clearNotification(nai.network.netId, in handleNetworkTested() 2924 mNotifier.clearNotification(nai.network.netId, in handleNetworkTested() 2926 mNotifier.clearNotification(nai.network.netId, in handleNetworkTested() 2928 mNotifier.clearNotification(nai.network.netId, in handleNetworkTested() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 167 protected PhoneNotifier mNotifier; field in TelephonyTest
|
D | GsmCdmaPhoneTest.java | 135 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 143 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, true); in setUp()
|