is there a way to open up existing or new rild process sockets for
unit test purposes?
I get errno = 13 in the native process when I call
android_get_control_socket.

I changed the system/core/rootdir/init.rc to assign permissions and it
does not seem to work. I added the following to init.rc

service testril  /system/bin/testrild
    group uinttestril

service ril-daemon /system/bin/rild
    class pre-zygote_services
    socket rild stream 660 root radio
    socket riltest stream 660 root uinttestril
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc system uinttestril

and added a new group unittestril into android_filesystem_config.h

should the above work? changing rild socket permissions also did not
help.

Please let me know what I am missing here.

santa

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to