Home
last modified time | relevance | path

Searched refs:startForeground (Results 1 – 25 of 55) sorted by relevance

123

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DOverlayTestService.java51 startForeground(); in onStartCommand()
72 private void startForeground() { in startForeground() method in OverlayTestService
83 startForeground(Components.Notifications.ID_OVERLAY_TEST_SERVICE, notification); in startForeground()
/cts/tests/app/FgsTestHelper/src/android/app/fgstesthelper/
DLocalForegroundServiceBase.java94 result = startForeground(intent.getIntExtra(EXTRA_FGS_TYPE, in onStartCommand()
103 result = startForeground(intent.getIntExtra(EXTRA_FGS_TYPE, in onStartCommand()
122 private int startForeground(int type) { in startForeground() method in LocalForegroundServiceBase
136 startForeground(mNotificationId, builder.build(), type); in startForeground()
/cts/tests/tests/media/common/src/android/media/cts/
DLocalMediaProjectionService.java50 startForeground(); in onStartCommand()
76 private void startForeground() { in startForeground() method in LocalMediaProjectionService
95 startForeground(getNotificationId(), notification); in startForeground()
/cts/tests/tests/content/HelloWorldApp/src_system_user_only/com/example/helloworld/
DSystemUserOnlyService.java31 startForeground(1, new Notification()); in onCreate()
DTestService.java31 startForeground(1, new Notification()); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityForegroundService.java46 startForeground(1 /* id */, notification); in onStartCommand()
/cts/hostsidetests/os/app/src/android/os/app/
DTestFgService.java49 startForeground(NOTIFICATION_ID, notification); in onStartCommand()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DSomeService.java46 startForeground(1, builder.build()); in onStartCommand()
/cts/tests/app/ActivityManagerApi29Test/src/android/app/cts/
DLocationForegroundService.java42 startForeground(1, status); in onStartCommand()
/cts/hostsidetests/dumpsys/apps/ProcStatsHelperApp/src/com/android/server/cts/procstatshelper/
DProcStatsHelperServiceBase.java51 startForeground(1, notification); in onHandleIntent()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DTestService.java46 startForeground(1, status); in onStartCommand()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0478/src/android/security/cts/CVE_2021_0478/
DPocService.java57 startForeground(notificationID, notification); in onCreate()
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/
DAppOpsForegroundControlForegroundService.kt59 startForeground(2, Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
DAppOpsForegroundControlLocationForegroundService.kt60 startForeground(2, Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/
DAppOpsForegroundControlForegroundService.kt59 startForeground(2, Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
DAppOpsForegroundControlLocationForegroundService.kt60 startForeground(2, Notification.Builder(this, NOTIFICATION_CHANNEL_ID) in onStartCommand()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DTestService.java55 startForeground(1, notification); in onStartCommand()
/cts/hostsidetests/os/test-apps/InattentiveSleepTestApp/src/android/os/inattentivesleeptests/
DPartialWakeLockService.java64 startForeground(1, notification); in onStartCommand()
/cts/tests/AlarmManager/app_common/src/android/alarmmanager/alarmtestapp/cts/common/
DTestService.java65 startForeground(FGS_NOTIFICATION_ID, builder.build()); in onStartCommand()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecResourceTestLowPriorityService.java50 startForeground(mNotificationId++, notification); in onStartCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DFocusLossPreventionService.java44 startForeground(1, notification); in onStartCommand()
/cts/tests/tests/contactkeysprovider/ownerapp/src/android/provider/cts/invisibleapp/
DInvisibleService.java66 startForeground(100, notification); in onCreate()
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundServiceLocation.java67 startForeground(mNotificationId, notification, type); in onStartCommand()
/cts/tests/tests/os/src/android/os/cts/
DLowPowerStandbyForegroundService.java54 startForeground(ID, notification, intent.getIntExtra(EXTRA_FGS_TYPE, 0)); in onStartCommand()
/cts/tests/quicksettings/src/android/quicksettings/cts/
DTestOnClickLaunchFgsTileService.java70 startForeground(101, notification, FOREGROUND_SERVICE_TYPE_SHORT_SERVICE); in onStartCommand()

123