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.java137 private Application mApplication; field in LoadedApk
158 return mApplication; in getApplication()
1196 if (mApplication != null) { in makeApplication()
1197 return mApplication; in makeApplication()
1230 mApplication = app; in makeApplication()
DActivity.java800 private Application mApplication; field in Activity
969 return mApplication; in getApplication()
2409 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts()
7730 mApplication = application; in attach()
7837 (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.java194 private Application mApplication; field in KeyValueBackupTaskTest
205 mApplication = RuntimeEnvironment.application; in setUp()
206 mContext = mApplication; in setUp()
211 File cacheDir = mApplication.getCacheDir(); in setUp()
220 mPackageManager = mApplication.getPackageManager(); in setUp()
223 mWakeLock = createBackupWakeLock(mApplication); in setUp()
227 setUpBinderCallerAndApplicationAsSystem(mApplication); in setUp()
233 mApplication, in setUp()
2547 new PackageManagerBackupAgent(mApplication.getPackageManager(), USER_ID); in createPmAgent()
2548 pmAgent.attach(mApplication); in createPmAgent()
[all …]