Thanks. These replies and some more digging on my own helped me
figure out what I needed. Probably the most critical point I didn't
realize at first was that getDataChanel does some IPC stuff under the
covers to get a descriptor sent across process boundaries. (I
originally thought everything
Hi,
I'm not completely sure about what you're asking, so I'll do my best
to answer :-)
There is only one thread per process handling the events. Note that
there should only be one instance of SensorManager as well (it's a
singleton).
It's therefore not possible to have more than one thread per
Hi all,
is the file descriptor in SensorManager.java global to all threads?
In setting up the event dispatch thread for sensor events, there is a
call
ParcelFileDescriptor fd = service.getDataChanel();
getDataChanel() eventually winds up calling open_data_source in the
sensor framework, which
Hi, you should probably post this on android-porting where I believe the
engineer who works on it posts.
If it helps, the call to the remote service causes a dup of the fd at that
point, so the client would only close the fd it received, not globally close
it for all processes.
On Wed, Apr 1,
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
android-framework group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to