Lines Matching refs:strRandomId
62 String strRandomId = null; in MtpServer() local
68 strRandomId = sharedPref.getString(strID_PREFS_KEY, null); in MtpServer()
71 if (strRandomId.length() != sID_LEN_STR) { in MtpServer()
72 strRandomId = null; in MtpServer()
75 for (int ii = 0; ii < strRandomId.length(); ii++) in MtpServer()
76 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
77 strRandomId = null; in MtpServer()
83 if (strRandomId == null) { in MtpServer()
84 strRandomId = getRandId(); in MtpServer()
85 sharedPref.edit().putString(strID_PREFS_KEY, strRandomId).apply(); in MtpServer()
88 deviceInfoSerialNumber = strRandomId; in MtpServer()