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 27 package com.drawelements.deqp.execserver; 28 29 import android.app.Activity; 30 import android.content.Intent; 31 import android.os.Bundle; 32 import android.widget.TextView; 33 import com.drawelements.deqp.R; 34 import com.drawelements.deqp.testercore.Log; 35 36 public class ExecServerActivity extends Activity { 37 38 private TextView m_statusText; 39 40 @Override onCreate(Bundle savedInstance)41 protected void onCreate(Bundle savedInstance) { 42 super.onCreate(savedInstance); 43 setContentView(R.layout.exec_server); 44 45 m_statusText = (TextView)findViewById(R.id.status_text); 46 } 47 48 @Override onStart()49 protected void onStart() { 50 super.onStart(); 51 // \todo [2015-10-06 pyry] Connect to service, check status, offer 52 // option for killing it 53 m_statusText.setText("dEQP ExecServer is running"); 54 } 55 56 @Override onStop()57 protected void onStop() { 58 super.onStop(); 59 } 60 61 @Override onPause()62 protected void onPause() { 63 super.onPause(); 64 } 65 66 @Override onResume()67 protected void onResume() { 68 super.onResume(); 69 } 70 71 @Override onDestroy()72 protected void onDestroy() { 73 super.onDestroy(); 74 } 75 } 76