Home
last modified time | relevance | path

Searched refs:PMCMainActivity (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiGScanReceiver.java24 PMCMainActivity mPMCMainActivity;
35 public WifiGScanReceiver(PMCMainActivity activity, ScanSettings settings, int interval, in WifiGScanReceiver()
48 Log.e(PMCMainActivity.TAG, "Previous Gscan still running."); in onReceive()
52 Log.e(PMCMainActivity.TAG, "Gscan cancelled."); in onReceive()
61 Log.i(PMCMainActivity.TAG, "Starting GScan Task"); in onReceive()
72 Log.i(PMCMainActivity.TAG, "Scheduling the next gscan after " + mAlarmInterval); in scheduleGscan()
96 Log.d(PMCMainActivity.TAG, "Starting background task for gscan with channel"); in doInBackground()
111 Log.d(PMCMainActivity.TAG, "Number of scan completed " + mScanCount); in doInBackground()
114 Log.e(PMCMainActivity.TAG, e.toString()); in doInBackground()
129 Log.d(PMCMainActivity.TAG, "GScanTask onProgressUpdate updating the UI"); in onProgressUpdate()
[all …]
DWifiDownloadReceiver.java23 PMCMainActivity mPMCMainActivity;
34 public WifiDownloadReceiver(PMCMainActivity activity, String url, int interval, in WifiDownloadReceiver()
49 Log.e(PMCMainActivity.TAG, "Previous download still running."); in onReceive()
53 Log.e(PMCMainActivity.TAG, "Download cancelled."); in onReceive()
61 Log.i(PMCMainActivity.TAG, "Starting Download Task"); in onReceive()
76 Log.i(PMCMainActivity.TAG, "Scheduling the next download after " + mAlarmInterval); in scheduleDownload()
103 Log.d(PMCMainActivity.TAG, "Starting background task for downloading file"); in doInBackground()
123 Log.d(PMCMainActivity.TAG, "Downloaded file size " + fileLength); in doInBackground()
129 Log.e(PMCMainActivity.TAG, e.toString()); in doInBackground()
146 Log.d(PMCMainActivity.TAG, "DownloadTask onProgressUpdate updating the UI"); in onProgressUpdate()
[all …]
DSettingActivity.java27 mServerIP.setText(intent.getStringExtra(PMCMainActivity.SETTING_SERVER_IP_KEY)); in onCreate()
28 mServerPort.setText(intent.getStringExtra(PMCMainActivity.SETTING_SERVER_PORT_KEY)); in onCreate()
29 mInterval.setText(intent.getStringExtra(PMCMainActivity.SETTING_INTERVAL_KEY)); in onCreate()
30 mIperfBandwidth.setText(intent.getStringExtra(PMCMainActivity.SETTING_IPERF_BANDWIDTH_KEY)); in onCreate()
31 mIperfLogfile.setText(intent.getStringExtra(PMCMainActivity.SETTING_IPERF_LOGFILE_KEY)); in onCreate()
37 intent.putExtra(PMCMainActivity.SETTING_SERVER_IP_KEY, mServerIP.getText().toString()); in onBackPressed()
38 intent.putExtra(PMCMainActivity.SETTING_SERVER_PORT_KEY, mServerPort.getText().toString()); in onBackPressed()
39 intent.putExtra(PMCMainActivity.SETTING_INTERVAL_KEY, mInterval.getText().toString()); in onBackPressed()
40 intent.putExtra(PMCMainActivity.SETTING_IPERF_BANDWIDTH_KEY, in onBackPressed()
42 intent.putExtra(PMCMainActivity.SETTING_IPERF_LOGFILE_KEY, in onBackPressed()
DWifiConnScanReceiver.java21 PMCMainActivity mPMCMainActivity;
29 public WifiConnScanReceiver(PMCMainActivity activity, int interval, AlarmManager alarmManager, in WifiConnScanReceiver()
41 Log.e(PMCMainActivity.TAG, "Previous connection scan still running."); in onReceive()
45 Log.e(PMCMainActivity.TAG, "Connection scan cancelled."); in onReceive()
55 Log.i(PMCMainActivity.TAG, "Starting Connectivity Scan Task"); in onReceive()
66 Log.i(PMCMainActivity.TAG, "Scheduling the next conn scan after " + mAlarmInterval); in scheduleConnScan()
106 Log.d(PMCMainActivity.TAG, "Number of scan completed " + mScanCount); in doInBackground()
109 Log.e(PMCMainActivity.TAG, e.toString()); in doInBackground()
123 Log.d(PMCMainActivity.TAG, "ConnectvityScanTask onProgressUpdate updating the UI"); in onProgressUpdate()
131 Log.e(PMCMainActivity.TAG, error); in onPostExecute()
[all …]
DIperfClient.java40 private final PMCMainActivity mPMCMainActivity;
46 public IperfClient(PMCMainActivity activity, String serverAddress, in IperfClient()
82 Log.i(PMCMainActivity.TAG, "Starting iperf client: " + mProcessBuilder.command()); in startClient()
92 Log.e(PMCMainActivity.TAG, "Starting iperf client failed: " + e); in startClient()
102 Log.i(PMCMainActivity.TAG, "Stopping iperf client: " + mProcessBuilder.command()); in stopClient()
107 Log.e(PMCMainActivity.TAG, "Stopping iperf client failed: " + e); in stopClient()
DPMCMainActivity.java43 public class PMCMainActivity extends Activity { class
185 mDR = new WifiDownloadReceiver(PMCMainActivity.this, in startDownloadFile()
309 mSettingIntent = new Intent(PMCMainActivity.this, SettingActivity.class); in startSettingActivity()