Returns an identifier for the current process.
()
| 42 | |
| 43 | /** Returns an identifier for the current process. */ |
| 44 | public static PeerUid forCurrentProcess() { |
| 45 | return new PeerUid(android.os.Process.myUid()); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Returns this peer's Android/Linux uid. |
no outgoing calls