Example #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);
 }
Example #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();
 }
Example #3
0
 public String i2chelpScript() {
   String i2cStr = "/data/kernel-tests/i2c-msm-changed.sh";
   return OutputActivity.displayOnScreen(i2cStr);
 }