Home
last modified time | relevance | path

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

12345678910>>...12

/test/mlts/benchmark/results/
DChart.bundle.min.js10e,i,n){function a(o,s){if(!i[o]){if(!e[o]){var l="function"==typeof require&&require;if(!s&&l)retu… argument
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DMetricsReportLog.java75 } catch (Exception e) { in MetricsReportLog()
76 e.printStackTrace(); in MetricsReportLog()
89 } catch (Exception e) { in addValue()
90 e.printStackTrace(); in addValue()
102 } catch (Exception e) { in addValue()
103 e.printStackTrace(); in addValue()
117 } catch (Exception e) { in addValues()
118 e.printStackTrace(); in addValues()
130 } catch (Exception e) { in addValues()
131 e.printStackTrace(); in addValues()
[all …]
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DProcessHelper.java142 CLog.e(newReadPrint); in run()
146 CLog.e("Error in current log level state."); in run()
154 CLog.e(newReadPrint); in run()
159 } catch (IOException e) { in run()
160 CLog.e("IOException during ProcessHelper#ReaderThread run."); in run()
161 CLog.e(e); in run()
192 } catch (InterruptedException e) { in run()
194 CLog.e("Process is interrupted."); in run()
216 CLog.e("Execution thread has been cancelled."); in cancel()
266 } catch (RunInterruptedException e) { in waitForProcess()
[all …]
DVtsDashboardUtil.java63 } catch (NoSuchElementException e) { in VtsDashboardUtil()
78 } catch (NoSuchElementException e) { in GetToken()
91 } catch (FileNotFoundException e) { in GetToken()
92 CLog.e(String.format("Service key file %s doesn't exist.", keyFilePath)); in GetToken()
93 } catch (IOException e) { in GetToken()
94 CLog.e(String.format("Can't read the service key file, %s", keyFilePath)); in GetToken()
118 } catch (IOException e) { in Upload()
119 CLog.e("Couldn't write a proto message to a temp file."); in Upload()
123 CLog.e("Couldn't get the MessageFilePath."); in Upload()
144 } catch (IOException e) { in Upload()
[all …]
DVtsPythonRunnerHelper.java80 } catch (IOException e) { in runPythonRunner()
81 CLog.e(e); in runPythonRunner()
94 } catch (RunInterruptedException e) { in runPythonRunner()
95 CLog.e("Python process is interrupted."); in runPythonRunner()
97 interruptMessage = (e.getMessage() != null ? e.getMessage() : ""); in runPythonRunner()
100 CLog.e("Cancel Python process and wait %d seconds.", in runPythonRunner()
107 } catch (IOException e) { in runPythonRunner()
108 CLog.e("Fail to cancel Python process."); in runPythonRunner()
161 CLog.e("Invalid python virtualenv path. Using python from system path."); in activateVirtualenv()
/test/framework/harnesses/host_controller/
Dinvocation_thread.py113 except remote_operation.RemoteOperationException as e:
114 logging.exception(e)
115 except socket.error as e:
116 logging.exception(e)
130 except (httplib2.HttpLib2Error, errors.HttpError) as e:
131 logging.exception(e)
146 except errors.HttpError as e:
147 logging.exception(e)
148 last_error = e
149 except remote_operation.RemoteOperationException as e:
[all …]
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DTestAcknowledgmentEntityTest.java67 Entity e = ack.toEntity(); in testEntitySerialization() local
69 Assert.assertNotNull(e); in testEntitySerialization()
70 Assert.assertEquals(key, e.getProperty(TestAcknowledgmentEntity.TEST_KEY)); in testEntitySerialization()
71 Assert.assertEquals(user, e.getProperty(TestAcknowledgmentEntity.USER_OBJ)); in testEntitySerialization()
73 ((List<String>) e.getProperty(TestAcknowledgmentEntity.BRANCHES)) in testEntitySerialization()
76 ((List<String>) e.getProperty(TestAcknowledgmentEntity.DEVICES)) in testEntitySerialization()
79 ((List<String>) e.getProperty(TestAcknowledgmentEntity.TEST_CASE_NAMES)) in testEntitySerialization()
81 Assert.assertEquals(note, e.getProperty(TestAcknowledgmentEntity.NOTE)); in testEntitySerialization()
83 TestAcknowledgmentEntity deserialized = TestAcknowledgmentEntity.fromEntity(e); in testEntitySerialization()
100 Entity e = ack.toEntity(); in testEntitySerializationWithNulls() local
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DProfilingPointSummaryEntity.java291 public static ProfilingPointSummaryEntity fromEntity(Entity e) { in fromEntity() argument
292 if (!e.getKind().equals(KIND) in fromEntity()
293 || !e.hasProperty(MEAN) in fromEntity()
294 || !e.hasProperty(SUMSQ) in fromEntity()
295 || !e.hasProperty(MIN) in fromEntity()
296 || !e.hasProperty(MAX) in fromEntity()
297 || !e.hasProperty(COUNT) in fromEntity()
298 || !e.hasProperty(START_TIME) in fromEntity()
299 || !e.hasProperty(BRANCH) in fromEntity()
300 || !e.hasProperty(BUILD_FLAVOR) in fromEntity()
[all …]
DTestPlanRunEntity.java252 public static TestPlanRunEntity fromEntity(Entity e) { in fromEntity() argument
253 if (!e.getKind().equals(KIND) in fromEntity()
254 || !e.hasProperty(TEST_PLAN_NAME) in fromEntity()
255 || !e.hasProperty(TYPE) in fromEntity()
256 || !e.hasProperty(START_TIMESTAMP) in fromEntity()
257 || !e.hasProperty(END_TIMESTAMP) in fromEntity()
258 || !e.hasProperty(TEST_BUILD_ID) in fromEntity()
259 || !e.hasProperty(PASS_COUNT) in fromEntity()
260 || !e.hasProperty(FAIL_COUNT) in fromEntity()
261 || !e.hasProperty(TEST_RUNS)) { in fromEntity()
[all …]
DProfilingPointEntity.java169 public static ProfilingPointEntity fromEntity(Entity e) { in fromEntity() argument
170 if (!e.getKind().equals(KIND) in fromEntity()
171 || e.getKey().getName() == null in fromEntity()
172 || !e.hasProperty(TEST_NAME) in fromEntity()
173 || !e.hasProperty(PROFILING_POINT_NAME) in fromEntity()
174 || !e.hasProperty(TYPE) in fromEntity()
175 || !e.hasProperty(REGRESSION_MODE) in fromEntity()
176 || !e.hasProperty(X_LABEL) in fromEntity()
177 || !e.hasProperty(Y_LABEL)) { in fromEntity()
179 Level.WARNING, "Missing profiling point attributes in entity: " + e.toString()); in fromEntity()
[all …]
DTestStatusEntity.java162 public static TestStatusEntity fromEntity(Entity e) { in fromEntity() argument
163 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
164 logger.log(Level.WARNING, "Missing test attributes in entity: " + e.toString()); in fromEntity()
167 String testName = e.getKey().getName(); in fromEntity()
173 if (e.hasProperty(UPDATED_TIMESTAMP)) { in fromEntity()
174 timestamp = (long) e.getProperty(UPDATED_TIMESTAMP); in fromEntity()
176 if (e.hasProperty(PASS_COUNT)) { in fromEntity()
177 passCount = ((Long) e.getProperty(PASS_COUNT)).intValue(); in fromEntity()
179 if (e.hasProperty(FAIL_COUNT)) { in fromEntity()
180 failCount = ((Long) e.getProperty(FAIL_COUNT)).intValue(); in fromEntity()
[all …]
DDeviceInfoEntity.java163 } catch (ApiProxy.CallNotFoundException e) { in getAllBranches()
194 } catch (ApiProxy.CallNotFoundException e) { in getAllBuildFlavors()
231 public static DeviceInfoEntity fromEntity(Entity e) { in fromEntity() argument
232 if (!e.getKind().equals(KIND) || !e.hasProperty(BRANCH) || !e.hasProperty(PRODUCT) in fromEntity()
233 || !e.hasProperty(BUILD_FLAVOR) || !e.hasProperty(BUILD_ID) in fromEntity()
234 || !e.hasProperty(ABI_BITNESS) || !e.hasProperty(ABI_NAME)) { in fromEntity()
235 logger.log(Level.WARNING, "Missing device info attributes in entity: " + e.toString()); in fromEntity()
239 Key parentKey = e.getKey().getParent(); in fromEntity()
240 String branch = (String) e.getProperty(BRANCH); in fromEntity()
241 String product = (String) e.getProperty(PRODUCT); in fromEntity()
[all …]
DTestCaseRunEntity.java202 public static TestCaseRunEntity fromEntity(Entity e) { in fromEntity() argument
203 if (!e.getKind().equals(KIND)) { in fromEntity()
204 log.warn("Wrong kind: " + e.getKey()); in fromEntity()
208 TestCaseRunEntity testCaseRun = new TestCaseRunEntity(e.getKey().getId()); in fromEntity()
209 if (e.hasProperty(TEST_CASE_NAMES) && e.hasProperty(RESULTS)) { in fromEntity()
210 List<String> testCaseNames = (List<String>) e.getProperty(TEST_CASE_NAMES); in fromEntity()
211 List<Long> results = (List<Long>) e.getProperty(RESULTS); in fromEntity()
218 if (e.hasProperty(TEST_CASE_NAME) && e.hasProperty(RESULT)) { in fromEntity()
220 (String) e.getProperty(TEST_CASE_NAME), (int) (long) e.getProperty(RESULT)); in fromEntity()
222 if (e.hasProperty(SYSTRACE_URL)) { in fromEntity()
[all …]
DTestAcknowledgmentEntity.java181 public static TestAcknowledgmentEntity fromEntity(Entity e) { in fromEntity() argument
182 if (!e.getKind().equals(KIND) in fromEntity()
183 || !e.hasProperty(TEST_KEY) in fromEntity()
184 || !e.hasProperty(USER_OBJ) in fromEntity()
185 || !e.hasProperty(CREATED)) { in fromEntity()
187 Level.WARNING, "Missing attributes in acknowledgment entity: " + e.toString()); in fromEntity()
191 Key test = (Key) e.getProperty(TEST_KEY); in fromEntity()
192 User user = (User) e.getProperty(USER_OBJ); in fromEntity()
193 long created = (long) e.getProperty(CREATED); in fromEntity()
196 if (e.hasProperty(BRANCHES)) branches = (List<String>) e.getProperty(BRANCHES); in fromEntity()
[all …]
DProfilingPointRunEntity.java258 public static ProfilingPointRunEntity fromEntity(Entity e) { in fromEntity() argument
259 if (!e.getKind().equals(KIND) in fromEntity()
260 || e.getKey().getName() == null in fromEntity()
261 || !e.hasProperty(TYPE) in fromEntity()
262 || !e.hasProperty(REGRESSION_MODE) in fromEntity()
263 || !e.hasProperty(VALUES) in fromEntity()
264 || !e.hasProperty(X_LABEL) in fromEntity()
265 || !e.hasProperty(Y_LABEL)) { in fromEntity()
266 log.error("Missing profiling point attributes in entity: " + e.toString()); in fromEntity()
270 Key parentKey = e.getParent(); in fromEntity()
[all …]
DCoverageEntity.java233 public static CoverageEntity fromEntity(Entity e) { in fromEntity() argument
234 if (!e.getKind().equals(KIND) in fromEntity()
235 || !e.hasProperty(GROUP) in fromEntity()
236 || !e.hasProperty(COVERED_LINE_COUNT) in fromEntity()
237 || !e.hasProperty(TOTAL_LINE_COUNT) in fromEntity()
238 || !e.hasProperty(FILE_PATH) in fromEntity()
239 || !e.hasProperty(PROJECT_NAME) in fromEntity()
240 || !e.hasProperty(PROJECT_VERSION)) { in fromEntity()
241 logger.log(Level.WARNING, "Missing coverage attributes in entity: " + e.toString()); in fromEntity()
245 String group = (String) e.getProperty(GROUP); in fromEntity()
[all …]
DTestRunEntity.java344 public static TestRunEntity fromEntity(Entity e) { in fromEntity() argument
345 if (!e.getKind().equals(KIND) in fromEntity()
346 || !e.hasProperty(TYPE) in fromEntity()
347 || !e.hasProperty(START_TIMESTAMP) in fromEntity()
348 || !e.hasProperty(END_TIMESTAMP) in fromEntity()
349 || !e.hasProperty(TEST_BUILD_ID) in fromEntity()
350 || !e.hasProperty(HOST_NAME) in fromEntity()
351 || !e.hasProperty(PASS_COUNT) in fromEntity()
352 || !e.hasProperty(FAIL_COUNT)) { in fromEntity()
353 logger.log(Level.WARNING, "Missing test run attributes in entity: " + e.toString()); in fromEntity()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java174 } catch (IOException e) { in testLog()
175 CLog.e("Failed to write log for %s", name); in testLog()
176 CLog.e(e); in testLog()
190 } catch (IOException e) { in testLogDeviceInfo()
192 CLog.e(e); in testLogDeviceInfo()
255 } catch (FileNotFoundException e) { in initializeResultDirectories()
256 throw new RuntimeException(e); in initializeResultDirectories()
273 } catch (FileNotFoundException e) { in initializeResultDirectories()
274 CLog.e(e); in initializeResultDirectories()
306 } catch (IOException e) { in preFormattingSetup()
[all …]
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py93 except requests.exceptions.Timeout as e:
94 logging.exception(e)
127 requests.exceptions.Timeout) as e:
128 logging.exception(e)
156 except requests.exceptions.Timeout as e:
157 logging.exception(e)
196 except requests.exceptions.Timeout as e:
197 logging.exception(e)
241 except requests.exceptions.Timeout as e:
242 logging.exception(e)
[all …]
/test/vts/runners/host/
Drecords.py92 def _testEnd(self, result, e): argument
103 if isinstance(e, signals.TestSignal):
104 self.details = e.details
105 self.extras = e.extras
106 elif e:
107 self.details = str(e)
109 def testPass(self, e=None): argument
115 self._testEnd(TestResultEnums.TEST_RESULT_PASS, e)
117 def testFail(self, e=None): argument
127 self._testEnd(TestResultEnums.TEST_RESULT_FAIL, e)
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DFailureListener.java78 } catch (DeviceNotAvailableException e) { in testFailed()
79 CLog.e(e); in testFailed()
80 CLog.e("Device %s became unavailable while capturing screenshot", in testFailed()
88 } catch (DeviceNotAvailableException e) { in testFailed()
102 CLog.e("Failed to capture bugreport for %s", test.toString()); in testFailed()
120 CLog.e("Reboot-on-failure should only be used during development," + in testFailed()
125 } catch (DeviceNotAvailableException e) { in testFailed()
126 CLog.e(e); in testFailed()
127 CLog.e("Device %s became unavailable while rebooting", in testFailed()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTestPlanResultReporter.java102 CLog.e("Can't create a temp dir to store test execution results."); in setUp()
131 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) { in tearDown() argument
134 CLog.e("Couldn't find %s to post results. Skipping tearDown.", in tearDown()
150 CLog.e(String.format("Invalid keys %s", currentLine)); in tearDown()
177 public void tearDown(IInvocationContext context, Throwable e) in tearDown() argument
179 tearDown(context.getDevices().get(0), context.getBuildInfos().get(0), e); in tearDown()
196 } catch (FileNotFoundException e) { in addApiReportToTestPlanMessage()
197 CLog.e("Failed to get test dir, error: " + e.getMessage()); in addApiReportToTestPlanMessage()
204 CLog.e("Failed to create hal releas map"); in addApiReportToTestPlanMessage()
216 } catch (IOException e) { in addApiReportToTestPlanMessage()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DInvocationFailureHandler.java43 } catch (FileNotFoundException e) { in hasFailed()
44 CLog.e("Could not find invocation failure file for session %s", in hasFailed()
46 CLog.e(e); in hasFailed()
66 } catch (IOException e) { in setFailed()
67 CLog.e("Exception while writing invocation failure file."); in setFailed()
68 CLog.e(e); in setFailed()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceFileCollector.java83 } catch (DeviceNotAvailableException e) { in run()
84 CLog.e("Caught exception during pull."); in run()
85 CLog.e(e); in run()
101 CLog.e("%s is not a directory", resultDir.getAbsolutePath()); in createResultDir()
105 CLog.e(fnfe); in createResultDir()
119 } catch (DeviceNotAvailableException e) { in matchProperties()
120 CLog.e("Caught exception during property check."); in matchProperties()
121 CLog.e(e); in matchProperties()
DBusinessLogicPreparer.java200 } catch (IOException e) { in setUp()
202 CLog.d("BusinessLogic connection failure message: %s\nRetrying...", e.getMessage()); in setUp()
208 CLog.e("Failed to connect to business logic service.\nProceeding with test " in setUp()
231 } catch (IOException e) { in setUp()
323 } catch (XmlPullParserException | IOException e) { in getBusinessLogicProperties()
324 CLog.e("Failed to pull business logic properties from dynamic config"); in getBusinessLogicProperties()
338 } catch (XmlPullParserException | IOException e) { in getBusinessLogicFeatures()
339 CLog.e("Failed to pull business logic features from dynamic config"); in getBusinessLogicFeatures()
353 } catch (XmlPullParserException | IOException e) { in getBusinessLogicPackages()
354 CLog.e("Failed to pull business logic packages from dynamic config"); in getBusinessLogicPackages()
[all …]

12345678910>>...12