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/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/libs/net/common/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/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/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/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/core/java/com/android/internal/util/
DCallbackRegistry.java77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument
78 mNotifier = notifier; in CallbackRegistry()
/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.java313 PhoneNotifier notifier = new DefaultPhoneNotifier(mContext); in notifyCapabilityChanged() local
315 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,
DPhone.java505 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
507 this(name, notifier, context, ci, unitTestMode, SubscriptionManager.DEFAULT_PHONE_INDEX, in Phone()
522 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
527 mNotifier = notifier; in Phone()
DGsmCdmaPhone.java246 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, in GsmCdmaPhone() argument
248 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory); in GsmCdmaPhone()
251 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
255 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.java399 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { in ImsPhone() argument
400 this(context, notifier, defaultPhone, false); in ImsPhone()
404 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, in ImsPhone() argument
406 super("ImsPhone", context, notifier, unitTestMode); in ImsPhone()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp147 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef() local
148 notifier.noteResetCamera(); in onFirstRef()
149 notifier.noteResetFlashlight(); in onFirstRef()
432 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked() local
436 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
439 notifier.noteFlashlightOn(cameraId, newUid); in onTorchStatusChangedLocked()
445 notifier.noteFlashlightOn(cameraId, oldUid); in onTorchStatusChangedLocked()
447 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
2958 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded() local
2959 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/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.cpp153 std::thread notifier([]() { in onNewDevicesAvailable() local
156 notifier.detach(); in onNewDevicesAvailable()