top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Use of netperf with 4.2 JellyBean?

0 votes
216 views

I am having problem running netperf in 4.2 JB. The netserver host is a different computer. The test seems to start ok but the netperf client times out waiting for the server to acknowledge the connection. From Wireshark it appears the ACK was sent.

Does netperf need to be run as "system"?

posted Sep 11, 2014 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I just wanted to know why is SystemUI part of framework. What was the thinking process of Google to put SystemUI in framework.The reason behind asking this question was, that i just moved out the SystemUI from frameworks/base and placed in the packages/apps like any other system app e.g Calculator. It works fine on the emulator after building it.

+1 vote

Are there any patches/example on how to enable USB bluetooth support with JB 4.2.2 (bluedroid)?

+3 votes

After using SCREEN_ON SCREEN_OFF broadcast receiver, screen does not seem to switch off automatically as it used to for default android app.

None of the code commented below works for Android 4.4.2 (API 19 onward)

int time = android.provider.Settings.System.getInt(context.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, Integer.MAX_VALUE);
// Toast.makeText(context, "Screen Time out is "+new Date(lastTimeScreenOn+15000) + ", lastTimeScreenOn = "+new Date(lastTimeScreenOn), Toast.LENGTH_SHORT).show();
// screen off if more than 15 sec
if(System.currentTimeMillis() - lastTimeScreenOn > 15000)
 {
      Toast.makeText(context, "Screen Time out ", Toast.LENGTH_LONG).show();
      //DevicePolicyManager mDPM = (DevicePolicyManager)context.getSystemService(Context.DEVICE_POLICY_SERVICE);
      //mDPM.lockNow();
      //Settings.System.putInt(context.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, 1000);
 }
+2 votes

I want to test bluetooth on Android Development environment any suggestions?

...