Home
last modified time | relevance | path

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

12

/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/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.cpp208 return count_if(wlStats.begin(), wlStats.end(), [](auto entry) { return entry.isActive; }); in getActiveWakeLockCount()
978 ASSERT_EQ(nwlInfo.isActive, true); in TEST_F()
1000 ASSERT_EQ(nwlInfo.isActive, false); in TEST_F()
1030 ASSERT_EQ(kwlInfo1.isActive, true); in TEST_F()
1048 ASSERT_EQ(kwlInfo2.isActive, true); in TEST_F()
1077 ASSERT_EQ(nwlInfo.isActive, true); in TEST_F()
1095 ASSERT_EQ(kwlInfo.isActive, true); in TEST_F()
1119 ASSERT_EQ(nwlInfo.isActive, false); in TEST_F()
1138 ASSERT_EQ(kwlInfo.isActive, true); in TEST_F()
/system/netd/server/
DNetlinkHandler.cpp218 bool isActive = !strcmp("active", state); in onEvent() local
225 (uid != nullptr && isActive) ? strtol(uid, nullptr, 10) : -1; in onEvent()
226 notifyInterfaceClassActivityChanged(intLabel, isActive, processTimestamp, in onEvent()
260 void NetlinkHandler::notifyInterfaceClassActivityChanged(int label, bool isActive, in notifyInterfaceClassActivityChanged() argument
262 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/aidl/android/system/suspend/internal/
DWakeLockInfo.aidl54 boolean isActive;
/system/chre/platform/include/chre/platform/
Dsystem_timer.h94 bool isActive();
/system/chre/platform/slpi/include/chre/target_platform/
Dcondition_variable_impl.h66 if (mTimeoutTimer.isActive()) { in wait_for()
/system/security/keystore2/src/km_compat/
Dkm_compat.h73 OperationSlot(OperationSlots* slots, bool isActive) in OperationSlot() argument
74 : mOperationSlots(slots), mIsActive(isActive) {} in OperationSlot()
150 OperationSlots* slots, bool isActive) in KeyMintOperation() argument
151 : mDevice(device), mOperationHandle(operationHandle), mOperationSlot(slots, isActive) {} in KeyMintOperation()
/system/netd/server/binder/android/net/
DINetdUnsolicitedEventListener.aidl40 boolean isActive, in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/6/android/net/
DINetdUnsolicitedEventListener.aidl37 …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/netd/server/aidl_api/netd_aidl_interface/5/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/7/android/net/
DINetdUnsolicitedEventListener.aidl37 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… in onInterfaceClassActivityChanged() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetdUnsolicitedEventListener.aidl37 …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/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/1/android/net/
DINetdUnsolicitedEventListener.aidl3 …oneway void onInterfaceClassActivityChanged(boolean isActive, int timerLabel, long timestampNs, in… 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/chre/platform/slpi/
Dsystem_timer.cc87 bool SystemTimer::isActive() { in isActive() function in chre::SystemTimer
/system/apex/apexd/
Dapexd_test_utils.h105 Field("isActive", &ApexInfo::isActive, Eq(other.isActive))),
164 *os << " isActive : " << apex.isActive << "\n"; in PrintTo()
Dapexservice.cpp325 out.isActive = false; in GetApexInfo()
340 << " IsActive: " << std::boolalpha << package.isActive in ToString()
422 apex_info.isActive = true; in getActivePackages()
434 aidl_return->isActive = true; in getActivePackage()
444 apex_info.isActive = true; in getAllPackages()
471 aidl_return->isActive = true; in installAndActivatePackage()
/system/chre/core/include/chre/core/
Dsensor_request_manager.h300 bool isActive = false; member

12