/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 196 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/ |
D | SliceManagerServiceTest.java | 119 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/ |
D | DragState.java | 205 final int myPid = Process.myPid(); in closeLocked() local 227 if (myPid != ws.mSession.mPid) { in closeLocked() 294 mDragWindowHandle.ownerPid = Process.myPid(); in InputInterceptor() 411 if (Process.myPid() != newWin.mSession.mPid) { in sendDragStartedLocked() 525 final int myPid = Process.myPid(); in notifyLocationLocked() local 536 if (myPid != mTargetWindow.mSession.mPid) { in notifyLocationLocked() 547 if (myPid != touchedWin.mSession.mPid) { in notifyLocationLocked() 600 final int myPid = Process.myPid(); in notifyDropLocked() local 613 if (myPid != touchedWin.mSession.mPid) { in notifyDropLocked()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | IsolatedService.java | 31 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/ |
D | LeakyTypefaceStorage.java | 53 parcel.writeInt(Process.myPid()); in writeTypefaceToParcel() 79 if (pid != Process.myPid()) { in readTypefaceFromParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 80 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/ |
D | SchedulingPolicyService.java | 120 if (Binder.getCallingPid() != Process.myPid() && in requestCpusetBoost() 209 if (Binder.getCallingPid() == Process.myPid()) { in isPermitted()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | RemoteSubActivityScreen.java | 53 Process.killProcess(Process.myPid()); in onCreate()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RuntimeInit.java | 97 message.append("PID: ").append(Process.myPid()); in uncaughtException() 159 Process.killProcess(Process.myPid()); in uncaughtException() 389 Process.killProcess(Process.myPid()); in wtf()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysuiRestartReceiver.java | 34 Process.killProcess(Process.myPid()); in onReceive()
|
/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 776 int myPid = Process.myPid(); in printStats() local 795 if (pid == myPid) { in printStats()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 65 return context.checkPermission(permission, Process.myPid(), Process.myUid()); in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 577 pids.add(Process.myPid()); in run() 601 pids.add(Process.myPid()); in run() 668 Process.killProcess(Process.myPid()); in run() 735 String fdDirPath = String.format("/proc/%d/fd/", Process.myPid()); in dumpOpenDescriptors()
|
D | SystemServerInitThreadPool.java | 123 pids.add(Process.myPid());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 741 if (pid == Process.myPid()) { in scheduleCrash() 1443 int myPid = r.pid; in appNotResponding() local 1444 if (myPid > 0 && myPid != pid && myPid != parentPid && myPid != MY_PID) { in appNotResponding() 1446 firstPids.add(myPid); in appNotResponding() 1449 firstPids.add(myPid); in appNotResponding() 1452 lastPids.put(myPid, Boolean.TRUE); in appNotResponding()
|
D | OomAdjProfiler.java | 122 final long cpuTimeMs = mProcessCpuTracker.getCpuTimeForPid(Process.myPid()); in updateSystemServerCpuTime()
|
/frameworks/base/core/java/android/app/ |
D | TaskStackListener.java | 160 if (Binder.getCallingPid() != android.os.Process.myPid() in onTaskSnapshotChanged()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-simple-exit/ |
D | ACTIVITY.java.template | 38 android.os.Process.killProcess(android.os.Process.myPid());
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 42 callerPid == Process.myPid() || callerPid == 0) { in isPrivilegedApp()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-int-param/ |
D | ACTIVITY.java.template | 38 android.os.Process.killProcess(android.os.Process.myPid());
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDevice.java | 1156 + " called by pid: " + Process.myPid() in createBond() 1193 + " called by pid: " + Process.myPid() in createBond() 1288 + " called by pid: " + Process.myPid() in cancelBondProcess() 1317 + " called by pid: " + Process.myPid() in removeBond()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 97 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 425 pids.add(Process.myPid()); in dumpServiceStacks() 440 Process.killProcess(Process.myPid()); in handleCarServiceCrash()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 1009 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/ |
D | LocalOnlyHotspotRequestInfoTest.java | 137 assertEquals(Process.myPid(), mLOHSRequestInfo.getPid()); in verifyPid()
|