/frameworks/native/libs/gui/include/gui/ |
D | PidUid.h | 26 struct Pid : ftl::Constructible<Pid, pid_t>, ftl::Equatable<Pid>, ftl::Orderable<Pid> { struct 29 const static Pid INVALID; argument 38 const inline Pid Pid::INVALID{-1}; argument
|
D | WindowInfo.h | 233 Pid ownerPid = Pid::INVALID;
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Monitor.h | 27 gui::Pid pid; 29 explicit Monitor(const std::shared_ptr<Connection>& connection, gui::Pid pid);
|
D | Monitor.cpp | 22 Monitor::Monitor(const std::shared_ptr<Connection>& connection, gui::Pid pid) in Monitor()
|
D | InputDispatcher.h | 123 bool setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, bool hasPermission, 137 gui::Pid pid) override; 285 std::optional<gui::Pid> findMonitorPidByTokenLocked(const sp<IBinder>& token) REQUIRES(mLock); 518 std::optional<gui::Pid> pid, std::string reason) 521 std::optional<gui::Pid> pid) REQUIRES(mLock); 705 bool focusedWindowIsOwnedByLocked(gui::Pid pid, gui::Uid uid) REQUIRES(mLock); 706 bool recentWindowsAreOwnedByLocked(gui::Pid pid, gui::Uid uid) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 631 bool isWindowOwnedBy(const sp<WindowInfoHandle>& windowHandle, gui::Pid pid, gui::Uid uid) { in isWindowOwnedBy() 5613 bool InputDispatcher::setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, in setInTouchMode() 5652 bool InputDispatcher::focusedWindowIsOwnedByLocked(gui::Pid pid, gui::Uid uid) { in focusedWindowIsOwnedByLocked() 5661 bool InputDispatcher::recentWindowsAreOwnedByLocked(gui::Pid pid, gui::Uid uid) { in recentWindowsAreOwnedByLocked() 6128 ui::LogicalDisplayId displayId, const std::string& name, gui::Pid pid) { in createInputMonitor() 6335 std::optional<gui::Pid> InputDispatcher::findMonitorPidByTokenLocked(const sp<IBinder>& token) { in findMonitorPidByTokenLocked() 6565 std::optional<gui::Pid> pid, in sendWindowUnresponsiveCommandLocked() 6575 std::optional<gui::Pid> pid) { in sendWindowResponsiveCommandLocked() 6591 std::optional<gui::Pid> pid; in processConnectionUnresponsiveLocked() 6613 std::optional<gui::Pid> pid; in processConnectionResponsiveLocked()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeInputDispatcherPolicy.h | 50 std::optional<gui::Pid> pid{}; 84 std::optional<gui::Pid> expectedPid); 88 std::optional<gui::Pid> expectedPid); 177 void notifyWindowUnresponsive(const sp<IBinder>& connectionToken, std::optional<gui::Pid> pid, 180 std::optional<gui::Pid> pid) override;
|
D | FakeInputDispatcherPolicy.cpp | 107 std::optional<gui::Pid> expectedPid) { in assertNotifyWindowUnresponsiveWasCalled() 126 const sp<IBinder>& expectedToken, std::optional<gui::Pid> expectedPid) { in assertNotifyWindowResponsiveWasCalled() 351 std::optional<gui::Pid> pid, in notifyWindowUnresponsive() 359 std::optional<gui::Pid> pid) { in notifyWindowResponsive()
|
D | FakeWindows.h | 50 static constexpr gui::Pid WINDOW_PID{999}; 381 inline void setOwnerInfo(gui::Pid ownerPid, gui::Uid ownerUid) { in setOwnerInfo() 386 inline gui::Pid getPid() const { return mInfo.ownerPid; } in getPid()
|
D | InputDispatcher_test.cpp | 114 static constexpr gui::Pid SECONDARY_WINDOW_PID{1010}; 118 static constexpr gui::Pid MONITOR_PID{2001}; 5131 leftWindow->setOwnerInfo(gui::Pid{1}, gui::Uid{101}); in TEST_F() 5137 outsideWindow->setOwnerInfo(gui::Pid{1}, gui::Uid{101}); in TEST_F() 5146 rightWindow->setOwnerInfo(gui::Pid{2}, gui::Uid{202}); in TEST_F() 5992 untrustedWindow->setOwnerInfo(gui::Pid{1}, gui::Uid{101}); in TEST_P() 6004 simpleAppWindow->setOwnerInfo(gui::Pid{2}, gui::Uid{202}); in TEST_P() 7602 constexpr gui::Pid SLIPPERY_PID{WINDOW_PID.val() + 1}; in TEST_F() 7893 leftWindow->setOwnerInfo(gui::Pid{1}, Uid{101}); in TEST_F() 7899 rightSpy->setOwnerInfo(gui::Pid{2}, Uid{102}); in TEST_F() [all …]
|
D | InputTracingTest.cpp | 58 constexpr gui::Pid PID{1};
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 69 30047 am_pss (Pid|1|5),(UID|1|5),(Process Name|3),(Pss|2|2),(Uss|2|2),(SwapPss|2|2),(Rss|2|2),(Stat… 89 30063 am_compact (Pid|1|5),(Process Name|3),(Action|3),(BeforeRssTotal|2|2),(BeforeRssFile|2|2),(Be… 92 30068 am_freeze (Pid|1|5),(Process Name|3) 95 30069 am_unfreeze (Pid|1|5),(Process Name|3) 131 30104 am_cpu (Pid|2|5),(UID|2|5),(Base Name|3),(Uptime|2|3),(Stime|2|3),(Utime|2|3)
|
D | HealthStatsBatteryStatsWriter.java | 54 SparseArray<? extends BatteryStats.Uid.Pid> pids; in writeUid() 375 public void writePid(HealthStatsWriter pidWriter, BatteryStats.Uid.Pid pid) { in writePid()
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherPolicyInterface.h | 59 virtual void notifyWindowUnresponsive(const sp<IBinder>& token, std::optional<gui::Pid> pid, 67 virtual void notifyWindowResponsive(const sp<IBinder>& token, std::optional<gui::Pid> pid) = 0;
|
D | InputDispatcherInterface.h | 132 virtual bool setInTouchMode(bool inTouchMode, gui::Pid pid, gui::Uid uid, bool hasPermission, 184 ui::LogicalDisplayId displayId, const std::string& name, gui::Pid pid) = 0;
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.h | 101 gui::Pid pid = gui::Pid::INVALID;
|
D | RequestedLayerState.h | 112 const gui::Pid ownerPid;
|
D | LayerSnapshot.cpp | 125 inputInfo.ownerPid = gui::Pid{state.ownerPid}; in LayerSnapshot()
|
D | LayerSnapshotBuilder.cpp | 1059 snapshot.inputInfo.ownerPid = gui::Pid{requested.ownerPid}; in updateInput()
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 102 2803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2) 103 2804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3) 104 2805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 63 i.ownerPid = gui::Pid{19}; in TEST()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 276 gui::Pid pid); 337 void notifyWindowUnresponsive(const sp<IBinder>& token, std::optional<gui::Pid> pid, 339 void notifyWindowResponsive(const sp<IBinder>& token, std::optional<gui::Pid> pid) override; 563 ui::LogicalDisplayId displayId, const std::string& name, gui::Pid pid) { in createInputMonitor() 980 std::optional<gui::Pid> pid, in notifyWindowUnresponsive() 994 pid.value_or(gui::Pid{0}).val(), pid.has_value(), reasonObj.get()); in notifyWindowUnresponsive() 999 std::optional<gui::Pid> pid) { in notifyWindowResponsive() 1011 pid.value_or(gui::Pid{0}).val(), pid.has_value()); in notifyWindowResponsive() 1897 im->createInputMonitor(ui::LogicalDisplayId{displayId}, name, gui::Pid{pid}); in nativeCreateInputMonitor() 1942 return im->getInputManager()->getDispatcher().setInTouchMode(inTouchMode, gui::Pid{pid}, in nativeSetInTouchMode()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 222 ownerPid = Pid{ownerPidInt}; in readFromParcel()
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 164 mInfo.ownerPid = gui::Pid{env->GetIntField(obj, gInputWindowHandleClassInfo.ownerPid)}; in updateInfo()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 8294 final SparseArray<Pid> mPids = new SparseArray<>(); 9829 Pid pid = mPids.valueAt(i); in reset() 10957 public SparseArray<? extends Pid> getPidStats() { in getPidStats() 10961 public Pid getPidStatsLocked(int pid) { in getPidStatsLocked() 10962 Pid p = mPids.get(pid); in getPidStatsLocked() 10964 p = new Pid(); in getPidStatsLocked() 11144 Pid p = getPidStatsLocked(pid); in noteStartWakeLocked() 11163 Pid p = mPids.get(pid); in noteStopWakeLocked()
|