Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 1521) sorted by relevance

12345678910>>...61

/frameworks/base/tools/aidl/
DAST.cpp5 WriteModifiers(FILE* to, int mod, int mask) in WriteModifiers() argument
10 fprintf(to, "@Override "); in WriteModifiers()
14 fprintf(to, "public "); in WriteModifiers()
17 fprintf(to, "private "); in WriteModifiers()
20 fprintf(to, "protected "); in WriteModifiers()
24 fprintf(to, "static "); in WriteModifiers()
28 fprintf(to, "final "); in WriteModifiers()
32 fprintf(to, "abstract "); in WriteModifiers()
37 WriteArgumentList(FILE* to, const vector<Expression*>& arguments) in WriteArgumentList() argument
41 arguments[i]->Write(to); in WriteArgumentList()
[all …]
DAST.h31 void WriteModifiers(FILE* to, int mod, int mask);
39 virtual void Write(FILE* to) = 0;
45 virtual void Write(FILE* to) = 0;
54 virtual void Write(FILE* to);
64 virtual void Write(FILE* to);
79 void WriteDeclaration(FILE* to);
80 void Write(FILE* to);
93 void Write(FILE* to);
108 virtual void Write(FILE* to);
114 virtual void Write(FILE* to) = 0;
[all …]
/frameworks/native/libs/binder/
DTextOutput.cpp40 TextOutput& operator<<(TextOutput& to, bool val) in operator <<() argument
42 if (val) to.print("true", 4); in operator <<()
43 else to.print("false", 5); in operator <<()
44 return to; in operator <<()
47 TextOutput& operator<<(TextOutput& to, int val) in operator <<() argument
51 to.print(buf, strlen(buf)); in operator <<()
52 return to; in operator <<()
55 TextOutput& operator<<(TextOutput& to, long val) in operator <<() argument
59 to.print(buf, strlen(buf)); in operator <<()
60 return to; in operator <<()
[all …]
/frameworks/native/include/binder/
DTextOutput.h42 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } in Bundle() argument
65 TextOutput& endl(TextOutput& to);
66 TextOutput& indent(TextOutput& to);
67 TextOutput& dedent(TextOutput& to);
69 TextOutput& operator<<(TextOutput& to, const char* str);
70 TextOutput& operator<<(TextOutput& to, char); // writes raw character
71 TextOutput& operator<<(TextOutput& to, bool);
72 TextOutput& operator<<(TextOutput& to, int);
73 TextOutput& operator<<(TextOutput& to, long);
74 TextOutput& operator<<(TextOutput& to, unsigned int);
[all …]
/frameworks/rs/scriptc/
Drs_atomic.rsh10 * Unless required by applicable law or agreed to in writing, software
29 * Atomic add one to the value at addr.
30 * Equal to rsAtomicAdd(addr, 1)
32 * @param addr Address of value to increment
40 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
42 * @param addr Address of value to decrement
50 * Atomic add a value to the value at addr. addr[0] += value
52 * @param addr Address of value to modify
53 * @param value Amount to add to the value at addr
63 * @param addr Address of value to modify
[all …]
Drs_debug.rsh10 * Unless required by applicable law or agreed to in writing, software
20 * Routines intended to be used during application developement. These should
21 * not be used in shipping applications. All print a string and value pair to
31 * Debug function. Prints a string and value to the log.
36 * Debug function. Prints a string and value to the log.
41 * Debug function. Prints a string and value to the log.
46 * Debug function. Prints a string and value to the log.
51 * Debug function. Prints a string and value to the log.
56 * Debug function. Prints a string and value to the log.
61 * Debug function. Prints a string and value to the log.
[all …]
Drs_core.rsh10 * Unless required by applicable law or agreed to in writing, software
21 * at runtime to allow platform-independence as well.
23 * can utilize to write RenderScript code in C99. The RenderScript compute header
26 * To use RenderScript, you need to utilize the RenderScript runtime APIs documented here
31 * For more information on how to develop with RenderScript and how the runtime and
67 * Send a message back to the client. Will not block and returns true
79 * Send a message back to the client, blocking until the message is queued.
92 * Launch order hint for rsForEach calls. This provides a hint to the system to
109 * Structure to provide extra information to a rsForEach call. Primarly used to
110 * restrict the call to a subset of cells in the allocation.
[all …]
/frameworks/wilhelm/doc/
DDoxyfile3 # This file describes the settings to be used by the documentation system
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
54 # information to generate all constant output in the proper language.
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
67 # the file and class documentation (similar to JavaDoc).
68 # Set to NO to disable this.
[all …]
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.in16 /* Define to 1 if you have the <dlfcn.h> header file. */
19 /* Define to 1 if you have the <fcntl.h> header file. */
22 /* Define to 1 if you have the <inttypes.h> header file. */
25 /* Define to 1 if you have the <memory.h> header file. */
31 /* Define to 1 if you have the <stdint.h> header file. */
34 /* Define to 1 if you have the <stdlib.h> header file. */
37 /* Define to 1 if you have the <strings.h> header file. */
40 /* Define to 1 if you have the <string.h> header file. */
43 /* Define to 1 if you have the <sys/mman.h> header file. */
46 /* Define to 1 if you have the <sys/stat.h> header file. */
[all …]
/frameworks/base/docs/html/training/secure-file-sharing/
Dindex.jd30 Apps often have a need to offer one or more of their files to another app. For example, an image
31 gallery may want to offer files to image editors, or a file management app may want to allow
32 users to copy and paste files between areas in external storage. One way a sending app can
33 share a file is to respond to a request from the receiving app.
36 In all cases, the only secure way to offer a file from your app to another app is to send the
37 receiving app the file's content URI and grant temporary access permissions to that URI.
38 Content URIs with temporary URI access permissions are secure because they apply only to the
45 If you want to share small amounts of text or numeric data between apps, you should send an
46 {@link android.content.Intent} that contains the data. To learn how to send simple data with an
51 This class explains how to securely share files from your app to another app using content URIs
[all …]
/frameworks/native/opengl/libs/GLES_trace/
DDESIGN.txt7 egl_display_t::initialize() calls initEglTraceLevel() to figure out whether tracing should be
10 calls GLTrace_start() to start the trace server.
13 specific gl_hooks structure to point to the trace implementation. From this point on, every
14 GLES call is redirected to the trace implementation.
18 While the application is running, all its GLES calls are directly routed to their corresponding
27 to explore if a more graceful method of stopping the application, or detaching tracing from the
33 In order to allow tracing of an already running application, we allow DdmServer to enable
34 OpenGL tracing. In such a case, the application already has its GL hooks set up to point to the
35 real GL implementation, and we need to switch them to point to the trace implementation.
42 - switch the gl hooks to point to the trace implementation.
[all …]
/frameworks/base/docs/html/training/id-auth/
Dauthenticate.jd1 page.title=Authenticating to OAuth2 Services
16 <h2>This lesson teaches you to</h2>
21 <li><a href="#ConnectToService">Connect to the Online Service</a></li>
26 <p>In order to securely access an online service, users need to authenticate to
27 the service&mdash;they need to provide proof of their identity. For an
29 more complicated. Not only does the user need to be authenticated to access the
30 service, but the application also needs to be authorized to act on the user's
33 <p>The industry standard way to deal with authentication to third-party services
36 authorization to act on the user's behalf. This lesson demonstrates connecting
37 to a Google server that supports OAuth2. Although Google services are used as an
[all …]
Dindex.jd31 <p>Android users get attached to their devices and to applications that they
32 love. One way to make your application lovable is to make it personal. Android
33 devices know who your user is, what services they have access to, and where they
34 store your data. With your user's permission, you can use that information to
38 user's identity, enabling you to:</p>
42 <li>Authenticate the user to make sure they are who they say they are
43 <li>Gain permission to access the user's online data via services like
45 <li>Add a custom account to the user's device to authenticate your own
54 <dd>Use {@link android.accounts.AccountManager} to learn the user's account name(s).</dd>
56 <dt><b><a href="authenticate.html">Authenticating to OAuth2 Services</a></b></dt>
[all …]
Didentify.jd6 next.title=Authenticating to OAuth2 Services
14 <h2>This lesson teaches you to</h2>
17 <li><a href="#TaskTwo">Decide What Type of Account to Use</a></li>
20 <li><a href="#IdentifyUser">Use the Account Object to Personalize Your App</a></li>
28 effective things you can do to make your app more lovable is to remember who
29 your user is&mdash;especially when the user upgrades to a new device or starts carrying
34 user's permission, you can use Account Manager to fetch the account names
37 <p>Integration with the user's accounts allows you to do a variety of things such as:</p>
40 <li>Retrieve an ID that is tied to a user, not the device.</li>
46 <p>Applications typically try to remember the user using one of three techniques:</p>
[all …]
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd32 <p>Multiple APK support is a feature of Google Play that allows you to publish multiple APKs
34 to target specific device configurations. Each APK can target a specific set of GL
37 <p>This class shows you how to write your multiple APK application using any one of these
38 configuration variables. Each lesson covers basics about how to organize your codebase and target
39 the right devices, as well as the smart way to avoid pitfalls such as unnecessary redundancy across
40 your codebase, and making mistakes in your manifest that could render an APK invisible to all
41 devices on Google Play. By going through any of these lessons, you'll know how to develop
42 multiple APKs the smart way, make sure they're targeting the devices you want them to,
43 and know how to catch mistakes <em>before</em> your app goes live.</p>
51 <dd>Learn how to target different versions of the Android platform using multiple APKs. Also
[all …]
/frameworks/base/tests/AccessoryDisplay/
DREADME1 This directory contains sample code to test the use of virtual
11 The role of the sink is to emulate an external display that happens
12 to be connected using the USB accessory protocol. Think of it as
13 a monitor or video dock that the user will want to plug a phone into.
15 The sink application uses the UsbDevice APIs to receive connections
17 in this arrangement and will provide power to the source.
21 events to the source over USB HID.
25 The role of the source is to present some content onto an external
26 display that happens to be attached over USB. This is the typical
27 role that a phone or tablet might have when the user is trying to
[all …]
/frameworks/base/docs/html/distribute/users/
Dbuild-community.jd19 <a href="#tools-to-build-your-community">Tools to Build Your Community</a>
33 Fans of your apps love to help others, turn newer users into fans, and bring
35 tap into those influencers to help you improve your app and provide support
36 to others.
41 users and get them talking about your apps to friends, family and others in
56 that fits all, and the approach for each of your apps may need to be a little
64 How will my users prefer to interact? Game users may prefer a modern feed
74 that interests them or can I make it a way to turn them onto my other
89 Do I need any additional policies beyond those governing the tool used to
103 been able to address their earlier issues you may convert them into
[all …]
/frameworks/base/docs/html/distribute/analyze/
Dbuild-better-apps.jd2 page.metaDescription=Get actionable insights to optimize your app and learn what works best for you…
12 find that users who tend to take a specific action are more likely to
13 convert, so see if drawing more users to that action has an impact on your
17 <h2 id="actions">What Actions Get People to Convert?</h2>
22 tend to have the highest conversion rates. Build custom reports to identify
24 know what’s successful at getting users to convert, derive a hypothesis as to
26 more users there to see if it has an impact on conversion metrics.
34 9 losses to keep the user interested. Also notice that users who started a
36 hypothesize that those users are determined to take another chance, so more
37 inclined to convert. Lastly, the <em>Discovered Secret Stairwell</em> is
[all …]
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd16 <h2>This lesson teaches you to</h2>
18 <li><a href="#GCM">Use Google Cloud Messaging as an alternative to polling</a></li>
33 …itoring-device-state/index.html">Optimizing Battery Life</a> discusses how to build battery-effici…
35 <p>This lesson will examine how your refresh frequency can be varied to best mitigate the effect of…
37 <h2 id="GCM">Use Google Cloud Messaging as an Alternative to Polling</h2>
39 … app polls your server to check if an update is required, you activate the wireless radio, drawing…
41 …aging for Android (GCM)</a> is a lightweight mechanism used to transmit data from a server to a pa…
43to polling, where your app must regularly ping the server to query for new data, this event-driven…
47 …ble to implement your own push service, it's best practice to use GCM. This minimizes the number o…
51 <p>Where polling is required, it's good practice to set the default data refresh frequency of your …
[all …]
/frameworks/base/docs/html/guide/components/
Dbound-services.jd18 <li><a href="#Binding">Binding to a Service</a></li>
45 (such as activities) to bind to the service, send requests, receive responses, and even perform
49 <p>This document shows you how to create a bound service, including how to bind
50 to the service from other application components. However, you should also refer to the <a
52 information about services in general, such as how to deliver notifications from a service, set
53 the service to run in the foreground, and more.</p>
59 other applications to bind to it and interact with it. To provide binding for a
62 clients can use to interact with the service.</p>
66 <h3>Binding to a Started Service</h3>
71 service to run indefinitely, and also allow a client to bind to the service by calling {@link
[all …]
/frameworks/base/docs/html/training/app-indexing/
Dindex.jd36 You can enable Google to crawl through your app content and present your
37 Android app as a destination to users through Google Search results, when
38 that content corresponds to a web page that you own.</p>
40 <p>You can make it possible for Google Search to open specific content in your
42 app indexing complements this capability by presenting links to relevant app
43 content alongside links to your web pages in users' search results. Users on
44 mobile devices can then click on a link to open your app from their search
45 results, allowing them to directly view your app's content instead of a
48 <p>To enable Google Search app indexing, you need to provide Google with
52 <li>Enable deep linking to specific content
[all …]
/frameworks/base/docs/html/tools/debugging/
Ddebugging-projects-cmdline.jd14 <li><a href="#debuggingPort">Configuring Your IDE to Attach to the Debugging Port</a></li>
21 …<p>If you are not using Android Studio to develop, you can still take advantage of all the tools t…
32 <p>You need to obtain a JDWP-compliant Java debugger to properly debug your application.
34 such as JDB, if you are using a simple text editor to develop applications.</p>
39 …variable values. Since you are not using Android Studio, you have to manually start up the debuggi…
44 <li>Load an AVD with the Android emulator or connect a device to your computer.</li>
50 see your application running under the device that you installed it to.</li>
52 <li>Attach your debugger to the debugging port 8700, or to the specific port shown for the
56 <h3 id="debuggingPort">Configuring Your IDE to Attach to the Debugging Port</h3>
58 <p>DDMS assigns a specific debugging port to every virtual machine that it finds on the
[all …]
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd.jd11 <h2>This lesson teaches you how to</h2>
15 <li><a href="#connect">Connect to Services on the Network</a></li>
36 <p>Adding Network Service Discovery (NSD) to your app allows your users to
38 requests. This is useful for a variety of peer-to-peer applications such as file
40 for you to implement such features.</p>
42 <p>This lesson shows you how to build an application that can broadcast its
43 name and connection information to the local network and scan for information
45 to connect to the same application running on another device.</p>
51 you can skip forward to the
56 that other devices on the network use when they're deciding whether to connect to your
[all …]
/frameworks/base/tools/layoutlib/create/
DREADME.txt7 Layoutlib_create generates a JAR library used by the Eclipse graphical layout editor to perform
14 ./layoutlib_create destination.jar path/to/android1.jar path/to/android2.jar
21 generated by the Android build, right before the classes are converted to a DEX format.
24 - they contains references to native code (which we want to avoid in Eclipse),
25 - some classes need to be overridden, for example all the drawing code that is replaced by Java 2D
27 - some of the classes that need to be changed are final and/or we need access to their private
35 - generates a modified JAR file that is suitable for the Android plugin for Eclipse to perform
38 The ASM library is used to do the bytecode modification using its visitor pattern API.
41 is done in the main() method and the CreateInfo structure is expected to change with the Android
61 The goal of the analyzer is to create a graph of all the classes from the input JAR with their
[all …]
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd9 <h2>This lesson teaches you to</h2>
14 <li><a href="#react">React Intelligently to GCM Messages</a></li>
25 messages to Android devices. GCM messaging can greatly enhance the user
26 experience. Your application can stay up to date without wasting battery power
28 GCM allows you to attach up to 1,000 recipients to a single message, letting you easily contact
38 <p>One of the most useful features in GCM is support for up to 1,000 recipients for
39 a single message. This capability makes it much easier to send out important messages to
40 your entire user base. For instance, let's say you had a message that needed to
41 be sent to 1,000,000 of your users, and your server could handle sending out
44 However, attaching 1,000 recipients to each message, the total time required to
[all …]

12345678910>>...61