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

2010-12-20 Thread Dianne Hackborn
e. > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to

Re: [android-kernel] Re: Android CFS Scheduling

2010-12-10 Thread Dianne Hackborn
all the exisiting processes in the system? So the > > fraction of CPU for A is about 1/(n+1) - assuming they are of same > > nice value ? > > > > Thanks a lot. > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.googl

Re: [android-kernel] Re: Android Low Memory Killer

2010-11-25 Thread Dianne Hackborn
which is killed before C. It is tricky however to put this together so it works as a unit test with dependable behavior. On Wed, Nov 24, 2010 at 10:37 PM, Raja Pavan wrote: > Is there any test methodology available from android, for testing LMK > driver? > > On Nov 25, 11:17 am, Dia

Re: [android-kernel] Re: Android Low Memory Killer

2010-11-24 Thread Dianne Hackborn
> I did run the test application (shared with you) on emulator. > > It was killed. > > It has been observed that the adb shell is also killed (as it is not > available anymore) > > But How do I know whether the process is crashing at the watermark > level? > > Thanks

Re: [android-kernel] Android Low Memory Killer

2010-11-23 Thread Dianne Hackborn
test application available to test the > lowmemorykiller, provided by Google? > (4) Can some provide us clue about improved debugging of this driver? > > Please extend help ASAP. > > Thanks > Raja > > > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroup

Re: [android-kernel] Android Low Memory Killer + kswapd

2010-11-18 Thread Dianne Hackborn
igger very early. > > But the lowmemory killer is triggerred almost at the end of the memoryeater > loop. > > Thanks > Raja > > On Fri, Nov 19, 2010 at 1:51 AM, Dianne Hackborn wrote: > >> What oom_adj is your test app running under? >> >> On Wed, Nov

Re: [android-kernel] Android Low Memory Killer + kswapd

2010-11-18 Thread Dianne Hackborn
t only after the sample application is almost at the end of the > memory allocation. > > Is there any patch to lowmemorykiller.c or the kswapd (mm/vmscan.c) > that will make the lowmemorykiller to get triggerred for all levels of > the free memory levels specified inside the init.r

Re: [android-kernel] Re: implementing custom system calls

2010-11-11 Thread Dianne Hackborn
ust write a driver. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where

Re: [android-kernel] implementing custom system calls

2010-11-11 Thread Dianne Hackborn
l_table.S for the ARM arch. > > Is there a different procedure to do this? > > Cheers, > Earlence > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework

Re: [android-kernel] Re: Froyo and kernel version

2010-10-03 Thread Dianne Hackborn
.29 kernel as well. > > > > > You just need the critical kenrel patches for it to work. i.e. > > > binder, asmem, wakelocks, logger, and one or two more, you can easily > > > rebase out of the refrence kernel trees google puts up. > > > > > --mgross &

Re: [android-kernel] Event Loop

2010-09-29 Thread Dianne Hackborn
@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mail

Re: [android-kernel] Re: How do you un-mount a busy partition?

2010-09-24 Thread Dianne Hackborn
gt; -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provid

Re: [android-kernel] Re: Froyo and kernel version

2010-09-23 Thread Dianne Hackborn
> > > > > You just need the critical kenrel patches for it to work. i.e. > > > binder, asmem, wakelocks, logger, and one or two more, you can easily > > > rebase out of the refrence kernel trees google puts up. > > > > > --mgross > > > &g

Re: [android-kernel] Is there a system call in android kernel to get the power status? like sysinfo can get memory info.

2010-08-14 Thread Dianne Hackborn
am sorry for inappropriately expression, i mean battery status, like how > much battery left > ? > > On Sat, Aug 14, 2010 at 9:38 AM, Dianne Hackborn wrote: > >> Exactly what information are you looking for when you say "power status"? >> >> On Thu, Aug 12,

Re: [android-kernel] Is there a system call in android kernel to get the power status? like sysinfo can get memory info.

2010-08-13 Thread Dianne Hackborn
> GaoJing > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't h

Re: [android-kernel] Re: Mechanism for intercepting TCP/UDP traffic?

2010-07-26 Thread Dianne Hackborn
iosity, was that for security and/or performance > reasons?). > > Is it possible to obtain all the necessary constituent parts (hardware > specific drivers etc.) from somewhere in order to include in a custom > system image that can be successfully executed on hardware? > > O

Re: [android-kernel] Re: Mechanism for intercepting TCP/UDP traffic?

2010-07-25 Thread Dianne Hackborn
eed those specific > drivers for devices X and Y, along with anything else else necessary > for the image to execute on those pieces of hardware). > > Could anybody comment on my speculation? > > Thanks > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.co

