Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 22 of 22) 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/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/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/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java42 CommandsInterface ci, PhoneNotifier notifier, int phoneId, in VendorGsmCdmaPhone() argument
44 this(context, ci, notifier, false, phoneId, precisePhoneType, in VendorGsmCdmaPhone()
49 CommandsInterface ci, PhoneNotifier notifier, boolean unitTestMode, int phoneId, in VendorGsmCdmaPhone() argument
51 super(context, ci, notifier, unitTestMode, phoneId, precisePhoneType, in VendorGsmCdmaPhone()
/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/services/core/java/com/android/server/connectivity/
DLingerMonitor.java89 public LingerMonitor(Context context, NetworkNotificationManager notifier, in LingerMonitor() argument
92 mNotifier = notifier; in LingerMonitor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneConfigurationManager.java314 PhoneNotifier notifier = new DefaultPhoneNotifier(mContext); in notifyCapabilityChanged() local
316 notifier.notifyPhoneCapabilityChanged(mStaticCapability); in notifyCapabilityChanged()
DTelephonyComponentFactory.java414 public Phone makePhone(Context context, CommandsInterface ci, PhoneNotifier notifier,
417 return new GsmCdmaPhone(context, ci, notifier, phoneId, precisePhoneType,
DPhone.java501 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
503 this(name, notifier, context, ci, unitTestMode, SubscriptionManager.DEFAULT_PHONE_INDEX, in Phone()
518 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
523 mNotifier = notifier; in Phone()
DGsmCdmaPhone.java244 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, in GsmCdmaPhone() argument
246 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory); in GsmCdmaPhone()
249 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
253 notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory); in GsmCdmaPhone()
/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.java72 SipPhone (Context context, PhoneNotifier notifier, SipProfile profile) { in SipPhone() argument
73 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.java306 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { in ImsPhone() argument
307 this(context, notifier, defaultPhone, false); in ImsPhone()
311 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, in ImsPhone() argument
313 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.cpp158 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef() local
159 notifier.noteResetCamera(); in onFirstRef()
160 notifier.noteResetFlashlight(); in onFirstRef()
539 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked() local
543 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
546 notifier.noteFlashlightOn(cameraId, newUid); in onTorchStatusChangedLocked()
552 notifier.noteFlashlightOn(cameraId, oldUid); in onTorchStatusChangedLocked()
554 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
3407 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded() local
3408 notifier.noteStartCamera(descriptor.getKey(), in onClientAdded()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java346 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() argument
347 mMtpNotifier = notifier; in MtpStorageManager()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp154 std::thread notifier([]() { in onNewDevicesAvailable() local
157 notifier.detach(); in onNewDevicesAvailable()