Searched refs:jsonStr (Results 1 – 4 of 4) sorted by relevance
138 val jsonStr = preferences.getString(wallpaperConfigName + keySuffix, "") in load() constant140 val json = JSONObject(jsonStr) in load()144 Log.w(TAG, "JSONObject creation failed for \n$jsonStr") in load()
335 fun deserialize(jsonStr: String?): ClockSettings? { in deserialize()336 if (jsonStr.isNullOrEmpty()) { in deserialize()340 val json = JSONObject(jsonStr) in deserialize()
513 String jsonStr; in onDownloadComplete() local525 jsonStr = convertToString(mDownloadManager, carrierKeyDownloadIdentifier); in onDownloadComplete()526 if (TextUtils.isEmpty(jsonStr)) { in onDownloadComplete()528 jsonStr = convertToStringNoGZip(mDownloadManager, in onDownloadComplete()531 parseJsonAndPersistKey(jsonStr, mccMnc, carrierId); in onDownloadComplete()641 public void parseJsonAndPersistKey(String jsonStr, String mccMnc, int carrierId) { in parseJsonAndPersistKey() argument642 if (TextUtils.isEmpty(jsonStr) || TextUtils.isEmpty(mccMnc) in parseJsonAndPersistKey()650 JSONObject jsonObj = new JSONObject(jsonStr); in parseJsonAndPersistKey()
2962 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);2963 JSONObject json = new JSONObject(jsonStr);3001 String jsonStr = IoUtils.readFileAsString(DiskStatsLoggingService.DUMPSYS_CACHE_PATH);3002 JSONObject json = new JSONObject(jsonStr);