Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DNotifierTest.java92 private Notifier mNotifier; field in NotifierTest
118 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateEnabled_wiredCharging()
135 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateDisabled_wiredCharging()
151 mNotifier.onWirelessChargingStarted(5, USER_ID); in testVibrateEnabled_wirelessCharging()
168 mNotifier.onWirelessChargingStarted(5, USER_ID); in testVibrateDisabled_wirelessCharging()
187 mNotifier.onWiredChargingStarted(USER_ID); in testVibrateEnabled_dndOn()
204 mNotifier.onWirelessChargingStarted(5, USER_ID); in testWirelessAnimationEnabled()
221 mNotifier.onWirelessChargingStarted(5, USER_ID); in testWirelessAnimationDisabled()
242 mNotifier.onWakeLockReleased(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow()
248 mNotifier.onWakeLockAcquired(PowerManager.PARTIAL_WAKE_LOCK, "wakelockTag", in testOnWakeLockListener_RemoteException_NoRethrow()
[all …]
DPowerGroupTest.java86 @Mock private Notifier mNotifier; field in PowerGroupTest
93 mPowerGroup = new PowerGroup(GROUP_ID, mWakefulnessCallbackMock, mNotifier, in setUp()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandlerTest.java47 private CaptureStateNotifier mNotifier; field in SoundTriggerHalConcurrentCaptureHandlerTest
53 mNotifier = new CaptureStateNotifier(); in setUp()
56 mHandler = new SoundTriggerHalConcurrentCaptureHandler(mUnderlying, mNotifier); in setUp()
69 mNotifier.setActive(true); in testBasic()
82 mNotifier.setActive(false); in testBasic()
87 mNotifier.setActive(true); in testBasic()
103 mNotifier.setActive(true); in testStopBeforeActive()
118 mNotifier.setActive(true); in testStopAfterActive()
181 new Thread(() -> mNotifier.setActive(true)).start(); in testActiveWhileStop()
221 mNotifier.setActive(true); in testStopWhileActive()
[all …]
/frameworks/av/services/audiopolicy/service/
DCaptureStateNotifier.cpp15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient()
18 mNotifier->binderDied(); in binderDied()
22 CaptureStateNotifier* const mNotifier; member in android::CaptureStateNotifier::DeathRecipient
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java142 mNotifier.notifyCallQualityChanged(this, callQuality, callNetworkType); in onCallQualityChanged()
146 mNotifier.notifyMediaQualityStatusChanged(this, status); in onMediaQualityStatusChanged()
193 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged()
238 mNotifier.notifyPreciseCallState(this, imsCallIds, imsCallServiceTypes, imsCallTypes); in notifyPreciseCallStateToNotifier()
248 mNotifier.notifyImsDisconnectCause(this, imsReasonInfo); in notifyImsReason()
265 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalConcurrentCaptureHandler.java105 @NonNull private final ICaptureStateNotifier mNotifier; field in SoundTriggerHalConcurrentCaptureHandler
125 mNotifier = notifier; in SoundTriggerHalConcurrentCaptureHandler()
126 mCaptureState = mNotifier.registerListener(this); in SoundTriggerHalConcurrentCaptureHandler()
417 mNotifier.unregisterListener(this); in detach()
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java72 private final NotifierCallback<C, T, A> mNotifier; field in CallbackRegistry
79 mNotifier = notifier; in CallbackRegistry()
205 mNotifier.onNotifyCallback(mCallbacks.get(i), sender, arg, arg2); in notifyCallbacksLocked()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java61 private final Notifier mNotifier; field in PowerGroup
91 mNotifier = notifier; in PowerGroup()
104 mNotifier = notifier; in PowerGroup()
473 mNotifier.onScreenPolicyUpdate(mGroupId, mDisplayPowerRequest.policy); in updateLocked()
DPowerManagerService.java347 private Notifier mNotifier; field in PowerManagerService
755 mNotifier.onGroupWakefulnessChangeStarted(groupId, wakefulness, reason, eventTime); in onWakefulnessChangedLocked()
780 mNotifier, in onDisplayGroupAdded()
1373 mNotifier = mInjector.createNotifier(Looper.getMainLooper(), mContext, mBatteryStats,
1380 mNotifier, mDisplayManagerInternal, mClock.uptimeMillis()));
1955 mNotifier.onWakeLockAcquired(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName,
1983 mNotifier.onLongPartialWakeLockStart(wakeLock.mTag, wakeLock.mOwnerUid,
1992 mNotifier.onLongPartialWakeLockFinish(wakeLock.mTag, wakeLock.mOwnerUid,
2002 mNotifier.onWakeLockChanging(wakeLock.mFlags, wakeLock.mTag, wakeLock.mPackageName,
2025 mNotifier.onWakeLockReleased(wakeLock.mFlags, wakeLock.mTag,
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java480 protected PhoneNotifier mNotifier; field in Phone
603 mNotifier = notifier; in Phone()
692 mImsPhone = PhoneFactory.makeImsPhone(mNotifier, this); in createImsPhone()
1852 mNotifier.notifyServiceState(this); in notifyServiceStateChangedP()
1863 mNotifier.notifyServiceStateForSubId(this, ss, subId); in notifyServiceStateChangedPForSubId()
2392 mNotifier.notifyAllowedNetworkTypesChanged(this, reason, getAllowedNetworkTypes(reason)); in notifyAllowedNetworkTypesChanged()
2872 mNotifier.notifyDataActivity(this); in notifyDataActivity()
2881 mNotifier.notifyMessageWaitingChanged(this); in notifyMessageWaitingIndicator()
2886 mNotifier.notifyDataConnection(this, state); in notifyDataConnection()
2895 mNotifier.notifyVoiceActivationStateChanged(this, state); in notifyVoiceActivationStateChanged()
[all …]
DPhoneConfigurationManager.java120 private final DefaultPhoneNotifier mNotifier; field in PhoneConfigurationManager
162 mNotifier = new DefaultPhoneNotifier(mContext, mFeatureFlags); in PhoneConfigurationManager()
214 mNotifier.notifySimultaneousCellularCallingSubscriptionsChanged( in updateSimultaneousSubIdsFromPhoneIdMappingAndNotify()
617 mNotifier.notifyPhoneCapabilityChanged(getStaticPhoneCapability()); in notifyCapabilityChanged()
DGsmCdmaPhone.java869 mNotifier.notifyPhoneState(this); in notifyPhoneStateChanged()
883 mNotifier.notifyPreciseCallState(this, null, null, null); in notifyPreciseCallStateChanged()
893 mNotifier.notifyDisconnectCause(this, cn.getDisconnectCause(), in notifyDisconnect()
973 mNotifier.notifyCellLocation(this, cellIdentity); in notifyLocationChanged()
978 mNotifier.notifyCallForwardingChanged(this); in notifyCallForwardingIndicator()
3248 mNotifier.notifyRadioPowerStateChanged(this, newState); in handleRadioPowerStateChange()
3493 mNotifier.notifyRegistrationFailed(this, rfe.cellIdentity, rfe.chosenPlmn, in handleMessage()
3501 mNotifier.notifyBarringInfoChanged(this, barringInfo); in handleMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneMmiCodeTest.java77 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, mFeatureFlags); in setUp()
DImsNrSaModeHandlerTest.java100 mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()
DImsPhoneTest.java168 mImsPhoneUT = new ImsPhone(mContext, mNotifier, mPhone, (c, p) -> mImsManager, true, in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java184 mPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()
1069 Phone phone = new GsmCdmaPhone(mContext, sc, mNotifier, true, 0, in testZeroMeid()
1713 verify(mNotifier, times(1)) in testEventLceUpdate()
1723 verify(mNotifier, times(2)) in testEventLceUpdate()
1730 verify(mNotifier, times(3)) in testEventLceUpdate()
2836 mNotifier, in testCellularIdentifierDisclosureFlagOff()
2858 mNotifier, in testCellularIdentifierDisclosureFlagOn()
2884 mNotifier, in testCellularIdentifierDisclosure_disclosureEventAddedToNotifier()
2918 mNotifier, in testCellularIdentifierDisclosure_disclosureEventNull()
3179 mNotifier, in makeNewPhoneUT()
DCellBroadcastConfigTrackerTest.java73 mPhone = new GsmCdmaPhone(mContext, mSpyCi, mNotifier, true, 0, in setUp()
DTelephonyTest.java206 protected PhoneNotifier mNotifier; field in TelephonyTest
493 mNotifier = Mockito.mock(PhoneNotifier.class); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmMmiCodeTest.java74 mGsmCdmaPhoneUT = new GsmCdmaPhone(mContext, mSimulatedCommands, mNotifier, true, 0, in setUp()