Home
last modified time | relevance | path

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

12

/system/extras/libperfmgr/tests/
DRequestGroupTest.cc48 bool active = req.GetExpireTime(&expire_time); in TEST() local
51 EXPECT_EQ(true, active); in TEST()
61 bool active = req.GetExpireTime(&expire_time); in TEST() local
67 EXPECT_EQ(true, active); in TEST()
81 bool active = req.GetExpireTime(&expire_time); in TEST() local
83 EXPECT_EQ(false, active); in TEST()
94 bool active = req.GetExpireTime(&expire_time); in TEST() local
96 EXPECT_EQ(true, active); in TEST()
102 active = req.GetExpireTime(&expire_time); in TEST()
104 EXPECT_EQ(true, active); in TEST()
[all …]
/system/vold/bench/
Dbenchgen.py178 active = set() variable
190 active.add(handle)
203 if handle in active:
204 active.remove(handle)
209 if handle in active:
214 if handle in active:
219 if handle in active:
228 if handle in active:
237 if handle in active:
245 if handle in active:
[all …]
/system/bpfprogs/
Dtime_in_state.c56 uint32_t* active = bpf_nr_active_map_lookup_elem(&zero); variable
57 if (!active) return ALLOW;
67 uint32_t nactive = *active - 1;
71 __sync_fetch_and_add(active, 1);
84 __sync_fetch_and_add(active, -1);
107 concurrent_val_t zero_val = {.active = {0}, .policy = {0}};
111 if (ct) ct->active[nactive % CPUS_PER_ENTRY] += delta;
117 concurrent_val_t zero_val = {.active = {0}, .policy = {0}};
/system/bt/gd/os/fuzz/
Dfake_timerfd.cc31 bool active; member in bluetooth::os::fuzz::FakeTimerFd
64 entry->active = trigger_delta_ms != 0; in fake_timerfd_settime()
65 if (!entry->active) { in fake_timerfd_settime()
97 if (!entry->active) { in fire_next_event()
117 to_fire->active = is_periodic; in fire_next_event()
/system/extras/libperfmgr/
DRequestGroup.cc48 bool active = false; in GetExpireTime() local
56 active = true; in GetExpireTime()
60 return active; in GetExpireTime()
/system/apex/tests/testdata/
Dtrigger_reboot.sh4 active_apex=/data/apex/active/`/system/bin/getprop persist.debug.trigger_reboot_after_activation`
/system/bpf/progs/include/
Dbpf_timeinstate.h38 uint64_t active[CPUS_PER_ENTRY]; member
/system/memory/libmemunreachable/
DREADME.md6 …g every call to malloc and free, it queries the allocator (jemalloc) for active allocations when l…
62 5. Registers contents, active stack areas, and memory mapping information are collected.
67 …10. *Sweeper process*: A list of all active allocations is produced by examining the memory mappin…
81 - `HeapWalker.cpp`: Performs the mark-and-sweep pass over active allocations.
87 …quires a small interface to the allocator in order to collect information about active allocations.
91 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
/system/libbase/
Dscopeguard_test.cpp45 EXPECT_FALSE(scopeguard.active()); in TEST()
/system/libbase/include/android-base/
Dscopeguard.h51 bool active() const { return active_; } in active() function
/system/apex/apexd/
Dapexservice_test.cpp975 Result<bool> active = in SetUp() local
977 ASSERT_TRUE(IsOk(active)); in SetUp()
978 ASSERT_FALSE(*active); in SetUp()
1053 Result<bool> active = IsActive(installer_->package, installer_->version, in TEST_F() local
1055 ASSERT_TRUE(IsOk(active)); in TEST_F()
1056 ASSERT_TRUE(*active) << Join(GetActivePackagesStrings(), ','); in TEST_F()
1101 Result<std::vector<ApexInfo>> active = GetActivePackages(); in TEST_F() local
1102 ASSERT_TRUE(IsOk(active)); in TEST_F()
1105 for (const ApexInfo& info : *active) { in TEST_F()
1121 Result<ApexInfo> active = GetActivePackage(installer_->package); in TEST_F() local
[all …]
Dapex_database.cpp275 auto active = activeVersions[package] < version; in PopulateFromMounts() local
276 if (active) { in PopulateFromMounts()
Dapexservice.cpp391 const auto& active = ::android::apex::getActivePackages(); in getAllPackages() local
393 for (const ApexFile& pkg : active) { in getAllPackages()
402 if (std::find_if(active.begin(), active.end(), same_path) == active.end()) { in getAllPackages()
Dapexd.cpp1098 const auto& active = getActivePackages(); in emitApexInfoList() local
1099 for (const auto& apex : active) { in emitApexInfoList()
1109 if (std::find_if(active.begin(), active.end(), same_path) == in emitApexInfoList()
1110 active.end()) { in emitApexInfoList()
/system/bt/bta/dm/
Dbta_dm_pm.cc283 if (p_timer->srvc_id[timer_idx] == BTA_ID_MAX) p_timer->active++; in bta_dm_pm_start_timer()
314 CHECK(p_timer->in_use && (p_timer->active > 0)); in bta_dm_pm_stop_timer_by_index()
319 p_timer->active--; in bta_dm_pm_stop_timer_by_index()
320 if (p_timer->active == 0) p_timer->in_use = false; in bta_dm_pm_stop_timer_by_index()
875 bta_dm_cb.pm_timer[i].active--;
881 if (bta_dm_cb.pm_timer[i].active == 0)
Dbta_dm_int.h275 uint8_t active; /* number of active timer */ member
/system/netd/server/
DTetherController.cpp685 existingEntry->active = true; in addForwardingPair()
691 .active = true in addForwardingPair()
702 existingEntry->active = false; in markForwardingPairDisabled()
708 return existingEntry != nullptr && existingEntry->active; in isForwardingPairEnabled()
714 if (it->second.active) { in isAnyForwardingEnabledOnUpstream()
723 if (it.second.active) { in isAnyForwardingPairEnabled()
1211 (it.second.active ? "ACTIVE" : "DISABLED")); in dumpIfaces()
DTetherController.h42 bool active; member
/system/update_engine/
DREADME.md37 other artifacts like [DLC]), has two copies. We call these two copies active (A)
38 and inactive (B). The system is booted into the active partition (depending on
41 the previously inactive partition becomes active and the old active partition
103 periodic update checks so we can have statistics on the number of active devices
109 partition and it is marked as active. At this point, after the reboot, The
112 the active partition as healthy. At this point the system is basically updated
129 * During an active update it periodically checkpoints the state of the update
133 * If it fails to apply a delta payload (due to bit changes on the active
136 The updater clients writes its active preferences in
167 is performed by switching the currently inactive partition into the active
[all …]
/system/bt/doc/
Dpts_guide.md24 - In `newavrcp`, we send active player update to remote device only in PTS test
/system/apex/apexd/apexd_testdata/
DAndroid.bp47 // active APEX without hashtree doesn't impact already active one.
/system/sepolicy/prebuilts/api/29.0/private/
Dapexd.te44 # allow apexd to unlink apex files in /data/apex/active
/system/libsysprop/srcs/android/sysprop/
DTelephonyProperties.sysprop445 # How many logical modems can be active simultaneously. For example, if a device is dual-SIM
446 # capable but currently only one SIM slot and one logical modem is active, this value is still
/system/tools/mkbootimg/
Dpylintrc28 # active Python interpreter and may run arbitrary code.
32 # be loaded. Extensions are loading into the active Python interpreter and may
/system/sepolicy/private/
Dapexd.te70 # allow apexd to unlink apex files in /data/apex/active

12