Home
last modified time | relevance | path

Searched refs:endl (Results 1 – 25 of 121) sorted by relevance

12345

/system/tools/aidl/
Doptions.cpp33 using std::endl;
41 sstr << "usage:" << endl in GetUsage()
42 << myname_ << " --lang={java|cpp} [OPTION]... INPUT..." << endl in GetUsage()
43 << " Generate Java or C++ files for AIDL file(s)." << endl in GetUsage()
44 << endl in GetUsage()
45 << myname_ << " --preprocess OUTPUT INPUT..." << endl in GetUsage()
46 << " Create an AIDL file having declarations of AIDL file(s)." << endl in GetUsage()
47 << endl in GetUsage()
49 << myname_ << " --dumpapi --out=DIR INPUT..." << endl in GetUsage()
50 << " Dump API signature of AIDL file(s) to DIR." << endl in GetUsage()
[all …]
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp34 using std::endl;
44 << endl; in ConfirmSimpleParcelables()
50 cout << "Binder call failed." << endl; in ConfirmSimpleParcelables()
54 cout << "Failed to repeat SimpleParcelable objects." << endl; in ConfirmSimpleParcelables()
58 cout << "Attempting to reverse an array of SimpleParcelable objects." << endl; in ConfirmSimpleParcelables()
66 cout << "Binder call failed." << endl; in ConfirmSimpleParcelables()
71 cout << "Failed to reverse an array of SimpleParcelable objects." << endl; in ConfirmSimpleParcelables()
80 << endl; in ConfirmPersistableBundles()
85 cout << "Binder call failed for empty PersistableBundle." << endl; in ConfirmPersistableBundles()
89 cout << "Failed to repeat empty PersistableBundle." << endl; in ConfirmPersistableBundles()
[all …]
Daidl_test_client_nullables.cpp42 using std::endl;
96 cout << "... Confirming nullables for " << type_name << " ..." << endl; in ConfirmNullableType()
103 cerr << "Could not repeat nullable " << type_name << "." << endl; in ConfirmNullableType()
108 cerr << "Got back null when repeating " << type_name << "." << endl; in ConfirmNullableType()
114 << "." << endl; in ConfirmNullableType()
122 cerr << "Could not repeat null as " << type_name << "." << endl; in ConfirmNullableType()
128 << endl; in ConfirmNullableType()
149 << __LINE__ << endl; in CheckAppropriateIBinderHandling()
155 << __LINE__ << endl; in CheckAppropriateIBinderHandling()
162 << __LINE__ << endl; in CheckAppropriateIBinderHandling()
[all …]
Daidl_test_client_file_descriptors.cpp45 using std::endl;
67 << strerror(errno) << endl; in DoWrite()
69 cerr << "File descriptor '" << name << "'accepted short data." << endl; in DoWrite()
84 cerr << "Error reading from '" << name << "': " << strerror(errno) << endl; in DoRead()
89 cerr << "Expected '" << expected << "' got '" << buf << "'" << endl; in DoRead()
101 cout << "Error creating pipes: " << strerror(errno) << endl; in DoPipe()
112 cout << "Confirming passing and returning file descriptors works." << endl; in ConfirmFileDescriptors()
125 cerr << "Could not repeat file descriptors." << endl; in ConfirmFileDescriptors()
143 cout << "Confirming passing and returning file descriptor arrays works." << endl; in ConfirmFileDescriptorArrays()
158 cerr << "Could not reverse file descriptor array." << endl; in ConfirmFileDescriptorArrays()
[all …]
Daidl_test_sentinel_searcher.cpp28 using std::endl;
39 cerr << "Unable to open input file: " << input_file_path << endl; in ReadLines()
64 cerr << "Invalid usage." << endl; in main()
69 << " <failure sentinel>" << endl; in main()
79 cerr << "Invalid timeout value (in seconds): " << timeout_as_str << endl; in main()
89 cerr << "Timed out waiting for success/failure sentinel." << endl; in main()
106 cout << "Found output:" << endl; in main()
108 cout << " " << line << endl; in main()
/system/core/fs_mgr/tools/
Ddmctl.cpp53 std::cerr << "usage: dmctl <command> [command options]" << std::endl; in Usage()
54 std::cerr << " dmctl -f file" << std::endl; in Usage()
55 std::cerr << "commands:" << std::endl; in Usage()
56 std::cerr << " create <dm-name> [-ro] <targets...>" << std::endl; in Usage()
57 std::cerr << " delete <dm-name>" << std::endl; in Usage()
58 std::cerr << " list <devices | targets> [-v]" << std::endl; in Usage()
59 std::cerr << " getpath <dm-name>" << std::endl; in Usage()
60 std::cerr << " table <dm-name>" << std::endl; in Usage()
61 std::cerr << " help" << std::endl; in Usage()
62 std::cerr << std::endl; in Usage()
[all …]
/system/libvintf/
Dcheck_vintf.cpp53 << std::endl; in fetch()
60 << std::endl; in listFiles()
77 << "'" << std::endl; in getProperty()
80 std::cerr << "Debug: Sysprop " << key << "=" << it->second << std::endl; in getProperty()
114 << std::endl; in readObject()
119 std::cerr << "Error: Cannot parse '" << path << "': " << error << std::endl; in readObject()
135 std::cerr << "Error: Incompatible: " << error << std::endl; in checkCompatibilityForFiles()
136 std::cout << "false" << std::endl; in checkCompatibilityForFiles()
140 std::cout << "true" << std::endl; in checkCompatibilityForFiles()
172 std::cerr << "unrecognized option `" << argv[optind] << "'" << std::endl; in parseArgs()
[all …]
DAssembleVintf.cpp97 << std::endl; in getFlag()
103 std::cerr << "Cannot parse " << envValue << "." << std::endl; in getFlag()
123 std::cerr << "Cannot parse " << envValue << "." << std::endl; in getFlagIfUnset()
133 << envKey << " (which is " << envValue << ")." << std::endl; in getFlagIfUnset()
140 << std::endl; in getFlagIfUnset()
157 std::cerr << "Error: " << key << " must be a number." << std::endl; in getIntegerFlag()
199 << std::endl; in generateCondition()
250 std::cerr << "No " << gBaseConfig << " is found in these paths:" << std::endl; in parseFilesForKernelConfigs()
252 std::cerr << " " << namedStream.name() << std::endl; in parseFilesForKernelConfigs()
268 std::cerr << "Not compatible: " << error << std::endl; in checkDualFile()
[all …]
Dmain.cpp125 std::cerr << "unrecognized option `" << argv[optind - 1] << "'" << std::endl; in parseOptions()
134 std::cerr << "unrecognized option `" << argv[optind] << "'" << std::endl; in parseOptions()
141 std::cerr << me << ": dump VINTF metadata via libvintf." << std::endl; in usage()
150 << std::endl; in usage()
254 std::cout << "======== HALs =========" << std::endl in main()
256 << "!: required and not in manifest." << std::endl in main()
257 << "DM: device manifest. FM: framework manifest." << std::endl in main()
259 << std::endl in main()
260 << std::endl; in main()
264 std::cout << pair.second << kColumnSeperator << pair.first << std::endl; in main()
[all …]
/system/bt/packet/avrcp/
Dplay_item.cc71 ss << "PlayItemRequest: " << std::endl; in ToString()
72 ss << " └ cType = " << GetCType() << std::endl; in ToString()
73 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
74 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
75 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
76 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
77 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
78 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
79 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
80 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
[all …]
Dset_absolute_volume.cc60 ss << "SetAbsoluteVolumeResponse: " << std::endl; in ToString()
61 ss << " └ cType = " << GetCType() << std::endl; in ToString()
62 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
63 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
64 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
65 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
66 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
67 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
68 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
69 ss << " └ Volume = " << GetVolume() << std::endl; in ToString()
[all …]
Dset_addressed_player.cc61 ss << "SetAddressedPlayerRequest: " << std::endl; in ToString()
62 ss << " └ cType = " << GetCType() << std::endl; in ToString()
63 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
64 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
65 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
66 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
67 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
68 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
69 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
70 ss << " └ Player ID = " << loghex(GetPlayerId()) << std::endl; in ToString()
[all …]
Dregister_notification_packet.cc58 ss << "RegisterNotificationResponse: " << std::endl; in ToString()
59 ss << " └ cType = " << GetCType() << std::endl; in ToString()
60 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
61 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
62 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
63 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
64 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
65 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
66 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
67 ss << " └ Event Registered = " << GetEvent() << std::endl; in ToString()
[all …]
Dget_element_attributes_packet.cc63 ss << "RegisterNotificationPacket: " << std::endl; in ToString()
64 ss << " └ cType = " << GetCType() << std::endl; in ToString()
65 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
66 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
67 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
68 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
69 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
70 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
71 ss << " └ Parameter Length = " << GetParameterLength() << std::endl; in ToString()
72 ss << " └ Identifier = " << loghex(GetIdentifier()) << std::endl; in ToString()
[all …]
Dpass_through_packet.cc62 ss << "Avrcp::AvrcpPacket: " << std::endl; in ToString()
63 ss << " └ cType = " << GetCType() << std::endl; in ToString()
64 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
65 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
66 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
67 ss << " └ Pushed = " << GetKeyState() << std::endl; in ToString()
68 ss << " └ Opperation ID = " << loghex(GetOperationId()) << std::endl; in ToString()
/system/iorap/src/inode2filename/
Dmain.cc24 …sage: " << argv[0] << " <options> <<inode_syntax>> [inode_syntax1 inode_syntax2 ...]" << std::endl; in Usage()
25 std::cerr << "" << std::endl; in Usage()
26 …l all inodes have been read in, then begin searching for filenames for those inodes." << std::endl; in Usage()
27 …sults are written immediately as they are available, and once all inodes are found, " << std::endl; in Usage()
28 std::cerr << " the program will terminate." << std::endl; in Usage()
29 std::cerr << "" << std::endl; in Usage()
30 std::cerr << " Inode syntax: ('dev_t@inode' | 'major:minor:inode')" << std::endl; in Usage()
31 std::cerr << " --help,-h Print this Usage." << std::endl; in Usage()
32 std::cerr << " --root,-r Add root directory (default '.'). Repeatable." << std::endl; in Usage()
33 std::cerr << " --verbose,-v Set verbosity (default off)." << std::endl; in Usage()
[all …]
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp97 << " errno: " << errno << endl; in server()
119 cout << serviceName << " not published, waiting..." << endl; in BM_addInts()
124 cout << serviceName << " failed to publish, aborting" << endl; in BM_addInts()
148 << " errno: " << errno << endl; in BM_addInts()
155 cerr << "Unexpected result for iteration " << iter << endl; in BM_addInts()
156 cerr << " result: " << result << endl; in BM_addInts()
157 cerr << "expected: " << expected << endl; in BM_addInts()
184 << cpu_ << endl; in onTransact()
198 cerr << "server onTransact unknown code, code: " << code << endl; in onTransact()
215 cerr << "bindCPU failed, rv: " << rv << " errno: " << errno << endl; in bindCPU()
[all …]
/system/iorap/src/perfetto/
Dmain.cc42 …v[0] << " [--config-proto=config.pb] [--duration-ms=5000] [--output-proto=output.pb]" << std::endl; in Usage()
43 std::cerr << "" << std::endl; in Usage()
44 …" Request a perfetto trace, blocking until it's complete. The resulting trace proto" << std::endl; in Usage()
45 std::cerr << " is output to stdout as text, or to --output-proto as a binary." << std::endl; in Usage()
46 std::cerr << "" << std::endl; in Usage()
47 std::cerr << " Optional flags:" << std::endl; in Usage()
48 std::cerr << " --help,-h Print this Usage." << std::endl; in Usage()
49 …< " --output-proto $,-op $ Perfetto tracebuffer output file (default stdout)." << std::endl; in Usage()
50 std::cerr << " --config-proto $,-cp $ Path to binary protobuf config." << std::endl; in Usage()
51 …::cerr << " --duration-ms $,-dm $ How long to run trace for in milliseconds." << std::endl; in Usage()
[all …]
/system/libhidl/adapter/
DHidlBinderAdapter.cpp42 << std::endl; in usage()
44 << std::endl; in usage()
46 << ".<fq-name>.<instance-name>" << std::endl; in usage()
49 << std::endl; in usage()
93 << argc << " provided." << std::endl; in processArguments()
103 << " must be a positive integer." << std::endl; in processArguments()
144 std::cerr << "ERROR: could not resolve " << interfaceName << "." << std::endl; in adapterMain()
149 << args.registerInstanceName << std::endl; in adapterMain()
155 std::cerr << "ERROR: could not retrieve service manager." << std::endl; in adapterMain()
161 std::cerr << "ERROR: could not retrieve desired implementation" << std::endl; in adapterMain()
[all …]
/system/gsid/
Dgsi_tool.cpp137 std::cout << std::endl; in UpdateProgress()
158 std::cout << std::endl; in FinishLastBar()
223 std::cerr << "must be root to install a GSI" << std::endl; in Install()
232 std::cerr << "Could not parse image size: " << optarg << std::endl; in Install()
239 std::cerr << "Could not parse image size: " << optarg << std::endl; in Install()
256 std::cerr << "Must specify --gsi-size." << std::endl; in Install()
263 std::cerr << "Cannot install a GSI within a live GSI." << std::endl; in Install()
264 std::cerr << "Use gsi_tool disable or wipe and reboot first." << std::endl; in Install()
270 std::cerr << "Error duplicating descriptor: " << strerror(errno) << std::endl; in Install()
305 std::cerr << "Failed to reboot automatically" << std::endl; in Install()
[all …]
/system/core/property_service/property_info_checker/
Dproperty_info_checker.cpp50 std::cerr << "Could not open policy file, " << policy_file << std::endl; in Initialize()
56 std::cerr << "Could not create policy handle." << std::endl; in Initialize()
61 std::cerr << "Could not create policy file." << std::endl; in Initialize()
66 std::cerr << "Could not create policy db." << std::endl; in Initialize()
74 std::cerr << "Could not read policy file into policy db." << std::endl; in Initialize()
81 std::cerr << "'property_type' is not defined correctly." << std::endl; in Initialize()
93 std::cerr << "Could not allocate context for " << context << std::endl; in CheckContext()
100 std::cerr << "Sepol context check failed for " << context << std::endl; in CheckContext()
109 std::cerr << "Could not find context '" << context << "' in policy database" << std::endl; in CheckContext()
115 << std::endl; in CheckContext()
[all …]
/system/core/libmeminfo/tools/
Dprocrank.cpp53 std::cerr << "Failed to create ProcMemInfo for: " << pid << std::endl; in ProcessRecord()
61 std::cerr << "Failed to open oom_score_adj file: " << fname << std::endl; in ProcessRecord()
66 std::cerr << "Failed to read oomadj from: " << fname << std::endl; in ProcessRecord()
72 std::cerr << "Failed to read cmdline from: " << fname << std::endl; in ProcessRecord()
145 << std::endl in usage()
146 << " -v Sort by VSS." << std::endl in usage()
147 << " -r Sort by RSS." << std::endl in usage()
148 << " -p Sort by PSS." << std::endl in usage()
149 << " -u Sort by USS." << std::endl in usage()
150 << " -s Sort by swap." << std::endl in usage()
[all …]
/system/core/toolbox/
Dgetprop.cpp69 std::cout << "[" << name << "]: [" << value << "]" << std::endl; in PrintAllProperties()
76 std::cout << GetProperty(name, default_value) << std::endl; in PrintProperty()
81 std::cout << context << std::endl; in PrintProperty()
87 std::cout << type << std::endl; in PrintProperty()
116 << std::endl; in getprop_main()
120 std::cerr << "Only one of -T or -Z may be specified" << std::endl; in getprop_main()
127 std::cerr << "Only one of -T or -Z may be specified" << std::endl; in getprop_main()
135 std::cerr << "getprop: getopt returned invalid result: " << arg << std::endl; in getprop_main()
143 std::cerr << "Unable to load property info file" << std::endl; in getprop_main()
154 std::cerr << "getprop: Max 2 arguments (see \"getprop --help\")" << std::endl; in getprop_main()
/system/tools/hidl/
DCompoundType.cpp298 }).endl(); in emitSafeUnionReaderWriterForInterfaces()
310 .endl(); in emitSafeUnionReaderWriterForInterfaces()
311 }).endl(); in emitSafeUnionReaderWriterForInterfaces()
312 }).endl(); in emitSafeUnionReaderWriterForInterfaces()
364 }).endl(); in emitReaderWriter()
657 }).endl().endl(); in emitSafeUnionTypeDeclarations()
821 out.endl(); in emitPackageTypeDeclarations()
859 }).endl(); in emitPackageTypeHeaderDefinitions()
876 .endl(); in emitPackageTypeHeaderDefinitions()
882 }).endl().endl(); in emitPackageTypeHeaderDefinitions()
[all …]
/system/extras/multinetwork/
Dhttpurl.cpp50 std::cerr << "Only " << HTTP_PREFIX << " URLs supported." << std::endl; in parseUrl()
62 std::cerr << "Host portion cannot be empty." << std::endl; in parseUrl()
69 std::cerr << "Missing closing bracket." << std::endl; in parseUrl()
77 std::cerr << "Malformed port portion." << std::endl; in parseUrl()
96 << std::endl; in parseUrl()
119 std::cerr << "Unknown api mode." << std::endl; in parseUrl()
126 << std::endl; in parseUrl()
133 << std::endl; in parseUrl()
143 std::cerr << "failed to create TCP socket" << std::endl; in makeTcpSocket()
158 << std::endl; in makeTcpSocket()
[all …]

12345