/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySaverBgServiceTest.java | 59 final String targetPackage = APP_25_PACKAGE; in testBgServiceThrottled() local 67 runMakeUidIdle(targetPackage); in testBgServiceThrottled() 68 runKill(targetPackage); in testBgServiceThrottled() 71 requestClearIntent(targetPackage); in testBgServiceThrottled() 73 final String action = tryStartTestServiceAndReturnAction(targetPackage, false); in testBgServiceThrottled() 75 assertEquals(action, waitForLastIntentAction(targetPackage)); in testBgServiceThrottled() 85 runMakeUidIdle(targetPackage); in testBgServiceThrottled() 86 runKill(targetPackage); in testBgServiceThrottled() 89 requestClearIntent(targetPackage); in testBgServiceThrottled() 91 assertNull(requestLastIntent(targetPackage)); in testBgServiceThrottled() [all …]
|
D | BatterySaverAlarmTest.java | 118 private void scheduleAlarm(String targetPackage, int type, long triggerMillis) in scheduleAlarm() argument 120 scheduleAlarm(targetPackage, type, triggerMillis, /*whileIdle=*/ true); in scheduleAlarm() 123 private void scheduleAlarm(String targetPackage, int type, long triggerMillis, in scheduleAlarm() argument 133 final Payload response = mRpc.sendRequest(targetPackage, in scheduleAlarm() 144 private String startService(String targetPackage, boolean foreground) in startService() argument 148 final Payload response = mRpc.sendRequest(targetPackage, in startService() 160 private void stopService(String targetPackage) throws Exception { in stopService() argument 161 final Payload response = mRpc.sendRequest(targetPackage, in stopService() 180 final String targetPackage = APP_25_PACKAGE; in testAllowWhileIdleThrottled() local 186 forcePackageIntoBg(targetPackage); in testAllowWhileIdleThrottled() [all …]
|
D | BroadcastRpc.java | 41 public Payload sendRequest(String targetPackage, in sendRequest() argument 43 return super.invoke(getCommReceiver(targetPackage), testServiceRequest); in sendRequest()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 94 String targetPackage = getTargetPackage(commandIntent); in doBindService() local 98 bindIntent.setComponent(new ComponentName(targetPackage, SERVICE_NAME)); in doBindService() 100 ServiceConnection connection = addServiceConnection(targetPackage); in doBindService() 106 String targetPackage = getTargetPackage(commandIntent); in doUnbindService() local 107 context.unbindService(sServiceMap.remove(targetPackage)); in doUnbindService() 139 String targetPackage, int flags, Bundle extras) { in sendCommand() argument 147 intent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in sendCommand()
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | BroadcastRpc.java | 45 public Payload.Response invoke(String targetPackage, Consumer<Builder> c) throws Exception { in invoke() argument 49 return super.invoke(getCommReceiver(targetPackage), in invoke()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstrumentationInfoTest.java | 62 assertEquals(expected.targetPackage, actual.targetPackage); in checkInfoSame()
|
D | PackageManagerTest.java | 141 String targetPackage = "android"; in testQuery() local 143 targetPackage, 0); in testQuery()
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 328 private void assertActivityInjected(String targetPackage) { in assertActivityInjected() argument 336 if (compName.getPackageName().equals(targetPackage)) { in assertActivityInjected() 462 private void assertInjectedActivityNotFound(String targetPackage) { in assertInjectedActivityNotFound() argument 469 if (compName.getPackageName().equals(targetPackage)) { in assertInjectedActivityNotFound()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 339 final String targetPackage = targetContext.getPackageName(); 341 setForcedAppStandby(targetPackage, true); 343 setForcedAppStandby(targetPackage, false);
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 426 String targetPackage = 433 launchActivity(targetPackage, clazz, null);
|