Home
last modified time | relevance | path

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

12345678910>>...81

/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/base/services/tests/servicestests/src/com/android/server/connectivity/
DLingerMonitorTest.java86 NetworkAgentInfo to = cellNai(101); in testNotificationOnLinger() local
88 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger()
89 verifyNotification(from, to); in testNotificationOnLinger()
96 NetworkAgentInfo to = cellNai(101); in testToastOnLinger() local
98 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger()
99 verifyToast(from, to); in testToastOnLinger()
106 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterDisconnect() local
108 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect()
109 verifyNotification(from, to); in testNotificationClearedAfterDisconnect()
111 mMonitor.noteDisconnect(to); in testNotificationClearedAfterDisconnect()
[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/native/docs/
DDoxyfile3 # This file describes the settings to be used by the documentation system
27 # to put quotes around the project name if it contains spaces.
31 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
46 # Doxygen will copy the logo to the output directory.
50 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
52 # If a relative path is entered, it will be relative to the location
57 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
66 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
68 # information to generate all constant output in the proper language.
79 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
[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/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/docs/html/topic/performance/power/network/
Dindex.jd5 page.metaDescription=Learn how to optimize your app to reduce battery drain and use network resourc…
16 Requests that your app makes to the network are a major cause of battery drain because they turn
17 on the power-hungry mobile or Wi-Fi radios. Beyond the power needed to send and receive packets,
24 This lesson shows you how to tag your app's source code to categorize, visualize and color
25 your network requests according to how they are initiated. From there, each category
38 Learn how to instrument your app's code and gather data on its use of network resources.
46 Learn how to analyze your app's use of network resources in response to user actions
47 and optimize it to reduce power consumption.
55 Learn how to optimize your app's use of network resources in response to user actions
56 to reduce power consumption.
[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/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/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/wearables/data-layer/
Dmessages.jd8 <h2>This lesson teaches you to</h2>
18 and attach the following items to the message:</p>
28 such as sending a message to the wearable to start an activity.</p>
30 <p>Multiple wearable devices can be connected to a user’s handheld device. Each connected device in
33 the wearable device, you should send the message to a node with the processing power and battery
34 capacity to handle the request, such as a handheld device.</p>
37 With versions of Google Play services prior to 7.3.0, only one wearable device could be connected to
38 a handheld device at a time. You may need to update your existing code to take the multiple
40 not get delivered to intended devices.
47 saved to a note. Since a wearable device typically does not have the processing power and battery
[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/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/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/rs/java/tests/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt1 This document is to explain the process to extract kernel running time of Refocus(Lens Blur) app in…
3 …/Refocus/dataExtraction contains all the shell scripts and sample data files to extract kernel time
6 Here are somethings you might want to know:
8to add the running time of the same kernel together to get the total time of one kernel. For examp…
9to run the script several times with some short intervals (a few seconds) and average the performa…
13 …. choose which device you want to test and create a corresponding text file to record the logcat. …
14to record (or record both), copy the corresponding log from the first line with the title you choo…
29 N5 (you have to put this dummy line here. The script is not perfect and feel free to change)
/frameworks/base/docs/html/training/snackbar/
Dindex.jd31 There are many situations where you might want your app to show a quick
32 message to the user, without necessarily waiting for the user to respond.
34 a file, your app should show a quick confirmation to the user. Often the user
35 doesn't need to respond to the message. The message needs to be prominent
44 message to the user. The current activity remains visible and interactive
50 This class teaches you how to use {@link
51 android.support.design.widget.Snackbar} to show pop-up messages.
71 preferred way to display brief, transient messages to the user.
78 <b><a href="showing.html">Using a Snackbar to Show a Message</a></b>
82 Learn how to use a {@link android.support.design.widget.Snackbar} to display
[all …]
/frameworks/base/docs/html/training/tv/playback/
Dindex.jd37 can be quite challenging. Whether your app provides access to a small or large media catalog,
38 it is important to allow users to quickly browse options and get to the content they want.
45 interface for browsing and playing media files with minimal coding. The classes are designed to
46 be extended and customized so you can create an experience that is unique to your app.
49 <p>This class shows you how to build a TV app for browsing and playing media content using the Lean…
56 <dd>Learn how to use the Leanback support library to build a browsing interface for media
60 <dd>Learn how to use the Leanback support library to build a card view for content items.</dd>
63 <dd>Learn how to use the Leanback support library to build a details page for media items.</dd>
66 <dd>Learn how to use a MediaSession to display a Now Playing card on the home screen.</dd>
69 <dd>Learn how to use the Leanback support library to guide a user through a series of
[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 …]

12345678910>>...81