[android-kernel] Re: Are the DVM registers shared between threads?

2012-04-25 Thread Chris Stratton
On Thursday, April 19, 2012 10:19:03 AM UTC-4, Pascal Wittmann wrote: > > Hi, > > I'm currently working on a security type system that enforces a > noninterference-like property based on a static analysis of dalvik > bytecode. In the context of this analysis I need to know if DMV > registers are sh

Re: [android-kernel] Re: Android Scheduler

2012-04-25 Thread Chris Stratton
On Wednesday, April 25, 2012 11:57:37 AM UTC-4, tbird20d wrote: > > > However what I am trying to achieve is context-aware scheduling. By > > context I mean office, home, driving etc. So under that context to > > pre-schedule some applications I have predefined for those contexts, > > or give hi

[android-kernel] Re: Android Scheduler

2012-04-25 Thread DK
Thanks Tim for the insights. I thought pre-scheduling would, putting it into the run queue would load the apps in to memory because they are in the running state(not actually running but ready to run) isn't that the case. My question dosen't pre-scheduling do the read ahead? Thanks for pointing th

[android-kernel] About Kernel Verison (will update)?

2012-04-25 Thread Dennis.Yxun
HI Android Kernel Folks: I'm just wonder whether google will update android kernel to more recent version, say v3.4 or still stick to old version 3.0.8? I can see the upstream v3.4 still under heavy development and it just reaches rc4. and during the time google's android kernel tream start tr

Re: [android-kernel] Re: Want to develop new HAL and device driver for Android

2012-04-25 Thread William W.-Y. Liang
Hi, I have some introductory slides at the following link, for your reference. http://www.ntut.edu.tw/~wyliang/#Download BRs, William W.-Y. Liang http://www.ntut.edu.tw/~wyliang --- this mail was sent from my phone --- 2012-4-26 上午8:46 於 "Chirag Shah" 寫道: > Hi All, > > Thanks for the reply. It

[android-kernel] Re: binder: limits for size of data transaction

2012-04-25 Thread Vladimir Murzin
On Tue, Apr 24, 2012 at 08:55:38PM -0700, Arve Hjønnevåg wrote: > 2012/4/24 Vladimir Murzin : > > Hello everyone, > > > > I've noticed data_size and offset_size members of > > binder_transaction_data struct (drivers/staging/android/binder.h): > > > > struct binder_transaction_data { > > ... > >  si

[android-kernel] Re: Want to develop new HAL and device driver for Android

2012-04-25 Thread Chirag Shah
Hi All, Thanks for the reply. It will be great help if you can refer some link for documentation/ presentation explaining architecture od Android HAL and how it communicates with linux device driver. Thanks, Chirag Shah -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http:/

Re: [android-kernel] Re: Android Scheduler

2012-04-25 Thread David Ahern
On 4/25/12 1:49 AM, Kanishka Ariyapala wrote: My goal is to make those processes(apps defined for that context) in the running sate(high priority) ready to be run(when the user clicks on it) and to decrease the priority of other apps(not defined for that contexts) along with the other normal OS p

Re: [android-kernel] DVD-ROM and Android Gingerbread Connection

2012-04-25 Thread Guillem
I want to make almost the same thing to usb tv-stick. Kernel is linux you can build and run the modules you found interesting for your hardware, when you have this and the dmesg recognise it ( you also make a device in the /dev folder) You going to need the next part communicate this device with

[android-kernel] DVD-ROM and Android Gingerbread Connection

2012-04-25 Thread John James Dizon
Is it possible to modify the kernel of an android so that we can use an external dvd rom (with power supply provided externally) on the tablet preferably running gingerbread. So so that we can read cd data and also access them through the OS. I would like it to be part of my project, hope to get ne

[android-kernel] Re: FYI - Android ION Mem allocator [/dev/ion] replacement for PMEM

2012-04-25 Thread Bala Abiraman
Dear, what will be the advantage over ion comparing with pmem? BR On Mar 6, 5:14 pm, jagan <402ja...@gmail.com> wrote: > Hi All, > > Google has approached a new mem allocation phenomena as a replacement > for PMEM in Androidv4. > > The new allocator talks about > "It's a unified approach to buff

Re: [android-kernel] Want to develop new HAL and device driver for Android

2012-04-25 Thread Nikko Torcita
Chirag, You can also check this thread out http://groups.google.com/group/android-porting/browse_thread/thread/f6b9c22ee45a68c4?pli=1 That's my main reference when i ported a USB camera to an android tablet. Both HAL and and android driver codes have been shared by the OP. Regards, Nikko Torcita

Re: [android-kernel] Re: Android Scheduler

2012-04-25 Thread Tim Bird
On 04/25/2012 01:09 AM, Kanishka Ariyapala wrote: > Yes you have a point there, once other user applications are starting > and the process I have added may be pushed to sleep (waiting for some > resource) it will not be in the rb tree. > > However what I am trying to achieve is context-aware sche

Re: [android-kernel] Accelerometer Access at kernel level

2012-04-25 Thread Kanishka Ariyapala
Thanks Durgadoss for the reply. I will :-) On 4/24/12, Durgadoss Ramanathan wrote: > Hi, > > Just do a Google on "Sysfs". > You will have Wiki pages and pdf s explaining sysfs. > > Re: the mic thing, I am not sure. Probably it is exposed to user space > through Audio HAL > but I am no expert on t

Re: [android-kernel] Re: Android Scheduler

2012-04-25 Thread Kanishka Ariyapala
Yes you have a point there, once other user applications are starting and the process I have added may be pushed to sleep (waiting for some resource) it will not be in the rb tree. However what I am trying to achieve is context-aware scheduling. By context I mean office, home, driving etc. So unde

Re: [android-kernel] Re: Android Scheduler

2012-04-25 Thread Kanishka Ariyapala
Thanks Tim for the detailed answer and the questions. It shed some light on me too. I didn't tell why I wanted to pre -schedule a process. My final year project is a context-aware OS, which is too big to handle so I scaled it down to only one aspect of the OS, scheduling. So am trying to achieve c