Home > Blockchain >  What's the meaning of "LSP" in aosp code?
What's the meaning of "LSP" in aosp code?

Time:12-16

I found many "*LSP" functions in AOSP code, Like applyOomAdjLSP in OomAdjuster.java. What does this mean?

CodePudding user response:

This abbreviation is explained in the ActivityManagerService source:

For the naming convention of function suffixes:

  • LOSP: Locked with any Of global am Service or Process lock
  • LSP: Locked with both of global am Service and Process lock
  • Locked: Locked with global am service lock alone
  • LPr: Locked with Process lock alone
  • Related