Home
last modified time | relevance | path

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

12345678910>>...30

/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DITestService.java5 public interface ITestService extends android.os.IInterface
21 @Override public int UnimplementedMethod(int arg) throws android.os.RemoteException in UnimplementedMethod()
29 @Override public void Deprecated() throws android.os.RemoteException in Deprecated()
32 @Override public void TestOneway() throws android.os.RemoteException in TestOneway()
36 @Override public boolean RepeatBoolean(boolean token) throws android.os.RemoteException in RepeatBoolean()
40 @Override public byte RepeatByte(byte token) throws android.os.RemoteException in RepeatByte()
44 @Override public char RepeatChar(char token) throws android.os.RemoteException in RepeatChar()
48 @Override public int RepeatInt(int token) throws android.os.RemoteException in RepeatInt()
52 @Override public long RepeatLong(long token) throws android.os.RemoteException in RepeatLong()
56 @Override public float RepeatFloat(float token) throws android.os.RemoteException in RepeatFloat()
[all …]
DINewName.java5 public interface INewName extends android.os.IInterface
10 @Override public java.lang.String RealName() throws android.os.RemoteException in RealName()
15 public android.os.IBinder asBinder() { in asBinder()
20 public static abstract class Stub extends android.os.Binder implements android.aidl.tests.INewName
31 public static android.aidl.tests.INewName asInterface(android.os.IBinder obj) in asInterface()
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
46 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
[all …]
DINamedCallback.java5 public interface INamedCallback extends android.os.IInterface
10 @Override public java.lang.String GetName() throws android.os.RemoteException in GetName()
15 public android.os.IBinder asBinder() { in asBinder()
20 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.INamedCa…
31 public static android.aidl.tests.INamedCallback asInterface(android.os.IBinder obj) in asInterface()
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
46 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
[all …]
DIOldName.java5 public interface IOldName extends android.os.IInterface
10 @Override public java.lang.String RealName() throws android.os.RemoteException in RealName()
15 public android.os.IBinder asBinder() { in asBinder()
20 public static abstract class Stub extends android.os.Binder implements android.aidl.tests.IOldName
31 public static android.aidl.tests.IOldName asInterface(android.os.IBinder obj) in asInterface()
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
46 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact()
75 private android.os.IBinder mRemote;
76 Proxy(android.os.IBinder remote) in Proxy()
[all …]
DUnionWithFd.java6 public final class UnionWithFd implements android.os.Parcelable {
20 private UnionWithFd(android.os.Parcel _aidl_parcel) { in UnionWithFd()
50 public static UnionWithFd pfd(android.os.ParcelFileDescriptor _value) { in pfd()
54 public android.os.ParcelFileDescriptor getPfd() { in getPfd()
56 return (android.os.ParcelFileDescriptor) _value; in getPfd()
59 public void setPfd(android.os.ParcelFileDescriptor _value) { in setPfd()
63 …public static final android.os.Parcelable.Creator<UnionWithFd> CREATOR = new android.os.Parcelable…
65 public UnionWithFd createFromParcel(android.os.Parcel _aidl_source) {
75 public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) { in writeToParcel()
93 public void readFromParcel(android.os.Parcel _aidl_parcel) { in readFromParcel()
[all …]
DIDeprecated.java7 public interface IDeprecated extends android.os.IInterface
13 public android.os.IBinder asBinder() { in asBinder()
18 …public static abstract class Stub extends android.os.Binder implements android.aidl.tests.IDepreca…
29 public static android.aidl.tests.IDeprecated asInterface(android.os.IBinder obj) in asInterface()
34 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
40 @Override public android.os.IBinder asBinder() in asBinder()
44 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact()
65 private android.os.IBinder mRemote;
66 Proxy(android.os.IBinder remote) in Proxy()
70 @Override public android.os.IBinder asBinder() in asBinder()
/system/core/fs_mgr/libsnapshot/
Dcow_format.cpp26 std::ostream& operator<<(std::ostream& os, CowOperation const& op) { in operator <<() argument
27 os << "CowOperation(type:"; in operator <<()
29 os << "kCowCopyOp, "; in operator <<()
31 os << "kCowReplaceOp, "; in operator <<()
33 os << "kZeroOp, "; in operator <<()
35 os << "kCowFooterOp, "; in operator <<()
37 os << "kCowLabelOp, "; in operator <<()
39 os << "kCowClusterOp "; in operator <<()
41 os << "kCowFooterOp "; in operator <<()
43 os << (int)op.type << "?,"; in operator <<()
[all …]
/system/bt/gd/cert/
Dbluetooth_packets_python3_setup.py27 import os
31 ANDROID_BUILD_TOP = os.getenv("ANDROID_BUILD_TOP")
32 PYBIND11_INCLUDE_DIR = os.path.join(ANDROID_BUILD_TOP, "external/python/pybind11/include")
33 GD_DIR = os.path.join(ANDROID_BUILD_TOP, "system/bt/gd")
34 BT_PACKETS_GEN_DIR = os.path.join(ANDROID_BUILD_TOP,
36 BT_PACKETS_PY3_GEN_DIR = os.path.join(ANDROID_BUILD_TOP,
40 os.path.join(GD_DIR, "l2cap/fcs.cc"),
41 os.path.join(GD_DIR, "packet/bit_inserter.cc"),
42 os.path.join(GD_DIR, "packet/byte_inserter.cc"),
43 os.path.join(GD_DIR, "packet/byte_observer.cc"),
[all …]
/system/apex/apexer/
Dapexer_test.py21 import os
39 TEST_PRIVATE_KEY = os.path.join("testdata", "com.android.example.apex.pem")
40 TEST_X509_KEY = os.path.join("testdata", "com.android.example.apex.x509.pem")
41 TEST_PK8_KEY = os.path.join("testdata", "com.android.example.apex.pk8")
42 TEST_AVB_PUBLIC_KEY = os.path.join("testdata", "com.android.example.apex.avbpubkey")
75 host_build_top = os.environ.get("ANDROID_BUILD_TOP")
77 host_command_dir = os.path.join(host_build_top, "out/soong/host/linux-x86/bin")
78 args[0] = os.path.join(host_command_dir, args[0])
130 current_dir = os.path.dirname(os.path.realpath(__file__))
165 self._get_host_tools(os.path.join(get_current_dir(), "apexer_test_host_tools.zip"))
[all …]
/system/bt/test/
Drun_host_unit_tests.py18 import os
47 if not os.path.isdir(dir):
62 value = os.environ.get('ANDROID_BUILD_TOP')
65 current_path = os.path.abspath(os.getcwd())
66 while current_path and os.path.isdir(current_path):
67 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH)
68 if os.path.isfile(soong_ui_bash_path):
73 parent_path = os.path.abspath(os.path.join(current_path, os.pardir))
86 value = os.environ.get('ANDROID_HOST_OUT')
89 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',…
[all …]
Dgen_coverage.py21 import os
156 …f.write("<tr class='light-row'><td><pre><a href=\'" + os.path.join(test_name, "index.html") + "\'>…
181 source_file = os.path.join(os.path.join(WORKING_DIR, tests[0]['test_name']), "style.css")
182 dest_file = os.path.join(WORKING_DIR, "style.css")
186 f = open(os.path.join(WORKING_DIR, "index.html"), "w")
194 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name)
195 if not os.path.isfile(test_cmd):
200 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name))
210 if not os.path.isfile(profraw_path):
220 cmd.append(os.path.join(get_android_root_or_die(), LLVM_MERGE + " merge "))
[all …]
/system/iorap/src/inode2filename/
Dinode_result.cc41 std::ostream& operator<<(std::ostream& os, const InodeResult& result) { in operator <<() argument
42 os << "InodeResult{"; in operator <<()
44 os << "OK,"; in operator <<()
46 os << "ERR,"; in operator <<()
49 os << result.inode << ","; in operator <<()
52 os << "\"" << result.data.value() << "\""; in operator <<()
54 os << result.data.error(); in operator <<()
55 os << " (" << *result.ErrorMessage() << ")"; in operator <<()
58 os << "}"; in operator <<()
59 return os; in operator <<()
/system/tools/mkbootimg/tests/
Dmkbootimg_test.py21 import os
47 random.seed(os.path.basename(pathname) if seed is None else seed)
81 self._exec_dir = os.path.abspath(os.path.dirname(sys.argv[0]))
83 self._avbtool_path = os.path.join(self._exec_dir, 'avbtool')
92 boot_img = os.path.join(temp_out_dir, 'boot.img')
93 kernel = generate_test_file(os.path.join(temp_out_dir, 'kernel'),
95 ramdisk = generate_test_file(os.path.join(temp_out_dir, 'ramdisk'),
119 '--out', os.path.join(temp_out_dir, 'out'),
158 os.path.join(temp_out_dir, 'out', 'boot_signature')
176 boot_img = os.path.join(temp_out_dir, 'boot.img')
[all …]
/system/apex/tests/testdata/sharedlibs/build/
Dshared_libs_repack.py31 import os
143 file_path = os.path.join(dir_name, i)
144 if os.path.exists(file_path):
166 if os.path.exists(os.path.join(dir_name, i)):
167 os.remove(os.path.join(dir_name, i))
168 if os.path.isdir(os.path.join(dir_name, 'lost+found')):
169 shutil.rmtree(os.path.join(dir_name, 'lost+found'))
180 os.path.dirname(apexer_cmd) + ':prebuilts/sdk/tools/linux/bin'
194 os.close(fd)
203 if os.path.isfile('prebuilts/jdk/jdk11/linux-x86/bin/java'):
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/
DILoggableInterface.java5 public interface ILoggableInterface extends android.os.IInterface
10 …lue, android.os.IBinder binderValue, android.os.ParcelFileDescriptor pfdValue, android.os.ParcelFi… in LogThis()
15 public android.os.IBinder asBinder() { in asBinder()
20 …public static abstract class Stub extends android.os.Binder implements android.aidl.loggable.ILogg…
31 public static android.aidl.loggable.ILoggableInterface asInterface(android.os.IBinder obj) in asInterface()
36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface()
42 @Override public android.os.IBinder asBinder() in asBinder()
46 …blic boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) thro… in onTransact()
62 …android.os.Trace.traceBegin(android.os.Trace.TRACE_TAG_AIDL, "AIDL::java::ILoggableInterface::LogT… in onTransact()
105 android.os.IBinder _arg18; in onTransact()
[all …]
/system/update_engine/payload_generator/
Dannotated_operation.cc31 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 …]
/system/iorap/include/binder/
Dapp_launch_event.h343 inline std::ostream& operator<<(std::ostream& os, const AppLaunchEvent::Type& type) {
346 os << "kUninitialized";
349 os << "kIntentStarted";
352 os << "kIntentFailed";
355 os << "kActivityLaunched";
358 os << "kActivityLaunchCancelled";
361 os << "kActivityLaunchFinished";
364 os << "kReportFullyDrawn";
367 os << "(unknown)";
369 return os;
[all …]
/system/update_engine/aosp/
Ddynamic_partition_test_utils.h68 inline std::ostream& operator<<(std::ostream& os, const std::map<U, V>& param) {
69 os << "{";
73 os << ", ";
74 os << pair.first << ":" << pair.second;
77 return os << "}";
81 inline void VectorToStream(std::ostream& os, const V& param) { in VectorToStream() argument
82 os << "["; in VectorToStream()
86 os << ", "; in VectorToStream()
87 os << e; in VectorToStream()
90 os << "]"; in VectorToStream()
[all …]
/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py25 import os
26 import os.path
47 if not os.path.isdir(self.binary_cache_dir):
48 os.makedirs(self.binary_cache_dir)
109 for root, _, files in os.walk(symfs_dir):
114 build_id = self._read_build_id(os.path.join(root, filename))
118 self._copy_to_binary_cache(os.path.join(root, filename),
125 target_file = target_file.replace('/', os.sep)
126 target_file = os.path.join(self.binary_cache_dir, target_file)
130 target_dir = os.path.dirname(target_file)
[all …]
/system/iorap/src/prefetcher/
Dsession.cc40 std::ostream& operator<<(std::ostream& os, const Session& session) { in operator <<() argument
41 session.Dump(os, /*multiline*/false); in operator <<()
42 return os; in operator <<()
48 void SessionBase::Dump(std::ostream& os, bool multiline) const { in Dump() argument
50 os << "Session{"; in Dump()
51 os << "session_id=" << SessionId(); in Dump()
52 os << "}"; in Dump()
55 os << "Session (id=" << SessionId() << ")" << std::endl; in Dump()
100 std::ostream& operator<<(std::ostream& os, const SessionDirect::Entry& entry) { in operator <<() argument
101 os << "Entry{"; in operator <<()
[all …]
Dprefetcher_daemon.h34 inline std::ostream& operator<<(std::ostream& os, const PrefetcherForkParameters& p) {
35 os << "PrefetcherForkParameters{";
36 os << "input_fd=" << p.input_fd << ",";
37 os << "output_fd=" << p.output_fd << ",";
38 os << "format_text=" << p.format_text << ",";
39 os << "use_sockets=" << p.use_sockets << ",";
40 os << "}";
41 return os;
54 std::ostream& operator<<(std::ostream& os, ReadAheadKind k);
94 std::ostream& operator<<(std::ostream& os, const Command& command);
/system/apex/apexd/
Dapexd_test_utils.h143 inline void PrintTo(const ApexSessionInfo& session, std::ostream* os) { in PrintTo() argument
144 *os << "apex_session: {\n"; in PrintTo()
145 *os << " sessionId : " << session.sessionId << "\n"; in PrintTo()
146 *os << " isUnknown : " << session.isUnknown << "\n"; in PrintTo()
147 *os << " isVerified : " << session.isVerified << "\n"; in PrintTo()
148 *os << " isStaged : " << session.isStaged << "\n"; in PrintTo()
149 *os << " isActivated : " << session.isActivated << "\n"; in PrintTo()
150 *os << " isActivationFailed : " << session.isActivationFailed << "\n"; in PrintTo()
151 *os << " isSuccess : " << session.isSuccess << "\n"; in PrintTo()
152 *os << " isReverted : " << session.isReverted << "\n"; in PrintTo()
[all …]
/system/timezone/distro/tools/
Dcreate-distro.py22 import os
27 sys.path.append('%s/external/icu/tools' % os.environ.get('ANDROID_BUILD_TOP'))
30 sys.path.append('%s/system/timezone' % os.environ.get('ANDROID_BUILD_TOP'))
35 timezone_dir = os.path.realpath('%s/system/timezone' % android_build_top)
50 original_cwd = os.getcwd()
53 working_dir = os.getcwd()
69 os.chdir(original_cwd)
93 tzdata_file = os.path.abspath(args.tzdata)
94 icu_file = os.path.abspath(args.icu)
95 tzlookup_file = os.path.abspath(args.tzlookup)
[all …]
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h50 inline std::ostream& operator<<(std::ostream& os, const CType& type) {
51 return os << CTypeText(type);
65 inline std::ostream& operator<<(std::ostream& os, const Opcode& opcode) {
66 return os << OpcodeText(opcode);
84 inline std::ostream& operator<<(std::ostream& os, const CommandPdu& pdu) {
85 return os << CommandPduText(pdu);
96 inline std::ostream& operator<<(std::ostream& os, const PacketType& type) {
97 return os << PacketTypeText(type);
109 inline std::ostream& operator<<(std::ostream& os, const Capability& cap) {
110 return os << CapabilityText(cap);
[all …]
/system/bt/tools/scripts/
Ddump_metrics_ascii.py18 import os
31 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']):
32 protoc = os.environ['PROTOC']
43 if not os.path.exists(proto_path):
47 if not os.path.exists(output_dir):
48 os.mkdirs(output_dir)
49 elif not os.path.isdir(output_dir):
52 input_dir = os.path.dirname(proto_path)
53 output_filename = os.path.basename(proto_path).replace('.proto', '_pb2.py')
54 output_path = os.path.join(output_dir, output_filename)
[all …]

12345678910>>...30