Home
last modified time | relevance | path

Searched refs:setActivity (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
DActivityInstrumentationTestCase.java76 setActivity(launchActivity(targetPackageName, mActivityClass, null)); in setUp()
82 setActivity(null); in tearDown()
DActivityUnitTestCase.java136 setActivity(null); in startActivity()
160 setActivity(newActivity); in startActivity()
176 setActivity(null); in tearDown()
DActivityInstrumentationTestCase2.java108 setActivity(a); in getActivity()
166 setActivity(null); in tearDown()
DActivityTestCase.java51 protected void setActivity(Activity testActivity) { in setActivity() method in ActivityTestCase
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java112 () -> new ShortcutInfo.Builder(getTestContext(), "id").setActivity(null)); in testShortcutInfoMissingMandatoryFields()
150 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields()
159 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields()
166 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields()
175 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields()
184 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields()
193 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields()
204 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields()
212 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields()
220 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields()
[all …]
DBaseShortcutManagerTest.java1879 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1887 b.setActivity(activity); in makeShortcut()
1908 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1916 b.setActivity(activity); in makeShortcut()
1931 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithExtras()
1947 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithCategory()
1963 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithLocusId()
1979 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeLongLivedShortcut()
2375 q.setActivity(componentName);
DShortcutManagerTest1.java491 s7.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut()
502 s1_2.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut()
585 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity()
2059 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
2070 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
2106 .setActivity(new ComponentName(mClientContext, ShortcutActivity2.class)) in testGetShortcuts_personsFlag()
5129 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
5139 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java1251 mWifiSignalController.setActivity(DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1254 mWifiSignalController.setActivity(DATA_ACTIVITY_IN); in dispatchDemoCommand()
1257 mWifiSignalController.setActivity(DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1260 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1264 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1357 controller.setActivity(TelephonyManager.DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1360 controller.setActivity(TelephonyManager.DATA_ACTIVITY_IN); in dispatchDemoCommand()
1363 controller.setActivity(TelephonyManager.DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1366 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1370 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
DWifiSignalController.java251 void setActivity(int wifiActivity) { in setActivity() method in WifiSignalController
271 setActivity(state); in onStateChanged()
DMobileSignalController.java822 void setActivity(int activity) { in setActivity() method in MobileSignalController
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileStatusTracker.java102 private void setActivity(int activity) { in setActivity() method in MobileStatusTracker
158 setActivity(direction); in onDataActivity()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java49 .setActivity(activity) in testBuildShortcutAndGetValue()
DShortcutQueryWrapperTest.java59 .setActivity(COMPONENT_NAME) in setUp()
/frameworks/base/core/java/android/app/servertransaction/
DPendingTransactionActions.java121 public void setActivity(ActivityClientRecord activity) { in setActivity() method in PendingTransactionActions.StopInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java347 inShortcut.setActivity(mService.injectGetDefaultMainActivity( in requestPinShortcutLocked()
502 original.setActivity(mService.getDummyMainActivity(appPackageName)); in directPinShortcut()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java125 public void setActivity(Activity a) { in setActivity() method in FragmentBreadCrumbs
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java297 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java325 .setActivity(shortcutInfo.getActivity()) in instance()
473 public Builder setActivity(@Nullable final ComponentName activity) { in setActivity() method in AppSearchShortcutInfo.Builder
DShortcutInfo.java1098 public Builder setActivity(@NonNull ComponentName activity) { in setActivity() method in ShortcutInfo.Builder
1442 public void setActivity(ComponentName activity) { in setActivity() method in ShortcutInfo
DLauncherApps.java528 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity() method in LauncherApps.ShortcutQuery
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java251 .setActivity(intent.getComponent())
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java112 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setActivity(null).calculate()); in testReturnsSkipWithEmptyActivity()
1758 private CalculateRequestBuilder setActivity(ActivityRecord activity) { in setActivity() method in TaskLaunchParamsModifierTests.CalculateRequestBuilder
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java1191 mFragmentBreadCrumbs.setActivity(this); in showBreadCrumbs()
/frameworks/base/test-runner/api/
Dcurrent.txt23 method @Deprecated protected void setActivity(android.app.Activity);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java948 private void setActivity(DctConstants.Activity activity) { in setActivity() method in DcTracker
4906 setActivity(activity); in handleStartNetStatPoll()
4919 setActivity(activity); in handleStopNetStatPoll()

12