Re: [android-kernel] Mechanism for intercepting TCP/UDP traffic?

2010-07-22 Thread Dianne Hackborn
> > good luck, > > greg k-h > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as

Re: [android-kernel] Android NDK

2010-06-28 Thread Dianne Hackborn
Padma > > -- > unsubscribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time

Re: [android-kernel] Re: Post-Mortem on Panic/Reboot

2010-06-14 Thread Dianne Hackborn
other words, if your app is crashing the platform, I would like to have a bug filed with steps to reproduce so this issue in the platform can be fixed. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time

Re: [android-kernel] Post-Mortem on Panic/Reboot

2010-06-14 Thread Dianne Hackborn
t the problem may be related to the network stack (the > app tries to poll a server for changes periodically), and I think the > problem may be somewhere in the handling of 'bad/unavailable' IP > connections. > > Doug > > -- > unsubscribe: > android-kernel+unsubscr..

Re: [android-kernel] Re: creating new processes insternals

2010-05-08 Thread Dianne Hackborn
does kernel thread uses the do_fork() kernel function > too? I didn't found a sys_exit syscall for these threads. > The binder threads, as I said, are for a thread pool to handling incoming IPCs. They are threads, just like other threads, everything that is a thread is a standard Linu

Re: [android-kernel] Re: creating new processes insternals

2010-05-07 Thread Dianne Hackborn
bscribe: > > 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 > -- Dianne Hackborn Android

Re: [android-kernel] A simplest Application access "Content Provider"

2010-05-05 Thread Dianne Hackborn
ontentResolver.insert(uriSms, values); > } > > public static void main(String[] args) { > NoActivityTest ex = new NoActivityTest(); > ex.insertSms("13912345678", "test0001"); > } > } > === > > As

