Home
last modified time | relevance | path

Searched refs:strRandomId (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpServer.java63 String strRandomId = null; in MtpServer() local
69 strRandomId = sharedPref.getString(strID_PREFS_KEY, null); in MtpServer()
72 if (strRandomId.length() != sID_LEN_STR) { in MtpServer()
73 strRandomId = null; in MtpServer()
76 for (int ii = 0; ii < strRandomId.length(); ii++) in MtpServer()
77 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
78 strRandomId = null; in MtpServer()
84 if (strRandomId == null) { in MtpServer()
85 strRandomId = getRandId(); in MtpServer()
86 sharedPref.edit().putString(strID_PREFS_KEY, strRandomId).apply(); in MtpServer()
[all …]