Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 232) sorted by relevance

12345678910

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.cpp27 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set) { in operator <<() argument
29 os << "(Empty)" << ::std::endl; in operator <<()
31 os << "\n"; in operator <<()
33 os << set[i] << ::std::endl; in operator <<()
35 return os; in operator <<()
38 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) { in operator <<() argument
39 return os << (int)value; in operator <<()
42 ::std::ostream& operator<<(::std::ostream& os, Digest value) { in operator <<() argument
43 return os << stringify(value); in operator <<()
46 ::std::ostream& operator<<(::std::ostream& os, Algorithm value) { in operator <<() argument
[all …]
Dkey_param_output.h29 ::std::ostream& operator<<(::std::ostream& os, const NullOr<ValueT>& value) {
31 os << "(value not present)";
33 os << value.value();
35 return os;
38 ::std::ostream& operator<<(::std::ostream& os, const hidl_vec<KeyParameter>& set);
39 ::std::ostream& operator<<(::std::ostream& os, BlockMode value);
40 ::std::ostream& operator<<(::std::ostream& os, Digest value);
41 ::std::ostream& operator<<(::std::ostream& os, EcCurve value);
42 ::std::ostream& operator<<(::std::ostream& os, ErrorCode value);
43 ::std::ostream& operator<<(::std::ostream& os, PaddingMode value);
[all …]
/hardware/google/gfxstream/guest/mesa/bin/
Dinstall_megadrivers.py26 import os
36 if os.path.isabs(args.libdir):
37 destdir = os.environ.get('DESTDIR')
39 to = os.path.join(destdir, args.libdir[1:])
43 to = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.libdir)
45 master = os.path.join(to, os.path.basename(args.megadriver))
47 if not os.path.exists(to):
48 if os.path.lexists(to):
49 os.unlink(to)
50 os.makedirs(to)
[all …]
Dgit_sha1_gen.py6 import os
7 import os.path
14 git_dir = os.path.join(os.path.dirname(sys.argv[0]), '..', '.git')
21 ], stderr=open(os.devnull, 'w')).decode("ascii")
33 if os.path.isfile(args.output):
46 git_sha1 = os.environ.get('MESA_GIT_SHA1_OVERRIDE', get_git_sha1())[:10]
/hardware/interfaces/keymaster/4.0/support/
Dkey_param_output.cpp32 ostream& operator<<(ostream& os, const hidl_vec<KeyParameter>& set) { in operator <<() argument
34 os << "(Empty)" << endl; in operator <<()
36 os << "\n"; in operator <<()
37 for (const auto& elem : set) os << elem << endl; in operator <<()
39 return os; in operator <<()
42 ostream& operator<<(ostream& os, const KeyParameter& param) { in operator <<() argument
43 os << param.tag << ": "; in operator <<()
46 return os << " Invalid"; in operator <<()
49 return os << param.f.integer; in operator <<()
54 return os << param.f.algorithm; in operator <<()
[all …]
/hardware/interfaces/security/keymint/support/include/keymint_support/
Dkey_param_output.h41 inline ::std::ostream& operator<<(::std::ostream& os, Algorithm value) {
42 return os << toString(value);
45 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
46 return os << toString(value);
49 inline ::std::ostream& operator<<(::std::ostream& os, Digest value) {
50 return os << toString(value);
53 inline ::std::ostream& operator<<(::std::ostream& os, EcCurve value) {
54 return os << toString(value);
57 inline ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) {
58 return os << toString(value);
[all …]
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkey_param_output.h28 inline ::std::ostream& operator<<(::std::ostream& os, Algorithm value) {
29 return os << toString(value);
32 inline ::std::ostream& operator<<(::std::ostream& os, BlockMode value) {
33 return os << toString(value);
36 inline ::std::ostream& operator<<(::std::ostream& os, Digest value) {
37 return os << toString(value);
40 inline ::std::ostream& operator<<(::std::ostream& os, EcCurve value) {
41 return os << toString(value);
44 inline ::std::ostream& operator<<(::std::ostream& os, ErrorCode value) {
45 return os << toString(value);
[all …]
/hardware/google/av/hooks/
Dinstall13 import os, os.path
14 TOP = os.path.realpath(".")
15 HOOKS = os.path.realpath(".git/hooks")
16 src = os.path.join(TOP, "hooks", "install")
17 for hook in os.listdir("hooks"):
19 tgt = HOOKS + os.sep + hook
21 if os.path.isfile(tgt) and os.access(tgt, os.X_OK):
22 if os.path.realpath(tgt) != src:
24 os.rename(tgt, tgt + ".local")
25 if os.path.lexists(tgt):
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dio.inl120 …GLM_FUNC_QUALIFIER std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>& os, prec… argument
122 const_cast<format_punct<CTy>&>(get_facet<format_punct<CTy> >(os)).precision = a.value;
123 return os;
127 …GLM_FUNC_QUALIFIER std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>& os, widt… argument
129 const_cast<format_punct<CTy>&>(get_facet<format_punct<CTy> >(os)).width = a.value;
130 return os;
134 …GLM_FUNC_QUALIFIER std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>& os, del… argument
136 format_punct<CTy> & fmt(const_cast<format_punct<CTy>&>(get_facet<format_punct<CTy> >(os)));
142 return os;
146 …GLM_FUNC_QUALIFIER std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>& os, orde… argument
[all …]
/hardware/google/gfxstream/guest/fuchsia/
Dreleasepackage.py5 import os
23 dir_path = os.path.dirname(os.path.realpath(__file__))
25 os.chdir(dir_path)
27 fuchsia_root = os.path.abspath(os.path.join(dir_path, "../../../"))
28 fx_path = os.path.join(fuchsia_root, "scripts/fx")
31 release_dir = os.path.abspath(args.release_dir)
33 release_dir = os.path.join(fuchsia_root, "out/default")
35 if not os.path.exists(release_dir):
92 full_name = os.path.join(package_dir, file_name)
94 source_file_name = os.path.join(release_dir, target_name)
[all …]
/hardware/interfaces/keymaster/4.1/support/
DKeymaster.cpp31 std::ostream& operator<<(std::ostream& os, const hidl_vec<T>& vec) { in operator <<() argument
32 os << "{ "; in operator <<()
34 for (size_t i = 0; i < vec.size() - 1; ++i) os << vec[i] << ", "; in operator <<()
35 os << vec[vec.size() - 1]; in operator <<()
37 os << " }"; in operator <<()
38 return os; in operator <<()
41 std::ostream& operator<<(std::ostream& os, const hidl_vec<uint8_t>& vec) { in operator <<() argument
42 std::ios_base::fmtflags flags(os.flags()); in operator <<()
43 os << std::setw(2) << std::setfill('0') << std::hex; in operator <<()
44 for (uint8_t c : vec) os << static_cast<int>(c); in operator <<()
[all …]
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
Dbuild_shaders.py15 import os
44 output = os.path.join(output_dir, "{}_{}D.inl".format(shader, dim))
47 ret = os.system(cmd)
55 os.chdir(os.path.dirname(os.path.realpath(__file__)))
56 print("Compiling shaders in", os.getcwd())
59 ret = os.system("clang-format -i *.comp *.glsl")
64 os.makedirs(output_dir, exist_ok=True)
/hardware/interfaces/biometrics/face/aidl/default/
DFakeLockoutTracker.h46 std::ostringstream os; in toString() local
47 os << "----- FakeLockoutTracker:: -----" << std::endl; in toString()
48 os << "mFailedCount:" << mFailedCount; in toString()
49 os << ", mCurrentMode:" << (int)mCurrentMode; in toString()
50 os << ", mLastFailedTime:" << (int)(mLastFailedTime / 1000000LL); in toString()
51 os << ", mIsLockoutTimerStarted:" << mIsLockoutTimerStarted; in toString()
52 os << ", mIsLockoutTimerAborted:" << mIsLockoutTimerAborted; in toString()
53 os << std::endl; in toString()
54 return os.str(); in toString()
/hardware/interfaces/security/keymint/support/
Dkey_param_output.cpp28 ostream& operator<<(ostream& os, const ::std::vector<KeyParameter>& set) { in operator <<() argument
30 os << "(Empty)" << endl; in operator <<()
32 os << "\n"; in operator <<()
33 for (const auto& elem : set) os << elem << endl; in operator <<()
35 return os; in operator <<()
38 ostream& operator<<(ostream& os, const KeyParameter& param) { in operator <<() argument
39 return os << param.toString(); in operator <<()
/hardware/nxp/keymint/transport/
DEseTransportUtils.cpp24 std::ostream& operator<<(std::ostream& os, const std::vector<uint8_t>& vec) { in operator <<() argument
25 std::ios_base::fmtflags flags(os.flags()); in operator <<()
26 os << "{ "; in operator <<()
27 …for (uint8_t c : vec) os <<std::setfill('0')<<std::hex<< std::uppercase << std::setw(2)<<(0xFF & c… in operator <<()
28 os.flags(flags); in operator <<()
29 os << " }"; in operator <<()
30 return os; in operator <<()
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionValueEntry.cpp28 std::ostream &SessionValueEntry::dump(std::ostream &os) const { in dump()
30 os << "ID.Min.Act(" << idString; in dump()
34 os << ", " << uclampRange.uclampMin; in dump()
35 os << "-" << uclampRange.uclampMax; in dump()
37 os << ", votes nullptr"; in dump()
39 os << ", " << isActive; in dump()
40 return os; in dump()
/hardware/qcom/sm7250/display/composer/
Dhwc_buffer_sync_handler.cpp87 void HWCBufferSyncHandler::GetSyncInfo(int fd, std::ostringstream *os) { in GetSyncInfo() argument
93 *os << "SYNC_File status:: " << file_info->status; in GetSyncInfo()
94 *os << ", name: " << file_info->name; in GetSyncInfo()
95 *os << ", num_fences: " << file_info->num_fences; in GetSyncInfo()
103 *os << ", fence[" << i << "]:: "; in GetSyncInfo()
104 *os << "status: " << fence_info[i].status; in GetSyncInfo()
105 *os << ", drv_name: " << fence_info[i].driver_name; in GetSyncInfo()
106 *os << ", obj_name: " << fence_info[i].obj_name; in GetSyncInfo()
107 *os << ", ts: " << fence_info[i].timestamp_ns; in GetSyncInfo()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dmakemanaliases.py10 import os
32 os.chdir(args.refdir)
49 if not os.access(src, os.R_OK):
55 if os.access(alias, os.R_OK):
64 os.symlink(src, alias)
Ddeperiodize_vuids.py13 import os,re
29 for root, subdirs, files in os.walk(folder):
32 file_path = os.path.join(root, file)
35 sub_folder = os.path.join(root, subdir)
39 deperiodizeFolder(os.getcwd() + '/chapters')
40 deperiodizeFolder(os.getcwd() + '/appendices')
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidTree.cpp39 void HidTreeNode::outputRecursive(std::ostream &os, int level) const { in outputRecursive() argument
40 insertIndentation(os, level); in outputRecursive()
41 os << "Node data: " << mData in outputRecursive()
45 child->outputRecursive(os, level + 1); in outputRecursive()
58 void HidTreeNode::insertIndentation(std::ostream &os, int level) const { in insertIndentation() argument
60 std::fill_n(std::ostreambuf_iterator<char>(os), level, indentCharacter); in insertIndentation()
98 std::ostream& operator<<(std::ostream& os, const HidTreeNode& n) { in operator <<() argument
99 n.outputRecursive(os, 0); in operator <<()
100 return os; in operator <<()
108 void HidReportNode::outputRecursive(std::ostream &os, int level) const { in outputRecursive() argument
[all …]
DHidReport.cpp124 std::ostream& operator<<(std::ostream& os, const HidReport& h) { in operator <<() argument
125 os << h.getStringType() << ", " in operator <<()
130 os << "logMin: " << range.first << ", " in operator <<()
134 os << "phy===log, "; in operator <<()
137 os << "phyMin: " << range.first << ", " in operator <<()
142 os << "map: (" << std::hex; in operator <<()
144 os << i << ","; in operator <<()
146 os << "), " << std::dec; in operator <<()
149 os << "exponent: " << h.getExponentString() << ", " in operator <<()
152 os << "constant: "; in operator <<()
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DFakeLockoutTracker.h37 std::ostringstream os; in toString() local
38 os << "----- FakeLockoutTracker:: -----" << std::endl; in toString()
39 os << "FakeLockoutTracker::mFailedCount:" << mFailedCount; in toString()
40 os << ", FakeLockoutTracker::mCurrentMode:" << (int)mCurrentMode; in toString()
41 os << std::endl; in toString()
42 return os.str(); in toString()
/hardware/interfaces/scripts/
Dlist_hal_vts.py25 import os
47 out = os.environ.get('ANDROID_PRODUCT_OUT')
49 return os.path.join(out, 'module-info.json')
93 top = os.environ.get("ANDROID_BUILD_TOP")
96 interfaces = os.path.join(top, "hardware", "interfaces")
100 if not os.path.isdir(interfaces):
103 assert not interfaces.endswith(os.path.sep)
104 for root, dirs, files in os.walk(interfaces):
106 full_dir = os.path.join(root, dir)
108 top_rel_dir = os.path.join('hardware', 'interfaces', full_dir[len(interfaces) + 1:])
/hardware/google/aemu/base/include/aemu/base/testing/
DResultMatchers.h27 void PrintTo(const Result<T, E>& param, std::ostream* os) { in PrintTo() argument
29 *os << "Ok(" << ::testing::PrintToString(param.ok().value()) << ")"; in PrintTo()
31 *os << "Err(" << ::testing::PrintToString(param.err().value()) << ")"; in PrintTo()
36 void PrintTo(const Result<void, E>& param, std::ostream* os) { in PrintTo() argument
38 *os << "Ok()"; in PrintTo()
40 *os << "Err(" << ::testing::PrintToString(param.err().value()) << ")"; in PrintTo()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DPowerStatsPresentProfileTokenGenerator.h63 std::ostringstream os; in toString() local
64 os << "mWidth = " << mWidth; in toString()
65 os << " mHeight = " << mHeight; in toString()
66 os << " mFps = " << mFps; in toString()
67 os << ", power mode = " << mPowerMode; in toString()
68 os << ", brightness = " << static_cast<int>(mBrightnessMode); in toString()
69 return os.str(); in toString()

12345678910