Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/content/
DPermissionChecker.java209 return checkPermissionForDataDelivery(context, permission, Process.myPid(), in checkSelfPermissionForDataDelivery()
244 return checkPermissionForPreflight(context, permission, Process.myPid(), in checkSelfPermissionForPreflight()
280 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForDataDelivery()
318 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForPreflight()
354 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForDataDelivery()
356 attributionTag = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForDataDelivery()
391 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForPreflight()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java119 when(mContextSpy.checkPermission("perm1", Process.myPid(), Process.myUid())) in testCheckAutoGrantPermissions()
121 when(mContextSpy.checkPermission("perm2", Process.myPid(), Process.myUid())) in testCheckAutoGrantPermissions()
124 mContext.getPackageName(), Process.myPid(), in testCheckAutoGrantPermissions()
127 verify(mContextSpy).checkPermission(eq("perm1"), eq(Process.myPid()), eq(Process.myUid())); in testCheckAutoGrantPermissions()
128 verify(mContextSpy).checkPermission(eq("perm2"), eq(Process.myPid()), eq(Process.myUid())); in testCheckAutoGrantPermissions()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java198 final int myPid = Process.myPid(); in closeLocked() local
220 if (myPid != ws.mSession.mPid) { in closeLocked()
290 mDragWindowHandle.ownerPid = Process.myPid(); in InputInterceptor()
397 if (Process.myPid() != newWin.mSession.mPid) { in sendDragStartedLocked()
510 final int myPid = Process.myPid(); in notifyLocationLocked() local
521 if (myPid != mTargetWindow.mSession.mPid) { in notifyLocationLocked()
532 if (myPid != touchedWin.mSession.mPid) { in notifyLocationLocked()
585 final int myPid = Process.myPid(); in notifyDropLocked() local
598 if (myPid != touchedWin.mSession.mPid) { in notifyDropLocked()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DIsolatedService.java31 Log.i("IsolatedService", "Service created in pid " + android.os.Process.myPid()); in onCreate()
42 Log.i("IsolatedService", "Service destroyed in pid " + android.os.Process.myPid()); in onDestroy()
/frameworks/base/graphics/java/android/graphics/
DLeakyTypefaceStorage.java53 parcel.writeInt(Process.myPid()); in writeTypefaceToParcel()
79 if (pid != Process.myPid()) { in readTypefaceFromParcel()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java111 logUncaught(t.getName(), ActivityThread.currentProcessName(), Process.myPid(), e); in uncaughtException()
172 Process.killProcess(Process.myPid()); in uncaughtException()
450 Process.myPid()); in wtf()
458 Process.myPid()); in wtf()
466 Process.killProcess(Process.myPid()); in wtf()
DWrapperInit.java76 os.writeInt(Process.myPid()); in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java81 final int myPid = android.os.Process.myPid(); in captureHeaps() local
97 if (pid == myPid) { in captureHeaps()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java119 if (Binder.getCallingPid() != Process.myPid() && in requestCpusetBoost()
208 if (Binder.getCallingPid() == Process.myPid()) { in isPermitted()
/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleService.java29 Process.killProcess(Process.myPid());
/frameworks/base/core/tests/coretests/src/android/app/activity/
DRemoteSubActivityScreen.java53 Process.killProcess(Process.myPid()); in onCreate()
DServiceTest.java239 responseIntent.putExtra(EXTRA_PID, Process.myPid()); in onStartCommand()
257 reply.writeInt(Process.myPid()); in onBind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysuiRestartReceiver.java34 Process.killProcess(Process.myPid()); in onReceive()
/frameworks/base/core/java/android/database/
DCursorWindow.java776 int myPid = Process.myPid(); in printStats() local
795 if (pid == myPid) { in printStats()
/frameworks/opt/chips/src/com/android/ex/chips/
DChipsUtil.java65 return context.checkPermission(permission, Process.myPid(), Process.myUid()); in checkPermission()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java501 Process.myPid(), in canUserAttemptToConfigureInteractAcrossProfiles_platformSignedAppWithAutomaticPermission_returnsFalse()
564 shadowOf(mContext).grantPermissions(Process.myPid(), CALLING_UID, permissions); in grantPermissions()
568 shadowOf(mContext).denyPermissions(Process.myPid(), CALLING_UID, permissions); in denyPermissions()
746 return mContext.checkPermission(permission, Process.myPid(), uid); in checkComponentPermission()
/frameworks/base/core/java/android/app/
DTaskStackListener.java157 if (Binder.getCallingPid() != android.os.Process.myPid() in onTaskSnapshotChanged()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/
DACTIVITY.java.template38 android.os.Process.killProcess(android.os.Process.myPid());
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderFilter.java42 callerPid == Process.myPid() || callerPid == 0) { in isPrivilegedApp()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple-exit/
DACTIVITY.java.template38 android.os.Process.killProcess(android.os.Process.myPid());
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java886 if (pid == Process.myPid()) { in scheduleCrash()
1508 if (pid == Process.myPid()) { in setRunningRemoteAnimation()
1620 int myPid = r.pid; in appNotResponding() local
1621 if (myPid > 0 && myPid != pid && myPid != parentPid && myPid != MY_PID) { in appNotResponding()
1623 firstPids.add(myPid); in appNotResponding()
1626 firstPids.add(myPid); in appNotResponding()
1629 lastPids.put(myPid, Boolean.TRUE); in appNotResponding()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java350 mInterestingJavaPids.add(Process.myPid()); in Watchdog()
714 Process.killProcess(Process.myPid()); in run()
781 String fdDirPath = String.format("/proc/%d/fd/", Process.myPid()); in dumpOpenDescriptors()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java97 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java123 assertEquals(Process.myPid(), mLOHSRequestInfo.getPid()); in verifyPid()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java51 private static final int OWN_PROCESS_ID = android.os.Process.myPid();
423 return (Binder.getCallingPid() == android.os.Process.myPid() in isCallerInteractingAcrossUsers()

1234