/system/netd/libnetdutils/ |
H A D | Netfilter.cpp | 25 std::ostream& operator<<(std::ostream& os, const nfgenmsg& msg) { argument 26 return os << std::hex << "nfgenmsg["
|
H A D | Fd.cpp | 22 std::ostream& operator<<(std::ostream& os, const Fd& fd) { argument 23 return os << "Fd[" << fd.get() << "]";
|
H A D | UniqueFd.cpp | 33 std::ostream& operator<<(std::ostream& os, const UniqueFd& fd) { argument 34 return os << "UniqueFd[" << static_cast<Fd>(fd) << "]";
|
H A D | Slice.cpp | 54 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 D | tzdatautil.py | 15 import os namespace 22 for filename in os.listdir(dir_name):
|
/system/bt/binder/android/os/ |
H A D | parcel_uuid.h | 24 namespace os { namespace in namespace:android 48 } // namespace os
|
H A D | parcel_file_descriptor.h | 23 namespace os { namespace in namespace:android 51 } // namespace os
|
H A D | parcel_file_descriptor.cc | 17 #include "android/os/parcel_file_descriptor.h" 25 namespace os { namespace in namespace:android 42 } // namespace os
|
H A D | parcel_uuid.cc | 17 #include "android/os/parcel_uuid.h" 25 namespace os { namespace in namespace:android 80 } // namespace os
|
/system/extras/tests/bootloader/ |
H A D | shelltest.py | 16 import os namespace 22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
|
/system/sepolicy/build/ |
H A D | file_utils.py | 18 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 D | build_sepolicy.py | 18 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 D | umtest_utils.cc | 25 void PrintTo(const EvalStatus& status, ::std::ostream* os) { argument 26 *os << ToString(status);
|
/system/core/base/ |
H A D | chrono_utils.cpp | 36 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 D | analyze_trace.py | 19 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 D | serialmapperlinux.py | 16 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 D | aesgcm.py | 21 import os namespace 56 iv = os.urandom(12)
|
/system/update_engine/scripts/ |
H A D | paycheck.py | 12 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 D | get_clang_suffix.py | 1 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 D | run_host_unit_tests.py | 18 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 D | extract_from_pem.py | 18 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 D | main_loop.cpp | 41 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 D | main_loop_unittest.cpp | 126 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 D | unpack_bootimg | 24 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 D | fec.py | 16 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
|