Home
last modified time | relevance | path

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

12345678910>>...13

/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.java59 } catch (NoSuchElementException e) { in VtsDashboardUtil()
74 } catch (NoSuchElementException e) { in GetToken()
87 } catch (FileNotFoundException e) { in GetToken()
88 CLog.e(String.format("Service key file %s doesn't exist.", keyFilePath)); in GetToken()
89 } catch (IOException e) { in GetToken()
90 CLog.e(String.format("Can't read the service key file, %s", keyFilePath)); in GetToken()
114 } catch (IOException e) { in Upload()
115 CLog.e("Couldn't write a proto message to a temp file."); in Upload()
119 CLog.e("Couldn't get the MessageFilePath."); in Upload()
140 } catch (IOException e) { in Upload()
[all …]
/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 …]
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 …]
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 …]
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 …]
DUserFavoriteEntity.java112 public static UserFavoriteEntity fromEntity(Entity e) { in fromEntity() argument
113 if (!e.getKind().equals(KIND) || !e.hasProperty(USER) || !e.hasProperty(TEST_KEY)) { in fromEntity()
115 Level.WARNING, "Missing user favorite attributes in entity: " + e.toString()); in fromEntity()
119 User user = (User) e.getProperty(USER); in fromEntity()
120 Key testKey = (Key) e.getProperty(TEST_KEY); in fromEntity()
122 if (e.hasProperty(MUTE_NOTIFICATIONS)) { in fromEntity()
123 muteNotifications = (boolean) e.getProperty(MUTE_NOTIFICATIONS); in fromEntity()
125 return new UserFavoriteEntity(e.getKey(), user, testKey, muteNotifications); in fromEntity()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationSuiteResultReporter.java228 } catch (IOException e) { in testLog()
229 CLog.e("Failed to write log for %s", name); in testLog()
230 CLog.e(e); in testLog()
244 } catch (IOException e) { in testLogDeviceInfo()
246 CLog.e(e); in testLogDeviceInfo()
300 } catch (FileNotFoundException e) { in initializeResultDirectories()
301 throw new RuntimeException(e); in initializeResultDirectories()
317 } catch (FileNotFoundException e) { in initializeResultDirectories()
318 CLog.e(e); in initializeResultDirectories()
362 } 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/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/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/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/app_compat/csuite/harness/src/main/java/com/android/compatibility/
DAppCompatibilityTest.java190 } catch (IOException e) { in run()
191 CLog.e(e); in run()
192 throw new RuntimeException(e); in run()
199 } catch (IOException e) { in run()
200 CLog.e(e); in run()
201 throw new RuntimeException(e); in run()
216 } catch (InterruptedException e) { in run()
217 CLog.e(e); in run()
218 throw new RuntimeException(e); in run()
250 } catch (InterruptedException e) {
[all …]
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/testtype/suite/module/
DKernelTestModuleController.java109 } catch (DeviceNotAvailableException e) { in deviceLowMem()
110 CLog.e("Couldn't check prop of %s on %s", lowMemProp, device.getSerialNumber()); in deviceLowMem()
111 CLog.e(e); in deviceLowMem()
112 throw new RuntimeException(e); in deviceLowMem()
135 } catch (DeviceNotAvailableException e) { in deviceWithHwasan()
136 CLog.e("Couldn't check prop of %s on %s", productNameProp, in deviceWithHwasan()
138 CLog.e(e); in deviceWithHwasan()
139 throw new RuntimeException(e); in deviceWithHwasan()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java133 } catch (BenchmarkException e) { in runBenchmarkLoop()
134 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop()
147 } catch (UnsupportedSdkException e) { in getBenchmark()
148 BenchmarkResult r = new BenchmarkResult(e.getMessage()); in getBenchmark()
188 } catch (IOException e) { in run()
189 Log.e(TAG, "IOException during benchmark run", e); in run()
191 } catch (Throwable e) { in run()
192 Log.e(TAG, "Error during execution", e); in run()
193 throw e; in run()
233 } catch (BenchmarkException e) { in benchmarkAllModels()
[all …]
/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()

12345678910>>...13