Home
last modified time | relevance | path

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

12

/system/update_engine/update_manager/
Dgeneric_variables_unittest.cc41 PollCopyVariable<int> var("var", source); in TEST_F() local
44 unique_ptr<const int> copy_1(var.GetValue( in TEST_F()
56 UmTestUtils::ExpectVariableHasValue(42, &var); in TEST_F()
63 PollCopyVariable<int> var("var", source, &is_set); in TEST_F() local
66 UmTestUtils::ExpectVariableNotSet(&var); in TEST_F()
70 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
93 PollCopyVariable<CopyConstructorTestClass> var("var", source); in TEST_F() local
95 var.GetValue(UmTestUtils::DefaultTimeout(), nullptr)); in TEST_F()
105 ConstCopyVariable<int> var("var", source); in TEST_F() local
106 UmTestUtils::ExpectVariableHasValue(5, &var); in TEST_F()
[all …]
Dvariable_unittest.cc64 DefaultVariable<int> var("var", kVariableModeConst); in TEST_F() local
65 EXPECT_EQ(var.GetName(), string("var")); in TEST_F()
69 DefaultVariable<int> var("var", kVariableModeConst); in TEST_F() local
70 EXPECT_EQ(var.GetMode(), kVariableModeConst); in TEST_F()
83 DefaultVariable<int> var("var", TimeDelta::FromMinutes(3)); in TEST_F() local
84 EXPECT_EQ(var.GetMode(), kVariableModePoll); in TEST_F()
85 EXPECT_EQ(var.GetPollInterval(), TimeDelta::FromMinutes(3)); in TEST_F()
99 DefaultVariable<int> var("var", kVariableModeAsync); in TEST_F() local
101 var.AddObserver(&observer); in TEST_F()
102 EXPECT_EQ(1U, var.observer_list_.size()); in TEST_F()
[all …]
Devaluation_context-inl.h27 const T* EvaluationContext::GetValue(Variable<T>* var) { in GetValue() argument
28 if (var == nullptr) { in GetValue()
34 ValueCacheMap::iterator it = value_cache_.find(var); in GetValue()
40 const T* result = var->GetValue(RemainingTime(evaluation_monotonic_deadline_), in GetValue()
43 LOG(WARNING) << "Error reading Variable " << var->GetName() << ": \"" in GetValue()
49 static_cast<BaseVariable*>(var), BoxedValue(result)); in GetValue()
Dreal_device_policy_provider.cc102 AsyncCopyVariable<T>* var, in UpdateVariable() argument
107 var->SetValue(new_value); in UpdateVariable()
109 var->UnsetValue(); in UpdateVariable()
115 AsyncCopyVariable<T>* var, in UpdateVariable() argument
120 var->SetValue(new_value); in UpdateVariable()
122 var->UnsetValue(); in UpdateVariable()
Devaluation_context.h87 const T* GetValue(Variable<T>* var);
134 void ValueChanged(BaseVariable* var) override;
Dreal_device_policy_provider.h111 void UpdateVariable(AsyncCopyVariable<T>* var,
118 AsyncCopyVariable<T>* var,
Devaluation_context.cc110 void EvaluationContext::ValueChanged(BaseVariable* var) { in ValueChanged() argument
111 DLOG(INFO) << "ValueChanged() called for variable " << var->GetName(); in ValueChanged()
/system/core/crash_reporter/
Dcrash_reporter_logs.conf31 update_engine=cat $(ls -1tr /var/log/update_engine | tail -5 | \
32 sed s.^./var/log/update_engine/.) | tail -c 50000
36 cros_installer=cat $(ls -1tr /var/log/update_engine | tail -5 | \
37 sed s.^./var/log/update_engine/.) | tail -c 50000
42 for f in $(ls -1rt /var/log/chrome/chrome_[0-9]* | tail -2) \
50 awk '$3 ~ "^session_manager\[" { print }' /var/log/messages | tail -20; \
83 crash_reporter-udev-collection---TouchNoise=cat /var/log/touch_noise.log
85 crash_reporter-udev-collection---TouchEvent=cat /var/log/touch_event.log
91 tail -n 50 /var/log/messages; \
93 tail -n 50 /var/log/net.log; \
[all …]
Dkernel_log_collector.sh41 last_line=$(grep "${msg_pattern}" /var/log/messages | grep -- "${search_key}" | tail -n 1)
48 grep "${msg_pattern}" /var/log/messages | grep -- "${search_key}" | while read line; do
Dcrash_sender642 -e <var>=<val> Set env |var| to |val| (only some vars)
/system/connectivity/shill/shims/
Denvironment.cc52 for (char** var = environ; var && *var; var++) { in AsMap() local
53 string v = *var; in AsMap()
/system/connectivity/apmanager/init/
Dapmanager.conf36 mkdir -m 0755 -p /var/run/apmanager/hostapd
37 mkdir -m 0755 -p /var/run/apmanager/dnsmasq
38 chown -R apmanager:apmanager /var/run/apmanager/hostapd
39 chown -R apmanager:apmanager /var/run/apmanager/dnsmasq
/system/connectivity/shill/init/
Dshill.conf.in50 mkdir -p /var/run/shill
53 mkdir -p /var/cache/shill
56 if [ ! -f /var/cache/shill/default.profile -a \
57 -f /var/cache/flimflam/default.profile ]; then
58 mv /var/cache/flimflam/default.profile /var/cache/shill/default.profile
59 chmod a+r /var/cache/shill/default.profile
62 # Set up dhcpcd's /var/{lib|run} dirs to run as user 'dhcp'.
63 mkdir -m 0755 -p /var/lib/dhcpcd
64 mkdir -m 0755 -p /var/run/dhcpcd
65 chmod -R u+rwX,g+rX,o+rX /var/lib/dhcpcd
[all …]
/system/connectivity/shill/bin/
Dshill_logout_user24 rm -rf /var/run/shill/user_profiles /var/run/shill/guest_user_profile
25 rm -f /var/run/shill/log
Dtest_set_wifi_regulatory129 "region"="ca>>/var/log/junk"
Dshill_login_user45 shill_state_root=/var/run/shill
/system/connectivity/shill/
DHACKING30 ::DBus::Variant var;
31 int8 data = var.reader().get_byte();
35 ::DBus::Variant var;
36 int8 data = var;
45 ::DBus::Variant var;
46 vector<unsigned int> data = var.operator vector<unsigned int>();
54 ::DBus::Variant var;
56 var.writer().append_int16(data);
60 ::DBus::Variant var;
62 var.writer() << data;
[all …]
/system/core/fastboot/
Dfastboot.h58 void fb_queue_require(const char *prod, const char *var, bool invert,
60 void fb_queue_display(const char *var, const char *prettyname);
61 void fb_queue_query_save(const char *var, char *dest, uint32_t dest_size);
Dengine.cpp247 void fb_queue_require(const char *prod, const char *var, in fb_queue_require() argument
251 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_require()
255 a->msg = mkmsg("checking %s", var); in fb_queue_require()
269 void fb_queue_display(const char *var, const char *prettyname) in fb_queue_display() argument
272 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_display()
287 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size) in fb_queue_query_save() argument
290 a = queue_action(OP_QUERY, "getvar:%s", var); in fb_queue_query_save()
/system/webservd/webservd/etc/init/
Dwebservd.conf27 mkdir -m 0755 -p /var/log/webservd
28 chown webservd:webservd /var/log/webservd
/system/core/crash_reporter/init/
Dcrash-reporter.conf14 mkdir -p /var/spool
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c339 static int echo_test(uint repeat, uint msgsz, bool var) in echo_test() argument
350 __func__, repeat, msgsz, var ? "true" : "false"); in echo_test()
401 static int burst_write_test(uint repeat, uint msgburst, uint msgsz, bool var) in burst_write_test() argument
412 var ? "true" : "false"); in burst_write_test()
426 if (var && msgsz) { in burst_write_test()
/system/update_engine/payload_generator/
Dextent_ranges_unittest.cc54 #define EXPECT_RANGE_EQ(ranges, var) \ argument
56 ExpectRangeEq(ranges, var, arraysize(var), __LINE__); \
/system/bt/stack/smp/
Dp_256_ecc_pp.c165 uint32_t var; in ECC_NAF() local
167 while ((var = multiprecision_most_signbits(k, keyLength))>=1) in ECC_NAF()
/system/sepolicy/tools/
Dcheck_seapp.c45 #define list_for_each(list, var) \ argument
46 for(var = (list)->head; var != NULL; var = var->next)

12