Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCallbackRegistryTest.java53 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testAddListener() local
60 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddListener()
92 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testSimpleNotify() local
102 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testSimpleNotify()
111 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testRemoveWhileNotifying() local
123 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testRemoveWhileNotifying()
138 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testDeepRemoveWhileNotifying() local
148 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testDeepRemoveWhileNotifying()
163 CallbackRegistry.NotifierCallback<Integer, CallbackRegistryTest, Integer> notifier = in testAddRemovedListener() local
176 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddRemovedListener()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryStateNotifierTest.kt53 private lateinit var notifier: BatteryStateNotifier variable in com.android.systemui.statusbar.policy.BatteryStateNotifierTest
58 notifier = BatteryStateNotifier(batteryController, noMan, executor, context) in setup()
59 notifier.startListening() in setup()
66 notifier.onBatteryUnknownStateChanged(true) in testNotifyWhenStateUnknown()
72 notifier.onBatteryUnknownStateChanged(true) in testCancelAfterDelay()
73 notifier.onBatteryUnknownStateChanged(false) in testCancelAfterDelay()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/library/
DOptionalClassRunner.java76 public void run(RunNotifier notifier) { in run() argument
77 mDelegate.run(notifier); in run()
111 protected void runChild(Runner child, RunNotifier notifier) { in runChild() argument
112 child.run(notifier); in runChild()
132 public void run(RunNotifier notifier) { in run() argument
138 }, getDescription(), notifier); in run()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DDevSdkIgnoreRunner.kt52 override fun run(notifier: RunNotifier) { in run()
54 baseRunner.run(notifier) in run()
60 notifier.fireTestIgnored( in run()
/frameworks/av/media/libmedia/
DIMediaDeathNotifier.cpp94 sp<IMediaDeathNotifier> notifier = list[iter].promote(); in binderDied() local
95 if (notifier != 0) { in binderDied()
96 notifier->died(); in binderDied()
/frameworks/av/services/audiopolicy/service/
DCaptureStateNotifier.cpp15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient() argument
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DPerformanceRunner.java69 public void run(RunNotifier notifier) { in run() argument
70 super.run(notifier); in run()
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument
78 mNotifier = notifier; in CallbackRegistry()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java459 for (EditStyledTextNotifier notifier : mESTNotifiers) { in sendOnTouchEvent()
460 notifier.sendOnTouchEvent(event); in sendOnTouchEvent()
468 for (EditStyledTextNotifier notifier : mESTNotifiers) { in isButtonsFocused()
469 retval |= notifier.isButtonsFocused(); in isButtonsFocused()
477 for (EditStyledTextNotifier notifier : mESTNotifiers) { in showPreview()
478 if (notifier.showPreview()) { in showPreview()
487 for (EditStyledTextNotifier notifier : mESTNotifiers) { in cancelViewManagers()
488 notifier.cancelViewManager(); in cancelViewManagers()
495 for (EditStyledTextNotifier notifier : mESTNotifiers) { in showInsertImageSelectAlertDialog()
496 if (notifier.showInsertImageSelectAlertDialog()) { in showInsertImageSelectAlertDialog()
[all …]
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java50 default void registerSmartspaceEventNotifier(SmartspaceEventNotifier notifier) {} in registerSmartspaceEventNotifier() argument
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp75 sp<DeathNotifier> notifier; in BinderDiedCallback() local
83 notifier = it->second; in BinderDiedCallback()
85 if (notifier.get() != nullptr) { in BinderDiedCallback()
86 notifier->binderDied(); in BinderDiedCallback()
803 ::ndk::SpAIBinder binder, const sp<DeathNotifier>& notifier) { in addCookieAndLink_l() argument
811 sCookieToDeathNotifierMap.emplace(cookie, notifier); in addCookieAndLink_l()
DResourceManagerService.h179 uintptr_t addCookieAndLink_l(::ndk::SpAIBinder binder, const sp<DeathNotifier>& notifier);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneConfigurationManager.java319 PhoneNotifier notifier = new DefaultPhoneNotifier(mContext); in notifyCapabilityChanged() local
321 notifier.notifyPhoneCapabilityChanged(mStaticCapability); in notifyCapabilityChanged()
DTelephonyComponentFactory.java420 public Phone makePhone(Context context, CommandsInterface ci, PhoneNotifier notifier,
423 return new GsmCdmaPhone(context, ci, notifier, phoneId, precisePhoneType,
DGsmCdmaPhone.java274 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, in GsmCdmaPhone() argument
276 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory); in GsmCdmaPhone()
279 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
282 this(context, ci, notifier, in GsmCdmaPhone()
288 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
293 notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory); in GsmCdmaPhone()
DPhone.java534 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
536 this(name, notifier, context, ci, unitTestMode, SubscriptionManager.DEFAULT_PHONE_INDEX, in Phone()
551 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
556 mNotifier = notifier; in Phone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java52 public SipPhoneBase(String name, Context context, PhoneNotifier notifier) { in SipPhoneBase() argument
53 super(name, notifier, context, new SipCommandInterface(context), false); in SipPhoneBase()
DSipPhone.java74 SipPhone (Context context, PhoneNotifier notifier, SipProfile profile) { in SipPhone() argument
75 super("SIP:" + profile.getUriString(), context, notifier); in SipPhone()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.h60 DisplayConfigurationUpdateNotifier notifier);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java58 public ImsPhoneBase(String name, Context context, PhoneNotifier notifier, in ImsPhoneBase() argument
60 super(name, notifier, context, new ImsPhoneCommandInterface(context), unitTestMode); in ImsPhoneBase()
DImsPhone.java428 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { in ImsPhone() argument
429 this(context, notifier, defaultPhone, ImsManager::getInstance, false); in ImsPhone()
433 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, in ImsPhone() argument
435 super("ImsPhone", context, notifier, unitTestMode); in ImsPhone()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp126 for (auto& notifier : mNotifiers) { in disconnect() local
127 sp<IGraphicBufferProducer> producer = notifier.first; in disconnect()
128 sp<OutputListener> listener = notifier.second; in disconnect()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp166 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef() local
167 notifier.noteResetCamera(); in onFirstRef()
168 notifier.noteResetFlashlight(); in onFirstRef()
593 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked() local
597 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
600 notifier.noteFlashlightOn(cameraId, newUid); in onTorchStatusChangedLocked()
606 notifier.noteFlashlightOn(cameraId, oldUid); in onTorchStatusChangedLocked()
608 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
3743 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded() local
3744 notifier.noteStartCamera(descriptor.getKey(), in onClientAdded()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java353 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() argument
354 mMtpNotifier = notifier; in MtpStorageManager()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp159 std::thread notifier([]() { in onNewDevicesAvailable() local
162 notifier.detach(); in onNewDevicesAvailable()