Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DActivityInstrumentationTestCase.java76 setActivity(launchActivity(targetPackageName, mActivityClass, null)); in setUp()
82 setActivity(null); in tearDown()
DActivityInstrumentationTestCase2.java108 setActivity(a); in getActivity()
166 setActivity(null); in tearDown()
DActivityUnitTestCase.java136 setActivity(null); in startActivity()
160 setActivity(newActivity); in startActivity()
176 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.java923 mWifiSignalController.setActivity(DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
926 mWifiSignalController.setActivity(DATA_ACTIVITY_IN); in dispatchDemoCommand()
929 mWifiSignalController.setActivity(DATA_ACTIVITY_OUT); in dispatchDemoCommand()
932 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
936 mWifiSignalController.setActivity(DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1026 controller.setActivity(TelephonyManager.DATA_ACTIVITY_INOUT); in dispatchDemoCommand()
1029 controller.setActivity(TelephonyManager.DATA_ACTIVITY_IN); in dispatchDemoCommand()
1032 controller.setActivity(TelephonyManager.DATA_ACTIVITY_OUT); in dispatchDemoCommand()
1035 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
1039 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.java552 void setActivity(int activity) { in setActivity() method in MobileSignalController
627 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.java4683 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java900 private void setActivity(DctConstants.Activity activity) { in setActivity() method in DcTracker
4253 setActivity(activity); in handleStartNetStatPoll()
4266 setActivity(activity); in handleStopNetStatPoll()
/frameworks/base/test-runner/api/
Dcurrent.txt23 method @Deprecated protected void setActivity(android.app.Activity);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...