Home
last modified time | relevance | path

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

12345678910>>...68

/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/compile/mclinker/include/mcld/Config/
DConfig.h.cmake1 /* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
31 /* Define to 1 if you have the `arc4random' function. */
34 /* Define to 1 if you have the `argz_append' function. */
37 /* Define to 1 if you have the `argz_create_sep' function. */
40 /* Define to 1 if you have the <argz.h> header file. */
43 /* Define to 1 if you have the `argz_insert' function. */
46 /* Define to 1 if you have the `argz_next' function. */
49 /* Define to 1 if you have the `argz_stringify' function. */
52 /* Define to 1 if you have the <assert.h> header file. */
55 /* Define to 1 if you have the `backtrace' function. */
[all …]
DConfig.h.in16 /* Define to 1 if you have the <cxxabi.h> header file. */
19 /* Define to 1 if you have the <dlfcn.h> header file. */
22 /* Define to 1 if you have the <fcntl.h> header file. */
25 /* Define to 1 if you have the <inttypes.h> header file. */
28 /* Define to 1 if you have the <memory.h> header file. */
34 /* Define to 1 if you have the <stdint.h> header file. */
37 /* Define to 1 if you have the <stdlib.h> header file. */
40 /* Define to 1 if you have the <strings.h> header file. */
43 /* Define to 1 if you have the <string.h> header file. */
46 /* Define to 1 if you have the <sys/mman.h> header file. */
[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/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 …]
/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/docs/html/distribute/analyze/
Dunderstand-user-value.jd2 page.metaDescription=Understand what makes users come back to your app and improve retention.
11 unique and, in turn, how these groups respond to your app content, features,
13 respond to, the better you can tailor your apps to meet their needs.
17 <h2 id="cohort">Assign Value to User Goals</h2>
22 the power to value your users in the way that makes the most sense to you.
27 that mean the most to your business: perhaps it’s important that your users
34 Whatever the method used, you can assign a monetary value to a goal in order
35 to put a dollar value on an action. Perhaps it’s worth $3 if a user completes
36 a given level or $.50 if they sign up with an account. By assigning value to
37 given behaviors, you can really dig into the data to understand your most
[all …]
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/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/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/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/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/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/auto/messaging/
Dindex.jd5 page.metaDescription=Learn how to extend your messaging app for use in Android Auto devices.
17 <h2>This class teaches you to:</h2>
54 Staying connected through messages is important to many drivers. Chat apps can let users
55 know if a child need to be picked up, or if a dinner location has been changed.
56 The Android framework enables messaging apps to extend their
62 Apps that support messaging can be extended to pass messaging notifications to Auto
63 dashboard systems, alerting them to new messages and allowing them to respond. You can configure
64 your messaging app to provide these services when an Android mobile device with your app
65 installed is connected to an Auto dashboard. Once connected, your app can provide text
66 information to users and allow them to respond. The Auto dashboard system handles displaying the
[all …]
/frameworks/base/docs/html/google/backup/
Dterms.jd10 Your use of the Android Backup Service (referred to as the &quot;Service&quot;
11 in this document) is subject to the terms of a legal agreement between you and
20 document. These are referred to below as the &quot;Terms&quot;.</p>
23 Terms form a legally binding agreement between you and Google in relation to
24 your use of the Service. It is important that you take the time to read them
34 order to use the Service, you must first agree to the Terms. You may not use
38 can accept the Terms by clicking to accept or agree to the Terms, where
39 this option is made available to you by Google.</p>
43 age to form a binding contract with Google.</p>
47 capacity and authority to accept these Terms. If you are accepting on behalf of your employer or
[all …]
/frameworks/base/docs/html/training/basics/intents/
Dsending.jd1 page.title=Sending the User to Another App
13 <h2>This lesson teaches you to</h2>
16 <li><a href="#Verify">Verify There is an App to Receive the Intent</a></li>
29 <p>One of Android's most important features is an app's ability to send the user to another app
30 based on an "action" it would like to perform. For example, if
31 your app has the address of a business that you'd like to show on a map, you don't have to build
32 an activity in your app that shows a map. Instead, you can create a request to view the address
33 using an {@link android.content.Intent}. The Android system then starts an app that's able to show
37 Your First App</a>, you must use intents to navigate between activities in your own app. You
39 component you want to start. However, when you want to have a separate app perform an action, such
[all …]
/frameworks/base/docs/html/distribute/users/
Dbuild-community.jd10 Fans of your apps love to help others, turn newer users into fans, and bring
12 tap into those influencers to help you improve your app and provide support
13 to others.
22 users and get them talking about your apps to friends, family and others in
37 that fits all, and the approach for each of your apps may need to be a little
45 How will my users prefer to interact? Game users may prefer a modern feed
55 that interests them or can I make it a way to turn them onto my other
70 Do I need any additional policies beyond those governing the tool used to
84 been able to address their earlier issues you may convert them into
85 supporters — it’s not unknown for your harshest critics to become your most
[all …]
/frameworks/rs/scriptc/
Drs_atomic.rsh10 * Unless required by applicable law or agreed to in writing, software
29 * Note that in RenderScript, your code is likely to be running in separate
33 * modify your algorithm to avoid them altogether.
42 * Atomicly adds a value to the value at addr, i.e. *addr += value.
45 * addr: Address of the value to modify.
46 * value: Amount to add.
48 * Returns: Value of *addr prior to the operation.
67 * addr: Address of the value to modify.
68 * value: Value to and with.
70 * Returns: Value of *addr prior to the operation.
[all …]

12345678910>>...68