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/PackageManagerServiceTests/server/src/com/android/server/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.kt58 override fun run(notifier: RunNotifier) { in run()
60 baseRunner.run(notifier) in run()
67 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/services/core/java/com/android/server/power/
DPowerGroup.java86 PowerGroup(int groupId, PowerGroupListener wakefulnessListener, Notifier notifier, in PowerGroup() argument
91 mNotifier = notifier; in PowerGroup()
100 PowerGroup(int wakefulness, PowerGroupListener wakefulnessListener, Notifier notifier, in PowerGroup() argument
104 mNotifier = notifier; in PowerGroup()
/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/soundtrigger_middleware/
DSoundTriggerHw2Compat.java86 ICaptureStateNotifier notifier) { in create() argument
87 return create(underlying.asBinder(), rebootRunnable, notifier); in create()
92 ICaptureStateNotifier notifier) { in create() argument
99 result = new SoundTriggerHalConcurrentCaptureHandler(result, notifier); in create()
DSoundTriggerHalConcurrentCaptureHandler.java122 @NonNull ICaptureStateNotifier notifier) { in SoundTriggerHalConcurrentCaptureHandler() argument
124 mNotifier = notifier; in SoundTriggerHalConcurrentCaptureHandler()
/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()
828 const std::shared_ptr<IResourceManagerClient>& client, const sp<DeathNotifier>& notifier) { in addCookieAndLink_l() argument
839 sCookieToDeathNotifierMap.emplace(cookie, notifier); in addCookieAndLink_l()
DResourceManagerService.h170 const sp<DeathNotifier>& notifier);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneConfigurationManager.java317 PhoneNotifier notifier = new DefaultPhoneNotifier(mContext); in notifyCapabilityChanged() local
319 notifier.notifyPhoneCapabilityChanged(mStaticCapability); in notifyCapabilityChanged()
DTelephonyComponentFactory.java437 public Phone makePhone(Context context, CommandsInterface ci, PhoneNotifier notifier,
440 return new GsmCdmaPhone(context, ci, notifier, phoneId, precisePhoneType,
DGsmCdmaPhone.java283 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, in GsmCdmaPhone() argument
285 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory); in GsmCdmaPhone()
288 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
291 this(context, ci, notifier, in GsmCdmaPhone()
297 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, in GsmCdmaPhone() argument
302 notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory); in GsmCdmaPhone()
DPhone.java551 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
553 this(name, notifier, context, ci, unitTestMode, SubscriptionManager.DEFAULT_PHONE_INDEX, in Phone()
568 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, in Phone() argument
573 mNotifier = notifier; in Phone()
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java63 default void registerSmartspaceEventNotifier(SmartspaceEventNotifier notifier) { in registerSmartspaceEventNotifier() argument
/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.java434 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { in ImsPhone() argument
435 this(context, notifier, defaultPhone, ImsManager::getInstance, false); in ImsPhone()
439 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, in ImsPhone() argument
441 super("ImsPhone", context, notifier, unitTestMode); in ImsPhone()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp130 for (auto& notifier : mNotifiers) { in disconnect() local
131 sp<IGraphicBufferProducer> producer = notifier.first; in disconnect()
132 sp<OutputListener> listener = notifier.second; in disconnect()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp173 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onFirstRef() local
174 notifier.noteResetCamera(); in onFirstRef()
175 notifier.noteResetFlashlight(); in onFirstRef()
627 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onTorchStatusChangedLocked() local
631 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
634 notifier.noteFlashlightOn(cameraId, newUid); in onTorchStatusChangedLocked()
640 notifier.noteFlashlightOn(cameraId, oldUid); in onTorchStatusChangedLocked()
642 notifier.noteFlashlightOff(cameraId, oldUid); in onTorchStatusChangedLocked()
4140 BatteryNotifier& notifier(BatteryNotifier::getInstance()); in onClientAdded() local
4141 notifier.noteStartCamera(descriptor.getKey(), in onClientAdded()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java389 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() argument
390 mMtpNotifier = notifier; in MtpStorageManager()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp257 std::thread notifier([]() { in onNewDevicesAvailable() local
260 notifier.detach(); in onNewDevicesAvailable()