Home
last modified time | relevance | path

Searched refs:setActivity (Results 1 – 25 of 27) 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.java1523 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1531 b.setActivity(activity); in makeShortcut()
1552 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut()
1560 b.setActivity(activity); in makeShortcut()
1575 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithExtras()
1591 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithCategory()
1968 q.setActivity(componentName);
DShortcutManagerTest1.java425 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity()
1486 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
1497 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings()
4516 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
4526 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java965 mWifiSignalController.setActivity(DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
968 mWifiSignalController.setActivity(DATA_ACTIVITY_IN); in dispatchDemoCommand()
971 mWifiSignalController.setActivity(DATA_ACTIVITY_OUT); in dispatchDemoCommand()
974 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
978 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1071 controller.setActivity(TelephonyManager.DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1074 controller.setActivity(TelephonyManager.DATA_ACTIVITY_IN); in dispatchDemoCommand()
1077 controller.setActivity(TelephonyManager.DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1080 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1084 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
DWifiSignalController.java123 void setActivity(int wifiActivity) { in setActivity() method in WifiSignalController
137 setActivity(state); in onStateChanged()
DMobileSignalController.java601 void setActivity(int activity) { in setActivity() method in MobileSignalController
661 setActivity(direction); in onDataActivity()
/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.java346 inShortcut.setActivity(mService.injectGetDefaultMainActivity( in requestPinShortcutLocked()
499 original.setActivity(mService.getDummyMainActivity(appPackageName)); in directPinShortcut()
DShortcutPackage.java436 oldShortcut.setActivity(null); in deleteOrDisableWithId()
DShortcutService.java1723 si.setActivity(defaultActivity); in fillInDefaultActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java174 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.java4723 stopInfo.setActivity(r); in handleStopActivity()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1041 public Builder setActivity(@NonNull ComponentName activity) { in setActivity() method in ShortcutInfo.Builder
1371 public void setActivity(ComponentName activity) { in setActivity() method in ShortcutInfo
DLauncherApps.java441 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity() method in LauncherApps.ShortcutQuery
/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.java887 private void setActivity(DctConstants.Activity activity) { in setActivity() method in DcTracker
4457 setActivity(activity); in handleStartNetStatPoll()
4470 setActivity(activity); in handleStopNetStatPoll()
/frameworks/base/non-updatable-api/
Dcurrent.txt4843 method @Deprecated public void setActivity(android.app.Activity);
11343 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.…
12053 …method @NonNull public android.content.pm.ShortcutInfo.Builder setActivity(@NonNull android.conten…
/frameworks/base/api/
Dcurrent.txt4843 method @Deprecated public void setActivity(android.app.Activity);
11343 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.…
12053 …method @NonNull public android.content.pm.ShortcutInfo.Builder setActivity(@NonNull android.conten…
/frameworks/base/config/
Dboot-image-profile.txt4542 HSPLandroid/content/pm/ShortcutInfo$Builder;->setActivity(Landroid/content/ComponentName;)Landroid/…
23336 HSPLcom/android/internal/telephony/dataconnection/DcTracker;->setActivity(Lcom/android/internal/tel…

12