/aosp12/system/chre/chpp/platform/linux/ |
H A D | notifier.c | 35 chppMutexInit(¬ifier->mutex); in chppPlatformNotifierInit() 45 chppMutexLock(¬ifier->mutex); in chppPlatformNotifierGetSignal() 48 notifier->signal = 0; in chppPlatformNotifierGetSignal() 55 chppMutexLock(¬ifier->mutex); in chppPlatformNotifierWait() 57 while (notifier->signal == 0) { in chppPlatformNotifierWait() 58 pthread_cond_wait(¬ifier->cond, ¬ifier->mutex.lock); in chppPlatformNotifierWait() 61 notifier->signal = 0; in chppPlatformNotifierWait() 86 pthread_cond_timedwait(¬ifier->cond, ¬ifier->mutex.lock, &absTime); in chppPlatformNotifierTimedWait() 90 notifier->signal = 0; in chppPlatformNotifierTimedWait() 99 chppMutexLock(¬ifier->mutex); in chppPlatformNotifierSignal() [all …]
|
H A D | link.c | 41 uint32_t signal = chppNotifierTimedWait(¶ms->notifier, CHPP_TIME_MAX); in linkSendThread() 81 chppNotifierInit(¶ms->notifier); in chppPlatformLinkInit() 91 chppNotifierSignal(¶ms->notifier, SIGNAL_EXIT); in chppPlatformLinkDeinit() 93 chppNotifierDeinit(¶ms->notifier); in chppPlatformLinkDeinit() 111 chppNotifierSignal(¶ms->notifier, SIGNAL_DATA); in chppPlatformLinkSend()
|
/aosp12/system/chre/chpp/platform/linux/include/chpp/platform/ |
H A D | platform_notifier.h | 38 void chppPlatformNotifierInit(struct ChppNotifier *notifier); 43 void chppPlatformNotifierDeinit(struct ChppNotifier *notifier); 53 uint32_t chppPlatformNotifierWait(struct ChppNotifier *notifier); 58 uint32_t chppPlatformNotifierTimedWait(struct ChppNotifier *notifier, 66 static inline void chppNotifierInit(struct ChppNotifier *notifier) { in chppNotifierInit() argument 67 chppPlatformNotifierInit(notifier); in chppNotifierInit() 71 chppPlatformNotifierDeinit(notifier); in chppNotifierDeinit() 75 return chppPlatformNotifierGetSignal(notifier); in chppNotifierGetSignal() 79 return chppPlatformNotifierWait(notifier); in chppNotifierWait() 84 return chppPlatformNotifierTimedWait(notifier, timeoutNs); in chppNotifierTimedWait() [all …]
|
H A D | platform_link.h | 52 struct ChppNotifier notifier; member
|
/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A 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() 148 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testDeepRemoveWhileNotifying() 176 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddRemovedListener() 209 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testVeryDeepRemoveWhileNotifying() 232 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testClear() [all …]
|
/aosp12/system/chre/chpp/include/chpp/ |
H A D | notifier.h | 45 static void chppNotifierInit(struct ChppNotifier *notifier); 52 static void chppNotifierDeinit(struct ChppNotifier *notifier); 62 static uint32_t chppNotifierGetSignal(struct ChppNotifier *notifier); 73 static uint32_t chppNotifierWait(struct ChppNotifier *notifier); 87 static uint32_t chppNotifierTimedWait(struct ChppNotifier *notifier, 100 static void chppNotifierSignal(struct ChppNotifier *notifier, uint32_t signal);
|
H A D | transport.h | 439 struct ChppNotifier notifier; // Notifier for main thread member 645 chppNotifierSignal(&context->notifier, in chppWorkThreadSignalFromLink()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | DisconnectedCallNotifierTest.java | 81 DisconnectedCallNotifier notifier = new DisconnectedCallNotifier(mContext, mCallsManager); in testNotificationShownAfterEmergencyCall() local 82 notifier.onCallStateChanged(call, CallState.NEW, CallState.DIALING); in testNotificationShownAfterEmergencyCall() 83 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownAfterEmergencyCall() 88 notifier.onCallRemoved(call); in testNotificationShownAfterEmergencyCall() 104 DisconnectedCallNotifier notifier = new DisconnectedCallNotifier(mContext, mCallsManager); in testNotificationShownForDisconnectedEmergencyCall() local 105 notifier.onCallStateChanged(call, CallState.NEW, CallState.DIALING); in testNotificationShownForDisconnectedEmergencyCall() 106 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownForDisconnectedEmergencyCall() 111 notifier.onCallRemoved(call); in testNotificationShownForDisconnectedEmergencyCall() 128 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationNotShownAfterCall() 133 notifier.onCallRemoved(call); in testNotificationNotShownAfterCall() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | BatteryStateNotifierTest.kt | 53 private lateinit var notifier: BatteryStateNotifier 58 notifier = BatteryStateNotifier(batteryController, noMan, executor, context) 59 notifier.startListening() 66 notifier.onBatteryUnknownStateChanged(true) 72 notifier.onBatteryUnknownStateChanged(true) 73 notifier.onBatteryUnknownStateChanged(false)
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/library/ |
H A 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()
|
/aosp12/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
H A D | DevSdkIgnoreRunner.kt | 52 override fun run(notifier: RunNotifier) { 54 baseRunner.run(notifier) 60 notifier.fireTestIgnored(
|
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/provider/ |
H A D | BaseLocalQCProviderTest.java | 69 BaseLocalQCProvider.Notifier notifier = mock(BaseLocalQCProvider.Notifier.class); in notifyChange_updateNotified() local 70 mProvider.setNotifier(notifier); in notifyChange_updateNotified() 72 verify(notifier).notifyUpdate(); in notifyChange_updateNotified()
|
/aosp12/frameworks/av/media/libmedia/ |
H A D | IMediaDeathNotifier.cpp | 94 sp<IMediaDeathNotifier> notifier = list[iter].promote(); in binderDied() local 95 if (notifier != 0) { in binderDied() 96 notifier->died(); in binderDied()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DataManager.java | 301 public void registerChangeNotifier(Uri uri, ChangeNotifier notifier) { in registerChangeNotifier() argument 312 broker.registerNotifier(notifier); in registerChangeNotifier() 339 public synchronized void registerNotifier(ChangeNotifier notifier) { in registerNotifier() argument 340 mNotifiers.put(notifier, null); in registerNotifier() 345 for(ChangeNotifier notifier : mNotifiers.keySet()) { in onChange() 346 notifier.onChange(selfChange); in onChange()
|
/aosp12/system/bt/gd/cert/ |
H A D | change_waiter.py | 15 notifier = pyinotify.Notifier(wm, handler) variable 18 notifier.loop()
|
/aosp12/packages/apps/Car/libs/car-qc-lib/src/com/android/car/qc/provider/ |
H A D | BaseLocalQCProvider.java | 50 public void setNotifier(Notifier notifier) { in setNotifier() argument 51 mNotifier = notifier; in setNotifier()
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | CaptureStateNotifier.cpp | 15 DeathRecipient(CaptureStateNotifier* notifier) : mNotifier(notifier) {} in DeathRecipient() argument
|
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | PerformanceRunner.java | 69 public void run(RunNotifier notifier) { in run() argument 70 super.run(notifier); in run()
|
/aosp12/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A 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() 488 notifier.cancelViewManager(); in cancelViewManagers() 496 if (notifier.showInsertImageSelectAlertDialog()) { in showInsertImageSelectAlertDialog() 506 if (notifier.showMenuAlertDialog()) { in showMenuAlertDialog() 521 notifier.sendHintMsg(msgId); in sendHintMessage() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllog/ |
H A D | CallLogComponent.java | 19 import com.android.dialer.calllog.notifier.RefreshAnnotatedCallLogNotifier;
|
/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A D | CallbackRegistry.java | 77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument 78 mNotifier = notifier; in CallbackRegistry()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllog/observer/ |
H A D | MarkDirtyObserver.java | 23 import com.android.dialer.calllog.notifier.RefreshAnnotatedCallLogNotifier;
|
/aosp12/frameworks/av/services/mediaresourcemanager/ |
H A 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() 803 ::ndk::SpAIBinder binder, const sp<DeathNotifier>& notifier) { in addCookieAndLink_l() argument 811 sCookieToDeathNotifierMap.emplace(cookie, notifier); in addCookieAndLink_l()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | LingerMonitor.java | 92 public LingerMonitor(Context context, NetworkNotificationManager notifier, in LingerMonitor() argument 96 mNotifier = notifier; in LingerMonitor()
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllog/notifier/ |
H A D | RefreshAnnotatedCallLogNotifier.java | 17 package com.android.dialer.calllog.notifier;
|