Home
last modified time | relevance | path

Searched refs:fgsIntent (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DBootReceiver.java42 final Intent fgsIntent = new Intent(); in onReceive() local
43 fgsIntent.setClass(context, BootCompletedFgs.class); in onReceive()
44 fgsIntent.putExtras(intent); in onReceive()
45 context.startForegroundService(fgsIntent); in onReceive()
DCommandReceiver.java310 Intent fgsIntent = new Intent(); in doStartForegroundService() local
311 fgsIntent.putExtras(commandIntent); in doStartForegroundService()
312 fgsIntent.setComponent(new ComponentName(targetPackage, FG_SERVICE_NAME)); in doStartForegroundService()
314 fgsIntent.putExtras(LocalForegroundService.newCommand(command)); in doStartForegroundService()
316 context.startForegroundService(fgsIntent); in doStartForegroundService()
325 Intent fgsIntent = new Intent(); in doStartService() local
326 fgsIntent.putExtras(commandIntent); in doStartService()
327 fgsIntent.setComponent(new ComponentName(targetPackage, FG_SERVICE_NAME)); in doStartService()
328 context.startService(fgsIntent); in doStartService()
333 Intent fgsIntent = new Intent(); in doStartForegroundServiceWithType() local
[all …]
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java353 Intent fgsIntent = new Intent(context, StatsdCtsForegroundService.class); in testForegroundServiceAccessAppOp() local
361 context.startService(fgsIntent); in testForegroundServiceAccessAppOp()
372 context.stopService(fgsIntent); in testForegroundServiceAccessAppOp()