/test/vts/utils/python/library/elf/ |
D | utils.py | 19 def ByteToInt(obj): argument 21 return obj if isinstance(obj, int) else ord(obj) 24 def BytesToString(obj): argument 26 return obj if isinstance(obj, str) else obj.decode("utf-8")
|
/test/vts-testcase/vndk/dependency/ |
D | vts_vndk_dependency_test.py | 295 for obj in objs: 296 if (obj.bitness == bitness and 297 any(obj.target_path.startswith(link_path + 300 namespace[obj.target_dir][obj.name] = obj 339 for obj in objs: 341 for dep_name in obj.deps: 345 obj.custom_link_paths + obj.runpaths + link_paths): 350 dep_errors.append((obj.target_path, disallowed_libs)) 386 for obj in sp_hal_namespace[link_path].values(): 387 if any(x.match(obj.target_path) for x in self._sp_hal): [all …]
|
D | VtsVndkDependencyTest.py | 275 for obj in objs: 276 if (obj.bitness == bitness and 277 any(obj.target_path.startswith(link_path + 280 namespace[obj.target_dir][obj.name] = obj 319 for obj in objs: 321 for dep_name in obj.deps: 325 obj.runpaths + link_paths): 330 dep_errors.append((obj.target_path, disallowed_libs)) 366 for obj in sp_hal_namespace[link_path].itervalues(): 367 if any(x.match(obj.target_path) for x in self._sp_hal): [all …]
|
/test/vts-testcase/kernel/ltp/shell_environment/definitions/base_definitions/ |
D | check_setup_cleanup.py | 124 def ToListLike(self, obj): argument 134 if not self.IsListLike(obj): 135 return [obj] 137 return obj 139 def IsListLike(self, obj): argument 150 return hasattr(obj, '__iter__') and hasattr(obj, '__getitem__')
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestEntity.java | 122 public boolean equals(Object obj) { in equals() argument 123 if (obj == null || !TestEntity.class.isAssignableFrom(obj.getClass())) { in equals() 126 TestEntity test2 = (TestEntity) obj; in equals()
|
D | DeviceInfoEntity.java | 283 public boolean equals(Object obj) { in equals() argument 284 if (!(obj instanceof DeviceInfoEntity)) { in equals() 287 DeviceInfoEntity device2 = (DeviceInfoEntity) obj; in equals()
|
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/ |
D | Correspondences.java | 33 (Object obj, Class<?> clazz) -> { 34 return clazz.isInstance(obj);
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowPlanReleaseServlet.java | 117 JsonObject obj = new JsonObject(); in toJson() local 118 obj.add("testPlanRun", testPlanRun.toJson()); in toJson() 119 obj.add("deviceInfo", new JsonPrimitive(StringUtils.join(devices, ", "))); in toJson() 120 return obj; in toJson()
|
/test/vts/utils/native/trace_processor/ |
D | VtsTraceProcessor.cpp | 576 Json::Value obj; in GetTestListForHal() local 577 obj["Test_name"] = summary.test_name; in GetTestListForHal() 578 obj["Unique_Api_Count"] = std::to_string(summary.unique_api_count); in GetTestListForHal() 579 obj["Total_Api_Count"] = std::to_string(summary.total_api_count); in GetTestListForHal() 580 arr.append(obj); in GetTestListForHal()
|
/test/mlts/benchmark/tools/ |
D | tensor_utils.py | 521 def default(self, obj): argument 522 if isinstance(obj, np.ndarray): 523 return obj.tolist() 524 return json.JSONEncoder.default(self, obj)
|
/test/vti/dashboard/src/main/java/com/android/vts/proto/ |
D | VtsReportMessage.java | 1164 public boolean equals(final java.lang.Object obj) { in equals() argument 1165 if (obj == this) { in equals() 1168 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage)) { in equals() 1169 return super.equals(obj); in equals() 1171 …oidDeviceInfoMessage other = (com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) obj; in equals() 2506 public boolean equals(final java.lang.Object obj) { in equals() argument 2507 if (obj == this) { in equals() 2510 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.AndroidBuildInfo)) { in equals() 2511 return super.equals(obj); in equals() 2513 …portMessage.AndroidBuildInfo other = (com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) obj; in equals() [all …]
|
D | TestSuiteResultMessageProto.java | 1820 public boolean equals(final java.lang.Object obj) { in equals() argument 1821 if (obj == this) { in equals() 1824 … if (!(obj instanceof com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage)) { in equals() 1825 return super.equals(obj); in equals() 1827 …sultMessage other = (com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage) obj; in equals()
|