[android-kernel] alarm.c

2010-12-20 Thread Raja Pavan
Hi need inputs on android kernel driver alarm.c (1) Functional Description of alarm.c driver (2) Test application that can test alarm.c driver. Thanks Raja -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] Re: permission verification: what code components are responsible?

2010-12-20 Thread Dianne Hackborn
Anyway native code can do permission checks fine, just by doing the same IPC into the system that other things do. On Mon, Dec 20, 2010 at 12:05 PM, Chris Stratton wrote: > On Dec 20, 2:58 pm, Earlence wrote: > > > However, with the recent introduction of the ability to record audio > > from na

[android-kernel] Re: permission verification: what code components are responsible?

2010-12-20 Thread Chris Stratton
On Dec 20, 2:58 pm, Earlence wrote: > However, with the recent introduction of the ability to record audio > from native code, there should be a permission check for it > (android.permission.RECORD_AUDIO) > Is it a similar patch like the internet check.? That would depend on how "native" audio r

[android-kernel] Re: permission verification: what code components are responsible?

2010-12-20 Thread Earlence
okay...that was a sufficient explanation. I presume that since the ability to do things like SEND_SMS are not available natively, the question does not arise. However, with the recent introduction of the ability to record audio from native code, there should be a permission check for it (android.pe

[android-kernel] Re: permission verification: what code components are responsible?

2010-12-20 Thread Chris Stratton
For which permission? There are a variety of different ways things are handled. For example, access to a hardware device is often protected by the unix permissions of the device file and filesystems/mounts. Network permission is done with a very short patch to add a check for the hardcoded andro

[android-kernel] timed_gpio Driver Functional Description

2010-12-20 Thread Raja Pavan
Hi I want to understand functionality of Android Driver timed_gpio.c. Is there any document that has functional description of the driver. Test Methodology -- Is there any method by which this driver can be tested? Thanks Raja -- unsubscribe: android-kernel+unsubscr..