Home
last modified time | relevance | path

Searched refs:setActivity (Results 1 – 25 of 29) 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.java1547 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1555 b.setActivity(activity); in makeShortcut()
1576 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1584 b.setActivity(activity); in makeShortcut()
1599 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithExtras()
1615 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithCategory()
1631 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithLocusId()
1647 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeLongLivedShortcut()
2034 q.setActivity(componentName);
DShortcutManagerTest1.java467 s7.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut()
475 s1_2.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut()
549 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity()
1968 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
1979 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
4998 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
5008 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java998 mWifiSignalController.setActivity(DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1001 mWifiSignalController.setActivity(DATA_ACTIVITY_IN); in dispatchDemoCommand()
1004 mWifiSignalController.setActivity(DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1007 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1011 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1104 controller.setActivity(TelephonyManager.DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1107 controller.setActivity(TelephonyManager.DATA_ACTIVITY_IN); in dispatchDemoCommand()
1110 controller.setActivity(TelephonyManager.DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1113 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1117 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
DWifiSignalController.java138 void setActivity(int wifiActivity) { in setActivity() method in WifiSignalController
152 setActivity(state); in onStateChanged()
DMobileSignalController.java601 void setActivity(int activity) { in setActivity() method in MobileSignalController
661 setActivity(direction); in onDataActivity()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DShortcutQueryWrapperTest.java59 .setActivity(COMPONENT_NAME) in setUp()
/frameworks/base/core/java/android/app/servertransaction/
DPendingTransactionActions.java123 public void setActivity(ActivityClientRecord activity) { in setActivity() method in PendingTransactionActions.StopInfo
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java348 inShortcut.setActivity(mService.injectGetDefaultMainActivity( in requestPinShortcutLocked()
503 original.setActivity(mService.getDummyMainActivity(appPackageName)); in directPinShortcut()
DShortcutPackage.java550 oldShortcut.setActivity(null); in deleteOrDisableWithId()
DShortcutService.java1811 si.setActivity(defaultActivity); in fillInDefaultActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java204 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java125 public void setActivity(Activity a) { in setActivity() method in FragmentBreadCrumbs
DActivityThread.java4916 stopInfo.setActivity(r); in handleStopActivity()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1073 public Builder setActivity(@NonNull ComponentName activity) { in setActivity() method in ShortcutInfo.Builder
1403 public void setActivity(ComponentName activity) { in setActivity() method in ShortcutInfo
DLauncherApps.java498 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/core/java/android/preference/
DPreferenceActivity.java1190 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.java888 private void setActivity(DctConstants.Activity activity) { in setActivity() method in DcTracker
4490 setActivity(activity); in handleStartNetStatPoll()
4503 setActivity(activity); in handleStopNetStatPoll()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2339 .setActivity(componentName)

12