Searched defs:os (Results 1 - 25 of 102) sorted by relevance

12345

/system/netd/libnetdutils/
H A DNetfilter.cpp25 std::ostream& operator<<(std::ostream& os, const nfgenmsg& msg) { argument
26 return os << std::hex << "nfgenmsg["
H A DFd.cpp22 std::ostream& operator<<(std::ostream& os, const Fd& fd) { argument
23 return os << "Fd[" << fd.get() << "]";
H A DUniqueFd.cpp33 std::ostream& operator<<(std::ostream& os, const UniqueFd& fd) { argument
34 return os << "UniqueFd[" << static_cast<Fd>(fd) << "]";
H A DSlice.cpp54 std::ostream& operator<<(std::ostream& os, const Slice& slice) { argument
55 return os << std::hex << "Slice[base: " << reinterpret_cast<void*>(slice.base())
/system/timezone/
H A Dtzdatautil.py15 import os namespace
22 for filename in os.listdir(dir_name):
/system/bt/binder/android/os/
H A Dparcel_uuid.h24 namespace os { namespace in namespace:android
48 } // namespace os
H A Dparcel_file_descriptor.h23 namespace os { namespace in namespace:android
51 } // namespace os
H A Dparcel_file_descriptor.cc17 #include "android/os/parcel_file_descriptor.h"
25 namespace os { namespace in namespace:android
42 } // namespace os
H A Dparcel_uuid.cc17 #include "android/os/parcel_uuid.h"
25 namespace os { namespace in namespace:android
80 } // namespace os
/system/extras/tests/bootloader/
H A Dshelltest.py16 import os namespace
22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
/system/sepolicy/build/
H A Dfile_utils.py18 import os namespace
25 if os.path.exists(file_path):
28 parent_dir = os.path.dirname(file_path)
29 if parent_dir and not os.path.exists(parent_dir):
30 os.makedirs(parent_dir)
H A Dbuild_sepolicy.py18 import os namespace
59 input_file_name = os.path.splitext(args.input_policy_conf)[0]
64 checkpolicy_cmd += [os.path.join(args.android_host_path, 'checkpolicy'),
77 run_host_command([os.path.join(args.android_host_path, 'version_policy'),
85 merge_cmd = [os.path.join(args.android_host_path, 'secilc'),
/system/update_engine/update_manager/
H A Dumtest_utils.cc25 void PrintTo(const EvalStatus& status, ::std::ostream* os) { argument
26 *os << ToString(status);
/system/core/base/
H A Dchrono_utils.cpp36 std::ostream& operator<<(std::ostream& os, const Timer& t) { argument
37 os << t.duration().count() << "ms";
38 return os;
/system/extras/systrace_analysis/
H A Danalyze_trace.py19 import os namespace
30 this_script_path = os.path.dirname(os.path.realpath(__file__))
33 chromium_trace_path = os.path.normpath(this_script_path + '/../../../external/chromium-trace')
34 if not os.path.exists(chromium_trace_path):
38 if not os.path.exists(vinn_path):
/system/iot/attestation/at-factory-tool/
H A Dserialmapperlinux.py16 import os namespace
36 if not os.path.exists(self.USB_DEVICES_PATH):
39 for device_folder_name in os.listdir(self.USB_DEVICES_PATH):
40 device_folder = os.path.join(self.USB_DEVICES_PATH, device_folder_name)
41 if os.path.isdir(device_folder):
47 serial_path = os.path.join(device_folder, 'serial')
48 if os.path.isfile(serial_path):
/system/iot/attestation/partner-tools/
H A Daesgcm.py21 import os namespace
56 iv = os.urandom(12)
/system/update_engine/scripts/
H A Dpaycheck.py12 import os namespace
15 lib_dir = os.path.join(os.path.dirname(__file__), 'lib')
16 if os.path.exists(lib_dir) and os.path.isdir(lib_dir):
160 if os.path.isfile(default_meta_sig):
/system/bt/build/toolchain/clang/
H A Dget_clang_suffix.py1 import os namespace
7 for p in os.environ["PATH"].split(os.pathsep):
8 clang_path = os.path.join(p, cmd)
9 if os.path.exists(clang_path):
/system/bt/test/
H A Drun_host_unit_tests.py18 import os namespace
45 if not os.path.isdir(dir):
61 value = os.environ.get('ANDROID_BUILD_TOP')
64 current_path = os.path.abspath(os.getcwd())
65 while current_path and os.path.isdir(current_path):
66 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH)
67 if os.path.isfile(soong_ui_bash_path):
75 parent_path = os.path.abspath(os
[all...]
/system/ca-certificates/google/
H A Dextract_from_pem.py18 import os namespace
35 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
36 while os.path.exists(file_path):
42 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
66 assert os.path.isdir(args.output_dir) and os.path.isfile(args.pem_file)
71 for existing_file in os.listdir(args.output_dir):
72 os.remove(os.path.join(args.output_dir, existing_file))
/system/connectivity/wifilogd/
H A Dmain_loop.cpp41 MainLoop::MainLoop(const std::string& socket_name, std::unique_ptr<Os> os, argument
43 : os_(std::move(os)), command_processor_(std::move(command_processor)) {
/system/connectivity/wifilogd/tests/
H A Dmain_loop_unittest.cpp126 auto os = std::make_unique<StrictMock<MockOs>>(); local
128 ON_CALL(*os, GetControlSocket(kFakeSocketName))
131 MainLoop(kFakeSocketName, std::move(os), std::move(command_processor)),
/system/core/mkbootimg/
H A Dunpack_bootimg24 import os namespace
29 if not os.path.exists(dir_path):
30 os.makedirs(dir_path)
59 print('os version and patch level: %s' % kernel_ramdisk_second_info[9])
109 os.path.join(args.out, image_info[2]))
/system/extras/verity/fec/tests/
H A Dfec.py16 import os namespace
28 f = os.open(image, os.O_WRONLY)
29 os.lseek(f, offset, os.SEEK_SET)
30 os.write(f, os.urandom(length))
31 os.close(f)
34 size = os.stat(image).st_size

Completed in 8970 milliseconds

12345