/frameworks/base/docs/html/tools/testing/ |
service_testing.jd | 80 with with methods for testing application permissions and for controlling the application and 81 Service under test. It also provides mock application and Context objects that isolate your 106 The methods {@link android.test.ServiceTestCase#setApplication(Application) setApplication()} 108 a mock Context or mock Application (or both) for the Service, before you start it. These mock 118 <code>ServiceTestCase</code> assumes that you will use a mock Context or mock Application 126 To inject a mock Application object into the Service under test, first create a subclass of 128 {@link android.app.Application} in which all the methods throw an Exception, so to use it 131 {@link android.test.ServiceTestCase#setApplication(Application) setApplication()} method. 132 This mock object allows you to control the application values that the Service sees, an [all...] |
/frameworks/base/media/java/android/media/ |
MediaFile.java | 185 addFileType("OGG", FILE_TYPE_OGG, "application/ogg", MtpConstants.FORMAT_OGG); 186 addFileType("OGA", FILE_TYPE_OGG, "application/ogg", MtpConstants.FORMAT_OGG); 228 addFileType("M3U", FILE_TYPE_M3U, "application/x-mpegurl", MtpConstants.FORMAT_M3U_PLAYLIST); 230 addFileType("WPL", FILE_TYPE_WPL, "application/vnd.ms-wpl", MtpConstants.FORMAT_WPL_PLAYLIST); 231 addFileType("M3U8", FILE_TYPE_HTTPLIVE, "application/vnd.apple.mpegurl"); 235 addFileType("FL", FILE_TYPE_FL, "application/x-android-drm-fl"); 240 addFileType("PDF", FILE_TYPE_PDF, "application/pdf"); 241 addFileType("DOC", FILE_TYPE_MS_WORD, "application/msword", MtpConstants.FORMAT_MS_WORD_DOCUMENT); 242 addFileType("XLS", FILE_TYPE_MS_EXCEL, "application/vnd.ms-excel", MtpConstants.FORMAT_MS_EXCEL_SPREADSHEET); 243 addFileType("PPT", FILE_TYPE_MS_POWERPOINT, "application/mspowerpoint", MtpConstants.FORMAT_MS_POWERPOINT_PRESENTATION) [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.java | 36 * application. This particular agent illustrates using the backup and 50 * within this one application's data set. Since we only maintain 62 /** The location of the application's persistent data file */ 72 * The set of data backed up by this application is very small: just 79 * <p>One thing that an application may wish to do is tag the state 81 * application is upgraded, the next time it attempts to do a backup, 89 // First, get the current data from the application's file. This 154 * @return <code>true</code> if the application's data has changed since 204 * This application does not do any "live" restores of its own data, 205 * so the only time a restore will happen is when the application i [all...] |
/libcore/luni/src/main/java/org/xml/sax/ |
InputSource.java | 21 * <p>This class allows a SAX application to encapsulate information 26 * <p>There are two places that the application can deliver an 45 * <p>An InputSource object belongs to the application: the SAX parser 102 * <p>Application writers should use setSystemId() to provide a base 123 * <p>Application writers should use setSystemId() to provide a base 144 * <p>The public identifier is always optional: if the application 176 * since the application can use it to resolve relative URIs 181 * <p>If the application knows the character encoding of the 225 * <p>If the application knows the character encoding of the 264 * <p>This method has no effect when the application provides [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalAlbum.java | 61 public LocalAlbum(Path path, GalleryApp application, int bucketId, 64 mApplication = application; 65 mResolver = application.getContentResolver(); 86 mNotifier = new ChangeNotifier(this, mBaseUri, application); 89 public LocalAlbum(Path path, GalleryApp application, int bucketId, 91 this(path, application, bucketId, isImage, 93 application.getContentResolver(), bucketId)); 163 GalleryApp application, boolean isImage, ArrayList<Integer> ids) { 184 ContentResolver resolver = application.getContentResolver(); 185 DataManager dataManager = application.getDataManager() [all...] |
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 68 * Path to this application's internal data directory. 73 * Path to this application's external (removable/mountable) data directory. 83 * This is the native instance of the application. It is not used by 84 * the framework, but can be set by the application to its own instance 90 * Pointer to the Asset Manager instance for the application. The application 97 * These are the callbacks the framework makes into a native application. 98 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 68 * Path to this application's internal data directory. 73 * Path to this application's external (removable/mountable) data directory. 83 * This is the native instance of the application. It is not used by 84 * the framework, but can be set by the application to its own instance 90 * Pointer to the Asset Manager instance for the application. The application 97 * These are the callbacks the framework makes into a native application. 98 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 68 * Path to this application's internal data directory. 73 * Path to this application's external (removable/mountable) data directory. 83 * This is the native instance of the application. It is not used by 84 * the framework, but can be set by the application to its own instance 90 * Pointer to the Asset Manager instance for the application. The application 97 * These are the callbacks the framework makes into a native application. 98 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-14/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-18/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/android/ |
native_activity.h | 38 * It is created by the framework, and handed to the application's native 43 * Pointer to the callback function table of the native application. 75 * Path to this application's internal data directory. 80 * Path to this application's external (removable/mountable) data directory. 90 * This is the native instance of the application. It is not used by 91 * the framework, but can be set by the application to its own instance 97 * Pointer to the Asset Manager instance for the application. The application 104 * These are the callbacks the framework makes into a native application. 105 * All of these callbacks happen on the main thread of the application [all...] |