Home
last modified time | relevance | path

Searched refs:AttachCurrentThread (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/aosp_15_r20/external/cronet/net/android/
H A Dnetwork_library.cc28 using base::android::AttachCurrentThread;
40 JNIEnv* env = AttachCurrentThread(); in GetUserAddedRoots()
54 JNIEnv* env = AttachCurrentThread(); in VerifyX509CertChain()
77 JNIEnv* env = AttachCurrentThread(); in AddTestRootCertificate()
84 JNIEnv* env = AttachCurrentThread(); in ClearTestRootCertificates()
89 JNIEnv* env = AttachCurrentThread(); in IsCleartextPermitted()
97 JNIEnv* env = AttachCurrentThread(); in HaveOnlyLoopbackAddresses()
102 JNIEnv* env = AttachCurrentThread(); in GetMimeTypeFromExtension()
119 base::android::AttachCurrentThread())); in GetTelephonyNetworkOperator()
124 base::android::AttachCurrentThread()); in GetIsRoaming()
[all …]
H A Dnetwork_change_notifier_delegate_android.cc89 base::android::AttachCurrentThread())), in NetworkChangeNotifierDelegateAndroid()
92 base::android::AttachCurrentThread(), in NetworkChangeNotifierDelegateAndroid()
94 JNIEnv* env = base::android::AttachCurrentThread(); in NetworkChangeNotifierDelegateAndroid()
115 base::android::AttachCurrentThread(), reinterpret_cast<intptr_t>(this)); in NetworkChangeNotifierDelegateAndroid()
125 JNIEnv* env = base::android::AttachCurrentThread(); in ~NetworkChangeNotifierDelegateAndroid()
147 base::android::AttachCurrentThread(), java_network_change_notifier_)); in GetCurrentConnectionSubtype()
184 JNIEnv* env = base::android::AttachCurrentThread(); in IsDefaultNetworkActive()
390 JNIEnv* env = base::android::AttachCurrentThread(); in EnableDefaultNetworkActiveNotifications()
397 JNIEnv* env = base::android::AttachCurrentThread(); in DisableDefaultNetworkActiveNotifications()
433 JNIEnv* env = base::android::AttachCurrentThread(); in SetOnline()
[all …]
H A Dkeystore.cc16 using base::android::AttachCurrentThread;
28 JNIEnv* env = AttachCurrentThread(); in GetPrivateKeyClassName()
36 JNIEnv* env = AttachCurrentThread(); in PrivateKeySupportsSignature()
49 JNIEnv* env = AttachCurrentThread(); in PrivateKeySupportsCipher()
64 JNIEnv* env = AttachCurrentThread(); in SignWithPrivateKey()
90 JNIEnv* env = AttachCurrentThread(); in EncryptWithPrivateKey()
H A Dtraffic_stats.cc19 JNIEnv* env = jni_zero::AttachCurrentThread(); in GetTotalTxBytes()
25 JNIEnv* env = jni_zero::AttachCurrentThread(); in GetTotalRxBytes()
31 JNIEnv* env = jni_zero::AttachCurrentThread(); in GetCurrentUidTxBytes()
37 JNIEnv* env = jni_zero::AttachCurrentThread(); in GetCurrentUidRxBytes()
/aosp_15_r20/external/libchrome/base/android/
H A Djava_handler_thread.cc18 using base::android::AttachCurrentThread;
27 AttachCurrentThread(), in JavaHandlerThread()
28 ConvertUTF8ToJavaString(AttachCurrentThread(), name), in JavaHandlerThread()
36 JNIEnv* env = base::android::AttachCurrentThread(); in ~JavaHandlerThread()
55 JNIEnv* env = base::android::AttachCurrentThread(); in Start()
73 JNIEnv* env = base::android::AttachCurrentThread(); in Stop()
101 JNIEnv* env = base::android::AttachCurrentThread(); in JoinForTesting()
107 JNIEnv* env = base::android::AttachCurrentThread(); in ListenForUncaughtExceptionsForTesting()
114 JNIEnv* env = base::android::AttachCurrentThread(); in GetUncaughtExceptionIfAny()
126 JNIEnv* env = base::android::AttachCurrentThread(); in QuitThreadSafely()
H A Dpath_utils.cc19 JNIEnv* env = AttachCurrentThread(); in GetDataDirectory()
27 JNIEnv* env = AttachCurrentThread(); in GetCacheDirectory()
35 JNIEnv* env = AttachCurrentThread(); in GetThumbnailCacheDirectory()
44 JNIEnv* env = AttachCurrentThread(); in GetDownloadsDirectory()
53 JNIEnv* env = AttachCurrentThread(); in GetAllPrivateDownloadsDirectories()
64 JNIEnv* env = AttachCurrentThread(); in GetNativeLibraryDirectory()
73 JNIEnv* env = AttachCurrentThread(); in GetExternalStorageDirectory()
H A Dscoped_java_ref.cc45 env = AttachCurrentThread(); in SetNewLocalRef()
47 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in SetNewLocalRef()
59 env = AttachCurrentThread(); in SetNewGlobalRef()
61 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in SetNewGlobalRef()
72 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in ResetLocalRef()
80 AttachCurrentThread()->DeleteGlobalRef(obj_); in ResetGlobalRef()
H A Djni_array_unittest.cc23 JNIEnv* env = AttachCurrentThread(); in TEST()
68 JNIEnv* env = AttachCurrentThread(); in TEST()
94 JNIEnv* env = AttachCurrentThread(); in TEST()
122 JNIEnv* env = AttachCurrentThread(); in TEST()
172 JNIEnv* env = AttachCurrentThread(); in TEST()
184 JNIEnv* env = AttachCurrentThread(); in TEST()
207 JNIEnv* env = AttachCurrentThread(); in TEST()
229 JNIEnv* env = AttachCurrentThread(); in TEST()
257 JNIEnv* env = AttachCurrentThread(); in TEST()
284 JNIEnv* env = AttachCurrentThread(); in TEST()
[all …]
H A Dcallback_android.cc17 Java_Helper_onObjectResultFromNative(AttachCurrentThread(), callback, arg); in RunObjectCallbackAndroid()
21 Java_Helper_onBooleanResultFromNative(AttachCurrentThread(), callback, in RunBooleanCallbackAndroid()
26 Java_Helper_onIntResultFromNative(AttachCurrentThread(), callback, arg); in RunIntCallbackAndroid()
31 JNIEnv* env = AttachCurrentThread(); in RunStringCallbackAndroid()
38 JNIEnv* env = AttachCurrentThread(); in RunByteArrayCallbackAndroid()
H A Djni_string_unittest.cc17 JNIEnv* env = AttachCurrentThread(); in TEST()
25 JNIEnv* env = AttachCurrentThread(); in TEST()
33 JNIEnv* env = AttachCurrentThread(); in TEST()
41 JNIEnv* env = AttachCurrentThread(); in TEST()
/aosp_15_r20/external/cronet/base/android/
H A Dcallback_android.cc26 Java_Helper_onObjectResultFromNative(AttachCurrentThread(), callback, arg); in RunObjectCallbackAndroid()
30 Java_Helper_onBooleanResultFromNative(AttachCurrentThread(), callback, in RunBooleanCallbackAndroid()
35 Java_Helper_onIntResultFromNative(AttachCurrentThread(), callback, arg); in RunIntCallbackAndroid()
39 Java_Helper_onLongResultFromNative(AttachCurrentThread(), callback, arg); in RunLongCallbackAndroid()
43 Java_Helper_onTimeResultFromNative(AttachCurrentThread(), callback, in RunTimeCallbackAndroid()
49 JNIEnv* env = AttachCurrentThread(); in RunStringCallbackAndroid()
57 JNIEnv* env = AttachCurrentThread(); in RunOptionalStringCallbackAndroid()
70 JNIEnv* env = AttachCurrentThread(); in RunByteArrayCallbackAndroid()
76 Java_Helper_runRunnable(AttachCurrentThread(), runnable); in RunRunnableAndroid()
H A Djni_array_unittest.cc26 JNIEnv* env = AttachCurrentThread(); in TEST()
40 JNIEnv* env = AttachCurrentThread(); in TEST()
70 JNIEnv* env = AttachCurrentThread(); in TEST()
101 JNIEnv* env = AttachCurrentThread(); in TEST()
127 JNIEnv* env = AttachCurrentThread(); in TEST()
155 JNIEnv* env = AttachCurrentThread(); in TEST()
205 JNIEnv* env = AttachCurrentThread(); in TEST()
217 JNIEnv* env = AttachCurrentThread(); in TEST()
229 JNIEnv* env = AttachCurrentThread(); in TEST()
241 JNIEnv* env = AttachCurrentThread(); in TEST()
[all …]
H A Dpath_utils.cc19 JNIEnv* env = AttachCurrentThread(); in GetDataDirectory()
27 JNIEnv* env = AttachCurrentThread(); in GetCacheDirectory()
35 JNIEnv* env = AttachCurrentThread(); in GetThumbnailCacheDirectory()
44 JNIEnv* env = AttachCurrentThread(); in GetDownloadsDirectory()
53 JNIEnv* env = AttachCurrentThread(); in GetAllPrivateDownloadsDirectories()
65 JNIEnv* env = AttachCurrentThread(); in GetSecondaryStorageDownloadDirectories()
76 JNIEnv* env = AttachCurrentThread(); in GetNativeLibraryDirectory()
85 JNIEnv* env = AttachCurrentThread(); in GetExternalStorageDirectory()
H A Djava_handler_thread.cc22 using base::android::AttachCurrentThread;
33 AttachCurrentThread(), in JavaHandlerThread()
43 JNIEnv* env = base::android::AttachCurrentThread(); in ~JavaHandlerThread()
62 JNIEnv* env = base::android::AttachCurrentThread(); in Start()
80 JNIEnv* env = base::android::AttachCurrentThread(); in Stop()
120 JNIEnv* env = base::android::AttachCurrentThread(); in JoinForTesting()
126 JNIEnv* env = base::android::AttachCurrentThread(); in ListenForUncaughtExceptionsForTesting()
133 JNIEnv* env = base::android::AttachCurrentThread(); in GetUncaughtExceptionIfAny()
153 JNIEnv* env = base::android::AttachCurrentThread(); in QuitThreadSafely()
H A Djni_string_unittest.cc17 JNIEnv* env = AttachCurrentThread(); in TEST()
25 JNIEnv* env = AttachCurrentThread(); in TEST()
40 JNIEnv* env = AttachCurrentThread(); in TEST()
55 JNIEnv* env = AttachCurrentThread(); in TEST()
63 JNIEnv* env = AttachCurrentThread(); in TEST()
71 JNIEnv* env = AttachCurrentThread(); in TEST()
H A Dcontent_uri_utils.cc17 JNIEnv* env = base::android::AttachCurrentThread(); in ContentUriExists()
24 JNIEnv* env = base::android::AttachCurrentThread(); in OpenContentUriForRead()
34 JNIEnv* env = base::android::AttachCurrentThread(); in GetContentUriMimeType()
52 JNIEnv* env = base::android::AttachCurrentThread(); in MaybeGetFileDisplayName()
67 JNIEnv* env = base::android::AttachCurrentThread(); in DeleteContentUri()
75 JNIEnv* env = base::android::AttachCurrentThread(); in GetContentUriFromFilePath()
H A Dscoped_java_ref_unittest.cc52 JNIEnv* env = AttachCurrentThread(); in SetUp()
65 JNIEnv* env = AttachCurrentThread(); in TearDown()
75 JNIEnv* env = AttachCurrentThread(); in TEST_F()
190 JNIEnv* env = AttachCurrentThread(); in TEST_F()
238 JNIEnv* env = AttachCurrentThread(); in SetUp()
256 JNIEnv* env = AttachCurrentThread(); in MakeArray()
283 JNIEnv* env = AttachCurrentThread(); in TEST_F()
330 JNIEnv* env = AttachCurrentThread(); in TEST_F()
H A Dradio_utils.cc19 JNIEnv* env = AttachCurrentThread(); in InitializeIsSupported()
47 JNIEnv* env = AttachCurrentThread(); in GetConnectionType()
59 JNIEnv* env = AttachCurrentThread(); in GetCellSignalLevel()
72 JNIEnv* env = AttachCurrentThread(); in GetCellDataActivity()
H A Djni_android_unittest.cc78 const raw_ptr<JNIEnv> env = base::android::AttachCurrentThread();
107 JNIEnv* env = AttachCurrentThread(); in TEST()
147 AttachCurrentThread(); in TEST()
162 JNIEnv* env = base::android::AttachCurrentThread(); in TEST()
170 JNIEnv* env = base::android::AttachCurrentThread(); in TEST()
/aosp_15_r20/external/cronet/third_party/jni_zero/
H A Djni_zero.cc100 env = AttachCurrentThread(); in SetNewLocalRef()
102 JNI_ZERO_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewLocalRef()
116 env = AttachCurrentThread(); in SetNewGlobalRef()
118 JNI_ZERO_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewGlobalRef()
131 JNI_ZERO_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in ResetLocalRef()
139 AttachCurrentThread()->DeleteGlobalRef(obj_); in ResetGlobalRef()
150 JNIEnv* AttachCurrentThread() { in AttachCurrentThread() function
170 ret = g_jvm->AttachCurrentThread(reinterpret_cast<void**>(&env), &args); in AttachCurrentThread()
172 ret = g_jvm->AttachCurrentThread(&env, &args); in AttachCurrentThread()
187 jint ret = g_jvm->AttachCurrentThread(reinterpret_cast<void**>(&env), &args); in AttachCurrentThreadWithName()
[all …]
/aosp_15_r20/external/cronet/components/cronet/android/
H A Dcronet_url_request_adapter.cc212 JNIEnv* env = base::android::AttachCurrentThread(); in OnReceivedRedirect()
230 JNIEnv* env = base::android::AttachCurrentThread(); in OnResponseStarted()
246 JNIEnv* env = base::android::AttachCurrentThread(); in OnReadCompleted()
254 JNIEnv* env = base::android::AttachCurrentThread(); in OnSucceeded()
262 JNIEnv* env = base::android::AttachCurrentThread(); in OnError()
269 JNIEnv* env = base::android::AttachCurrentThread(); in OnCanceled()
274 JNIEnv* env = base::android::AttachCurrentThread(); in OnDestroyed()
282 JNIEnv* env = base::android::AttachCurrentThread(); in OnStatus()
307 JNIEnv* env = base::android::AttachCurrentThread(); in OnMetricsCollected()
H A Dcronet_context_adapter.cc112 JNIEnv* env = base::android::AttachCurrentThread(); in OnInitNetworkThread()
125 base::android::AttachCurrentThread(), jcronet_url_request_context_, in OnEffectiveConnectionTypeChanged()
134 base::android::AttachCurrentThread(), jcronet_url_request_context_, in OnRTTOrThroughputEstimatesComputed()
143 base::android::AttachCurrentThread(), jcronet_url_request_context_, in OnRTTObservation()
152 base::android::AttachCurrentThread(), jcronet_url_request_context_, in OnThroughputObservation()
158 base::android::AttachCurrentThread(), jcronet_url_request_context_); in OnStopNetLogCompleted()
H A Dcronet_bidirectional_stream_adapter.cc268 JNIEnv* env = base::android::AttachCurrentThread(); in OnStreamReady()
276 JNIEnv* env = base::android::AttachCurrentThread(); in OnHeadersReceived()
304 JNIEnv* env = base::android::AttachCurrentThread(); in OnDataRead()
318 JNIEnv* env = base::android::AttachCurrentThread(); in OnDataSent()
333 JNIEnv* env = base::android::AttachCurrentThread(); in OnTrailersReceived()
341 JNIEnv* env = base::android::AttachCurrentThread(); in OnFailed()
436 JNIEnv* env = base::android::AttachCurrentThread(); in DestroyOnNetworkThread()
476 JNIEnv* env = base::android::AttachCurrentThread(); in MaybeReportMetrics()
/aosp_15_r20/external/cronet/components/cronet/android/test/
H A Dtest_upload_data_stream_handler.cc50 JNIEnv* env = base::android::AttachCurrentThread(); in OnInitCompleted()
111 JNIEnv* env = base::android::AttachCurrentThread(); in InitOnNetworkThread()
142 JNIEnv* env = base::android::AttachCurrentThread(); in ResetOnNetworkThread()
149 JNIEnv* env = base::android::AttachCurrentThread(); in CheckInitCallbackNotInvokedOnNetworkThread()
156 JNIEnv* env = base::android::AttachCurrentThread(); in CheckReadCallbackNotInvokedOnNetworkThread()
163 JNIEnv* env = base::android::AttachCurrentThread(); in NotifyJavaReadCompleted()
/aosp_15_r20/external/cronet/base/test/
H A Dmultiprocess_test_android.cc30 JNIEnv* env = android::AttachCurrentThread(); in SpawnMultiProcessTestChild()
60 JNIEnv* env = android::AttachCurrentThread(); in WaitForMultiprocessTestChildExit()
80 JNIEnv* env = android::AttachCurrentThread(); in TerminateMultiProcessTestChild()
88 JNIEnv* env = android::AttachCurrentThread(); in MultiProcessTestChildHasCleanExit()

12345678910>>...18