Home
last modified time | relevance | path

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

1234567

/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/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 …]
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()
DTestCoverageStatusEntity.java214 public static TestCoverageStatusEntity fromEntity(Entity e) { in fromEntity() argument
215 if (!e.getKind().equals(KIND) in fromEntity()
216 || e.getKey().getName() == null in fromEntity()
217 || !e.hasProperty(UPDATED_TIMESTAMP) in fromEntity()
218 || !e.hasProperty(COVERED_LINE_COUNT) in fromEntity()
219 || !e.hasProperty(TOTAL_LINE_COUNT) in fromEntity()
220 || !e.hasProperty(DEVICE_INFO_ID)) { in fromEntity()
221 logger.log(Level.WARNING, "Missing test attributes in entity: " + e.toString()); in fromEntity()
224 String testName = e.getKey().getName(); in fromEntity()
230 timestamp = (long) e.getProperty(UPDATED_TIMESTAMP); in fromEntity()
[all …]
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestService.java72 Log.e(TAG, "No listener configured, skipping message " + messageType); in notify()
83 } catch (RemoteException e) { in notify()
84 Log.e(TAG, "Exception sending message", e); in notify()
106 } catch (InterruptedException e) { in onBind()
108 Log.e(TAG, "Interrupted before starting test", e); in onBind()
118 } catch (Throwable e) { in onBind()
119 Log.e(TAG, "Exception in crash test", e); in onBind()
120 notify(FAILURE, "Exception in crash test: " + e); in onBind()
124 } catch (Exception e) { in onBind()
125 Log.e(TAG, "Exception starting test ", e); in onBind()
[all …]
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java169 } catch (IOException e) { in isTestModelSupportedByAccelerator()
172 testModelEntry.mModelName, acceleratorName), e); in isTestModelSupportedByAccelerator()
224 } catch (BenchmarkException e) { in runBenchmarkLoop()
225 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop()
237 } catch (BenchmarkException e) { in runCompilationBenchmarkLoop()
238 benchmarkResult.setBenchmarkError(e.getMessage()); in runCompilationBenchmarkLoop()
251 } catch (UnsupportedSdkException e) { in getBenchmark()
252 BenchmarkResult r = new BenchmarkResult(e.getMessage()); in getBenchmark()
302 } catch (IOException | BenchmarkException e) { in run()
303 Log.e(TAG, "Exception during benchmark run", e); in run()
[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 …]
Dbase_test.py849 except signals.TestAbortAll as e:
850 raise signals.TestAbortAll, e, sys.exc_info()[2]
851 except Exception as e:
854 record.addError(func.__name__, e)
992 except (signals.TestFailure, AssertionError) as e:
993 tr_record.testFail(e)
996 except signals.TestSkip as e:
998 tr_record.testSkip(e)
1001 except signals.TestAbortClass as e:
1003 tr_record.testFail(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/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java162 } catch (TargetSetupError e) { in setUp()
163 currentException = e; in setUp()
164 } catch (UncheckedTimeoutException e) { in setUp()
165 currentException = new TargetSetupError(e.getMessage(), e); in setUp()
178 } catch (InterruptedException e) { in setUp()
180 throw new TargetSetupError(e.getMessage(), e); in setUp()
192 } catch (ConfigurationException e) { in setUpOnce()
193 throw new TargetSetupError(e.getMessage(), e); in setUpOnce()
213 public void tearDown(TestInformation testInfo, Throwable e) throws DeviceNotAvailableException { in tearDown() argument
214 mTestAppInstallSetup.tearDown(testInfo, e); in tearDown()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java142 Log.e(NNBenchmark.TAG, in waitUntilCharged()
210 } catch (BenchmarkException | IOException e) { in run()
211 mException = e; in run()
212 Log.e(NNBenchmark.TAG, in run()
213 String.format("Error running Benchmark for test '%s'", mTestModel), e); in run()
214 } catch (Throwable e) { in run()
215 mException = e; in run()
216 Log.e(NNBenchmark.TAG, in run()
217 String.format("Failure running Benchmark for test '%s'!!", mTestModel), e); in run()
218 throw e; in run()
[all …]
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation.py174 for e in results:
175 if e.type == 'begin':
176 s = ('Begin [%s @ %s] ' % (e.name, e.category) +
177 datetime.datetime.fromtimestamp(e.time_wall).strftime('%Y-%m-%d %H:%M:%S_%f'))
181 s = ('End [%s @ %s] ' % (e.name, e.category) +
182 datetime.datetime.fromtimestamp(e.time_wall).strftime('%Y-%m-%d %H:%M:%S_%f'))
186 result_text.append(' '*level + "%.4f" % e.duration)
/test/vts/proto/
DVtsFuzzTaskMessage.proto56 // target product (e.g., VTS)
59 // branch name (e.g., master, oc-dev)
62 // target product (e.g., aosp_arm64)
65 // build variant (e.g., userdebug)
75 // Component class (e.g., HIDL HAL or Conventional HAL)
81 // HAL package name (e.g., android.hardware.audio)
84 // HAL transport type (e.g., hwbinder, passthrough)
87 // HAL major version (e.g., 2 of 2.0)
90 // HAL minor version (e.g., 0 of 2.0)
93 // HAL interface name (e.g., IDevicesFactory)
[all …]
/test/vti/test_serving/gae/webapp/src/utils/
Demail_util.py71 except ValueError as e:
72 logging.error(e)
96 except mail.MissingRecipientError as e:
97 logging.exception(e)
143 except ValueError as e:
144 logging.error(e)
182 except mail.MissingRecipientError as e:
183 logging.exception(e)
224 except ValueError as e:
225 logging.error(e)
[all …]
/test/vts/utils/python/reporting/
Dreport_file_utils.py149 except OSError as e:
150 logging.exception(e)
177 except IOError as e:
178 logging.exception(e)
183 except OSError as e:
184 logging.exception(e)
217 except IOError as e:
218 logging.exception(e)
271 except IOError as e:
272 logging.exception(e)

1234567