Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 25 of 54) sorted by relevance

123

/aosp12/hardware/interfaces/health/2.0/default/
H A Dhealthd_common_adapter.cpp37 int RegisterEvent(int fd, BoundFunction func, EventWakeup wakeup) { in RegisterEvent() argument
38 return HealthLoop::RegisterEvent(fd, func, wakeup); in RegisterEvent()
51 int healthd_register_event(int fd, void (*handler)(uint32_t), EventWakeup wakeup) { in healthd_register_event() argument
55 return health_loop->RegisterEvent(fd, wrapped_handler, wakeup); in healthd_register_event()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncDispatchTimerQueueTest.cpp991 ASSERT_TRUE(wakeup); in TEST_F()
992 EXPECT_THAT(*wakeup, Eq(900)); in TEST_F()
1013 ASSERT_TRUE(wakeup); in TEST_F()
1036 ASSERT_TRUE(wakeup); in TEST_F()
1071 ASSERT_TRUE(wakeup); in TEST_F()
1072 EXPECT_THAT(wakeup, Eq(900)); in TEST_F()
1075 wakeup = entry.wakeupTime(); in TEST_F()
1076 ASSERT_TRUE(wakeup); in TEST_F()
1089 ASSERT_TRUE(wakeup); in TEST_F()
1090 EXPECT_THAT(*wakeup, Eq(wakeup)); in TEST_F()
[all …]
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dsystem_suspend.te13 # Access to wakeup, suspend stats, and wakeup reasons.
17 # To resolve arbitrary sysfs paths from /sys/class/wakeup/* symlinks.
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dsystem_suspend.te13 # Access to wakeup, suspend stats, and wakeup reasons.
17 # To resolve arbitrary sysfs paths from /sys/class/wakeup/* symlinks.
/aosp12/system/sepolicy/private/
H A Dsystem_suspend.te13 # Access to wakeup, suspend stats, and wakeup reasons.
17 # To resolve arbitrary sysfs paths from /sys/class/wakeup/* symlinks.
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DDynamicSensorsSubHal.cpp167 bool wakeup; in submitEvent() local
195 wakeup = sensor->getSensor()->flags & SENSOR_FLAG_WAKE_UP; in submitEvent()
197 wakeup = false; in submitEvent()
199 ScopedWakelock wakelock = mHalProxyCallback->createScopedWakelock(wakeup); in submitEvent()
/aosp12/system/sepolicy/prebuilts/api/30.0/private/
H A Dsystem_suspend.te13 # Access to wakeup and suspend stats.
16 # To resolve arbitrary sysfs paths from /sys/class/wakeup/* symlinks.
/aosp12/frameworks/base/proto/src/
H A Dipconnectivity.proto490 // Represents statistics from NFLOG wakeup events due to ingress packets.
495 // exact wakeup rates.
501 // The total number of wakeup packets routed to a socket belonging to
505 // The total number of wakeup packets routed to a socket belonging to
509 // The total number of wakeup packets routed to a socket belonging to
518 // The total number of wakeup packets with no associated socket or uid.
521 // Counts of all different ethertype values from wakeup packets received.
527 // The total number of wakeup packets whose destination hardware address was
531 // The total number of wakeup packets whose destination hardware address was
535 // The total number of wakeup packets whose destination hardware address was
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierSignalAgent.java327 private void broadcast(Intent intent, Set<ComponentName> receivers, boolean wakeup) { in broadcast() argument
331 if (wakeup) { in broadcast()
339 if (wakeup && packageManager.queryBroadcastReceivers(signal, in broadcast()
345 if (!wakeup && !packageManager.queryBroadcastReceivers(signal, in broadcast()
354 if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES); in broadcast()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DLazyAlarmStore.java129 if (!a.wakeup) { in getNextWakeupDeliveryTime()
184 if (alarm.wakeup && alarm.getMaxWhenElapsed() <= nowElapsed + ALARM_DEADLINE_SLOP) { in removePendingAlarms()
196 if (!sendWakeups && pendingAlarm.wakeup) { in removePendingAlarms()
H A DMetricsHelper.java61 alarmStore.getCount(a -> a.wakeup), in registerPuller()
102 a.wakeup, in pushAlarmScheduled()
H A DAlarm.java92 public final boolean wakeup; field in Alarm
123 wakeup = type == AlarmManager.ELAPSED_REALTIME_WAKEUP in Alarm()
/aosp12/hardware/interfaces/health/utils/libhealthloop/
H A DHealthLoop.cpp59 int HealthLoop::RegisterEvent(int fd, BoundFunction func, EventWakeup wakeup) { in RegisterEvent() argument
71 if (wakeup == EVENT_WAKEUP_FD) ev.events |= EPOLLWAKEUP; in RegisterEvent()
/aosp12/system/bt/udrv/ulinux/
H A Duipc.cc387 int wakeup = 0; in uipc_close_ch_locked() local
398 wakeup = 1; in uipc_close_ch_locked()
406 wakeup = 1; in uipc_close_ch_locked()
413 if (wakeup) uipc_wakeup_locked(uipc); in uipc_close_ch_locked()
/aosp12/system/core/libsysutils/include/sysutils/
H A DSocketListener.h62 bool release(SocketClient *c, bool wakeup);
/aosp12/system/core/libsysutils/src/
H A DSocketListener.cpp226 bool SocketListener::release(SocketClient* c, bool wakeup) { in release() argument
237 if (wakeup) { in release()
/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DSystemSuspendUnitTest.cpp1224 void wakeup(std::string wakeupReason) { in wakeup() function in android::SuspendWakeupTest
1372 wakeup("abc"); in TEST_F()
1382 wakeup("a\nb"); in TEST_F()
1392 wakeup("abc"); in TEST_F()
1393 wakeup("d\ne"); in TEST_F()
1394 wakeup(""); in TEST_F()
1395 wakeup(""); in TEST_F()
1396 wakeup("wxyz\nabc\n"); in TEST_F()
1397 wakeup("abc"); in TEST_F()
/aosp12/hardware/interfaces/health/utils/libhealthloop/include/health/
H A DHealthLoop.h68 int RegisterEvent(int fd, BoundFunction func, EventWakeup wakeup);
/aosp12/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.h39 ASensorRef getDefaultSensorEx(int type, bool wakeup);
/aosp12/frameworks/base/core/proto/android/server/alarm/
H A Dalarmmanagerservice.proto54 // Can be negative if the non-wakeup alarm time is in the past (non-wakeup
59 // Time since the last wakeup was set.
289 // The operation that caused the wakeup. May be an Intent action or a
/aosp12/system/core/healthd/include/healthd/
H A Dhealthd.h89 int healthd_register_event(int fd, void (*handler)(uint32_t), EventWakeup wakeup = EVENT_NO_WAKEUP_…
/aosp12/hardware/interfaces/sensors/common/default/2.X/
H A DSensors.h200 void postEvents(const std::vector<V2_1::Event>& events, bool wakeup) override { in postEvents()
205 if (wakeup) { in postEvents()
/aosp12/hardware/interfaces/tv/cec/1.1/vts/functional/
H A DVtsHalTvCecV1_1TargetTest.cpp186 Return<void> wakeup = hdmiCec->setOption(OptionKey::WAKEUP, false); in TEST_P() local
187 ASSERT_TRUE(wakeup.isOk()); in TEST_P()
/aosp12/frameworks/av/media/libnblog/include/media/nblog/
H A DMerger.h124 void wakeup();
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
H A DSensorsSubHal.cpp200 void ISensorsSubHalBase::postEvents(const std::vector<Event>& events, bool wakeup) { in postEvents() argument
201 ScopedWakelock wakelock = mCallback->createScopedWakelock(wakeup); in postEvents()

123