Searched refs:LocalForegroundService (Results 1 – 11 of 11) sorted by relevance
/cts/tests/app/app/src/android/app/stubs/ |
D | CommandReceiver.java | 313 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundService() 314 fgsIntent.putExtras(LocalForegroundService.newCommand(command)); in doStartForegroundService() 337 fgsIntent.putExtras(LocalForegroundService.newCommand(command)); in doStartForegroundServiceWithType() 351 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSticky() 352 fgsIntent.putExtras(LocalForegroundService.newCommand(command)); in doStartForegroundServiceSticky() 409 intent.putExtras(LocalForegroundService.newCommand(command)); in doCreateFgslPendingIntent() 503 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSpoofPackageName() 504 fgsIntent.putExtras(LocalForegroundService.newCommand(command)); in doStartForegroundServiceSpoofPackageName() 546 final Intent fgsIntent = new Intent(context, LocalForegroundService.class); in doStartMediaPlayback() 547 fgsIntent.putExtras(LocalForegroundService.newCommand( in doStartMediaPlayback() [all …]
|
D | LocalPhoneCallService.java | 23 public class LocalPhoneCallService extends LocalForegroundService {
|
D | LocalForegroundServiceSticky.java | 41 public class LocalForegroundServiceSticky extends LocalForegroundService {
|
D | LocalForegroundServiceLocation.java | 31 public class LocalForegroundServiceLocation extends LocalForegroundService {
|
D | LocalForegroundService.java | 38 public class LocalForegroundService extends LocalService { class
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 22 import static android.app.stubs.LocalForegroundService.COMMAND_START_FOREGROUND; 23 import static android.app.stubs.LocalForegroundService.COMMAND_START_FOREGROUND_DEFER_NOTIFICATION; 24 import static android.app.stubs.LocalForegroundService.COMMAND_STOP_FOREGROUND_DETACH_NOTIFICATION; 25 import static android.app.stubs.LocalForegroundService.COMMAND_STOP_FOREGROUND_DONT_REMOVE_NOTIFICA… 37 import android.app.stubs.LocalForegroundService; 738 mLocalForegroundService = new Intent(mContext, LocalForegroundService.class); in setUp() 740 mLocalPhoneCallService.putExtra(LocalForegroundService.EXTRA_FOREGROUND_SERVICE_TYPE, in setUp() 951 .putExtras(LocalForegroundService.newCommand(mStateReceiver, command)); in foregroundServiceIntent() 980 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundService_canUpdateNotification() 1007 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundService_dontRemoveNotificationOnStop() [all …]
|
D | ActivityManagerFgsBgStartTest.java | 25 import static android.app.stubs.LocalForegroundService.ACTION_START_FGS_RESULT; 49 import android.app.stubs.LocalForegroundService; 1543 Bundle extras = LocalForegroundService.newCommand( in testStartForegroundTimeout() 1544 LocalForegroundService.COMMAND_START_NO_FOREGROUND); in testStartForegroundTimeout() 1556 extras = LocalForegroundService.newCommand( in testStartForegroundTimeout() 1557 LocalForegroundService.COMMAND_START_FOREGROUND); in testStartForegroundTimeout() 1579 extras = LocalForegroundService.newCommand( in testStartForegroundTimeout() 1580 LocalForegroundService.COMMAND_START_FOREGROUND); in testStartForegroundTimeout() 1630 Bundle extras = LocalForegroundService.newCommand( in testSecondStartForeground() 1631 LocalForegroundService.COMMAND_STOP_FOREGROUND_REMOVE_NOTIFICATION); in testSecondStartForeground() [all …]
|
D | BroadcastOptionsIntegrationTest.java | 23 import static android.app.stubs.LocalForegroundService.ACTION_START_FGS_RESULT;
|
D | ActivityManagerFgsDelegateTest.java | 33 import android.app.stubs.LocalForegroundService; 141 Bundle extras = LocalForegroundService.newCommand( in prepareProcess() 142 LocalForegroundService.COMMAND_START_NO_FOREGROUND); in prepareProcess()
|
D | ActivityManagerTest.java | 71 import android.app.stubs.LocalForegroundService; 1681 PACKAGE_NAME_APP1, PACKAGE_NAME_APP1, 0, LocalForegroundService.newCommand( in testTrimMemActivityFg() 1682 LocalForegroundService.COMMAND_START_NO_FOREGROUND)); in testTrimMemActivityFg() 1793 msg.what = LocalForegroundService.COMMAND_STOP_SELF; in testServiceDoneLRUPosition()
|
D | ActivityManagerProcessStateTest.java | 32 import static android.app.stubs.LocalForegroundService.ACTION_START_FGS_RESULT;
|