1/*-------------------------------------------------------------------------
2 * drawElements Quality Program Tester Core
3 * ----------------------------------------
4 *
5 * Copyright 2014 The Android Open Source Project
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *      http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 *//*!
20 * \file
21 * \brief ExecServer Activity
22 *
23 * Actual execserver is run in service, but this activity serves
24 * as starter for the service.
25 *//*--------------------------------------------------------------------*/
26
27package com.drawelements.deqp.execserver;
28
29import android.app.Activity;
30import android.content.Intent;
31import android.widget.TextView;
32import android.os.Bundle;
33
34import com.drawelements.deqp.testercore.Log;
35import com.drawelements.deqp.R;
36
37public class ExecServerActivity extends Activity {
38
39	private TextView	m_statusText;
40
41	@Override
42	protected void onCreate (Bundle savedInstance) {
43		super.onCreate(savedInstance);
44		setContentView(R.layout.exec_server);
45
46		m_statusText = (TextView)findViewById(R.id.status_text);
47	}
48
49	@Override
50	protected void onStart () {
51		super.onStart();
52		// \todo [2015-10-06 pyry] Connect to service, check status, offer option for killing it
53		m_statusText.setText("dEQP ExecServer is running");
54	}
55
56	@Override
57	protected void onStop () {
58		super.onStop();
59	}
60
61	@Override
62	protected void onPause () {
63		super.onPause();
64	}
65
66	@Override
67	protected void onResume () {
68		super.onResume();
69	}
70
71	@Override
72	protected void onDestroy() {
73		super.onDestroy();
74	}
75}
76