Is there any provision in android or ndk by to know which user application is using which system service? OR another way by using pid:-
Suppose i have an application which uses microphone, microphone is opened by the system service (named media serv).I can manage to get the pid of above service(media serv).Now i want to know which user application is using the the pid of above service(media serv).