Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 8 of 8) sorted by relevance

/test/vts/vndk_utils/library/elf/
Dutils.py19 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/
Dvts_vndk_dependency_test.py283 for obj in objs:
284 if (obj.bitness == bitness and
285 any(obj.target_path.startswith(link_path + os.path.sep)
287 namespace[obj.target_dir][obj.name] = obj
326 for obj in objs:
328 for dep_name in obj.deps:
332 obj.custom_link_paths + obj.runpaths + link_paths):
337 dep_errors.append((obj.target_path, disallowed_libs))
384 for obj in sp_hal_namespace[link_path].values():
385 if any(x.match(obj.target_path) for x in self._sp_hal):
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java123 void setAllOptionsFrom(RetryFilterHelper obj) { in setAllOptionsFrom() argument
125 mSubPlan = obj.mSubPlan; in setAllOptionsFrom()
126 mIncludeFilters.addAll(obj.mIncludeFilters); in setAllOptionsFrom()
127 mExcludeFilters.addAll(obj.mExcludeFilters); in setAllOptionsFrom()
128 mAbiName = obj.mAbiName; in setAllOptionsFrom()
129 mModuleName = obj.mModuleName; in setAllOptionsFrom()
130 mTestName = obj.mTestName; in setAllOptionsFrom()
131 mRetryType = obj.mRetryType; in setAllOptionsFrom()
151 public void setCommandLineOptionsFor(Object obj) { in setCommandLineOptionsFor() argument
158 ArgsOptionParser parser = new ArgsOptionParser(obj); in setCommandLineOptionsFor()
[all …]
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/
DCorrespondences.java33 (Object obj, Class<?> clazz) -> {
34 return clazz.isInstance(obj);
/test/dittosuite/src/
Dbinder.cpp73 sp<IDittoBinder> IDittoBinder::asInterface(const sp<IBinder>& obj) { in asInterface() argument
75 if (obj != nullptr) { in asInterface()
76 intr = static_cast<IDittoBinder*>(obj->queryLocalInterface(IDittoBinder::descriptor).get()); in asInterface()
78 intr = new BpDittoBinder(obj); in asInterface()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/webview/lib/
DWebviewPackage.java104 public boolean equals(final Object obj) { in equals() argument
105 final WebviewPackage otherWebviewPkg = (WebviewPackage) obj; in equals()
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DModuleGenerator.java203 .map(obj -> (ModuleInfoProvider) obj) in getModulesInfo()
/test/mlts/benchmark/tools/
Dtensor_utils.py521 def default(self, obj): argument
522 if isinstance(obj, np.ndarray):
523 return obj.tolist()
524 return json.JSONEncoder.default(self, obj)