Searched refs:to (Results 1 - 25 of 127) sorted by relevance

123456

/system/tools/aidl/
H A Dast_java.cpp10 * Unless required by applicable law or agreed to in writing, software
29 void WriteModifiers(CodeWriter* to, int mod, int mask) { argument
33 to->Write("@Override ");
37 to->Write("public ");
39 to->Write("private ");
41 to->Write("protected ");
45 to->Write("static ");
49 to->Write("final ");
53 to->Write("abstract ");
57 void WriteArgumentList(CodeWriter* to, cons argument
[all...]
H A Dast_cpp.cpp10 * Unless required by applicable law or agreed to in writing, software
44 void ClassDecl::Write(CodeWriter* to) const {
45 to->Write("class %s ", name_.c_str());
48 to->Write(": public %s ", parent_.c_str());
50 to->Write("{\n");
53 to->Write("public:\n");
56 dec->Write(to);
59 to->Write("private:\n");
62 dec->Write(to);
64 to
[all...]
H A Dast_java.h10 * Unless required by applicable law or agreed to in writing, software
55 void WriteModifiers(CodeWriter* to, int mod, int mask);
61 virtual void Write(CodeWriter* to) const = 0;
66 virtual void Write(CodeWriter* to) const = 0;
74 void Write(CodeWriter* to) const override;
83 void Write(CodeWriter* to) const override;
96 void WriteDeclaration(CodeWriter* to) const;
97 void Write(CodeWriter* to) const;
109 void Write(CodeWriter* to) const;
122 void Write(CodeWriter* to) cons
[all...]
H A Dcode_writer.cpp10 * Unless required by applicable law or agreed to in writing, software
90 FILE* to = nullptr; local
93 to = stdout;
96 // open file in binary mode to ensure that the tool produces the
98 to = fopen(output_file.c_str(), "wb");
101 if (to != nullptr) {
102 result.reset(new FileCodeWriter(to, close_on_destruction));
104 cerr << "unable to open " << output_file << " for write" << endl;
H A Dast_cpp.h10 * Unless required by applicable law or agreed to in writing, software
40 virtual void Write(CodeWriter* to) const = 0;
62 void Write(CodeWriter* to) const override;
83 void Write(CodeWriter* to) const override;
110 void Write(CodeWriter* to) const override;
134 void Write(CodeWriter* to) const override;
149 void Write(CodeWriter* to) const override;
177 void Write(CodeWriter* to) const override;
202 void Write(CodeWriter* to) const override;
217 void Write(CodeWriter* to) cons
[all...]
/system/libhwbinder/include/hwbinder/
H A DTextOutput.h10 * Unless required by applicable law or agreed to in writing, software
42 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } argument
54 // Text output stream for printing to the log (via utils/Log.h).
57 // Text output stream for printing to stdout.
60 // Text output stream for printing to stderr.
65 TextOutput& endl(TextOutput& to);
66 TextOutput& indent(TextOutput& to);
67 TextOutput& dedent(TextOutput& to);
70 operator <<(TextOutput& to, const T& val) argument
123 operator <<(TextOutput& to, decltype(std::endl<char, std::char_traits<char>>) ) argument
131 operator <<(TextOutput& to, const char &c) argument
137 operator <<(TextOutput& to, const bool &val) argument
144 operator <<(TextOutput& to, const String16& val) argument
153 endl(TextOutput& to) argument
159 indent(TextOutput& to) argument
165 dedent(TextOutput& to) argument
171 operator <<(TextOutput& to, TextOutputManipFunc func) argument
[all...]
/system/sepolicy/
H A Ddefinitions.mk1 # Command to turn collection of policy files into a policy.conf file to be
3 define transform-policy-to-conf
16 .KATI_READONLY := transform-policy-to-conf
/system/core/toolbox/upstream-netbsd/lib/libc/string/
H A Dswab.c7 * This code is derived from software contributed to Berkeley by
19 * may be used to endorse or promote products derived from this software
48 swab(const void * __restrict from, void * __restrict to, ssize_t len) argument
58 _DIAGASSERT(to != NULL);
62 tp = (char *)to;
70 /* round to multiple of 8 */
/system/extras/tests/bootloader/
H A DAndroid.mk4 # Since no action needs to be taken to compile the python source, just
5 # use BUILD_PHONY_PACKAGE to give us a target to execute.
/system/libhwbinder/
H A DTextOutput.cpp10 * Unless required by applicable law or agreed to in writing, software
46 TextOutput& operator<<(TextOutput& to, const TypeCode& val) argument
48 printTypeCode(val.typeCode(), textOutputPrinter, (void*)&to);
49 return to;
65 TextOutput& operator<<(TextOutput& to, const HexDump& val) argument
69 textOutputPrinter, (void*)&to);
70 return to;
/system/chre/util/include/chre/util/
H A Dtoolchain.h10 * Unless required by applicable law or agreed to in writing, software
27 // Promoting float to double is a necessary part of vararg-based logging, so
42 #error Need to add support for new compiler
/system/core/adb/
H A Dtrace.sh11 echo "press enter to finish..."
14 echo Saving trace to ${TRACE_TEMP}, html file to ${TRACE_TEMP}.html
/system/update_engine/common/
H A Daction_pipe.h10 // Unless required by applicable law or agreed to in writing, software
32 // a big thanks to that team for their high quality design, implementation,
43 // pointing to an ActionPipe dies, the ActionPipe dies, too.
47 // Used by Actions an InputObjectType or OutputObjectType to specify that
60 // Returns a reference to the stored object.
71 static void Bond(FromAction* from, ToAction* to) { argument
75 to->set_in_pipe(pipe); // If you get an error on this line, then
91 void BondActions(FromAction* from, ToAction* to) { argument
96 ActionPipe<typename FromAction::OutputObjectType>::Bond(from, to);
/system/vold/
H A DMoveStorage.h10 * Unless required by applicable law or agreed to in writing, software
26 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to,
H A DMoveStorage.cpp10 * Unless required by applicable law or agreed to in writing, software
131 LOG(ERROR) << "Data size " << expectedBytes << " is too large to fit in free space "
189 const std::shared_ptr<VolumeBase>& to,
196 if (to->getType() != VolumeBase::Type::kEmulated) goto fail;
199 // visible to userspace apps
203 bringOffline(to);
207 toPath = to->getInternalPath();
219 // NOTE: MountService watches for this magic value to know
225 bringOnline(to);
237 // if we failed to cop
188 moveStorageInternal(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, const android::sp<android::os::IVoldTaskListener>& listener) argument
251 MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, const android::sp<android::os::IVoldTaskListener>& listener) argument
[all...]
/system/extras/simpleperf/doc/
H A Dinferno.md8 originally written to profile and improve surfaceflinger performance
16 the number of samples and the height is related to the number of functions on
24 `android::SurfaceFlinger::onMessageReceived`. The most expensive task is to ask
25 the screen to be refreshed as `android::DisplayDevice::prepare` shows in orange
26 . This graphic division helps to see what part of the program is costly and
27 where a developer's effort to improve performances should go.
32 it can also be used to find specific offenders. To find them, look for
33 plateaus. It is easier to see an example:
38 plateaus (due to `android::BufferQueueCore::validateConsistencyLocked`)
42 Inferno relies on simpleperf to recor
[all...]
/system/bt/doc/
H A Dpower_management.md7 by the BTM HCI interfacing code, with results being posted back to the PM
13 The events fired to drive the state machine at the time of this writing are:
24 Each of these correspond to a function name in `bta/sys/bta_sys_conn.cc`, which
27 The PM code makes calls into the BTM module to set various power
32 controller, timers are used to post messages to the BTA workqueue thread as
37 currently known connections to a given device. Thus, if RFCOMM specifies that
38 it's willing to go to into SNIFF and specifies that as an action, and say, a PAN
39 connection is up which specifies it is willing to g
[all...]
/system/chre/build/nanoapp/
H A Dapp.mk4 # Include this file in your nanoapp Makefile to produce binary nanoapps to
11 $(error "The NANOAPP_NAME variable must be set to the name of the nanoapp. \
16 $(error "The NANOAPP_ID variable must be set to the ID of the nanoapp. \
21 $(error "The NANOAPP_VERSION variable must be set to the version of the nanoapp. \
26 $(error "The NANOAPP_NAME_STRING variable must be set to the friendly name of \
32 $(info "NANOAPP_VENDOR_STRING not supplied, defaulting to \"Google\".")
37 $(info "NANOAPP_IS_SYSTEM_NANOAPP not supplied, defaulting to 0.")
52 # This variable indicates to the variants that some post-processing may be
62 # Add the CHRE API to th
[all...]
/system/core/libnativeloader/include/nativeloader/
H A Ddlext_namespaces.h10 * Unless required by applicable law or agreed to in writing, software
26 * to be shared by default namespace separated by colon. Example: "libc.so:libm.so:libdl.so".
42 /* An isolated namespace requires all the libraries to be on the search path
50 * will use the same copy of a library if it was loaded prior to android_create_namespace call.
59 /* This flag instructs linker to enable grey-list workaround for the namespace.
79 * the libraries to be on the search path or under the permitted_when_isolated_path;
82 * does not affect the search order. It is a way to allow loading libraries from specific
97 * namespace 'from' but loaded within namespace 'to' context.
98 * When to namespace is nullptr this function establishes a link between
111 android_namespace_t* to,
[all...]
/system/bt/osi/src/socket_utils/
H A DREADME10 * Unless required by applicable law or agreed to in writing, software
18 implement some of the sources in libcutils / sockets to provide a short -
26 and"osi_" prefix is added to all functions
27 .The developers who want to pull sockets sources other than the
/system/chre/build/
H A Dcommon.mk8 $(warning The OPT_LEVEL variable is unset. Defaulting to 0.)
13 $(error "The OUTPUT_NAME variable must be set to the name of the desired \
19 # All is defined here as the first target which causes make to build all by
24 # If no make command goals are specified, default to all. At least one target
37 # The host toolchain is used to compile any programs for the compilation host
38 # in order to complete the build.
/system/bt/conf/
H A DAndroid.mk1 # Cannot convert to Android.bp as resource copying has not
/system/bt/types/
H A Draw_address.cc11 * Unless required by applicable law or agreed to in writing, software
42 bool RawAddress::FromString(const std::string& from, RawAddress& to) { argument
61 to = new_addr;
/system/chre/apps/chqts/src/shared/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
15 # While it's arguably overkill to have unit test for our testing code,
17 # difficult to test. To the extent that we have platform-independent
18 # code here, it seems a long-term time saver to have Linux tests for
/system/tools/hidl/docs/src/writer/elements/
H A DTypedefElement.kt10 * Unless required by applicable law or agreed to in writing, software
37 <pre class="prettyprint devsite-disable-click-to-copy">${declaration()}</pre>

Completed in 829 milliseconds

123456