public clsActions(clsDevice device) { this.device = device; }
public clsAuxiliary(clsDevice device) { this.device = device; }
public clsSIM_Info(clsDevice device) : this(device, 0) { }
public clsSIM_Info(clsDevice device, int simSlotNumber) { this.device = device; this.simSlotNumber = simSlotNumber; }
public clsProductInfo(clsDevice device) { try { this.device = device; String refResult = ""; ADB_Process.RunAdbCommand(" -s " + device.ID + " shell cat /system/build.prop | grep \"product\"", ref refResult, false); foreach (String lineTemp in refResult.Split('\n')) { String line = lineTemp.Trim(); try { if (line.Contains("model")) { Model = line.Split('=')[1]; } else if (line.Contains("brand")) { Brand = line.Split('=')[1]; } else if (line.Contains("name")) { Name = line.Split('=')[1]; } else if (line.Contains("board")) { Board = line.Split('=')[1]; } else if (line.Contains(".abi2=")) { CPU_ABI2 = line.Split('=')[1]; } else if (line.Contains(".abi=")) { CPU_ABI = line.Split('=')[1]; } else if (line.Contains("manufacturer")) { Manufacturer = line.Split('=')[1]; } else if (line.Contains("language")) { Language = line.Split('=')[1]; } else if (line.Contains("region")) { Region = line.Split('=')[1]; } } catch { } } ADB_Process.RunAdbCommand(" -s " + device.ID + " shell cat /system/build.prop | grep \"rild.libpath\"", ref LibPath, false); LibPath = LibPath.Trim(); refResult = LibPath.ToLower(); if (refResult.Length > 0) { if (refResult.Contains("qc") || refResult.Contains("qualcomm")) { SolutionVendor = "Qualcomm"; } else if (refResult.Contains("mtk") || refResult.Contains("mediatek")) { SolutionVendor = "MTK"; } } } catch { } }
public clsUiAutomator(clsDevice device) { this.device = device; }
public clsWifi(clsDevice device) { this.device = device; }
public clsTelephony(clsDevice device) { this.device = device; }
public clsAirplaneMode(clsDevice device) { this.device = device; }