Home
last modified time | relevance | path

Searched refs:myPid (Results 1 – 25 of 89) sorted by relevance

1234

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DClipDataJobTest.java67 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
70 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
82 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
85 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
125 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
128 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
140 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
143 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
DConstraintTest.java135 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission()
140 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission()
147 while (getContext().checkUriPermission(uri, Process.myPid(), Process.myUid(), access) in waitPermissionRevoke()
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/
DIsolatedService.java31 Log.i("IsolatedService", "Service created in pid " + android.os.Process.myPid()); in onCreate()
36 Log.i("IsolatedService", "Service bound with pid " + android.os.Process.myPid()); in onBind()
43 Log.i("IsolatedService", "Service destroyed in pid " + android.os.Process.myPid()); in onDestroy()
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java146 assertNotEquals(Process.myPid(), id.pid); in testBindExternalService()
217 int myPid = Process.myPid(); in testBindExternalServiceWithRunningOwn() local
223 assertNotEquals(myPid, creatorId.pid); in testBindExternalServiceWithRunningOwn()
224 assertNotEquals(myPid, creatorServiceId.pid); in testBindExternalServiceWithRunningOwn()
225 assertNotEquals(myPid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
282 assertNotEquals(Process.myPid(), idOne.pid); in testBindExternalAboveClient()
311 assertNotEquals(Process.myPid(), id.pid); in testBindExternalServiceWithZygote()
314 assertNotEquals(Process.myPid(), id.zygotePid); in testBindExternalServiceWithZygote()
389 int myPid = Process.myPid(); in testBindExternalServiceWithZygoteWithRunningOwn() local
394 assertNotEquals(myPid, creatorServiceId.pid); in testBindExternalServiceWithZygoteWithRunningOwn()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DCtsRemoteService.java31 android.util.Log.d("Process test stub", "CtsRemoteServiceProcessPid:" + Process.myPid()); in onCreate()
36 return Process.myPid();
/cts/tests/tests/tv/src/android/media/tv/cts/
DFaultyTvInputService.java48 Process.killProcess(Process.myPid()); in onTune()
71 Process.killProcess(Process.myPid()); in onTune()
/cts/tests/app/app/src/android/app/stubs/
DStubRemoteService.java34 android.util.Log.d("Process test stub", "StubRemoteServiceProcessPid:" + Process.myPid()); in onCreate()
39 return Process.myPid();
DHeartbeatReceiver.java31 Process.killProcess(Process.myPid()); in onReceive()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService4.java107 msg.arg1 = Process.myPid(); in sendPidBack()
135 Process.sendSignal(Process.myPid(), CRASH_SIGNAL); in doAction()
138 Process.sendSignal(Process.myPid(), OsConstants.SIGKILL); in doAction()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DConnectionTestTextToSpeechService.java48 Log.d(LOG_TAG, "Going to crash itself. Pid: " + Process.myPid()); in onCreate()
49 Process.killProcess(Process.myPid()); in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0928/src/android/security/cts/CVE_2021_0928/
DMainActivity.java43 + Process.myPid()); in onCreate()
83 + Process.myPid()); in onStop()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java84 permCheckRead = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob()
86 permCheckWrite = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob()
119 Process.myPid(), Process.myUid(), in onStartJob()
132 Process.myPid(), Process.myUid(), in onStartJob()
151 Process.myPid(), Process.myUid(), in onStartJob()
164 Process.myPid(), Process.myUid(), in onStartJob()
/cts/hostsidetests/jdwpsecurity/app/src/com/android/cts/jdwpsecurity/
DJdwpTest.java24 int pid = android.os.Process.myPid(); in main()
/cts/hostsidetests/os/test-apps/ProcfsTestApp/src/android/os/procfs/
DProcfsTest.java30 int pid = android.os.Process.myPid(); in onCreate()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DSelfDestructReceiver.java34 Process.killProcess(Process.myPid()); in onReceive()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DSelfDestructReceiver.java34 Process.killProcess(Process.myPid()); in onReceive()
DOutOfProcessDataSharingService.java110 Process.killProcess(Process.myPid()); in shareData()
117 Process.killProcess(Process.myPid()); in shareData()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/helper-app/src/android/security/cts/CVE_2023_21272_helper/
DPocActivity.java34 Process.myPid(), in onResume()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DZygotePreload.java39 sZygotePid = Process.myPid(); in doPreload()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DTestVisibleActivity.java120 Log.v(TAG, "Crash itself. Pid: " + Process.myPid()); in doCrash()
121 Process.killProcess(Process.myPid()); in doCrash()
/cts/tests/tests/security/src/android/security/cts/activity/
DSecureRandomService.java53 return android.os.Process.myPid();
/cts/tests/app/FgsTestHelper/src/android/app/fgstesthelper/
DLocalForegroundServiceBase.java61 Log.d(getTag(), "service created: " + this + " in " + Process.myPid()); in onCreate()
160 Log.d(getTag(), "service destroyed: " + this + " in " + Process.myPid()); in onDestroy()
/cts/hostsidetests/os/app/src/android/os/app/
DTestFgService.java48 Log.i(TAG, "TestFgService starting foreground: pid=" + Process.myPid()); in onStartCommand()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DSendResultActivity.java50 android.os.Process.killProcess(android.os.Process.myPid()); in onCreate()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecResourceTestHighPriorityActivity.java44 intent.putExtra("pid", Process.myPid()); in onStart()

1234