Home
last modified time | relevance | path

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

12345678910>>...742

/aosp_15_r20/external/rust/android-crates-io/crates/libz-sys/src/zlib/examples/
Dgzlog.c289 struct log { struct
348 local int log_lock(struct log *log) in log_lock() argument
353 strcpy(log->end, ".lock"); in log_lock()
354 while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) { in log_lock()
357 if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) { in log_lock()
358 unlink(log->path); in log_lock()
364 if (stat(log->path, &st) == 0) in log_lock()
365 log->lock = st.st_mtime; in log_lock()
372 local void log_touch(struct log *log) in log_touch() argument
376 strcpy(log->end, ".lock"); in log_touch()
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVideoTest.py86 ad.log.error("Video calling is not supported")
106 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
107 (self.log, ads[1]))]
108 if not multithread_func(self.log, tasks):
109 self.log.error("Phone Failed to Set Up Properly.")
113 self.log,
120 self.log.error("Failed to setup+teardown a call")
142 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
143 (self.log, ads[1]))]
144 if not multithread_func(self.log, tasks):
[all …]
DTelLiveVoiceConfTest.py81 self.android_devices[0].log.error(
96 ensure_phones_idle(self.log, self.android_devices)
127 self.log.info("Step1: Call From PhoneA to PhoneB.")
129 self.log,
137 self.log.info("Step2: Call From PhoneC to PhoneA then decline.")
138 if not call_reject(self.log, ads[2], ads[0], reject):
141 if not verify_incall_state(self.log, [ads[0], ads[1]], True):
167 call_ab_id = _three_phone_call_mo_add_mo(self.log,
173 self.log.error("Failed to get call_ab_id")
177 ads[0].log.info("Calls in PhoneA %s", calls)
[all …]
DTelLiveVoiceTest.py130 return is_phone_in_call_not_iwlan(self.log, self.android_devices[0])
133 return is_phone_in_call_iwlan(self.log, self.android_devices[0])
153 if not phone_setup_voice_general(ad.log, ad):
154 ad.log.error("Phone Failed to Set Up Properly for Voice.")
158 ad.log.info("Attempt %d", iteration + 1)
159 if not initiate_call(ad.log, ad, self.call_server_number):
160 ad.log.error("Call Failed to Initiate")
164 ad.log.error("Waiting for Call in Active Failed")
167 if not is_phone_in_call(ad.log, ad):
168 ad.log.error("Call Dropped")
[all …]
DTelLiveDataTest.py149 wifi_toggle_state(ad.log, ad, False)
153 ad.log.info("Attempt %d", iteration + 1)
154 if test_data_browsing_success_using_sl4a(ad.log, ad):
155 ad.log.info("Data Browsing test PASS in iteration %d",
159 ad.log.info("Data Browsing test FAIL for all 3 iterations")
175 wifi_toggle_state(ad.log, ad, True)
178 if not ensure_wifi_connected(ad.log, ad, self.wifi_network_ssid,
180 ad.log.error("WiFi connect fail.")
183 ad.log.info("Attempt %d", iteration + 1)
184 if test_data_browsing_success_using_sl4a(ad.log, ad):
[all …]
DTelLiveSmokeTest.py78 self.log.info(
80 ensure_phones_default_state(self.log, ads)
81 tasks = [(phone_setup_volte, (self.log, ads[0])),
82 (phone_setup_volte, (self.log, ads[1]))]
83 if not multithread_func(self.log, tasks):
84 self.log.error("Phone Failed to Set Up VoLTE.")
91 self.log.info("1. SMS in LTE idle.")
92 sms_idle_result = sms_send_receive_verify(self.log, ads[0], ads[1],
95 self.log.info("2. Data in LTE idle.")
96 if (wait_for_cell_data_connection(self.log, ads[0], True) and
[all …]
DTelWifiDataTest.py64 set_rssi(self.log, self.attens[atten_name], 0,
69 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0,
71 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_5G], 0,
73 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_3G], 0,
75 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_CELL_4G], 0,
86 toggle_airplane_mode(self.log, ad, False)
87 if not ensure_network_generation(self.log, ad, GEN_4G,
92 if not ensure_wifi_connected(self.log, ad, self.wifi_network_ssid,
94 ad.log.error("connect WiFi failed")
99 set_rssi(self.log, self.attens[ATTEN_NAME_FOR_WIFI_2G], 0,
[all …]
/aosp_15_r20/external/deqp/framework/qphelper/
H A DqpTestLog.c244 static void qpTestLog_flushFile(qpTestLog *log) in qpTestLog_flushFile() argument
246 DE_ASSERT(log && log->outputFile); in qpTestLog_flushFile()
247 fflush(log->outputFile); in qpTestLog_flushFile()
250 FlushFileBuffers((HANDLE)_get_osfhandle(_fileno(log->outputFile))); in qpTestLog_flushFile()
287 static bool endSession(qpTestLog *log) in endSession() argument
289 DE_ASSERT(log && log->isSessionOpen); in endSession()
292 qpXmlWriter_flush(log->writer); in endSession()
296 fprintf(log->outputFile, "\nRun took %.2f seconds\n", (float)duration / 1000000.0f); in endSession()
299 fprintf(log->outputFile, "\n#endSession\n"); in endSession()
300 qpTestLog_flushFile(log); in endSession()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/test/
Dreorder2.go11 var log string var
16 log += "a(" + s + ")"
21 log += "b(" + s + ")"
28 log += "a(" + s + ")"
33 log += "b(" + s + ")"
45 log += "a(" + s + ")"
50 log += "b(" + s + ")"
58 log += "f(" + x + ", " + y + ")"
63 log += "ff(" + x + ", " + y + ")"
67 log += "h(" + x + ")"
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_data_utils.py116 def wifi_tethering_cleanup(log, provider, client_list): argument
132 set_wifi_to_default(log, client)
134 if provider.droid.wifiIsApEnabled() and not stop_wifi_tethering(log, provider):
135 provider.log.error("Provider stop WiFi tethering failed.")
138 provider.log.error("Provider WiFi tethering is still enabled.")
143 def wifi_tethering_setup_teardown(log, argument
184 log.info("--->Start wifi_tethering_setup_teardown<---")
185 log.info("Provider: {}".format(provider.serial))
187 provider.log.error(
202 log.info("Client: {}".format(client.serial))
[all …]
Dtel_dsds_utils.py88 log: tracelogger.TraceLogger,
132 ads[0].log.info("test_slot: %d, dds_slot: %d", test_slot, dds_slot)
134 log=log,
154 log: tracelogger.TraceLogger,
213 ads[0].log.info("test_slot: %d, dds_slot: %d", test_slot, dds_slot)
215 log=log,
241 log: tracelogger.TraceLogger,
299 log.info("Step 0: Switch to specific SIM slot combination.")
303 ads[0].log.warning("Device not support MEP.")
305 log.info("Step 1: Switch DDS.")
[all …]
Dtel_phone_setup_utils.py96 def phone_setup_iwlan(log, argument
124 return phone_setup_iwlan_for_subscription(log, ad,
130 def phone_setup_iwlan_for_subscription(log, argument
162 ad.log.error("WFC is not supported, abort test.")
167 log, ad, sub_id, nw_gen, voice_or_data=NETWORK_SERVICE_DATA,
169 ad.log.error("Failed to set to %s data.", nw_gen)
171 toggle_volte_for_subscription(log, ad, sub_id, True)
172 toggle_airplane_mode(log, ad, is_airplane_mode, strict_checking=False)
182 ad.log.error("WFC is not enabled on this device by checking "
186 if not ensure_wifi_connected(log, ad, wifi_ssid, wifi_pwd, apm=is_airplane_mode):
[all …]
Dtel_voice_utils.py170 def disconnect_call_by_id(log, ad, call_id): argument
195 ad.log.debug("call_info = %s", call_info)
212 ad.log.info("New call info = %s", sorted(call_info.items()))
216 ad.log.error("New call is not in sysdump telecom")
223 ad.log.info("EmergencyDialer is the current focus window")
229 ad.log.error("Unable to bring up EmergencyDialer")
231 ad.log.info("Make a phone call to %s", callee_number)
236 def get_current_voice_rat(log, ad): argument
243 log, ad, get_outgoing_voice_sub_id(ad))
246 def get_current_voice_rat_for_subscription(log, ad, sub_id): argument
[all …]
Dtel_voice_conf_utils.py42 def _three_phone_call_mo_add_mo(log, ads, phone_setups, verify_funcs): argument
69 tasks.append((setup_func, (log, ad)))
70 if tasks != [] and not multithread_func(log, tasks):
71 log.error("Phone Failed to Set Up Properly.")
75 if num_active_calls(log, ad) != 0:
76 ad.log.error("Phone Call List is not empty.")
79 log.info("Step1: Call From PhoneA to PhoneB.")
81 log,
90 ads[0].log.info("Calls in PhoneA %s", calls)
91 if num_active_calls(log, ads[0]) != 1:
[all …]
Dtel_ss_utils.py54 log, argument
108 log,
126 log, argument
210 ad_caller.log.info(msg)
225 ad_caller.log.info(msg)
231 ad.log.info("Pre-exist CallId %s before making call", call_ids)
235 log,
246 log,
253 ad_callee.log.info("Callee is making a phone call to 0000000000 to make"
259 ad_callee.log.error("Call state of the callee is idle.")
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_carkit_lib.py61 log = None variable in E2eBtCarkitLib
64 def __init__(self, log, target_mac_address=None): argument
65 self.log = log
78 self.log.debug("Failed to connect hsp trying again...")
82 self.log.info("Failed to connect to bonded device...")
86 self.log.error("Failed to reconnect to HSP service...")
88 self.log.info("Connected to HSP service...")
92 outgoing_num = get_phone_number(self.log, callee)
93 if not initiate_call(self.log, caller0, outgoing_num):
94 self.log.error("Failed to initiate call")
[all …]
/aosp_15_r20/trusty/user/base/tools/
Dtest_manifest_compiler.py25 log = manifest_compiler.Log()
27 data = manifest_compiler.get_string(config_data, "data", constants, log)
29 self.assertTrue(log.error_occurred())
35 log = manifest_compiler.Log()
38 data = manifest_compiler.get_string(config_data, "data", constants, log)
40 self.assertFalse(log.error_occurred())
46 log = manifest_compiler.Log()
48 data = manifest_compiler.get_string(config_data, "data", constants, log)
50 self.assertFalse(log.error_occurred())
56 log = manifest_compiler.Log()
[all …]
/aosp_15_r20/external/XNNPACK/src/math/
H A Dexpm1.sollya9 minus_ln2_hi = round(-log(2), single, RN);
10 minus_ln2_lo = round(-log(2) - minus_ln2_hi, single, RN);
11 print("-log(2):hi =", minus_ln2_hi);
12 print("-log(2):lo =", minus_ln2_lo);
15 minus_ln2_o8_hi = round(-log(2)/8, single, RN);
16 minus_ln2_o8_lo = round(-log(2)/8 - minus_ln2_o8_hi, single, RN);
17 print("-log(2):hi / 8 =", minus_ln2_o8_hi);
18 print("-log(2):lo / 8 =", minus_ln2_o8_lo);
20 lb = round(-log(2)/2, single, RN);
21 ub = round(log(2)/2, single, RN);
[all …]
/aosp_15_r20/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
H A DtFunction_Export_Import_Domains.py53 log=ACTLogging.Logger() variable
111 log.D(self.test_01_importDomainsWithSettingsXML_Nominal_Case.__doc__)
114 log.I("Import Domains with settings from %s"%(self.reference_xml))
116 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_xml,err…
117 …assert out == "Done", log.F("When using function importDomainsWithSettingsXML %s]"%(self.reference…
121 log.I("Current domains listing")
122 log.I("Command [listDomains]")
124 assert err == None, log.E("Command [listDomains] : %s"%(err))
125 log.I("Command [listDomains] - correctly executed")
128 log.I("Actual domains: %s" % domainBackup)
[all …]
/aosp_15_r20/tools/test/connectivity/acts_tests/tests/google/nr/nsa5g/
DNsa5gVoiceConfTest.py56 self.android_devices[0].log.error(
71 ensure_phones_idle(self.log, self.android_devices)
92 log=self.log,
105 self.log, ads, call_ab_id, call_ac_id)
124 log=self.log,
137 self.log, ads, call_ab_id, call_ac_id)
156 log=self.log,
169 self.log, ads, call_ab_id, call_ac_id)
188 log=self.log,
201 self.log, ads, call_ab_id, call_ac_id)
[all …]
/aosp_15_r20/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
H A DtDomain_Rules.py49 log=ACTLogging.Logger() variable
92 log.D(self.test_ClearRule_Errors.__doc__)
94 log.I("New domain creation for testing purpose : %s" % (self.domain_name))
95 log.I("command [createDomain]")
99 log.I("command [createDomain] correctly executed")
100 log.I("Domain %s created" % (self.domain_name))
103log.I("New configuration %s creation for domain %s for testing purpose" % (self.conf_1,self.domain…
104 log.I("command [createConfiguration]")
108 log.I("command [createConfiguration] correctly executed")
109 log.I("Configuration %s created for domain %s" % (self.conf_1,self.domain_name))
[all …]
H A DtDomain_Configuration.py51 log=ACTLogging.Logger() variable
87 log.D(self.test_Conf_Creation_Error.__doc__)
89 log.I("New domain creation for testing purpose : %s" % (self.domain_name))
90 log.I("command [createDomain]")
94 log.I("command [createDomain] correctly executed")
95 log.I("Domain %s created" % (self.domain_name))
100 log.I("New configuration %s creation for domain %s" % (new_conf_name,self.domain_name))
101 log.I("command [createConfiguration]")
105 log.I("command [createConfiguration] correctly executed")
106 log.I("Configuration %s created for domain %s" % (new_conf_name,self.domain_name))
[all …]
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java150 private String convertProtoToBase64String(TelephonyLog log) throws Exception { in convertProtoToBase64String() argument
156 return (String) method.invoke(null, log); in convertProtoToBase64String()
165 TelephonyLog log = buildProto(); in testEventDropped() local
166 assertEquals(1000, log.events.length); in testEventDropped()
167 assertEquals(0, log.callSessions.length); in testEventDropped()
168 assertEquals(0, log.smsSessions.length); in testEventDropped()
169 assertTrue(log.eventsDropped); in testEventDropped()
170 assertEquals(1, log.events[0].dataStallAction); in testEventDropped()
178 TelephonyLog log = buildProto(); in testWriteDataStallEvent() local
180 assertEquals(1, log.events.length); in testWriteDataStallEvent()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/libz-sys/src/zlib/
Dconfigure17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
51 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
54 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
59 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
65 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
99 echo "** $0 aborting." | tee -a configure.log
102 echo -------------------- >> configure.log
103 echo >> configure.log
[all …]
/aosp_15_r20/external/python/cpython2/Modules/zlib/
Dconfigure17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
51 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
54 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
59 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
65 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
99 echo "** $0 aborting." | tee -a configure.log
102 echo -------------------- >> configure.log
103 echo >> configure.log
[all …]

12345678910>>...742