/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 53 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/ |
D | BatteryStateNotifierTest.kt | 53 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/ |
D | OptionalClassRunner.java | 76 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/ |
D | DevSdkIgnoreRunner.kt | 58 override fun run(notifier: RunNotifier) { in run() 60 baseRunner.run(notifier) in run() 67 notifier.fireTestIgnored( in run()
|
/frameworks/av/media/libmedia/ |
D | IMediaDeathNotifier.cpp | 94 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/ |
D | CaptureStateNotifier.cpp | 15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient() argument
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | PerformanceRunner.java | 69 public void run(RunNotifier notifier) { in run() argument 70 super.run(notifier); in run()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 86 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/ |
D | CallbackRegistry.java | 77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument 78 mNotifier = notifier; in CallbackRegistry()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 459 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/ |
D | SoundTriggerHw2Compat.java | 86 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()
|
D | SoundTriggerHalConcurrentCaptureHandler.java | 122 @NonNull ICaptureStateNotifier notifier) { in SoundTriggerHalConcurrentCaptureHandler() argument 124 mNotifier = notifier; in SoundTriggerHalConcurrentCaptureHandler()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 75 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()
|
D | ResourceManagerService.h | 170 const sp<DeathNotifier>& notifier);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneConfigurationManager.java | 317 PhoneNotifier notifier = new DefaultPhoneNotifier(mContext); in notifyCapabilityChanged() local 319 notifier.notifyPhoneCapabilityChanged(mStaticCapability); in notifyCapabilityChanged()
|
D | TelephonyComponentFactory.java | 437 public Phone makePhone(Context context, CommandsInterface ci, PhoneNotifier notifier, 440 return new GsmCdmaPhone(context, ci, notifier, phoneId, precisePhoneType,
|
D | GsmCdmaPhone.java | 283 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()
|
D | Phone.java | 551 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/ |
D | BcSmartspaceDataPlugin.java | 63 default void registerSmartspaceEventNotifier(SmartspaceEventNotifier notifier) { in registerSmartspaceEventNotifier() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 59 public ImsPhoneBase(String name, Context context, PhoneNotifier notifier, in ImsPhoneBase() argument 61 super(name, notifier, context, new ImsPhoneCommandInterface(context), unitTestMode); in ImsPhoneBase()
|
D | ImsPhone.java | 434 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/ |
D | Camera3StreamSplitter.cpp | 130 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/ |
D | CameraService.cpp | 173 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/ |
D | MtpStorageManager.java | 389 public MtpStorageManager(MtpNotifier notifier, Set<String> subdirectories) { in MtpStorageManager() argument 390 mMtpNotifier = notifier; in MtpStorageManager()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 257 std::thread notifier([]() { in onNewDevicesAvailable() local 260 notifier.detach(); in onNewDevicesAvailable()
|