/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
H A D | LingerMonitorTest.java | 85 @Mock NetworkNotificationManager mNotifier; field in LingerMonitorTest 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() 196 reset(mNotifier); in testMultipleNotifications() 214 reset(mNotifier); in testRateLimiting() 240 reset(mNotifier); in testDailyLimiting() 246 reset(mNotifier); in testDailyLimiting() 346 verify(mNotifier, never()) in verifyNoNotification() [all …]
|
/aosp12/packages/apps/Car/libs/car-qc-lib/src/com/android/car/qc/provider/ |
H A D | BaseLocalQCProvider.java | 39 private Notifier mNotifier; field in BaseLocalQCProvider 51 mNotifier = notifier; in setNotifier() 93 if (mNotifier != null) { in notifyChange() 94 mNotifier.notifyUpdate(); in notifyChange()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
H A D | NotifierTest.java | 81 private Notifier mNotifier; field in NotifierTest 107 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateEnabled_wiredCharging() 122 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateDisabled_wiredCharging() 137 mNotifier.onWirelessChargingStarted(5, USER_ID); in testVibrateEnabled_wirelessCharging() 152 mNotifier.onWirelessChargingStarted(5, USER_ID); in testVibrateDisabled_wirelessCharging() 170 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateEnabled_dndOn() 186 mNotifier.onWirelessChargingStarted(5, USER_ID); in testWirelessAnimationEnabled() 202 mNotifier.onWirelessChargingStarted(5, USER_ID); in testWirelessAnimationDisabled() 294 mNotifier = new Notifier( in createNotifier()
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | CaptureStateNotifier.cpp | 15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient() 18 mNotifier->binderDied(); in binderDied() 22 CaptureStateNotifier* const mNotifier; member in android::CaptureStateNotifier::DeathRecipient
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
H A D | NetworkStackNotifierTest.kt | 100 private lateinit var mNotifier: NetworkStackNotifier 174 mNotifier = NetworkStackNotifier(mContext, mLooper.looper, mDependencies) 175 mHandler = mNotifier.handler 228 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) 242 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) 256 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) 276 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK) 357 mNotifier.notifyCaptivePortalValidationPending(TEST_NETWORK)
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A 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()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A 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()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A 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()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferHistory.java | 83 private BluetoothOppNotification mNotifier; field in BluetoothOppTransferHistory 146 mNotifier = new BluetoothOppNotification(this); in onCreate() 341 mNotifier.updateNotification(); in updateNotificationWhenBtDisabled()
|
H A 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()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Phone.java | 446 protected PhoneNotifier mNotifier; field in Phone 558 mNotifier = notifier; in Phone() 935 mNotifier.notifyPreciseCallState(this); in notifyPreciseCallStateChangedP() 1741 mNotifier.notifyServiceState(this); in notifyServiceStateChangedP() 2762 mNotifier.notifyDataActivity(this); in notifyDataActivity() 2771 mNotifier.notifyMessageWaitingChanged(this); in notifyMessageWaitingIndicator() 2776 mNotifier.notifyDataConnection(this, state); in notifyDataConnection() 2802 mNotifier.notifySignalStrength(this); in notifySignalStrength() 2818 mNotifier.notifyCellInfo(this, cellInfo); in notifyCellInfo() 2861 mNotifier.notifyEmergencyNumberList(this); in notifyEmergencyNumberList() [all …]
|
H A D | GsmCdmaPhone.java | 775 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged() 796 mNotifier.notifyDisconnectCause(this, cn.getDisconnectCause(), in notifyDisconnect() 876 mNotifier.notifyCellLocation(this, cellIdentity); in notifyLocationChanged() 881 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator() 2852 mNotifier.notifyRadioPowerStateChanged(this, newState); in handleRadioPowerStateChange() 3105 mNotifier.notifyRegistrationFailed(this, rfe.cellIdentity, rfe.chosenPlmn, in handleMessage() 3113 mNotifier.notifyBarringInfoChanged(this, barringInfo); in handleMessage()
|
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/ |
H A 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()
|
/aosp12/packages/modules/NetworkStack/src/com/android/server/ |
H A 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()
|
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A 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()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCodeTest.java | 64 mGsmCdmaPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneMmiCodeTest.java | 71 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone); in setUp()
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 294 private Notifier mNotifier; field in PowerManagerService 1623 mNotifier.onLongPartialWakeLockStart(wakeLock.mTag, wakeLock.mOwnerUid, 1655 mNotifier.onWakeLockReleased(wakeLock.mFlags, wakeLock.mTag, 1752 mNotifier.onUserActivity(event, uid); 2043 if (mNotifier != null) { 2116 mNotifier.onWakefulnessChangeFinished(); 2193 mNotifier.onProfileTimeout(profile.mUserId); 2255 mNotifier.onWiredChargingStarted(mUserId); 3203 mNotifier.onScreenPolicyUpdate(displayPowerRequest.policy); 4354 if (mNotifier != null) { [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
H A 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()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaPhoneTest.java | 143 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp() 1028 Phone phone = new GsmCdmaPhone(mContext, sc, mNotifier, true, 0, in testZeroMeid() 1609 verify(mNotifier, times(1)) in testEventLceUpdate() 1619 verify(mNotifier, times(2)) in testEventLceUpdate() 1626 verify(mNotifier, times(3)) in testEventLceUpdate()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | TileImageView.java | 758 private CancelListener mNotifier = new CancelListener() { field in TileImageView.TileDecoder 770 jc.setCancelListener(mNotifier); in run()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 180 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
|