top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android: What is difference between various stats in netstats details like Dev, Xt, UID and UID TAG stats?

+2 votes
710 views
Android: What is difference between various stats in netstats details like Dev, Xt, UID and UID TAG stats?
posted Apr 7, 2016 by Gurminder

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+6 votes

In android generally when an app is installed, the PackageInstallerActivity and PackageManagerService make sure to assign the supplementary gid's to the app. This determines the level of access when an app is invoked everytime.

I just wanted to confirm if any verification process takes place in the runtime from packagemanager or any other service for that matter.

The app is granted the corresponding access from the gid's that should get it running technically and Packagemanager will only come into picture incase of updating the app.

Is my understanding correct?

+2 votes

I want to know the UID(System UID or User UID) of the application running in my Emulator. How can I see that information in DDMS ?

+1 vote

In my system application for the latest jeally bean ( 4.3 ), signed with the fitting platform certificate running as android.uid.system. In my manifest, I added the permissions READ_FRAME_BUFFER, ACCESS_SURFACE_FLINGER.

In my app, I'm able to access the SurfaceFlinger service via the ScreenShotClient ( c++ ). Accessing the /dev/graphics/fb0 device directly ( also using native code, c++ ) via open always failed with a permission error.

I wrote an little command line tool, which is able to open the /dev/graphics/fb0. For sure my command line tool is running as root user, and my app is running as system user.

ls -l -a /dev/graphics/fb0 crw-rw---- root graphics 29, 0 2013-09-30 07:31 fb0

For my understanding only the root user, or a member of the graphics group can access the fb0. For my understanding the READ_FRAME_BUFFER permission, is exactly for accessing /dev/graphics/fb? Can someone please give me a hint?

+2 votes

I saw the dlmalloc is instead by jemalloc and rosmalloc is used also? What is the difference of them?
Is jemalloc used by native process and rosmalloc used by java process?Or rosmalloc is based on jemalloc ?

...