Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/content/
DPermissionChecker.java196 return checkPermissionForDataDelivery(context, permission, Process.myPid(), in checkSelfPermissionForDataDelivery()
231 return checkPermissionForPreflight(context, permission, Process.myPid(), in checkSelfPermissionForPreflight()
264 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForDataDelivery()
302 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermissionForPreflight()
336 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermissionForDataDelivery()
371 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.java203 final int myPid = Process.myPid(); in closeLocked() local
225 if (myPid != ws.mSession.mPid) { in closeLocked()
292 mDragWindowHandle.ownerPid = Process.myPid(); in InputInterceptor()
409 if (Process.myPid() != newWin.mSession.mPid) { in sendDragStartedLocked()
523 final int myPid = Process.myPid(); in notifyLocationLocked() local
534 if (myPid != mTargetWindow.mSession.mPid) { in notifyLocationLocked()
545 if (myPid != touchedWin.mSession.mPid) { in notifyLocationLocked()
598 final int myPid = Process.myPid(); in notifyDropLocked() local
611 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/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java80 final int myPid = android.os.Process.myPid(); in captureHeaps() local
98 if (pid == myPid) { in captureHeaps()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java120 if (Binder.getCallingPid() != Process.myPid() && in requestCpusetBoost()
209 if (Binder.getCallingPid() == Process.myPid()) { in isPermitted()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DRemoteSubActivityScreen.java53 Process.killProcess(Process.myPid()); in onCreate()
/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/core/java/com/android/internal/os/
DRuntimeInit.java108 logUncaught(t.getName(), ActivityThread.currentProcessName(), Process.myPid(), e); in uncaughtException()
169 Process.killProcess(Process.myPid()); in uncaughtException()
445 Process.killProcess(Process.myPid()); in wtf()
DWrapperInit.java76 os.writeInt(Process.myPid()); in main()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java744 if (pid == Process.myPid()) { in scheduleCrash()
1356 if (pid == Process.myPid()) { in setRunningRemoteAnimation()
1465 int myPid = r.pid; in appNotResponding() local
1466 if (myPid > 0 && myPid != pid && myPid != parentPid && myPid != MY_PID) { in appNotResponding()
1468 firstPids.add(myPid); in appNotResponding()
1471 firstPids.add(myPid); in appNotResponding()
1474 lastPids.put(myPid, Boolean.TRUE); in appNotResponding()
DOomAdjProfiler.java122 final long cpuTimeMs = mProcessCpuTracker.getCpuTimeForPid(Process.myPid()); in updateSystemServerCpuTime()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java564 pids.add(Process.myPid()); in run()
584 pids.add(Process.myPid()); in run()
651 Process.killProcess(Process.myPid()); in run()
DSystemServerInitThreadPool.java124 pids.add(Process.myPid());
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple-exit/
DACTIVITY.java.template38 android.os.Process.killProcess(android.os.Process.myPid());
/frameworks/base/core/java/android/app/
DTaskStackListener.java165 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/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java97 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java1009 if (Binder.getCallingPid() != Process.myPid()) { in doBackup()
1050 if (Binder.getCallingPid() != Process.myPid()) { in doRestore()
1099 if (Binder.getCallingPid() != Process.myPid()) { in doFullBackup()
1155 if (Binder.getCallingPid() != Process.myPid()) { in doRestoreFile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java137 assertEquals(Process.myPid(), mLOHSRequestInfo.getPid()); in verifyPid()
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java209 if (calleePid != Process.myPid()) { in connectPorts()

1234