Home
last modified time | relevance | path

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

123

/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/app/app/src/android/app/stubs/
DMockService.java60 public void onStart(Intent intent, int startId) { in onStart() argument
61 super.onStart(intent, startId); in onStart()
64 stopSelf(startId); in onStart()
DLocalForegroundServiceSticky.java49 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
56 super.onStartCommand(intent, flags, startId); in onStartCommand()
DIntentServiceStub.java107 public void onStart(Intent intent, int startId) { in onStart() argument
111 super.onStart(intent, startId); in onStart()
/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/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/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/tests/tests/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/
DKeepAliveForegroundService.java47 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
70 return super.onStartCommand(intent, flags, startId); in onStartCommand()
/cts/tests/tests/media/src/android/media/cts/
DLocalMediaProjectionService.java46 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
48 return super.onStartCommand(intent, flags, startId); in onStartCommand()
/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/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DLocalMediaProjectionService.java46 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
48 return super.onStartCommand(intent, flags, startId); in onStartCommand()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService.java61 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
85 return super.onStartCommand(intent, flags, startId); in onStartCommand()
DSimpleService3.java65 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
92 return super.onStartCommand(intent, flags, startId); in onStartCommand()
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
DMediaSessionTestHelperService.java64 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
65 super.onStartCommand(intent, flags, startId); in onStartCommand()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdCtsForegroundService.java97 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
106 msg.arg1 = startId; in onStartCommand()
DIsolatedProcessService.java28 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DSimpleIOService.java111 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
113 msg.arg1 = startId; in onStartCommand()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java93 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
102 msg.arg1 = startId; in onStartCommand()
/cts/libs/midi/src/com/android/midi/
DMidiEchoTestService.java128 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
132 return super.onStartCommand(intent, flags, startId); in onStartCommand()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
DPocService.java71 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
73 return super.onStartCommand(intent, flags, startId); in onStartCommand()

123