Home
last modified time | relevance | path

Searched refs:ConvertJavaStringToUTF8 (Results 1 – 25 of 83) sorted by relevance

1234

/external/chromium_org/chrome/browser/android/
Durl_utilities.cc13 using base::android::ConvertJavaStringToUTF8;
31 GURL url_1(ConvertJavaStringToUTF8(env, url_1_str)); in SameDomainOrHost()
32 GURL url_2(ConvertJavaStringToUTF8(env, url_2_str)); in SameDomainOrHost()
46 GURL gurl = GURL(ConvertJavaStringToUTF8(env, url)); in GetDomainAndRegistry()
60 GURL gurl = GURL(ConvertJavaStringToUTF8(env, url)); in IsGoogleSearchUrl()
67 GURL gurl = GURL(ConvertJavaStringToUTF8(env, url)); in IsGoogleHomePageUrl()
78 base::android::ConvertJavaStringToUTF8(env, url), in FixupUrl()
79 base::android::ConvertJavaStringToUTF8(env, desired_tld)); in FixupUrl()
87 const GURL gurl = GURL(ConvertJavaStringToUTF8(env, url)); in IsGooglePropertyUrl()
Dnew_tab_page_prefs.cc17 using base::android::ConvertJavaStringToUTF8;
91 return dict && dict->HasKey(ConvertJavaStringToUTF8(env, session_tag)); in GetForeignSessionCollapsed()
103 update.Get()->SetBoolean(ConvertJavaStringToUTF8(env, session_tag), true); in SetForeignSessionCollapsed()
105 update.Get()->Remove(ConvertJavaStringToUTF8(env, session_tag), NULL); in SetForeignSessionCollapsed()
/external/chromium_org/base/android/
Dpath_utils.cc21 FilePath data_path(ConvertJavaStringToUTF8(path)); in GetDataDirectory()
30 FilePath data_path(ConvertJavaStringToUTF8(path)); in GetDatabaseDirectory()
39 FilePath cache_path(ConvertJavaStringToUTF8(path)); in GetCacheDirectory()
48 FilePath downloads_path(ConvertJavaStringToUTF8(path)); in GetDownloadsDirectory()
57 FilePath library_path(ConvertJavaStringToUTF8(path)); in GetNativeLibraryDirectory()
66 FilePath storage_path(ConvertJavaStringToUTF8(path)); in GetExternalStorageDirectory()
Dcommand_line_android.cc14 using base::android::ConvertJavaStringToUTF8;
38 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in HasSwitch()
43 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in GetSwitchValue()
53 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in AppendSwitch()
59 std::string switch_string(ConvertJavaStringToUTF8(env, jswitch)); in AppendSwitchWithValue()
60 std::string value_string (ConvertJavaStringToUTF8(env, jvalue)); in AppendSwitchWithValue()
Djni_string.cc26 void ConvertJavaStringToUTF8(JNIEnv* env, jstring str, std::string* result) { in ConvertJavaStringToUTF8() function
42 std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str) { in ConvertJavaStringToUTF8() function
44 ConvertJavaStringToUTF8(env, str, &result); in ConvertJavaStringToUTF8()
48 std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str) { in ConvertJavaStringToUTF8() function
49 return ConvertJavaStringToUTF8(AttachCurrentThread(), str.obj()); in ConvertJavaStringToUTF8()
Djni_string.h19 BASE_EXPORT void ConvertJavaStringToUTF8(JNIEnv* env,
22 BASE_EXPORT std::string ConvertJavaStringToUTF8(JNIEnv* env, jstring str);
23 BASE_EXPORT std::string ConvertJavaStringToUTF8(const JavaRef<jstring>& str);
Dfield_trial_list.cc13 using base::android::ConvertJavaStringToUTF8;
19 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in FindFullName()
/external/chromium_org/components/dom_distiller/core/
Durl_utils_android.cc26 std::string scheme(base::android::ConvertJavaStringToUTF8(env, j_scheme)); in GetDistillerViewUrlFromUrl()
27 GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); in GetDistillerViewUrlFromUrl()
42 GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); in GetOriginalUrlFromDistillerUrl()
57 GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); in IsDistilledPage()
62 GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); in IsUrlDistillable()
75 GURL url(base::android::ConvertJavaStringToUTF8(env, j_url)); in GetValueForKeyInUrl()
76 std::string key = base::android::ConvertJavaStringToUTF8(env, j_key); in GetValueForKeyInUrl()
Ddom_distiller_service_android.cc37 base::android::ConvertJavaStringToUTF8(env, j_entry_id); in HasEntry()
46 base::android::ConvertJavaStringToUTF8(env, j_entry_id); in GetUrlForEntry()
/external/chromium_org/remoting/client/jni/
Dchromoting_jni_runtime.cc22 using base::android::ConvertJavaStringToUTF8;
83 ConvertJavaStringToUTF8(env, username).c_str(), in Connect()
84 ConvertJavaStringToUTF8(env, authToken).c_str(), in Connect()
85 ConvertJavaStringToUTF8(env, hostJid).c_str(), in Connect()
86 ConvertJavaStringToUTF8(env, hostId).c_str(), in Connect()
87 ConvertJavaStringToUTF8(env, hostPubkey).c_str(), in Connect()
88 ConvertJavaStringToUTF8(env, pairId).c_str(), in Connect()
89 ConvertJavaStringToUTF8(env, pairSecret).c_str(), in Connect()
90 ConvertJavaStringToUTF8(env, capabilities).c_str()); in Connect()
103 ConvertJavaStringToUTF8(env, pin).c_str(), createPair, in AuthenticationResponse()
[all …]
/external/chromium_org/components/gcm_driver/
Dgcm_driver_android.cc16 using base::android::ConvertJavaStringToUTF8;
40 std::string app_id = ConvertJavaStringToUTF8(env, j_app_id); in OnRegisterFinished()
41 std::string registration_id = ConvertJavaStringToUTF8(env, j_registration_id); in OnRegisterFinished()
52 std::string app_id = ConvertJavaStringToUTF8(env, j_app_id); in OnUnregisterFinished()
65 std::string app_id = ConvertJavaStringToUTF8(env, j_app_id); in OnMessageReceived()
68 message.sender_id = ConvertJavaStringToUTF8(env, j_sender_id); in OnMessageReceived()
69 message.collapse_key = ConvertJavaStringToUTF8(env, j_collapse_key); in OnMessageReceived()
85 std::string app_id = ConvertJavaStringToUTF8(env, j_app_id); in OnMessagesDeleted()
/external/chromium_org/components/variations/android/
Dvariations_associated_data_android.cc13 using base::android::ConvertJavaStringToUTF8;
24 std::string trial_name(ConvertJavaStringToUTF8(env, jtrial_name)); in GetVariationParamValue()
25 std::string param_name(ConvertJavaStringToUTF8(env, jparam_name)); in GetVariationParamValue()
/external/chromium_org/ui/shell_dialogs/
Dselect_file_dialog_android.cc19 using base::android::ConvertJavaStringToUTF8;
36 std::string path = ConvertJavaStringToUTF8(env, filepath); in OnFileSelected()
37 std::string file_name = ConvertJavaStringToUTF8(env, display_name); in OnFileSelected()
60 std::string path = ConvertJavaStringToUTF8( in OnMultipleFilesSelected()
62 std::string display_name = ConvertJavaStringToUTF8( in OnMultipleFilesSelected()
/external/chromium_org/net/android/
Dnetwork_library.cc15 using base::android::ConvertJavaStringToUTF8;
106 return ConvertJavaStringToUTF8(ret); in GetNetworkList()
121 *result = ConvertJavaStringToUTF8(ret); in GetMimeTypeFromExtension()
126 return base::android::ConvertJavaStringToUTF8( in GetTelephonyNetworkCountryIso()
133 return base::android::ConvertJavaStringToUTF8( in GetTelephonyNetworkOperator()
/external/chromium_org/chrome/browser/autofill/android/
Dpersonal_data_manager_android.cc23 using base::android::ConvertJavaStringToUTF8;
69 ConvertJavaStringToUTF8( in PopulateNativeProfileFromJava()
126 ConvertJavaStringToUTF8( in PopulateNativeProfileFromJava()
153 ConvertJavaStringToUTF8(Java_CreditCard_getOrigin(env, jcard))); in PopulateNativeCreditCardFromJava()
203 ConvertJavaStringToUTF8(env, jguid)); in GetProfileByGUID()
214 std::string guid = ConvertJavaStringToUTF8( in SetProfile()
252 ConvertJavaStringToUTF8(env, jguid)); in GetCreditCardByGUID()
263 std::string guid = ConvertJavaStringToUTF8( in SetCreditCard()
297 personal_data_manager_->RemoveByGUID(ConvertJavaStringToUTF8(env, jguid)); in RemoveByGUID()
/external/chromium_org/content/browser/android/
Dtracing_controller_android.cc37 base::android::ConvertJavaStringToUTF8(env, jcategories); in StartTracing()
40 base::android::ConvertJavaStringToUTF8(env, jtraceoptions)); in StartTracing()
55 base::android::ConvertJavaStringToUTF8(env, jfilepath)); in StopTracing()
72 base::android::ConvertJavaStringToUTF8(env, jfilename.obj())); in GenerateTracingFilePath()
/external/chromium_org/components/cronet/android/
Dchromium_url_request_context.cc68 base::android::ConvertJavaStringToUTF8(env, user_agent); in CreateRequestContextAdapter()
71 base::android::ConvertJavaStringToUTF8(env, config); in CreateRequestContextAdapter()
125 std::string query = base::android::ConvertJavaStringToUTF8(env, filter); in GetStatisticsJSON()
137 std::string file_name = base::android::ConvertJavaStringToUTF8(env, fileName); in StartNetLogToFile()
Dchromium_url_request.cc49 base::android::ConvertJavaStringToUTF8(env, content_type)); in SetPostContentType()
121 GURL url(base::android::ConvertJavaStringToUTF8(env, url_string)); in CreateRequestAdapter()
144 std::string name_string(base::android::ConvertJavaStringToUTF8(env, name)); in AddHeader()
145 std::string value_string(base::android::ConvertJavaStringToUTF8(env, value)); in AddHeader()
159 base::android::ConvertJavaStringToUTF8(env, method)); in SetMethod()
348 std::string name_string = base::android::ConvertJavaStringToUTF8(env, name); in GetHeader()
/external/chromium_org/chrome/browser/android/banners/
Dapp_banner_manager.cc25 using base::android::ConvertJavaStringToUTF8;
52 GURL url(ConvertJavaStringToUTF8(env, jurl)); in BlockBanner()
53 std::string package_name = ConvertJavaStringToUTF8(env, jpackage); in BlockBanner()
130 std::string image_url = ConvertJavaStringToUTF8(env, jimage_url); in FetchIcon()
/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_android.cc19 using base::android::ConvertJavaStringToUTF8;
174 GURL(ConvertJavaStringToUTF8(env, url))); in LoadUrl()
186 params.extra_headers = ConvertJavaStringToUTF8(env, extra_headers); in LoadUrl()
197 GURL(ConvertJavaStringToUTF8(env, base_url_for_data_url)); in LoadUrl()
202 GURL(ConvertJavaStringToUTF8(env, virtual_url_for_data_url)); in LoadUrl()
207 GURL(ConvertJavaStringToUTF8(env, j_referrer_url)), in LoadUrl()
/external/chromium_org/android_webview/native/
Daw_resource.cc23 return base::android::ConvertJavaStringToUTF8(content); in GetLoadErrorPageContent()
30 return base::android::ConvertJavaStringToUTF8(content); in GetNoDomainPageContent()
Daw_web_resource_response_impl.cc44 *mime_type = ConvertJavaStringToUTF8(jstring_mime_type); in GetMimeType()
54 *charset = ConvertJavaStringToUTF8(jstring_charset); in GetCharset()
69 *reason_phrase = ConvertJavaStringToUTF8(jstring_reason_phrase); in GetStatusInfo()
/external/chromium_org/content/browser/android/java/
Djava_method.cc14 using base::android::ConvertJavaStringToUTF8;
74 name_ = ConvertJavaStringToUTF8(name); in JavaMethod()
160 std::string name_utf8 = ConvertJavaStringToUTF8(name); in EnsureTypesAndIDAreSetUp()
178 signature += BinaryNameToJNISignature(ConvertJavaStringToUTF8(name), in EnsureTypesAndIDAreSetUp()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_android.cc28 using base::android::ConvertJavaStringToUTF8;
108 web_contents_->InsertCSS(base::android::ConvertJavaStringToUTF8(env, jcss)); in InsertCSS()
168 ConvertJavaStringToUTF8(env, markup))); in SetupTransitionView()
176 ConvertJavaStringToUTF8(env, css_selector))); in BeginExitTransition()
208 ConvertJavaStringToUTF8(env, url))); in AddStyleSheetByURL()
216 GURL url(base::android::ConvertJavaStringToUTF8(env, jurl)); in ShowInterstitialPage()
/external/chromium_org/chrome/browser/android/signin/
Dsignin_manager_android.cc93 username_ = base::android::ConvertJavaStringToUTF8(env, username); in CheckPolicyBeforeSignIn()
97 base::android::ConvertJavaStringToUTF8(env, username), in CheckPolicyBeforeSignIn()
138 base::android::ConvertJavaStringToUTF8(env, username)); in OnSignInCompleted()
281 base::android::ConvertJavaStringToUTF8(env, j_username); in ShouldLoadPolicyForUser()

1234