Home
last modified time | relevance | path

Searched refs:HELPER_PACKAGE (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/
DProcStatsTest.java42 private static final String HELPER_PACKAGE = "com.android.server.cts.procstatshelper"; field in ProcStatsTest
58 buildIntent(HELPER_PACKAGE + "/.MainActivity")); in testLaunchApp()
63 buildIntent(HELPER_PACKAGE + "/.ProcStatsHelperServiceMain")); in testLaunchApp()
71 buildIntent(HELPER_PACKAGE + "/.MainActivity")); in testLaunchApp()
76 buildIntent(HELPER_PACKAGE + "/.ProcStatsHelperServiceSub")); in testLaunchApp()
81 runCommand("dumpsys meminfo " + HELPER_PACKAGE, in testLaunchApp()
83 runCommand("dumpsys meminfo " + HELPER_PACKAGE + ":proc2", in testLaunchApp()
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DShortFgsHelper.java49 public static final String HELPER_PACKAGE = "android.app.cts.shortfgstesthelper"; field in ShortFgsHelper
59 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + HELPER_PACKAGE;
62 public static ComponentName FGS0 = new ComponentName(HELPER_PACKAGE, Fgs0.class.getName());
63 public static ComponentName FGS1 = new ComponentName(HELPER_PACKAGE, Fgs1.class.getName());
64 public static ComponentName FGS2 = new ComponentName(HELPER_PACKAGE, Fgs2.class.getName());
67 HELPER_PACKAGE, BoundService.class.getName());
71 new ComponentName(HELPER_PACKAGE, MyActivity.class.getName());
95 .setContentTitle("Title: " + HELPER_PACKAGE) in createNotification()
DShortFgsMessageReceiver.java19 import static android.app.cts.shortfgstesthelper.ShortFgsHelper.HELPER_PACKAGE;
52 sendMessage(HELPER_PACKAGE, m); in sendMessage()
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DFgsTimeoutHelper.java49 public static final String HELPER_PACKAGE = "android.app.cts.fgstimeouttesthelper"; field in FgsTimeoutHelper
53 private static final String NOTIFICATION_CHANNEL_ID = "cts/" + HELPER_PACKAGE;
56 public static ComponentName FGS0 = new ComponentName(HELPER_PACKAGE, Fgs0.class.getName());
57 public static ComponentName FGS1 = new ComponentName(HELPER_PACKAGE, Fgs1.class.getName());
58 public static ComponentName FGS2 = new ComponentName(HELPER_PACKAGE, Fgs2.class.getName());
62 new ComponentName(HELPER_PACKAGE, MyActivity.class.getName());
75 .setContentTitle("Title: " + HELPER_PACKAGE) in createNotification()
DFgsTimeoutMessageReceiver.java19 import static android.app.cts.fgstimeouttesthelper.FgsTimeoutHelper.HELPER_PACKAGE;
45 sendMessage(HELPER_PACKAGE, m); in sendMessage()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DComponentStateChangedReportedStatsTests.java62 private static final String HELPER_PACKAGE = "com.android.cts.packagemanager.stats.device"; field in ComponentStateChangedReportedStatsTests
64 HELPER_PACKAGE + ".ComponentStateChangedReportedStatsTestsHelper";
112 runDeviceTests(getDevice(), HELPER_PACKAGE, HELPER_CLASS, in testComponentStateChangedReportedForWholeApp() local
129 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForWholeApp() local
147 runDeviceTests(getDevice(), HELPER_PACKAGE, HELPER_CLASS, in testComponentStateChangedReportedForLauncherActivity() local
164 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForLauncherActivity() local
182 runDeviceTests(getDevice(), HELPER_PACKAGE, HELPER_CLASS, in testComponentStateChangedReportedForNoLauncherActivity() local
199 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForNoLauncherActivity() local
217 runDeviceTests(getDevice(), HELPER_PACKAGE, HELPER_CLASS, in testComponentStateChangedReportedEnabledThenDisabled() local
234 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled() local
[all …]
DIncrementalAppErrorStatsTests.java54 private static final String HELPER_PACKAGE = "com.android.cts.packagemanager.stats.device"; field in IncrementalAppErrorStatsTests
85 Map<String, String> testResult = Utils.runDeviceTests(getDevice(), HELPER_PACKAGE, in setUp()
115 Utils.runDeviceTests(getDevice(), HELPER_PACKAGE, HELPER_CLASS, in setUp() local
DPackageInstallationSessionReportedStatsTests.java46 private static final String HELPER_PACKAGE = "com.android.cts.packagemanager.stats.device"; field in PackageInstallationSessionReportedStatsTests
183 Map<String, String> testResult = Utils.runDeviceTests(getDevice(), HELPER_PACKAGE, in checkUserTypes()
/cts/tests/app/GetBindingUidImportanceTest/src/android/app/cts/getbindinguidimportance/
DActivityManager_getBindingUidImportanceTest.java74 private static final String HELPER_PACKAGE = "android.app.stubs"; field in ActivityManager_getBindingUidImportanceTest
76 HELPER_PACKAGE, "android.app.stubs.Receiver_getBindingUidImportance");
96 sHelperUid = sContext.getPackageManager().getPackageUid(HELPER_PACKAGE, 0); in beforeClass()
105 ShellUtils.runShellCommand("am force-stop %s", HELPER_PACKAGE); in setUp()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java24 import static android.app.cts.shortfgstesthelper.ShortFgsHelper.HELPER_PACKAGE;
233 SystemUtil.runShellCommand("am force-stop " + HELPER_PACKAGE); in forceStopHelperApps()
234 untempAllowlistPackage(HELPER_PACKAGE); in forceStopHelperApps()
327 final ProcStateInfo actual = DumpProtoUtils.getProcessProcState(HELPER_PACKAGE); in assertHelperPackageProcState()
333 final ProcStateInfo actual = DumpProtoUtils.getProcessProcState(HELPER_PACKAGE); in assertHelperPackageIsCached()
861 () -> DumpProtoUtils.getProcessProcState(HELPER_PACKAGE).mProcState in testTopStartedShortService()
908 HELPER_PACKAGE)) { in testAnr() argument
941 tempAllowlistPackage(HELPER_PACKAGE, 5000); in testStartFromStartService()
1051 tempAllowlistPackage(HELPER_PACKAGE, 10 * 60 * 1000); in testTypeChange_fromShort_toAnother()
1129 tempAllowlistPackage(HELPER_PACKAGE, 10 * 60 * 1000); in testTimeoutExtension()
[all …]
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutTest.java22 import static android.app.cts.fgstimeouttesthelper.FgsTimeoutHelper.HELPER_PACKAGE;
568 DumpProtoUtils.getProcessProcState(FgsTimeoutHelper.HELPER_PACKAGE).mProcState in startActivityToResetLimits()
582 DumpProtoUtils.getProcessProcState(FgsTimeoutHelper.HELPER_PACKAGE); in assertHelperPackageProcState()
598 SystemUtil.runShellCommand("am force-stop " + HELPER_PACKAGE); in forceStopHelperApps()