Searched refs:application (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor_test.cpp26 XmlNodeAction& applicationAction = manifestAction[u"application"];
35 applicationAction.action([&](Element* application) -> bool {
36 applicationEl = application;
40 std::unique_ptr<XmlResource> doc = test::buildXmlDom("<manifest><application /></manifest>");
48 EXPECT_EQ(std::u16string(u"application"), applicationEl->name);
53 executor[u"manifest"][u"application"];
56 "<manifest><application /><activity /></manifest>");
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java36 * <p>For more information about application testing, read the
218 * object refers to a communication channel between the application and
227 * method. An example of this is in the ApiDemos sample application, in the
300 * Sets the application that is used during the test. If you do not call this method,
303 * @param application The Application object that is used by the service under test.
307 public void setApplication(Application application) { argument
308 mApplication = application;
314 * @return The application object.
H A DActivityUnitTestCase.java187 * Set the application for use during the test. You must call this function before calling
189 * @param application The Application object that will be injected into the Activity under test.
191 public void setApplication(Application application) { argument
192 mApplication = application;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingLog.java142 Application application = ActivityThread.currentApplication();
144 if (Build.IS_DEBUGGABLE && application != null) {
145 File f = new File(application.getDataDir(), "falsing-"
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp169 <application android:name=".MainApplication" text="hello">
172 </application>
185 xml::Element* applicationEl = manifestEl->findChild({}, u"application");
/frameworks/base/tests/AccessoryDisplay/common/
H A DAndroid.mk17 # Build the application.
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DNetworkImageViewTest.java23 mNIV = new NetworkImageView(RuntimeEnvironment.application);
/frameworks/base/core/java/android/app/
H A DService.java38 * A Service is an application component representing either an application's desire
48 * <p>Note that services, like other application objects, run in the main
83 * it runs in the same process as the application it is part of.
91 * <li>A facility for the application to tell the system <em>about</em>
93 * directly interacting with the application). This corresponds to calls to
97 * <li>A facility for an application to expose some of its functionality to
228 * foreground application, but in practice this should not be a concern.)
240 * <p>Other application components running in the same process as the service
249 * running alongside other parts of an application, i
759 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
[all...]
H A DContextImpl.java131 * context object for Activity and other application components.
337 // At least one application in the world actually passes in a null
1835 public Context createApplicationContext(ApplicationInfo application, int flags) argument
1837 LoadedApk pi = mMainThread.getPackageInfo(application, mResources.getCompatibilityInfo(),
1841 new UserHandle(UserHandle.getUserId(application.uid)), flags,
1849 "Application package " + application.packageName + " not found");
2029 // location for application.
/frameworks/base/tests/AccessoryDisplay/sink/
H A DAndroid.mk17 # Build the application.
/frameworks/base/tests/AccessoryDisplay/source/
H A DAndroid.mk17 # Build the application.
/frameworks/base/tests/RemoteDisplayProvider/
H A DAndroid.mk17 # Build the application.
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/
H A DAndroid.mk18 ## The application with a minimal main dex
58 ## The application with a full main dex
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp4 * Starts the interpreted runtime, then starts up the application.
213 // --application : Start in application (stand alone, non zygote) mode.
241 bool application = false; local
253 } else if (strcmp(arg, "--application") == 0) {
254 application = true;
269 // to RuntimeInit is the application argument.
273 args.add(application ? String8("application") : String8("tool"));
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/
H A DAndroid.mk18 ## The application with a minimal main dex
/frameworks/rs/api/
H A Drs_debug.spec20 The functions below are intended to be used during application developement.
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java112 Application application = ActivityThread.currentApplication();
113 if (application == null) {
115 "Failed to obtain application Context from ActivityThread");
117 return application;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DAndroid.mk114 ## Test application
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs1269 your application's UI."
1349 "How to enable deep linking and indexing of your application
2091 description="How to create an application that enforces security policies on devices."
2203 description="How to sell in-app products from your application using In-app Billing.">
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java54 * Class for managing the primary application that we will deliver SMS/MMS messages to
115 * The user-id for this application
174 * Requirements to be an SMS application:
230 intent.setDataAndType(null, "application/vnd.wap.mms-message");
353 * Checks to see if we have a valid installed SMS application for the specified package name
361 // Is there an entry in the application list for the specified package?
362 for (SmsApplicationData application : applications) {
363 if (application.mPackageName.contentEquals(packageName)) {
364 return application;
371 * Get the application w
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java2114 * @param application The application whose content is shown by the views.
2119 protected RemoteViews(ApplicationInfo application, int layoutId) { argument
2120 mApplication = application;
3171 // RemoteViews may be built by an application installed in another
3511 // Get the application for the passed in package and user.
3512 Application application = ActivityThread.currentApplication();
3513 if (application == null) {
3517 ApplicationInfo applicationInfo = application.getApplicationInfo();
3521 Context context = application
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java253 * @param context the application context
263 * @param context the application context
273 * @param context the application context
286 * @param context the application context
296 * @param context the application context
306 * @param context the application context
/frameworks/base/core/java/android/content/
H A DContextWrapper.java790 public Context createApplicationContext(ApplicationInfo application, argument
792 return mBase.createApplicationContext(application, flags);
/frameworks/base/tools/aapt/
H A DResource.cpp872 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
873 if (application != NULL) {
874 if (!addTagAttribute(application, RESOURCES_ANDROID_NAMESPACE, "debuggable", "true",
898 sp<XMLNode> application = root->getChildElement(String16(), String16("application")); local
899 if (application != NULL) {
900 fullyQualifyClassName(origPackage, application, String16("name"));
901 fullyQualifyClassName(origPackage, application, String16("backupAgent"));
903 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java666 public Context createApplicationContext(ApplicationInfo application, int flags) argument

Completed in 688 milliseconds

12