// Token: 0x060000C2 RID: 194 RVA: 0x0000B6B0 File Offset: 0x000098B0
		public static CheckCPUIDResult FactorySignEdl(string deivce, string orignKey, out string signedKey)
		{
			signedKey = "";
			Log.w("vboytest factory 111");
			CheckCPUIDResult checkCPUIDResult = new CheckCPUIDResult();
			bool result = false;
			string msg = "";
			try
			{
				TPUB_TEST_FUNC_DLL tpub_TEST_FUNC_DLL = new TPUB_TEST_FUNC_DLL();
				lock (FactoryCtrl.locker1)
				{
					result = tpub_TEST_FUNC_DLL.SLA_Challenge("qcomFlash", orignKey, out signedKey, out msg);
				}
				checkCPUIDResult.Msg = msg;
			}
			catch (Exception ex)
			{
				checkCPUIDResult.Msg = ex.Message;
			}
			checkCPUIDResult.Device = deivce;
			checkCPUIDResult.Result = result;
			Log.w(deivce, string.Format("device {0} SLA_Challenge result {1} status {2}", deivce, checkCPUIDResult.Result.ToString(), checkCPUIDResult.Msg));
			return checkCPUIDResult;
		}
		// Token: 0x060000C0 RID: 192 RVA: 0x0000B4DC File Offset: 0x000096DC
		public static CheckCPUIDResult GetSearchPathD(string deivce, string swPath)
		{
			CheckCPUIDResult checkCPUIDResult = new CheckCPUIDResult();
			Log.w(deivce, "GetSearchPath");
			bool flag = false;
			string text = "";
			string text2 = "";
			try
			{
				TPUB_TEST_FUNC_DLL factoryObject = FactoryCtrl.GetFactoryObject(deivce, out text2);
				if (factoryObject == null)
				{
					if (string.IsNullOrEmpty(text2))
					{
						text2 = "can not GetFactoryObject";
					}
					Log.w(deivce + " CheckCPUID failed!");
				}
				else
				{
					flag = factoryObject.CheckCPUID(deivce, out text, out text2);
					foreach (Device device in FlashingDevice.flashDeviceList)
					{
						if (device.Name == deivce)
						{
							device.CheckCPUID = flag;
						}
					}
					Log.w(string.Format("{0} CheckCPUID result {1} status {2} imgPath {3}", new object[]
					{
						deivce,
						flag.ToString(),
						text2,
						text
					}));
				}
				checkCPUIDResult.Msg = text2;
			}
			catch (Exception ex)
			{
				checkCPUIDResult.Msg = ex.Message;
			}
			checkCPUIDResult.Device = deivce;
			checkCPUIDResult.Result = flag;
			checkCPUIDResult.Path = text;
			Log.w(deivce, string.Format("device {0} CheckCPUID result {1} status {2}", deivce, checkCPUIDResult.Result.ToString(), checkCPUIDResult.Msg));
			return checkCPUIDResult;
		}