Home
last modified time | relevance | path

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

12345678910>>...42

/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/utils/
DTextOutput.cpp37 TextOutput& operator<<(TextOutput& to, bool val) in operator <<() argument
39 if (val) to.print("true", 4); in operator <<()
40 else to.print("false", 5); in operator <<()
41 return to; in operator <<()
44 TextOutput& operator<<(TextOutput& to, int val) in operator <<() argument
48 to.print(buf, strlen(buf)); in operator <<()
49 return to; in operator <<()
52 TextOutput& operator<<(TextOutput& to, long val) in operator <<() argument
56 to.print(buf, strlen(buf)); in operator <<()
57 return to; in operator <<()
[all …]
/frameworks/native/include/utils/
DTextOutput.h39 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } in Bundle() argument
62 TextOutput& endl(TextOutput& to);
63 TextOutput& indent(TextOutput& to);
64 TextOutput& dedent(TextOutput& to);
66 TextOutput& operator<<(TextOutput& to, const char* str);
67 TextOutput& operator<<(TextOutput& to, char); // writes raw character
68 TextOutput& operator<<(TextOutput& to, bool);
69 TextOutput& operator<<(TextOutput& to, int);
70 TextOutput& operator<<(TextOutput& to, long);
71 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
39 * Atomic add one to the value at addr.
40 * Equal to rsAtomicAdd(addr, 1)
42 * @param addr Address of value to increment
50 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
52 * @param addr Address of value to decrement
59 * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
[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 header
29 * To use Renderscript, you need to utilize the Renderscript runtime APIs documented here
34 * For more information on how to develop with Renderscript and how the runtime and
68 * Send a message back to the client. Will not block and returns true
80 * Send a message back to the client, blocking until the message is queued.
93 * Launch order hint for rsForEach calls. This provides a hint to the system to
110 * Structure to provide extra information to a rsForEach call. Primarly used to
111 * restrict the call to a subset of cells in the allocation.
[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
32 * Debug function. Prints a string and value to the log.
37 * Debug function. Prints a string and value to the log.
42 * Debug function. Prints a string and value to the log.
47 * Debug function. Prints a string and value to the log.
52 * Debug function. Prints a string and value to the log.
57 * Debug function. Prints a string and value to the log.
62 * Debug function. Prints a string and value to the log.
[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/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.jd32 <p>Android users get attached to their devices and to applications that they
33 love. One way to make your application lovable is to make it personal. Android
34 devices know who your user is, what services they have access to, and where they
35 store your data. With your user's permission, you can use that information to
39 user's identity, enabling you to:</p>
43 <li>Authenticate the user to make sure they are who they say they are
44 <li>Gain permission to access the user's online data via services like
46 <li>Add a custom account to the user's device to authenticate your own
55 <dd>Use {@link android.accounts.AccountManager} to learn the user's account name(s).</dd>
57 <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/efficient-downloads/
Dregular_updates.jd16 <h2>This lesson teaches you to</h2>
18 <li><a href="#C2DM">Use Cloud to Device Messaging as an alternative to polling</a></li>
25 <li><a href="http://code.google.com/android/c2dm/">Android Cloud to Device Messaging</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="C2DM">Use Cloud to Device 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 …ndroid/c2dm/">Android Cloud to Device Messaging (C2DM)</a> is a lightweight mechanism used to tran…
43to polling, where your app must regularly ping the server to query for new data, this event-driven…
47 …le to implement your own push service, it's best practice to use C2DM. This minimizes the number o…
[all …]
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd33 <p>Multiple APK support is a feature of Google Play that allows you to publish multiple APKs
35 to target specific device configurations. Each APK can target a specific set of GL
38 <p>This class shows you how to write your multiple APK application using any one of these
39 configuration variables. Each lesson covers basics about how to organize your codebase and target
40 the right devices, as well as the smart way to avoid pitfalls such as unnecessary redundancy across
41 your codebase, and making mistakes in your manifest that could render an APK invisible to all
42 devices on Google Play. By going through any of these lessons, you'll know how to develop
43 multiple APKs the smart way, make sure they're targeting the devices you want them to,
44 and know how to catch mistakes <em>before</em> your app goes live.</p>
52 <dd>Learn how to target different versions of the Android platform using multiple APKs. Also
[all …]
/frameworks/base/docs/html/guide/components/
Dbound-services.jd11 <li>A bound service allows other components to bind to it, in order to interact with it and
24 <li><a href="#Binding">Binding to a Service</a></li>
51 (such as activities) to bind to the service, send requests, receive responses, and even perform
55 <p>This document shows you how to create a bound service, including how to bind
56 to the service from other application components. However, you should also refer to the <a
58 information about services in general, such as how to deliver notifications from a service, set
59 the service to run in the foreground, and more.</p>
65 other applications to bind to it and interact with it. To provide binding for a
68 clients can use to interact with the service.</p>
72 <h3>Binding to a Started Service</h3>
[all …]
/frameworks/compile/mclinker/
DINSTALL12 The `configure' shell script attempts to guess correct values for
14 those values to create a `Makefile' in each directory of the package.
17 you can run in the future to recreate the current configuration, and a
23 the results of its tests to speed up reconfiguring. (Caching is
24 disabled by default to prevent problems with accidental use of stale
27 If you need to do unusual things to compile the package, please try
28 to figure out how `configure' could check whether to do them, and mail
29 diffs or instructions to the address given in the `README' so they can
31 some point `config.cache' contains results you don't want to keep, you
34 The file `configure.ac' (or `configure.in') is used to create
[all …]
/frameworks/compile/mclinker/utils/gtest/
DREADME24 Google Test is designed to have fairly minimal requirements to build
27 effort to support other platforms (e.g. Solaris, AIX, and z/OS).
29 to these platforms, Google Test may have outstanding issues there. If
36 These are the base requirements to build and use Google Test from a source
56 Also, you'll need CMake 2.6.4 or higher if you want to build the
62 We welcome patches. If you plan to contribute a patch, you need to
84 formats are provided, but the only difference is the tools used to
109 To build Google Test and your tests that use it, you need to tell your
110 build system where to find its headers and source files. The exact
111 way to do it depends on which build system you use, and is usually
[all …]
/frameworks/base/docs/html/guide/google/gcm/
Dc2dm.jd11 <li>Learn how to migrate an app from C2DM to GCM.</li>
32to Device Messaging (C2DM) is deprecated. The C2DM service will continue to be maintained in the s…
33 …ssed to C2DM developers who are moving to GCM. It describes the differences between GCM and C2DM,…
37to help Android apps send data from servers to their applications. Servers can tell apps to contac…
51 <dd>To use the GCM service, you need to obtain a Simple API Key from Google APIs console page. For …
57 <dd>GCM HTTP requests support JSON format in addition to plain text. For more information, see the …
60 …message to multiple devices simultaneously. For example, a sports app wanting to deliver a score u…
63 <dd>Multiple parties can send messages to the same app with one common registration ID. For more in…
65 <dt><strong>Time-to-live messages</strong></dt>
66 …on events with a time-to-live value between 0 and 4 weeks. GCM will store the messages until they …
[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 Eclipse to develop, you can still take advantage of all the tools that
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 Eclipse, you have to manually start up the debugging
44 <li>Load an AVD with the Android emulator or connect a device to your computer.</li>
50 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/tools/publishing/
Dpublishing_overview.jd8 <li>Learn how to publish Android apps.</li>
9 <li>Find out how to prepare apps for release.</li>
10 <li>Learn how to release apps to users.</li>
15 <li><a href="#publishing-release">Releasing Your Application to Users</a>
24 <p>Publishing is the general process that makes your Android applications available to users. When …
32 <li>You release the application to users.
34 application to users.</p>
39 However, you can also release applications by sending them directly to users or by letting users
62 <p>At a minimum you need to remove {@link android.util.Log} calls and remove the
68 element. You may also have to configure several other settings to meet Google Play
[all …]
/frameworks/base/docs/html/tools/workflow/
Dpublishing_overview.jd8 <li>Learn how to publish Android apps.</li>
9 <li>Find out how to prepare apps for release.</li>
10 <li>Learn how to release apps to users.</li>
15 <li><a href="#publishing-release">Releasing Your Application to Users</a>
31 <p>Publishing is the process that makes your Android applications available to users. When you
39 <li>You release the application to users.
41 application to users.</p>
46 However, you can also release applications by sending them directly to users or by letting users
70 <p>At a minimum you need to remove {@link android.util.Log} calls and remove the
76 element. You may also have to configure several other settings to meet Google Play
[all …]
/frameworks/base/docs/html/design/patterns/
Dnavigation.jd6 introduced significant changes to the global navigation behavior. Thoughtfully following the
16 <p>The Up button is used to navigate within an app based on the hierarchical relationships
17 between screens. For instance, if screen A displays a list of items, and selecting an item leads to
19 returns to screen A.</p>
23 <p>The system Back button is used to navigate, in reverse chronological order, through the history
30 button can return the user to the Home screen, or even to a different app.</p>
34 <p>The Back button also supports a few behaviors not directly tied to screen-to-screen navigation:
43 <h4>Navigating to screens with multiple entry points</h4>
46 in your app. In this case, the Up button should choose to return to the referring screen, behaving
47 identically to Back.</p>
[all …]
/frameworks/base/docs/html/tools/workflow/publishing/
Dpublishing_overview.jd8 <li>Learn how to publish Android apps.</li>
9 <li>Find out how to prepare apps for release.</li>
10 <li>Learn how to release apps to users.</li>
15 <li><a href="#publishing-release">Releasing Your Application to Users</a>
31 <p>Publishing is the process that makes your Android applications available to users. When you
39 <li>You release the application to users.
41 application to users.</p>
46 However, you can also release applications by sending them directly to users or by letting users
70 <p>At a minimum you need to remove {@link android.util.Log} calls and remove the
76 element. You may also have to configure several other settings to meet Google Play
[all …]
/frameworks/base/docs/html/guide/google/play/licensing/
Dsetting-up.jd26 <li><a href="#acct-signin">Signing in to an authorized account in the runtime
34 <p>Before you start adding license verification to your application, you need to set up your Google
35 Play publishing account, your development environment, and test accounts required to verify
41 <p>If you don't already have a publisher account for Google Play, you need to register for one
42 using your Google account and agree to the terms of service on the Google Play publisher site:</p>
52 account to set up licensing.</p>
58 <li>Debug and test an application's licensing implementation, prior to
60 <li>Publish the applications to which you have added licensing support</li>
72 server allows users signed in to test accounts on a device or emulator to send
78 license check for an application uploaded to the publisher account, from a user
[all …]
/frameworks/base/docs/html/guide/basics/
Dbuilding-blocks.jd7 to the degree where you can accurately describe them as a federation of
11 possible (and quite common) to create multiple threads within that process,
12 and it's also possible to create completely separate child processes if you
13 need to. Such cases are pretty uncommon though, because Android tries very
14 hard to make processes transparent to your code.</p>
21 what to do with all the top-level components (specifically activities,
29 can include displaying a UI to the user. It doesn't have to, though - some
31 application's Activities as the entry point to your application. </dd>
35 <dd>A View is an object that knows how to draw itself to the screen.
36 Android user interfaces are comprised of trees of Views. If you want to
[all …]
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd25 value="That's nice, but I still want to read this document"
50 <li>In addition to writing your own activities, you are free to re-use activities from many other a…
51 <li>You can enable activities in your application to be started from intents in other applications.…
53 …In a couple of cases you might need to ensure the right thing happens by setting a string or flag.…
78 <li><a href=#activity_launching_tip>Consider how to launch your activities</a></li>
79 <li><a href=#activities_added_to_task_tip>Allow activities to add to current task</a></li>
83 need to</a></li>
99 framework, from a high-level, user-centric perspective useful to
108 The document also highlights design decisions that are available to you
122 Be sure to look at the <a href="#design_tips">Design Tips</a> section
[all …]

12345678910>>...42