/frameworks/base/test-runner/src/android/test/ |
ApplicationTestCase.java | 27 * the environment in which your Application is tested. 35 * <ul><li>The test case will not call onCreate() until your test calls 39 * <li>After your test completes, the test case {@link #tearDown} method is 40 * automatically called, and it will stop & destroy your application by calling its 50 * <p>If simply run your tests as-is, your Application will be injected with a fully-functional 87 * This will do the work to instantiate the Application under test. After this, your test 114 * be stopped by {@link #tearDown}. If you wish to inject a specialized Context for your 133 * you can call it directly from your test in order to check for proper shutdown behaviors. 164 * Mock or other Context objects for your Application under test [all...] |
/hardware/bsp/intel/peripheral/libupm/docs/ |
contributions.md | 5 - Your new module must have an example that builds against your UPM library. 9 - You must license your module under a FOSS license. The recommended license 11 UPM may want to write proprietary programs with your sensors so we like to 12 avoid GPL. If your license is not MIT please include a LICENSE file in 16 - Please test your module builds before contributing and make sure it works on 18 please tell us what this was in your PR. 32 * Author: <your full name> 91 then you just add a line to each of your commits with `--signoff` saying 95 using your real name (sorry, no pseudonyms or anonymous contributions. [all...] |
/docs/source.android.com/src/devices/media/ |
index.jd | 44 your hardware-based codec as an OpenMax IL (Integration Layer) component.</p> 63 and you can implement your own hardware codec by using the OpenMax integration layer standard. For more 70 named <code>libstagefrighthw.so</code>. This plugin links your custom codec components to Stagefright. 71 Your custom codecs must be implemented according to the OpenMAX IL component standard. 79 <p>Stagefright comes with built-in software codecs for common media formats, but you can also add your 81 OMX plugin that hooks together your custom codecs with the Stagefright framework. For an example, see 85 <p>To add your own codecs:</p> 87 <li>Create your components according to the OpenMAX IL component standard. The component interface is located in the 90 <li>Create a OpenMAX plugin that links your components with the Stagefright service. 94 <li>Build your plugin as a shared library with the name <code>libstagefrighthw.so</code> in your product Makefile (…) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/addlhelp/ |
dev.py | 34 - If you work for a company that wants to allow you to contribute your 41 your patches. 49 3. It's usually worthwhile to send email to gs-team@google.com about your 75 To push your own changes to GitHub, click the Fork button on the 76 repository page and clone the repository from your own fork. 84 8. Please make sure to run all tests against your modified code. To 109 Then ensure your .boto file has HMAC credentials defined (the boto tests 116 9. Please consider contributing test code for your change, especially if the 122 - Check out the gsutil code from your fork of the gsutil repository and 123 apply your changes [all...] |
/external/google-breakpad/ |
README.ANDROID | 15 link into your own Android native code. There are two ways to 24 1/ Include android/google_breakpad/Android.mk from your own 30 2/ Link the library to one of your modules by using: 35 which you can select with APP_STL in your Application.mk 43 All you need to do is configure your build with the right 'host' 54 Android device. This requires the Android 'adb' tool to be in your 68 - add the following to your compiler include search paths: 72 - add -llog to your linker flags 74 Note that ndk-build does that for your automatically. 79 path under your app-specific storage directory. An alternative is t [all...] |
/frameworks/base/docs/html/about/versions/ |
android-5.0-changes.jd | 61 some of the key changes that you should be understand and account for in your apps.</p> 63 <p>If you have previously published an app for Android, be aware that your app 96 <li>Your app uses Java Native Interface (JNI) to run C/C++ code.</li> 106 <p>Make sure your notifications take these Android 5.0 changes into account. 107 To learn more about designing your notifications for Android 5.0 and higher, 113 to match the new material design widgets. Make sure that all your 114 notifications look right with the new color scheme. If your notifications 119 to set an accent color in a circle behind your icon image. </li> 127 <p>If you are currently adding sounds and vibrations to your notifications by 169 your controls are accessible from the lock screen. Note that beginning i [all...] |
/frameworks/base/docs/html/guide/webapps/ |
debugging.jd | 8 <li>You can debug your web app using console methods in JavaScript</li> 30 <p>If you are testing your web app with a device running Android 4.4 or higher, 31 you can remotely debug your web pages in {@link android.webkit.WebView} with 37 <p>If you don't have a device running Android 4.4 or higher, you can debug your JavaScript using the 41 of the same APIs, so you can receive logs from your web page when debugging in Android's Browser 42 or in your own {@link android.webkit.WebView}. This document describes how to use the 52 the device throws an error, as well as log messages written from your application and 55 {@code adb logcat} from your Android SDK {@code tools/} directory, or, from DDMS, select 63 the output appears in logcat. For example, if your web page executes the following 100 Then, apply the {@link android.webkit.WebChromeClient} to your {@lin [all...] |
/frameworks/base/docs/html/ |
legal.jd | 33 must include footer attribution in your communications: "Android is a trademark of Google Inc."</p> 62 <p>Your use of this site is subject to <a href="http://www.google.com/policies/">Google's Privacy 69 <p>Google provides other optional services for your Android apps that have their own legal terms and 79 <dd>Google Play is a publicly available service through which you can distribute your apps for 80 Android-powered devices. Google Play not only makes your app available to millions of devices, but 81 also offers your app powerful services such as in-app billing and license verification. In order to 82 distribute your apps on Google Play and use the associated services, you must agree to the Developer 92 to include maps, geocoding, geolocation, and other content from Google and its content providers in your Android apps. If you want to develop an Android app that makes use of this API you must agree to the terms of service and obtain an API Key. 101 your servers to your users' Android devices. The service provides a simple, lightweigh [all...] |
/frameworks/base/docs/html/training/graphics/opengl/ |
projection.jd | 38 way that more closely resembles how you see physical objects with your eyes. This simulation of 48 onSurfaceChanged()} method of your renderer. For more information about OpenGL ES projections and 55 drawn objects. A camera view transformation might be calculated only once when you establish your 56 {@link android.opengl.GLSurfaceView}, or might change dynamically based on user actions or your 61 your {@link android.opengl.GLSurfaceView}.</p> 68 method of your {@link android.opengl.GLSurfaceView.Renderer} class. The following example code 95 <p class="note"><strong>Note:</strong> Just applying a projection transformation to your 102 <p>Complete the process of transforming your drawn objects by adding a camera view transformation as 103 part of the drawing process in your renderer. In the following example code, the camera view 152 <p>Next, modify the {@code draw()} method of your graphic objects to accept the combine [all...] |
/frameworks/base/docs/html/training/monitoring-device-state/ |
battery-monitoring.jd | 32 <p>When you're altering the frequency of your background updates to reduce the effect of those 38 is negligible, so in most cases you can maximize your refresh rate whenever the device is connected 39 to a wall charger. Conversely, if the device is discharging, reducing your update rate helps 43 even stopping—your updates when the battery charge is nearly exhausted.</p> 74 <p>Typically you should maximize the rate of your background updates in the case where the device is 82 monitor the charging state for changes and alter your refresh rate accordingly.</p> 85 disconnected from power. It's important to receive these events even while your app isn't 86 running—particularly as these events should impact how often you start your app in order to 88 android.content.BroadcastReceiver} in your manifest to listen for both events by defining the 119 the rate of your background updates if the battery charge is below a certain level.</p [all...] |
/frameworks/base/docs/html/training/performance/battery/network/ |
action-user-traffic.jd | 23 of user actions. Attaining an optimal network traffic profile for your app, while making sure 24 that your users get fast responses, can be a bit challenging. 42 that your app runs. With pre-fetching, when the user performs an action in your app, the app 47 Because your app pre-fetches data only when the the mobile radio is already awake from 59 <strong>Tip:</strong> To explore whether your app might benefit from pre-fetching, review your 78 device. Your app should always check for connectivity before sending a user-initiated network 85 <li>If only certain buttons in your activity depend on a network connection, use <a href= 93 <li>If your entire activity's user interface is non-functional without network access, then us [all...] |
/frameworks/base/docs/html/training/tv/publishing/ |
checklist.jd | 29 They should be able to navigate within your app and throughout Android TV without getting lost or 37 guidelines to ensure that your app provides the best possible experience. Additional considerations 59 Provide a home screen banner for each language supported by your app 69 Eliminate requirements for unsupported hardware in your app. 103 Make sure your icons and logo conform to Android TV specifications. 108 Allow for overscan in your layout. 124 Customize the background color to match your branding in Leanback fragments. 129 Ensure that your UI does not require a touch screen. 155 Provide search results from your app in the Android TV global search box. 165 Make sure your app presents discovered content in a details screen that lets the user start watchin [all...] |
/frameworks/base/docs/html/training/volley/ |
simple.jd | 48 to your app's manifest. Without this, your app won't be able to connect to the network.</p> 84 controls directly from your response handler, but it's especially critical to many of the 120 <p>To cancel a request, call {@code cancel()} on your {@code Request} object. Once cancelled, 121 Volley guarantees that your response handler will never be called. What this means in 122 practice is that you can cancel all of your pending requests in your activity's 123 {@link android.app.Activity#onStop onStop()} method and you don't have to litter your 132 example, you can tag all of your requests with the {@link android.app.Activity} they 142 <li>Define your tag and add it to your requests [all...] |
/docs/source.android.com/src/source/ |
submit-patches.jd | 33 initialize your build environment</a>, <a 67 repository. The branch NAME is local to your workspace and will not be included 69 <h2 id="make-your-change">Make your change</h2> 71 the changes to your local repository:</p> 75 <p>Provide a detailed description of the change in your commit message. This 84 more detailed description of your patch, 95 <p>A unique change ID and your name and email as provided during <code>repo init</code> will be automatically added to your commit message. </p> 97 <p>Once you have committed your change to your personal history, upload it to gerrit with</p [all...] |
/external/antlr/antlr-3.4/runtime/C/doxygen/ |
buildrec.dox | 6 /// according to whether your grammar file contains a lexer, parser, combined or treeparser specification. 7 /// Your grammar file name and the subject of the grammar line in your file are expected to match. Here the generic name G is used: 32 /// The generated .c files reference the .h files using <G.h>, so you must use <code>-I.</code> on your compiler command line 33 /// (or include the current directory in your include paths in Visual Studio). Additionally, the generated .h files reference 37 /// <code>-L/path/to/antlr/lib</code> (E.g. <code>-L /usr/local/lib</code>) on Unix, or add the path to your "Additional Library Path" in 39 /// to your Additional Library Dependencies in Visual Studio. 43 /// If you use the shared version of the libraries, DLL or .so/.so/.a then you must ship the library with your 48 /// \section invoke Invoking Your Generated Recognizer 50 /// In order to run your lexer/parser/tree parser combination, you will need a small function (or main [all...] |
/external/opencv3/doc/tutorials/introduction/android_binary_package/ |
dev_with_OCV_on_Android.markdown | 4 This tutorial has been created to help you use OpenCV library within your Android project. 18 This tutorial also assumes you have OpenCV4Android SDK already installed on your development machine 19 and OpenCV Manager on your testing device correspondingly. If you need help with any of these, you 26 Using OpenCV Library Within Your Android Project 41 -# Add OpenCV library project to your workspace. Use menu 42 File -\> Import -\> Existing project in your workspace. 92 your own native libraries that depend on OpenCV after the successful OpenCV initialization. Default 95 finish() method of BaseLoaderCallback class and implement your own finalization method. 99 According to this approach all OpenCV binaries are included into your application package. It is 104 -# Add the OpenCV library project to your workspace the same way as for the async initializatio [all...] |
/external/opencv3/doc/tutorials/introduction/windows_visual_studio_Opencv/ |
windows_visual_studio_Opencv.markdown | 17 where you want to run your application. 21 library will be built-in inside your *exe* file. So there is no chance that the user deletes them, 22 for some reason. As a drawback your application will be larger one and as, it will take more time to 44 To pass on all this information to the Visual Studio IDE you can either do it globally (so all your 47 clump all your projects all the time with all these information. In case of the global one how you 56 application into modules. In these cases your main project will be the only existing one. Now go 68 your project. For any application there are at least two build modes: a *Release* and a *Debug* one. 69 The *Debug* has many features that exist so you can find and resolve easier bugs inside your 73 each of your build modes. These rule packages are called inside the IDE as *project properties* and 81 add it to your new projects. Create it once and reuse it later. We want to create a new *Propert [all...] |
/frameworks/base/docs/html/guide/topics/ui/accessibility/ |
checklist.jd | 28 details right and delighting your users. This document provides a checklist of accessibility 29 requirements, recommendations and considerations to help you make sure your application is 30 accessible. Following this checklist does not guarantee your application is accessible, but it's a 33 <p>Creating an accessible application is not just the responsibility of developers. Involve your 44 restructuring. Rather, it means working through the subtle details of how users interact with your 66 your screen layouts using hardware-based or software directional controls (D-pads, trackballs, 73 your application, <a href="{@docRoot}guide/topics/ui/accessibility/apps.html#custom-views"> 74 implement accessibility interfaces</a> for your custom views and provide content descriptions. 82 <li><strong>Test:</strong> Test accessibility by navigating your application 92 <p>The following steps are recommended for ensuring the accessibility of your application. If yo [all...] |
/frameworks/base/docs/html/preview/features/ |
multi-window.jd | 13 <li><a href="#configuring">Configuring Your App for Multi-Window 15 <li><a href="#running">Running Your App in Multi-Window Mode</a></li> 16 <li><a href="#testing">Testing Your App's Multi-Window Support</a></li> 39 If you build your app with the N Preview SDK, you can configure how your app 40 handles multi-window display. For example, you can specify your activity's 42 your app, ensuring that the system only shows your app in full-screen 148 Changes</a>, your activity can handle the configuration change itself, or it 163 <h2 id="configuring">Configuring Your App for Multi-Window Mode</h2 [all...] |
/frameworks/base/docs/html/training/tv/start/ |
start.jd | 31 modify your existing apps to also run on TV devices or create new apps based on what you already 36 <strong>Important:</strong> There are specific requirements your app must meet to 42 This lesson describes how to prepare your development environment for building TV apps, and the 67 <li><strong>Activity for TV</strong> (Required) - In your application manifest, 81 Update your SDK tools to version 24.0.0 or higher</a></strong> 86 Update your SDK with Android 5.0 (API 21) or higher</a></strong> 91 Create or update your app project</a></strong> 103 This filter identifies your app as being enabled for TV, and is required for your app to be 105 in your app to launch when a user selects its icon on the TV home screen.</p [all...] |
/packages/apps/ManagedProvisioning/res/values/ |
strings.xml | 34 <string name="company_controls_workspace">Your organization controls this profile and keeps it secure. You control everything else on your device.</string> 36 <string name="company_controls_device">Your organization will control this device and keep it secure.</string> 40 <string name="the_following_is_your_mdm_for_device">The following app will manage your device:</string> 44 <string name="setting_up_workspace">Setting up your work profile\u2026</string> 46 <string name="admin_has_ability_to_monitor_profile">Your admin has the ability to monitor and manage settings, corporate access, apps, permissions, and data associated with this profile, including your network activity, as well as your device\'s location, call history, and contact search history.</string> 48 <string name="admin_has_ability_to_monitor_device">Your admin has the ability to monitor and manage settings, corporate access, apps, permissions, theft-protection features, and data associated with this device, including network activity and your device\'s location information.</string [all...] |
/frameworks/base/docs/html/design/patterns/ |
new.jd | 17 implement material design patterns in your apps.</p> 31 Your branding 37 customize the look of your app to reinforce your brand. 41 Use your brand color for accent by overriding the Android framework's default 47 Show your app's launcher icon and name in the action bar so that users can 48 see it in every screen of your app. 51 <a href="{@docRoot}design/style/branding.html">Your Branding</a> highlights 52 these and other pointers on how to incorporate elements of your brand into your [all...] |
/frameworks/base/docs/html/training/testing/unit-testing/ |
instrumented-unit-tests.jd | 13 <li><a href="#setup">Set Up Your Testing Environment</a></li> 21 <li><a href="#run-ctl">Run your tests with Firebase Test Lab</a></li> 41 instrumented unit tests if your tests need access to instrumentation 52 <h2 id="setup">Set Up Your Testing Environment</h2> 54 <p>In your Android Studio project, you must store the source files for 62 you to quickly build and run instrumented test code for your apps. The 72 <p>You also need to configure the Android testing dependencies for your project 74 Library. To simplify your test development, you should also include the 80 In your app's top-level {@code build.gradle} file, you need to specify these 102 AndroidJUnitRunner}</a> as the default test instrumentation runner in your [all...] |
/frameworks/base/docs/html/guide/components/ |
fundamentals.jd | 26 your code—along with any data and resource files—into an APK: an <i>Android package</i>, 70 <li>The core framework components that define your app.</li> 71 <li>The manifest file in which you declare components and required device features for your 73 <li>Resources that are separate from the app code and allow your app to 82 component is a different point through which the system can enter your app. Not all 85 helps define your app's overall behavior.</p> 128 the file system, an SQLite database, on the web, or any other persistent storage location your 135 <p>Content providers are also useful for reading and writing data that is private to your 172 photo with the device camera, there's probably another app that does that and your 176 photo. When complete, the photo is even returned to your app so you can use it. To the user [all...] |
/frameworks/base/docs/html/training/auto/messaging/ |
index.jd | 5 page.metaDescription=Learn how to extend your messaging app for use in Android Auto devices. 21 <li><a href="#manifest">Configure Your Manifest</a></li> 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 72 user's replies, such as a chat app. It shows you how to extend your app to hand those messages 86 <p>To enable your app to provide messaging services for Auto devices:</p> 89 <li>Configure your app manifest to indicate that your app provides messaging services which are 96 <li>Configure your app to receive {@link android.content.Intent} objects that indicate a use [all...] |