/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/ |
D | ServiceBase.java | 54 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 55 Log.i(TAG, "onStartCommand: " + this.getClass().getName() + " startId=" + startId); in onStartCommand() 67 m.setServiceStartId(startId); in onStartCommand() 92 public void onTimeout(int startId) { in onTimeout() argument 93 Log.i(TAG, "onTimeout: " + this.getClass().getName() + " startId=" + startId); in onTimeout() 96 m.setServiceStartId(startId); in onTimeout() 101 public void onTimeout(int startId, int fgsType) { in onTimeout() argument 103 + " startId=" + startId + " fgsType=" + fgsType); in onTimeout() 106 m.setServiceStartId(startId); in onTimeout()
|
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/ |
D | ServiceBase.java | 54 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 55 Log.i(TAG, "onStartCommand: " + this.getClass().getName() + " startId=" + startId); in onStartCommand() 67 m.setServiceStartId(startId); in onStartCommand() 92 public void onTimeout(int startId) { in onTimeout() argument 93 Log.i(TAG, "onTimeout: " + this.getClass().getName() + " startId=" + startId); in onTimeout() 96 m.setServiceStartId(startId); in onTimeout()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/ |
D | ServiceStartedEvent.java | 121 String serviceName, Intent intent, int flags, int startId) { in logger() argument 122 return new ServiceStartedEventLogger(service, serviceName, intent, flags, startId); in logger() 130 String serviceName, Intent intent, int flags, int startId) { in ServiceStartedEventLogger() argument 134 mEvent.mStartId = startId; in ServiceStartedEventLogger() 163 public ServiceStartedEventLogger setStartId(int startId) { in setStartId() argument 164 mEvent.mStartId = startId; in setStartId() 195 public int startId() { in startId() method in ServiceStartedEvent
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | NormalService.java | 35 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 52 stopSelf(startId); in onStartCommand() 54 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
D | ExposedService.java | 52 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 69 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockService.java | 47 public void onStart(Intent intent, int startId) { in onStart() argument 48 super.onStart(intent, startId); in onStart()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundServiceSticky.java | 49 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 56 super.onStartCommand(intent, flags, startId); in onStartCommand()
|
D | MockService.java | 60 public void onStart(Intent intent, int startId) { in onStart() argument 61 super.onStart(intent, startId); in onStart() 64 stopSelf(startId); in onStart()
|
D | IntentServiceStub.java | 107 public void onStart(Intent intent, int startId) { in onStart() argument 111 super.onStart(intent, startId); in onStart()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | SomeService.java | 39 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 47 stopSelf(startId); in onStartCommand()
|
D | EphemeralService.java | 52 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 61 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | ActivityStarterService.java | 45 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 47 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/test-app/src/android/security/cts/CVE_2021_0704_test/ |
D | SyncService.java | 34 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 41 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/ |
D | AppOpsForegroundControlForegroundService.kt | 57 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand() 69 return super.onStartCommand(intent, flags, startId) in onStartCommand()
|
D | AppOpsForegroundControlLocationForegroundService.kt | 58 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand() 71 return super.onStartCommand(intent, flags, startId) in onStartCommand()
|
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/ |
D | AppOpsForegroundControlForegroundService.kt | 57 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand() 69 return super.onStartCommand(intent, flags, startId) in onStartCommand()
|
D | AppOpsForegroundControlLocationForegroundService.kt | 58 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand() 71 return super.onStartCommand(intent, flags, startId) in onStartCommand()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/ |
D | EventLibService.java | 74 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 75 ServiceStartedEvent.logger(this, getClassName(), intent, flags, startId).log(); in onStartCommand() 76 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
D | EventLibContentSuggestionsService.java | 99 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 100 ServiceStartedEvent.logger(this, getClassName(), intent, flags, startId).log(); in onStartCommand() 101 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/quicksettings/src/android/quicksettings/cts/ |
D | TestOnClickLaunchFgsTileService.java | 64 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 78 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/ |
D | FgsTimeoutTest.java | 123 final int startId = waitForMethodCall(FGS0, "onStartCommand").getServiceStartId(); in testTimeout() local 128 assertThat(m.getServiceStartId()).isEqualTo(startId); in testTimeout() 159 final int startId = waitForMethodCall(FGS0, "onStartCommand").getServiceStartId(); in testTimeout_startService() local 164 assertThat(m.getServiceStartId()).isEqualTo(startId); in testTimeout_startService() 189 final int startId = waitForMethodCall(FGS2, "onStartCommand").getServiceStartId(); in testTimeout_withParallelNormalFgs() local 200 assertThat(m.getServiceStartId()).isEqualTo(startId); in testTimeout_withParallelNormalFgs() 235 final int startId = waitForMethodCall(FGS1, "onStartCommand").getServiceStartId(); in testTimeout_withParallelTimeRestrictedFgs() local 247 assertThat(m.getServiceStartId()).isEqualTo(startId); in testTimeout_withParallelTimeRestrictedFgs() 446 final int startId = waitForMethodCall(FGS0, "onStartCommand").getServiceStartId(); in testStartService_throwsExceptionAfterTimeout() local 451 assertThat(m.getServiceStartId()).isEqualTo(startId); in testStartService_throwsExceptionAfterTimeout()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | ReceiveUriService.java | 39 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 41 sCurStartId = startId; in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/ |
D | PocService.java | 39 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 60 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/ |
D | PocService.java | 66 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 68 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | PocService.java | 68 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument 70 return super.onStartCommand(intent, flags, startId); in onStartCommand()
|