cgroup errors?

by DJ_Steve » Tue, 29 Jun 2010 04:49:48 GMT


Sponsored Links
 elo, wondering if anyone has any ideas how to get rid of the tons of
errors i have like below::

I/ActivityManager( 540): moveTaskToBack: 4
W/SchedPolicy( 540): add_tid_to_cgroup failed to write
'665' (Permission denied); background=0
W/ActivityManager( 540): Failed setting process group of 665 to 0
W/System.err( 540): java.lang.SecurityException: No permission to set
to given group
W/System.err( 540): at android.os.Process.setProcessGroup(Native
Method)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:
14254)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:
14341)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:
1675)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:
1659)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateLruProcessInternalLocked(ActivityManagerService.java:
1667)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateLruProcessLocked(ActivityManagerService.java:
1682)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.resumeTopActivityLocked(ActivityManagerService.java:
2741)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.completePauseLocked(ActivityManagerService.java:
2236)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:
5962)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:
5940)
W/System.err( 540): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:
387)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:
1480)
W/System.err( 540): at android.os.Binder.execTransact(Binder.java:
288)
W/System.err( 540): at dalvik.system.NativeStart.run(Native
Method)
W/InputManagerService( 540): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$pr...@4401eeb8
W/SchedPolicy( 540): add_tid_to_cgroup failed to write
'916' (Permission denied); background=1
W/ActivityManager( 540): Failed setting process group of 916 to 1
W/System.err( 540): java.lang.SecurityException: No permission to set
to given group
W/System.err( 540): at android.os.Process.setProcessGroup(Native
Method)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:
14254)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:
14341)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.trimApplications(ActivityManagerService.java:
14413)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.activityIdleInternal(ActivityManagerService.java:
5863)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.activityIdle(ActivityManagerService.java:
5683)
W/System.err( 540): at
android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:
377)
W/System.err( 540): at
com.android.server.am.ActivityManagerService.onTransa



Other Threads

1. Minimum PC Requirement for Using Android SDK

Hi All,
I want to Know the Minimum configuration to work with Android SDK
Application .

Regards
Parasuraman
--~--~---------~--~----~------------~-------~--~----~

2. Keeping network connection alive when paused - Service?

Is there a way to keep a network connection such as WLAN alive when
the handset pauses? I could not find this in the documentation (not
sure if this is possible). Here's where I am at:

Doing some clean-up work on an app, I've wrapped a background Thread
in a Service. This background Thread polls a server in a regular
interval, e.g. 30s, but of courses fails as soon as network
connectivity is closed by the device as a result of going into paused
state. So my motivation to wrap this background Thread in a Service
was not only to conform to Androids app model, but more so in the hope
to keep the network connectivity alive when the device pauses. In my
implementation, the background Thread is started in onServiceConnect()
of the ServiceConnection which is bound to the Service. With that in
place, I hopefully checked the app logs which show connectivity in the
hope that the fact that the background Thread is now wrapped in a
Service layer would indeed keep the network connectivity alive when
the device pauses. No such luck however. It does not seem to make a
difference, so I am wondering if there's a way to keep network
connectivity alive when the device pauses... TIA.

--~--~---------~--~----~------------~-------~--~----~

3. Porting android to omap 2430

4. How does the Java code connect to the C code

5. Howto take value for android:textSize from resources?

6. Howto take value for android:textSize from resources?

7. about the filesystem in Android Architecture