Home
last modified time | relevance | path

Searched refs:startId (Results 1 – 25 of 118) sorted by relevance

12345

/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DServiceBase.java54 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/
DServiceBase.java54 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/
DServiceStartedEvent.java121 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/
DNormalService.java35 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()
DExposedService.java52 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/
DMockService.java47 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/
DLocalForegroundServiceSticky.java49 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
56 super.onStartCommand(intent, flags, startId); in onStartCommand()
DMockService.java60 public void onStart(Intent intent, int startId) { in onStart() argument
61 super.onStart(intent, startId); in onStart()
64 stopSelf(startId); in onStart()
DIntentServiceStub.java107 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/
DSomeService.java39 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
47 stopSelf(startId); in onStartCommand()
DEphemeralService.java52 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/
DActivityStarterService.java45 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/
DSyncService.java34 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/
DAppOpsForegroundControlForegroundService.kt57 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
69 return super.onStartCommand(intent, flags, startId) in onStartCommand()
DAppOpsForegroundControlLocationForegroundService.kt58 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/
DAppOpsForegroundControlForegroundService.kt57 override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { in onStartCommand()
69 return super.onStartCommand(intent, flags, startId) in onStartCommand()
DAppOpsForegroundControlLocationForegroundService.kt58 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/
DEventLibService.java74 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()
DEventLibContentSuggestionsService.java99 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/
DTestOnClickLaunchFgsTileService.java64 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/
DFgsTimeoutTest.java123 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/
DReceiveUriService.java39 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/
DPocService.java39 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/
DPocService.java66 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/
DPocService.java68 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
70 return super.onStartCommand(intent, flags, startId); in onStartCommand()

12345