/system/update_engine/payload_generator/ |
D | annotated_operation.cc | 31 void OutputExtents(std::ostream* os, in OutputExtents() argument 34 *os << " (" << extent.start_block() << ", " << extent.num_blocks() << ")"; in OutputExtents() 53 std::ostream& operator<<(std::ostream& os, const AnnotatedOperation& aop) { in operator <<() argument 58 os << InstallOperationTypeName(aop.op.type()) << " " << aop.op.data_length(); in operator <<() 60 os << " @" << aop.op.data_offset(); in operator <<() 62 os << std::endl << " name: " << aop.name; in operator <<() 65 os << std::endl << " src:"; in operator <<() 66 OutputExtents(&os, aop.op.src_extents()); in operator <<() 69 os << std::endl << " dst:"; in operator <<() 70 OutputExtents(&os, aop.op.dst_extents()); in operator <<() [all …]
|
D | annotated_operation.h | 45 std::ostream& operator<<(std::ostream& os, const AnnotatedOperation& aop);
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 18 import os 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/extras/verity/fec/tests/ |
D | fec.py | 16 import os 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
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 19 import os 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/core/adb/ |
D | test_device.py | 22 import os 80 self.android_serial = os.getenv('ANDROID_SERIAL') 81 if 'ANDROID_SERIAL' in os.environ: 82 del os.environ['ANDROID_SERIAL'] 86 os.environ['ANDROID_SERIAL'] = self.android_serial 88 if 'ANDROID_SERIAL' in os.environ: 89 del os.environ['ANDROID_SERIAL'] 100 os.environ['ANDROID_SERIAL'] = 'foo' 107 os.environ['ANDROID_SERIAL'] = 'bar' 116 os.environ['ANDROID_SERIAL'] = 'baz' [all …]
|
D | test_adb.py | 25 import os 149 linger_format = 'hh' if os.name == 'nt' else 'ii'
|
/system/update_engine/ |
D | binder_service_android.h | 36 class BinderUpdateEngineAndroidService : public android::os::BnUpdateEngine, 65 const android::sp<android::os::IUpdateEngineCallback>& callback, 75 void UnbindCallback(android::os::IUpdateEngineCallback* callback); 78 std::vector<android::sp<android::os::IUpdateEngineCallback>> callbacks_;
|
D | update_engine_client_android.cc | 59 class UECallback : public android::os::BnUpdateEngineCallback { 80 android::sp<android::os::IUpdateEngine> service_; 81 android::sp<android::os::BnUpdateEngineCallback> callback_; 216 android::os::IUpdateEngine::asBinder(service_), in OnInit()
|
/system/extras/tests/net_test/ |
D | net_test.py | 18 import os 86 version = os.uname()[2].split("-")[0] 110 fcntl.fcntl(fd, fcntl.F_SETFL, flags | os.O_NONBLOCK) 326 self.saved_uid = os.geteuid() 327 self.saved_groups = os.getgroups() 329 os.setgroups(self.saved_groups + [AID_INET]) 330 os.seteuid(self.uid) 334 os.seteuid(self.saved_uid) 335 os.setgroups(self.saved_groups) 341 msg = os.strerror(err_num)
|
D | anycast_test.py | 17 import os 89 addr = addr[:8] + os.urandom(8)
|
D | csocket.py | 19 import os 51 raise socket.error(errno, os.strerror(errno))
|
/system/update_engine/update_manager/ |
D | umtest_utils.cc | 25 void PrintTo(const EvalStatus& status, ::std::ostream* os) { in PrintTo() argument 26 *os << ToString(status); in PrintTo()
|
/system/update_engine/binder_bindings/android/os/ |
D | IUpdateEngine.aidl | 17 package android.os; 19 import android.os.IUpdateEngineCallback;
|
D | IUpdateEngineCallback.aidl | 17 package android.os;
|
/system/core/metricsd/uploader/proto/ |
D | README | 28 A: The standalone metrics uploader needs chromium os fields that are not defined 29 by the chromium protobufs. Instead of pushing chromium os specific changes to 30 chromium, we can add them only to chromium os (and to the backend of course). 37 * performance profiling protobuffers (not used in chromium os).
|
/system/sepolicy/tools/ |
D | insertkeys.py | 9 import os 32 if not os.path.isfile(path): 137 tag_path = os.path.expandvars(self.get(tag, option)) 138 path = os.path.join(key_directory, tag_path) 232 parser.add_option("-c", "--cwd", default=os.getcwd(), dest="root", 253 os.chdir(options.root)
|
D | post_process_mac_perms | 25 import os 62 for dirpath, _, files in os.walk(args.dir): 63 transform = lambda x: os.path.join(dirpath, x)
|
/system/keymaster/ |
D | android_keymaster_test_utils.cpp | 37 std::ostream& operator<<(std::ostream& os, const keymaster_key_param_t& param) { in operator <<() argument 38 os << "Tag: " << keymaster::StringifyTag(param.tag); in operator <<() 41 os << " Invalid"; in operator <<() 44 os << " (Rep)"; in operator <<() 47 os << " Int: " << param.integer; in operator <<() 50 os << " (Rep)"; in operator <<() 53 os << " Enum: " << param.enumerated; in operator <<() 56 os << " (Rep)"; in operator <<() 59 os << " Long: " << param.long_integer; in operator <<() 62 os << " Date: " << param.date_time; in operator <<() [all …]
|
/system/update_engine/common/ |
D | error_code.h | 130 inline std::ostream& operator<<(std::ostream& os, ErrorCode val) { 131 return os << static_cast<int>(val);
|
D | test_utils.cc | 53 void PrintTo(const Extent& extent, ::std::ostream* os) { in PrintTo() argument 54 *os << "(" << extent.start_block() << ", " << extent.num_blocks() << ")"; in PrintTo() 57 void PrintTo(const ErrorCode& error_code, ::std::ostream* os) { in PrintTo() argument 58 *os << utils::ErrorCodeToString(error_code); in PrintTo()
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | SimpleParcelable.java | 19 import android.os.Parcel; 20 import android.os.Parcelable;
|
/system/core/init/ |
D | perfboot.py | 47 import os 54 sys.path.append(os.path.dirname(os.path.dirname(__file__))) 407 parser.add_argument('-s', '--serial', default=os.getenv('ANDROID_SERIAL'), 422 for apk in glob.glob(os.path.join(apk_dir, '*.apk')):
|
/system/tools/aidl/tests/ |
D | test_data_ping_responder.cpp | 85 IMPLEMENT_META_INTERFACE(PingResponder, "android.os.IPingResponder");
|
/system/connectivity/shill/binder/android/system/connectivity/shill/ |
D | IManager.aidl | 19 import android.os.PersistableBundle;
|