Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 21 of 21) 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/core/tests/coretests/src/android/content/pm/
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/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/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/services/core/java/com/android/server/connectivity/
DLingerMonitor.java87 public LingerMonitor(Context context, NetworkNotificationManager notifier, in LingerMonitor() argument
90 mNotifier = notifier; in LingerMonitor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneConfigurationManager.java300 PhoneNotifier notifier = new DefaultPhoneNotifier(); in notifyCapabilityChanged() local
302 notifier.notifyPhoneCapabilityChanged(mStaticCapability); in notifyCapabilityChanged()
DPhone.java495 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
497 this(name, notifier, context, ci, unitTestMode, SubscriptionManager.DEFAULT_PHONE_INDEX, in Phone()
512 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
517 mNotifier = notifier; in Phone()
DGsmCdmaPhone.java220 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, in GsmCdmaPhone() argument
222 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory); in GsmCdmaPhone()
225 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
229 notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory); in GsmCdmaPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java53 public SipPhoneBase(String name, Context context, PhoneNotifier notifier) { in SipPhoneBase() argument
54 super(name, notifier, context, new SipCommandInterface(context), false); in SipPhoneBase()
DSipPhone.java70 SipPhone (Context context, PhoneNotifier notifier, SipProfile profile) { in SipPhone() argument
71 super("SIP:" + profile.getUriString(), context, notifier); in SipPhone()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java68 protected PhoneMock(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in PhoneMock() argument
70 super(name, notifier, context, ci, unitTestMode); in PhoneMock()
74 protected PhoneMock(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in PhoneMock() argument
77 super(name, notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory); in PhoneMock()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.h60 DisplayConfigurationUpdateNotifier notifier);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java59 public ImsPhoneBase(String name, Context context, PhoneNotifier notifier, in ImsPhoneBase() argument
61 super(name, notifier, context, new ImsPhoneCommandInterface(context), unitTestMode); in ImsPhoneBase()
DImsPhone.java265 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { in ImsPhone() argument
266 this(context, notifier, defaultPhone, false); in ImsPhone()
270 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, in ImsPhone() argument
272 super("ImsPhone", context, notifier, unitTestMode); in ImsPhone()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena_unittest.cc89 void SetNotifier(Notifier* notifier) { in SetNotifier() argument
90 notifier_ = notifier; in SetNotifier()
175 Notifier notifier; in TEST() local
177 data->SetNotifier(&notifier); in TEST()
179 data->SetNotifier(&notifier); in TEST()
182 EXPECT_EQ(2, notifier.GetCount()); in TEST()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp145 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef() local
146 notifier.noteResetCamera(); in onFirstRef()
147 notifier.noteResetFlashlight(); in onFirstRef()
418 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked() local
422 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
425 notifier.noteFlashlightOn(cameraId, newUid); in onTorchStatusChangedLocked()
431 notifier.noteFlashlightOn(cameraId, oldUid); in onTorchStatusChangedLocked()
433 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
2914 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded() local
2915 notifier.noteStartCamera(descriptor.getKey(), in onClientAdded()
[all …]
/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/base/media/apex/java/android/media/
DMediaPlayer2.java3034 private void sendEvent(final EventNotifier notifier) {
3038 cb.first.execute(() -> notifier.notify(cb.second));
3047 private void sendDrmEvent(final DrmEventNotifier notifier) {
3052 cb.first.execute(() -> notifier.notify(cb.second));
3061 private <T> T sendDrmEventWait(final DrmEventNotifier<T> notifier)
3063 return sendDrmEventWait(notifier, 0);
3066 private <T> T sendDrmEventWait(final DrmEventNotifier<T> notifier, final long timeoutMs)
3072 cb.first.execute(() -> ret.complete(notifier.notifyWait(cb.second)));
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java346 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() argument
347 mMtpNotifier = notifier; in MtpStorageManager()