/frameworks/base/test-runner/src/android/test/ |
D | ApplicationTestCase.java | 75 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()
|
D | ActivityUnitTestCase.java | 87 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()
|
D | ServiceTestCase.java | 108 private Application mApplication; field in ServiceTestCase 303 mApplication = application; in setApplication() 314 return mApplication; in getApplication()
|
/frameworks/base/core/java/android/app/ |
D | Service.java | 360 return mApplication; in getApplication() 987 mApplication = application; in attach() 1041 private Application mApplication = null;
|
D | LoadedApk.java | 144 private Application mApplication; field in LoadedApk 173 return mApplication; in getApplication() 385 getClassLoader(), mApplication == null ? null in updateApplicationInfo() 386 : mApplication.getResources().getLoaders()); in updateApplicationInfo() 1409 if (mApplication != null) { in makeApplicationInner() 1410 return mApplication; in makeApplicationInner() 1429 mApplication = cached; in makeApplicationInner() 1482 mApplication = app; in makeApplicationInner()
|
D | Activity.java | 878 private Application mApplication; field in Activity 1266 return mApplication; in getApplication() 2796 final int resource = mApplication.getApplicationInfo().labelRes; in onProvideKeyboardShortcuts() 8911 mApplication = application; 9060 (mApplication.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0;
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 356 public ApplicationInfo mApplication; field in RemoteViews 4015 mApplication = application; 4062 if (!landscape.hasSameAppInfo(portrait.mApplication)) { 4066 mApplication = portrait.mApplication; 4119 mApplication = smallestView.mApplication; 4140 if (smallestView != null && !view.hasSameAppInfo(smallestView.mApplication)) { 4204 mApplication = src.mApplication; 4287 mApplication = parcel.readTypedObject(ApplicationInfo.CREATOR); 4303 info = view.mApplication; 4308 mApplication = smallestView.mApplication; [all …]
|
D | RemoteViewsAdapter.java | 1001 if (remoteViews.mApplication != null) { in updateRemoteViews() 1009 remoteViews.mApplication = mLastRemoteViewAppInfo; in updateRemoteViews() 1011 mLastRemoteViewAppInfo = remoteViews.mApplication; in updateRemoteViews()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 132 private Application mApplication; field in ApplicationsStateRoboTest 221 mApplication = spy(RuntimeEnvironment.application); in setUp() 239 mApplicationsState = ApplicationsState.getInstance(mApplication, mPackageManagerService); in setUp() 739 when(mApplication.getPackageName()).thenReturn("com.android.settings"); in testDefaultSession_enabledAppIconCache_shouldSkipPreloadIcon() 845 mApplicationsState = ApplicationsState.getInstance(mApplication, mPackageManagerService); in isHiddenModule_hasApkInApexInfo_shouldSupportHiddenApexPackage() 859 mApplicationsState = ApplicationsState.getInstance(mApplication, mPackageManagerService); in isHiddenModule_noApkInApexInfo_onlySupportHiddenModule()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 210 private Application mApplication; field in KeyValueBackupTaskTest 222 mApplication = RuntimeEnvironment.application; in setUp() 223 mContext = mApplication; in setUp() 228 File cacheDir = mApplication.getCacheDir(); in setUp() 237 mPackageManager = mApplication.getPackageManager(); in setUp() 240 mWakeLock = createBackupWakeLock(mApplication); in setUp() 244 setUpBinderCallerAndApplicationAsSystem(mApplication); in setUp() 251 mApplication, in setUp() 2726 new PackageManagerBackupAgent(mApplication.getPackageManager(), USER_ID, in createPmAgent() 2728 pmAgent.attach(mApplication); in createPmAgent() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 9560 mApplication = std::make_shared<FakeApplicationHandle>(); in SetUp() 9561 mApplication->setDispatchingTimeout(100ms); in SetUp() 9562 mWindow = sp<FakeWindowHandle>::make(mApplication, mDispatcher, "TestWindow", in SetUp() 9569 mDispatcher->setFocusedApplication(ui::LogicalDisplayId::DEFAULT, mApplication); in SetUp() 9583 std::shared_ptr<FakeApplicationHandle> mApplication; member in android::inputdispatcher::InputDispatcherSingleWindowAnr 9600 sp<FakeWindowHandle> spy = sp<FakeWindowHandle>::make(mApplication, mDispatcher, "Spy", in addSpyWindow() 9703 const std::chrono::duration timeout = mApplication->getDispatchingTimeout(DISPATCHING_TIMEOUT); in TEST_F() 9704 mFakePolicy->assertNotifyNoFocusedWindowAnrWasCalled(timeout, mApplication); in TEST_F() 9748 mApplication->setDispatchingTimeout(appTimeout); in TEST_F() 9749 mDispatcher->setFocusedApplication(ui::LogicalDisplayId::DEFAULT, mApplication); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/ |
D | ToastUITest.java | 106 @Mock private Application mApplication; field in ToastUITest
|