/frameworks/base/test-runner/src/android/test/ |
D | ActivityInstrumentationTestCase.java | 76 setActivity(launchActivity(targetPackageName, mActivityClass, null)); in setUp() 82 setActivity(null); in tearDown()
|
D | ActivityUnitTestCase.java | 136 setActivity(null); in startActivity() 160 setActivity(newActivity); in startActivity() 176 setActivity(null); in tearDown()
|
D | ActivityInstrumentationTestCase2.java | 108 setActivity(a); in getActivity() 166 setActivity(null); in tearDown()
|
D | ActivityTestCase.java | 51 protected void setActivity(Activity testActivity) { in setActivity() method in ActivityTestCase
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 117 () -> new ShortcutInfo.Builder(getTestContext(), "id").setActivity(null)); in testShortcutInfoMissingMandatoryFields() 155 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 164 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 171 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 180 .setActivity(new ComponentName(getClientContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 189 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields() 198 .setActivity(new ComponentName("xxx", "s")) in testShortcutInfoMissingMandatoryFields() 209 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields() 217 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields() 225 .setActivity(new ComponentName(getClientContext(), "s")) in testShortcutInfoMissingMandatoryFields() [all …]
|
D | BaseShortcutManagerTest.java | 1552 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutExcludedFromLauncher() 1665 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() 1673 b.setActivity(activity); in makeShortcut() 1694 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcut() 1702 b.setActivity(activity); in makeShortcut() 1717 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithExtras() 1733 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithCategory() 1749 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeShortcutWithLocusId() 1765 .setActivity(new ComponentName(mClientContext.getPackageName(), "main")) in makeLongLivedShortcut() 2184 q.setActivity(componentName);
|
D | ShortcutManagerTest1.java | 496 s7.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut() 507 s1_2.setActivity(makeComponent(ShortcutActivity2.class)); in testPushDynamicShortcut() 641 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity() 2115 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings() 2126 .setActivity(new ComponentName(mClientContext, "dummy")) in testGetShortcuts_resolveStrings() 2162 .setActivity(new ComponentName(mClientContext, ShortcutActivity2.class)) in testGetShortcuts_personsFlag() 5354 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged() 5364 .setActivity(makeComponent(ShortcutActivity.class)) in testHandlePackageUpdate_resIdChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/shortcut/ |
D | BubbleShortcutHelper.kt | 33 .setActivity(ShowBubblesActivity.createComponent(context)) in createShortcut()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/ |
D | MobileStatusTracker.java | 112 private void setActivity(int activity) { in setActivity() method in MobileStatusTracker 168 setActivity(direction); in onDataActivity()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ShortcutQueryWrapperTest.java | 59 .setActivity(COMPONENT_NAME) in setUp()
|
D | AppSearchShortcutInfoTest.java | 51 .setActivity(activity) in testBuildShortcutAndGetValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskRoleManagerExt.kt | 71 .setActivity(LaunchNoteTaskActivity.createComponent(context)) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | WifiSignalController.java | 261 void setActivity(int wifiActivity) { in setActivity() method in WifiSignalController 282 setActivity(state); in onStateChanged()
|
D | NetworkControllerImpl.java | 1382 controller.setActivity(TelephonyManager.DATA_ACTIVITY_INOUT); in dispatchDemoCommand() 1385 controller.setActivity(TelephonyManager.DATA_ACTIVITY_IN); in dispatchDemoCommand() 1388 controller.setActivity(TelephonyManager.DATA_ACTIVITY_OUT); in dispatchDemoCommand() 1391 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand() 1395 controller.setActivity(TelephonyManager.DATA_ACTIVITY_NONE); in dispatchDemoCommand()
|
D | MobileSignalController.java | 547 void setActivity(int activity) { in setActivity() method in MobileSignalController
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | PendingTransactionActions.java | 103 public void setActivity(ActivityClientRecord activity) { in setActivity() method in PendingTransactionActions.StopInfo
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 580 ResolveInfo pkg1ResolveInfo = new ResolveInfoBuilder().setActivity(PACKAGE_1).build(); in testSimStateChangedSimStateReadyThenLoaded() 581 ResolveInfo pkg2ResolveInfo = new ResolveInfoBuilder().setActivity(PACKAGE_2).build(); in testSimStateChangedSimStateReadyThenLoaded() 889 ResolveInfo privilegeBroadcast = new ResolveInfoBuilder().setActivity(PACKAGE_1).build(); in testGetCarrierPackageNameForIntent() 890 ResolveInfo noPrivilegeBroadcast = new ResolveInfoBuilder().setActivity(PACKAGE_2).build(); in testGetCarrierPackageNameForIntent() 894 ResolveInfo privilegeActivity = new ResolveInfoBuilder().setActivity(PACKAGE_3).build(); in testGetCarrierPackageNameForIntent() 895 ResolveInfo noPrivilegeActivity = new ResolveInfoBuilder().setActivity(PACKAGE_4).build(); in testGetCarrierPackageNameForIntent() 1163 public ResolveInfoBuilder setActivity(String packageName) { in setActivity() method in CarrierPrivilegesTrackerTest.ResolveInfoBuilder
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 347 inShortcut.setActivity(mService.injectGetDefaultMainActivity( in requestPinShortcutLocked() 506 original.setActivity(mService.getDummyMainActivity(appPackageName)); in directPinShortcut()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsModifierTestsBase.java | 131 CalculateRequestBuilder setActivity(ActivityRecord activity) { in setActivity() method in LaunchParamsModifierTestsBase.CalculateRequestBuilder
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | MultiInstanceHelperTest.kt | 72 val shortcutInfo = ShortcutInfo.Builder(context, "id").setActivity(component).build() in getShortcutComponent_validShortcut()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppSearchShortcutInfo.java | 337 .setActivity(shortcutInfo.getActivity()) in instance() 469 public Builder setActivity(@Nullable final ComponentName activity) { in setActivity() method in AppSearchShortcutInfo.Builder
|
D | ShortcutInfo.java | 1170 public Builder setActivity(@NonNull ComponentName activity) { in setActivity() method in ShortcutInfo.Builder 1563 public void setActivity(ComponentName activity) { in setActivity() method in ShortcutInfo
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 125 public void setActivity(Activity a) { in setActivity() method in FragmentBreadCrumbs
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerWifiTest.java | 372 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskFragmentOrganizerController.java | 776 .setActivity(activity) in onActivityReparentedToTask() 1020 Builder setActivity(@NonNull ActivityRecord activity) { in setActivity() method in TaskFragmentOrganizerController.PendingTaskFragmentEvent.Builder
|