Home
last modified time | relevance | path

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

/system/chre/platform/linux/
Dsystem_timer.cc103 bool SystemTimer::isActive() { in isActive() function in chre::SystemTimer
104 bool isActive = false; in isActive() local
112 isActive = (spec.it_value.tv_sec > 0 || spec.it_value.tv_nsec > 0); in isActive()
115 return isActive; in isActive()
/system/apex/apexd/
Dapexd_test_utils.h84 Field("isActive", &ApexInfo::isActive, Eq(other.isActive))),
127 *os << " isActive : " << apex.isActive << "\n"; in PrintTo()
Dapexservice.cpp276 out.isActive = false; in getApexInfo()
291 << " IsActive: " << std::boolalpha << package.isActive in toString()
373 apexInfo.isActive = true; in getActivePackages()
385 aidl_return->isActive = true; in getActivePackage()
395 apex_info.isActive = true; in getAllPackages()
Dapexservice_test.cpp198 [](const ApexInfo& apexInfo) { return apexInfo.isActive; }), in GetInactivePackages()
1427 ASSERT_EQ(shouldBeActive, apexInfo.isActive); in TEST_F()
1487 on_data.isActive = true; in TEST_F()
1496 preinstalled.isActive = false; in TEST_F()
2610 expected.isActive = true; in SetUp()
Dapexd.cpp1071 auto convertToAutogen = [&apexInfos](const ApexFile& apex, bool isActive) { in emitApexInfoList() argument
1080 apex.IsBuiltin(), isActive); in emitApexInfoList()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp42 << std::left << std::setw(8) << ((entry.isActive) ? "Active" : "Inactive") << sep in operator <<()
171 info.isActive = true; in createNativeEntry()
208 info.isActive = false; in createKernelEntry()
280 info.isActive = info.activeTime > 0; in createKernelEntry()
318 updatedEntry.isActive = true; in updateOnAcquire()
342 updatedEntry.isActive = false; in updateOnRelease()
362 if (it->isActive) { in updateNow()
DSystemSuspendUnitTest.cpp171 return count_if(wlStats.begin(), wlStats.end(), [](auto entry) { return entry.isActive; }); in getActiveWakeLockCount()
610 ASSERT_EQ(nwlInfo.isActive, true); in TEST_F()
632 ASSERT_EQ(nwlInfo.isActive, false); in TEST_F()
662 ASSERT_EQ(kwlInfo1.isActive, true); in TEST_F()
680 ASSERT_EQ(kwlInfo2.isActive, true); in TEST_F()
709 ASSERT_EQ(nwlInfo.isActive, true); in TEST_F()
727 ASSERT_EQ(kwlInfo.isActive, true); in TEST_F()
751 ASSERT_EQ(nwlInfo.isActive, false); in TEST_F()
770 ASSERT_EQ(kwlInfo.isActive, true); in TEST_F()
/system/netd/server/
DNetlinkHandler.cpp214 bool isActive = !strcmp("active", state); in onEvent() local
221 (uid != nullptr && isActive) ? strtol(uid, nullptr, 10) : -1; in onEvent()
222 notifyInterfaceClassActivityChanged(intLabel, isActive, processTimestamp, in onEvent()
256 void NetlinkHandler::notifyInterfaceClassActivityChanged(int label, bool isActive, in notifyInterfaceClassActivityChanged() argument
258 LOG_EVENT_FUNC(BINDER_RETRY, onInterfaceClassActivityChanged, isActive, label, timestamp, uid); in notifyInterfaceClassActivityChanged()
DNetlinkHandler.h49 void notifyInterfaceClassActivityChanged(int label, bool isActive, int64_t timestamp, int uid);
/system/apex/apexd/aidl/android/apex/
DApexInfo.aidl26 boolean isActive;
/system/hardware/interfaces/suspend/1.0/default/internal_aidl/android/system/suspend/
DWakeLockInfo.aidl54 boolean isActive;
/system/chre/platform/include/chre/platform/
Dsystem_timer.h93 bool isActive();
/system/chre/platform/slpi/include/chre/target_platform/
Dcondition_variable_impl.h72 if (mTimeoutTimer.isActive()) { in wait_for()
/system/netd/server/binder/android/net/
DINetdUnsolicitedEventListener.aidl40 boolean isActive, in onInterfaceClassActivityChanged() argument
/system/netd/tests/
DTestUnsolService.cpp82 binder::Status TestUnsolService::onInterfaceClassActivityChanged(bool isActive, int label, in onInterfaceClassActivityChanged() argument
84 events_.push_back(StringPrintf("onInterfaceClassActivityChanged %d %d %" PRId64 "%d", isActive, in onInterfaceClassActivityChanged()
DTestUnsolService.h56 binder::Status onInterfaceClassActivityChanged(bool isActive, int label, int64_t timestamp,
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetdUnsolicitedEventListener.aidl21 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetdUnsolicitedEventListener.aidl20 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetdUnsolicitedEventListener.aidl3 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetdUnsolicitedEventListener.aidl21 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetdUnsolicitedEventListener.aidl21 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/chre/platform/slpi/
Dsystem_timer.cc86 bool SystemTimer::isActive() { in isActive() function in chre::SystemTimer
Dhost_link.cc481 if (sTimeSyncRequestTimer.isActive()) { in setTimeSyncRequestTimer()
/system/chre/core/include/chre/core/
Dsensor_request_manager.h221 bool isActive = false; member
/system/chre/core/
Dsensor_request_manager.cc474 if (request.isActive) { in completeFlushRequestAtIndex()
673 request.isActive = true; in makeFlushRequest()