Hi Best way to start on test cases for ashmem and binder drivers is android source code.
*android source code and ashmem driver* I reviewed the android source code and found that ashmem and binder are also opened like any other linux device. They are opened like any linux device. *Interfaces to ashmem driver* So if you can understand other interfaces, you can test most of the functionality of these drivers. ashmem_create() for instance You can also review the driver code to understand if there are any ioctl interfaces. http://www.androidenea.com/2010/03/share-memory-using-ashmem-and-binder-in.html ** I can post the source code snippets in another mail may be in a day or two. Cheers Pavan On 15 November 2012 00:52, Naresh Kamboju <naresh.kamb...@linaro.org> wrote: > Hi, > > Greeting from QA Services Linaro. > > I have a plan to develop test cases to test functionality of ashmem and > binder. here I would like to ensure developed test cases are going to cover > 95% of ashmem and binder code. > > Before i start this activity I would like to know, any one has already > done this (or drafted any test cases)? if yes where can i find test code or > test doc? > > OTOH, The developers who have developed ashmem and binder functionality > should have unit test cases. this could give initial idea on test > development and I can take forward and can implement functionality, stress > tests and make run them in automated way. > > Best regards > Naresh Kamboju > QA services Expert > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel