Home
last modified time | relevance | path

Searched defs:targetPackage (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverBgServiceTest.java61 final String targetPackage = APP_25_PACKAGE; in testBgServiceThrottled() local
118 private void requestClearIntent(String targetPackage) throws Exception { in requestClearIntent()
128 private String requestLastIntent(String targetPackage) throws Exception { in requestLastIntent()
141 private String waitForLastIntentAction(String targetPackage) throws Exception { in waitForLastIntentAction()
154 private String tryStartTestServiceAndReturnAction(String targetPackage, boolean foreground) in tryStartTestServiceAndReturnAction()
DBatterySaverAlarmTest.java123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm()
129 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm()
151 private String startService(String targetPackage, boolean foreground) in startService()
167 private void stopService(String targetPackage) throws Exception { in stopService()
188 final String targetPackage = APP_25_PACKAGE; in testAllowWhileIdleThrottled() local
261 final String targetPackage = APP_25_PACKAGE; in testAlarmsThrottled() local
DBroadcastRpc.java41 public Payload sendRequest(String targetPackage, in sendRequest()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java292 String targetPackage = getTargetPackage(commandIntent); in doBindService() local
304 String targetPackage = getTargetPackage(commandIntent); in doUnbindService() local
309 String targetPackage = getTargetPackage(commandIntent); in doStartForegroundService() local
324 String targetPackage = getTargetPackage(commandIntent); in doStartService() local
332 String targetPackage = getTargetPackage(commandIntent); in doStartForegroundServiceWithType() local
347 String targetPackage = getTargetPackage(commandIntent); in doStartForegroundServiceSticky() local
363 String targetPackage = getTargetPackage(commandIntent); in doStopService() local
387 String targetPackage = getTargetPackage(commandIntent); in doStartActivity() local
397 String targetPackage = getTargetPackage(commandIntent); in doStopActivity() local
405 final String targetPackage = getTargetPackage(commandIntent); in doCreateFgslPendingIntent() local
[all …]
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DAppMimeGroups.java46 private AppMimeGroups(Context context, String targetPackage) { in AppMimeGroups()
51 public static AppMimeGroups with(Context context, String targetPackage) { in with()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DAppAssertionsByGroupData.java28 AppAssertionsByGroupData(Context context, String targetPackage) { in AppAssertionsByGroupData()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/commands/
DAppCommands.java30 AppCommands(Context context, String targetPackage) { in AppCommands()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DBroadcastRpc.java45 public Payload.Response invoke(String targetPackage, Consumer<Builder> c) throws Exception { in invoke()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java126 private void performLogStatsdTest(String testMethod, String targetPackage, int expectedSize, in performLogStatsdTest()
132 ConfigUtils.uploadConfigForPushedAtomWithUid(getDevice(), targetPackage, in performLogStatsdTest() local
/cts/tests/tests/packageinstaller/userrestriction/src/android/packageinstaller/userrestriction/cts/
DUserRestrictionInstallTest.kt220 var targetPackage = TestApis.packages().installedForUser(initialUser).filter { in <lambda>() variable
254 val targetPackage = TestApis.packages().installedForUser(workProfile).filter { in <lambda>() constant
330 var targetPackage = TestApis.packages().installedForUser(initialUser).filter { in <lambda>() variable
/cts/tests/tests/display/src/android/display/cts/
DTestBase.java42 String targetPackage = in launchScreenOnActivity() local
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DInputMethodEnumerationTests.java129 private String[] getEnabledInputMethodSubtypeList(String sourcePackage, String targetPackage) in getEnabledInputMethodSubtypeList()
DAppEnumerationTests.java1598 private void startExplicitIntentViaComponent(String sourcePackage, String targetPackage) in startExplicitIntentViaComponent()
1606 String sourcePackage, String targetPackage) throws Exception { in startExplicitIntentNotExportedViaComponent()
1612 private void startExplicitIntentViaPackageName(String sourcePackage, String targetPackage) in startExplicitIntentViaPackageName()
1620 String sourcePackage, String targetPackage) throws Exception { in startExplicitPermissionProtectedIntentViaComponent()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBaseBroadcastTest.java118 protected void forceDelayBroadcasts(String targetPackage) { in forceDelayBroadcasts()
122 private void forceDelayBroadcasts(String targetPackage, long delayedDurationMs) { in forceDelayBroadcasts()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java330 private void assertActivityInjected(String targetPackage) { in assertActivityInjected()
472 private void assertInjectedActivityNotFound(String targetPackage) { in assertInjectedActivityNotFound()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java485 long startTime, long endTime, String targetPackage) { in verifyLastTimeVisibleWithinRange()
502 long startTime, long endTime, String targetPackage) { in verifyLastTimeAnyComponentUsedWithinRange()
526 private UsageStats getAggregateUsageStats(long startTime, long endTime, String targetPackage) { in getAggregateUsageStats()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java408 String targetPackage = "android"; in testQuery() local