Exemplo n.º 1
0
 public String i2cScript() {
   String i2cStr = "/data/kernel-tests/i2c-msm-changed.sh";
   String tempOptions = getTestOptions();
   setTestOptions();
   i2cStr = i2cStr.concat(tempOptions);
   return OutputActivity.displayOnScreen(i2cStr);
 }
Exemplo n.º 2
0
 public String i2clogScript() {
   File fp = new File("/data/local/i2c-" + getDateTime() + ".txt");
   if (!fp.exists()) {
     try {
       fp.createNewFile();
     } catch (IOException e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
     }
   }
   String i2cStr = "/data/kernel-tests/i2c-msm-changed.sh";
   String tempOptions = getTestOptions();
   setTestOptions();
   i2cStr = i2cStr.concat(tempOptions);
   OutputActivity.logtoFile(fp, i2cStr);
   return fp.getName();
 }
Exemplo n.º 3
0
 public String i2chelpScript() {
   String i2cStr = "/data/kernel-tests/i2c-msm-changed.sh";
   return OutputActivity.displayOnScreen(i2cStr);
 }