Re: [android-kernel] Re: [android-porting] [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-20 Thread Dianne Hackborn
. If the process running the VM has permission to access the file, then the Java code can access it. Android doesn't use the VM to enforce this (or most) kinds of security. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to

Re: [android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread Dianne Hackborn
oadcastReceiver. > Using Android Framework only or kernel may help...? > > If this question is not suitable in android-kernel group, plz tell me. > > Thanks a lot! > > On Sat, Mar 27, 2010 at 12:46 AM, Dianne Hackborn > wrote: > > Intent is a data container. It makes

Re: [android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread Dianne Hackborn
http://groups.google.com/group/android-kernel > > To unsubscribe from this group, send email to android-kernel+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Dianne Hackborn Android framework engineer hack...@android.

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-23 Thread Dianne Hackborn
Yes fastboot is the Android tool for flashing images (and doing other things). On Mon, Mar 22, 2010 at 11:00 PM, Porting beginner < porting.begin...@gmail.com> wrote: > > > On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn wrote: > >> On Mon, Mar 22, 2010 at 9:07 PM, Shud

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-22 Thread Dianne Hackborn
On Mon, Mar 22, 2010 at 9:07 PM, Shuduo Sang wrote: > Is it also named "fast boot" mode? > No that is unrelated. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide pri

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-22 Thread Dianne Hackborn
2010 at 3:36 PM, Porting beginner < porting.begin...@gmail.com> wrote: > > > On Mon, Mar 22, 2010 at 3:04 PM, Dianne Hackborn wrote: > >> It is controlled with this sytem property: ro.factorytest >> >> Possible values: >> >> public static final

[android-kernel] Re: [android-developers] Android factory test mode

2010-03-22 Thread Dianne Hackborn
p, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to android-developers+ > unsubscribegooglegroups.com or reply to this

Re: [android-kernel] Re: Getting the battery current and voltage values for the Android Phone

2010-03-15 Thread Dianne Hackborn
stantaneous current drawn from battery? > > On Mar 14, 11:49 pm, Dianne Hackborn wrote: > > The G1 battery doesn't have a current meter (I assume you are wanting to > > measure the current current draw), so there is no data for that. The > > firmware does some magical

Re: [android-kernel] Getting the battery current and voltage values for the Android Phone

2010-03-14 Thread Dianne Hackborn
scribe: > android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, an

Re: [android-kernel] Re: printk in Android

2010-01-07 Thread Dianne Hackborn
the kernel, no, Linux does not work that way, sorry. > > > > Why do you feel that a user would want to see a kernel message directly > > anyway? > > > > What type of kernel code are you writing? > > > > thanks, > > > > greg k-h > > -- &g

[android-kernel] Re: Real time kernel support in Android

2009-10-20 Thread Dianne Hackborn
really face reliability kind of issues in the existing > phones in market, if yes then up to what extinct like 1/10 or 1/1000? > One one billionth! Sorry I know that was uncalled for, I should not be posting when I am sick. And even knowing that, I am going to post anyway, that is how sick

[android-kernel] Re: Real time kernel support in Android

2009-10-19 Thread Dianne Hackborn
dont have tools to check the performance of Android,* if any of you can > give me lead where Android currently needs improvement* (apart from > Hardware) in the kernel or middleware, then surely we can take up for making > Android a better system. > > Thanks, > Vamsi > > On Thu, O

[android-kernel] Re: Real time kernel support in Android

2009-10-15 Thread Dianne Hackborn
uler that apparently may provide noticeable improvement over the stock one.) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All su

[android-kernel] Re: Real time kernel support in Android

2009-10-13 Thread Dianne Hackborn
outside of the Linux kernel's >> control. What are you trying to do here? >> >> Are the current latencies that Linux has (lowest of any operating >> system) somehow not sufficient for your needs? If so, where are you >> seeing these latencies? >> >> thanks,

[android-kernel] Re: Touchscreen Input event processing in Android

2009-10-12 Thread Dianne Hackborn
;ll be grateful if someone can explain that how the JNI layer (Native > > > layer) gets notified by the touchscreen driver when a touchscreen > > > event occurs? Any documentation or API flow chart on this will be of > > > great help. > > > > > Thanks in advan

[android-kernel] Re: OOM Kill Limit

2009-10-12 Thread Dianne Hackborn
g phone via a shell? > Otherwise, I guess I can sprinkle some printk's in the > lowmemorykiller.c. > > Thanks > > On Oct 12, 1:27 pm, Dianne Hackborn wrote: > > The limits are set with init.irc. Note that the default limits for level > 14 > > and 15 are qui

[android-kernel] Re: OOM Kill Limit

2009-10-12 Thread Dianne Hackborn
I don't understand the > "zone"s involved. > > My device starts having a ton of page faults and visually lagging, but > there are numerous processes with oom_adj 14 and 15, so I was hoping > there was an easily adjustable value I could play with to see what > giv

[android-kernel] Re: Touchscreen Input event processing in Android

2009-10-12 Thread Dianne Hackborn
> event occurs? Any documentation or API flow chart on this will be of > great help. > > > Thanks in advance > > Leo > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't hav

[android-kernel] Re: Help to develope keyboard driver!!!

2009-07-13 Thread Dianne Hackborn
> Please me provide appropriate URL > > > > Thank you in advance. > > Ulzii > > > > > > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have ti

[android-kernel] Re: How much RAM does G1 have?

2009-07-09 Thread Dianne Hackborn
ommunication, 15M is > enough enough. > other driver's DMA buffer should be all small. > correct me if i am wrong or missed something. > > I can think of at most 20M usage. > there is still a big gap to the "lost" 91MB :-( > > Thanks, > Tom > > On Jul 10,

[android-kernel] Re: How much RAM does G1 have?

2009-07-09 Thread Dianne Hackborn
On Wed, Jul 8, 2009 at 10:33 PM, tom wrote: > yes, kernel need to reserve some for its text, data, mem_map, and > other like FB etc. > But, 192-101=91MB, does modem need 91MB?! It also includes DMA buffers, graphics memory, etc. -- Dianne Hackborn Android framework engi

[android-kernel] Re: How much RAM does G1 have?

2009-07-08 Thread Dianne Hackborn
Well what does it say? As the original poster observed, when all is tallied up there is about 100MB available for the kernel, which is what /proc/meminfo would report on a G1. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to

[android-kernel] Re: Best way to get data from /proc to Dalvik app

2009-04-04 Thread Dianne Hackborn
bt that the VM allows the > app to open a File object on anything outside of the /sdcard > filesystem...or does it? > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide priva

[android-kernel] Re: How to lighten LED in key driver, when user press any KEY.

2009-03-12 Thread Dianne Hackborn
uestion is that where in the codes of key driver, will call LED > driver to control LED on/off. > > Thanks. > > > > > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't ha

[android-kernel] Re: question about sysfs interface for backlight adjustment

2009-02-06 Thread Dianne Hackborn
gt; backlight/eeepc" or "/sys/class/backlight/acpi_video0". > > Or should we not change kernel, but only change the userspace code, > like scan the directory "/sys/class/backlight" to see which sub- > directory in it? > > You can refer to the following dis

[android-kernel] Re: Anyone knows the application, who will poll/handle keypad events in user space?

2009-02-05 Thread Dianne Hackborn
t application (child of > system_server???) which is polling/handling keypad events. Or that program > is in HAL layer? > > Could someone have a chance to know this? > > Thanks, > Stephen > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: