java - AOSP method names endings -


i'm reading code in android open source project, , see methods method names have funny endings, this: addshareduserlpw() (in com.android.server.pm.settings) installpackageli() (in com.android.server.pm.packagemanagerservice)

i'm sure lpw , li etc. have meanings, i'm not sure how figure them out. can provide more information on this?

fwiw, initial commit of frameworks/base/services/java/com/android/server/packagemanagerservice.java mentions li , lp follows:

177. // lock state used when installing , doing other long running 178. // operations. methods must called lock held have 179. // prefix "li".  ...  196. // keys string (package name), values package. serves 197. // lock global state. methods must called 198. // lock held have prefix "lp". 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -