Yes, it routed to the checkPermission(String permission, int pid, int uid) in ActivityManagerService, and then link to the checkUidPermission() in PackageManagerService.
On Friday, February 3, 2012 11:39:23 AM UTC+8, Vicky Singh wrote: > > Hello, > I am trying to figure out how the permission in checked during run time. > After following the trace I ended up at IPermissionController.cpp > BpPermissionController checkPermission(const String16& permission, int32_t > pid, int32_t uid) > This function calls remote()->transact(CHECK_PERMISSION_TRANSACTION, > data, &reply) > > my question is where is the call routed to? Is this checked on the > permission tree maintained in the PackageManager or inPackahServiceManager? > > Vicky Singh > -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+unsubscr...@googlegroups.com. To post to this group, send email to android-security-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/android-security-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.