question: private void storeCookies ( ) { lock . lock ( ) ; SharedPreferences . Editor editor = spePreferences . edit ( ) ; editor . putStringSet ( COOKIE_JAR , cookieListToStringSet ( cookieJar ) ) ; Set < URI > uris = uriIndex . keySet ( ) ; if ( ! uris . isEmpty ( ) ) editor . putStringSet ( URI_LIST , URIToStringSet ( uris ) ) ; for ( URI uri : uris ) { editor . putStringSet ( uri . toString ( ) , cookieListToStringSet ( uriIndex . get ( uri ) ) ) ; } Set < String > domains = domainIndex . keySet ( ) ; if ( ! domains . isEmpty ( ) ) editor . putStringSet ( STRING_LIST , domains ) ; for ( String domain : domains ) { editor . putStringSet ( domain , cookieListToStringSet ( domainIndex . get ( domain ) ) ) ; } editor . apply ( ) ; lock . unlock ( ) ; }
target:  Store cookies from the memory of this cookieStore into SharedPreferences.