Home
last modified time | relevance | path

Searched refs:mApplication (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DApplicationTestCase.java75 private T mApplication; field in ApplicationTestCase
83 return mApplication; in getApplication()
102 mApplication = null; in setupApplication()
104 mApplication = (T) Instrumentation.newApplication(mApplicationClass, getContext()); in setupApplication()
106 assertNotNull(mApplication); in setupApplication()
124 assertNotNull(mApplication); in createApplication()
126 mApplication.onCreate(); in createApplication()
137 mApplication.onTerminate(); in terminateApplication()
152 mApplication = null; in tearDown()
179 assertNotNull("Application class could not be instantiated successfully", mApplication); in testApplicationTestCaseSetUpProperly()
DActivityUnitTestCase.java87 private Application mApplication; field in ActivityUnitTestCase
140 if (mApplication == null) { in startActivity()
152 token, mApplication, intent, info, title, mMockParent, id, in startActivity()
192 mApplication = application; in setApplication()
DServiceTestCase.java108 private Application mApplication; field in ServiceTestCase
303 mApplication = application; in setApplication()
314 return mApplication; in getApplication()
/frameworks/base/core/java/android/app/
DService.java343 return mApplication; in getApplication()
834 mApplication = application; in attach()
860 private Application mApplication = null;
DLoadedApk.java138 private Application mApplication; field in LoadedApk
159 return mApplication; in getApplication()
1172 if (mApplication != null) { in makeApplication()
1173 return mApplication; in makeApplication()
1206 mApplication = app; in makeApplication()
DActivity.java800 private Application mApplication; field in Activity
973 return mApplication; in getApplication()
2415 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts()
7752 mApplication = application; in attach()
7860 (mApplication.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in performStart()
/frameworks/base/core/java/android/widget/
DRemoteViews.java210 public ApplicationInfo mApplication; field in RemoteViews
2239 mApplication = application;
2260 if (!landscape.hasSameAppInfo(portrait.mApplication)) {
2263 mApplication = portrait.mApplication;
2283 mApplication = src.mApplication;
2342 mApplication = parcel.readInt() == 0 ? info :
2351 mPortrait = new RemoteViews(parcel, mBitmapCache, mLandscape.mApplication, depth,
2353 mApplication = mPortrait.mApplication;
2380 return new ViewGroupActionAdd(parcel, mBitmapCache, mApplication, depth,
2435 return (mApplication != null) ? mApplication.packageName : null;
[all …]
DRemoteViewsAdapter.java1008 if (remoteViews.mApplication != null) { in updateRemoteViews()
1016 remoteViews.mApplication = mLastRemoteViewAppInfo; in updateRemoteViews()
1018 mLastRemoteViewAppInfo = remoteViews.mApplication; in updateRemoteViews()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java193 private Application mApplication; field in KeyValueBackupTaskTest
204 mApplication = RuntimeEnvironment.application; in setUp()
205 mContext = mApplication; in setUp()
210 File cacheDir = mApplication.getCacheDir(); in setUp()
219 mPackageManager = mApplication.getPackageManager(); in setUp()
222 mWakeLock = createBackupWakeLock(mApplication); in setUp()
226 setUpBinderCallerAndApplicationAsSystem(mApplication); in setUp()
232 mApplication, in setUp()
2546 new PackageManagerBackupAgent(mApplication.getPackageManager(), USER_ID); in createPmAgent()
2547 pmAgent.attach(mApplication); in createPmAgent()
[all …]