From dae5c6c8f5a55bc8b52555f91aa578168db75d57 Mon Sep 17 00:00:00 2001 From: Hossein Yousefi Date: Thu, 11 Jul 2024 22:20:08 +0200 Subject: [PATCH] Upgrade jni and jnigen to 0.10.1 and 0.10.0 --- pkgs/cronet_http/CHANGELOG.md | 4 +- .../cronet_http/lib/src/jni/jni_bindings.dart | 849 +++++++++--------- pkgs/cronet_http/pubspec.yaml | 4 +- 3 files changed, 432 insertions(+), 425 deletions(-) diff --git a/pkgs/cronet_http/CHANGELOG.md b/pkgs/cronet_http/CHANGELOG.md index ca4c0451d0..fc2f44fe5a 100644 --- a/pkgs/cronet_http/CHANGELOG.md +++ b/pkgs/cronet_http/CHANGELOG.md @@ -1,6 +1,8 @@ ## 1.3.2-wip -* Upgrade `package:jni` and `package:0.9.3` to fix method calling bugs. +* Upgrade `package:jni` to 0.10.1 and `package:jnigen` to 0.10.0 to fix method + calling bugs and a + [debug mode issue](https://github.com/dart-lang/http/issues/1260). ## 1.3.1 diff --git a/pkgs/cronet_http/lib/src/jni/jni_bindings.dart b/pkgs/cronet_http/lib/src/jni/jni_bindings.dart index 2613ec8823..44b83c9ddf 100644 --- a/pkgs/cronet_http/lib/src/jni/jni_bindings.dart +++ b/pkgs/cronet_http/lib/src/jni/jni_bindings.dart @@ -1,6 +1,7 @@ // Autogenerated by jnigen. DO NOT EDIT! // ignore_for_file: annotate_overrides +// ignore_for_file: argument_type_not_assignable // ignore_for_file: camel_case_extensions // ignore_for_file: camel_case_types // ignore_for_file: constant_identifier_names @@ -9,8 +10,11 @@ // ignore_for_file: lines_longer_than_80_chars // ignore_for_file: no_leading_underscores_for_local_identifiers // ignore_for_file: non_constant_identifier_names +// ignore_for_file: only_throw_errors // ignore_for_file: overridden_fields +// ignore_for_file: prefer_double_quotes // ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_parenthesis // ignore_for_file: unused_element // ignore_for_file: unused_field // ignore_for_file: unused_import @@ -18,10 +22,11 @@ // ignore_for_file: unused_shown_name // ignore_for_file: use_super_parameters -import "dart:isolate" show ReceivePort; -import "dart:ffi" as ffi; -import "package:jni/internal_helpers_for_jnigen.dart"; -import "package:jni/jni.dart" as jni; +import 'dart:ffi' as ffi; +import 'dart:isolate' show ReceivePort; + +import 'package:jni/internal_helpers_for_jnigen.dart'; +import 'package:jni/jni.dart' as jni; /// from: io.flutter.plugins.cronet_http.UrlRequestCallbackProxy$UrlRequestCallbackInterface class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { @@ -34,14 +39,14 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ) : super.fromReference(reference); static final _class = jni.JClass.forName( - r"io/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface"); + r'io/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface'); /// The type which includes information such as the signature of this class. static const type = $UrlRequestCallbackProxy_UrlRequestCallbackInterfaceType(); static final _id_onRedirectReceived = _class.instanceMethodId( - r"onRedirectReceived", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V", + r'onRedirectReceived', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V', ); static final _onRedirectReceived = ProtectedJniExtensions.lookup< @@ -54,7 +59,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -79,8 +84,8 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { } static final _id_onResponseStarted = _class.instanceMethodId( - r"onResponseStarted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onResponseStarted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onResponseStarted = ProtectedJniExtensions.lookup< @@ -92,7 +97,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -111,8 +116,8 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { } static final _id_onReadCompleted = _class.instanceMethodId( - r"onReadCompleted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V", + r'onReadCompleted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V', ); static final _onReadCompleted = ProtectedJniExtensions.lookup< @@ -125,7 +130,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -150,8 +155,8 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { } static final _id_onSucceeded = _class.instanceMethodId( - r"onSucceeded", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onSucceeded', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onSucceeded = ProtectedJniExtensions.lookup< @@ -163,7 +168,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -179,8 +184,8 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { } static final _id_onFailed = _class.instanceMethodId( - r"onFailed", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V", + r'onFailed', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V', ); static final _onFailed = ProtectedJniExtensions.lookup< @@ -193,7 +198,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -251,7 +256,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { final $d = $i.methodDescriptor.toDartString(releaseOriginal: true); final $a = $i.args; if ($d == - r"onRedirectReceived(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V") { + r'onRedirectReceived(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V') { _$impls[$p]!.onRedirectReceived( $a[0].castTo(const $UrlRequestType(), releaseOriginal: true), $a[1].castTo(const $UrlResponseInfoType(), releaseOriginal: true), @@ -260,7 +265,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { return jni.nullptr; } if ($d == - r"onResponseStarted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V") { + r'onResponseStarted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V') { _$impls[$p]!.onResponseStarted( $a[0].castTo(const $UrlRequestType(), releaseOriginal: true), $a[1].castTo(const $UrlResponseInfoType(), releaseOriginal: true), @@ -268,7 +273,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { return jni.nullptr; } if ($d == - r"onReadCompleted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V") { + r'onReadCompleted(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V') { _$impls[$p]!.onReadCompleted( $a[0].castTo(const $UrlRequestType(), releaseOriginal: true), $a[1].castTo(const $UrlResponseInfoType(), releaseOriginal: true), @@ -277,7 +282,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { return jni.nullptr; } if ($d == - r"onSucceeded(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V") { + r'onSucceeded(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V') { _$impls[$p]!.onSucceeded( $a[0].castTo(const $UrlRequestType(), releaseOriginal: true), $a[1].castTo(const $UrlResponseInfoType(), releaseOriginal: true), @@ -285,7 +290,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { return jni.nullptr; } if ($d == - r"onFailed(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V") { + r'onFailed(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V') { _$impls[$p]!.onFailed( $a[0].castTo(const $UrlRequestType(), releaseOriginal: true), $a[1].castTo(const $UrlResponseInfoType(), releaseOriginal: true), @@ -306,7 +311,7 @@ class UrlRequestCallbackProxy_UrlRequestCallbackInterface extends jni.JObject { final $x = UrlRequestCallbackProxy_UrlRequestCallbackInterface.fromReference( ProtectedJniExtensions.newPortProxy( - r"io.flutter.plugins.cronet_http.UrlRequestCallbackProxy$UrlRequestCallbackInterface", + r'io.flutter.plugins.cronet_http.UrlRequestCallbackProxy$UrlRequestCallbackInterface', $p, _$invokePointer, ), @@ -423,7 +428,7 @@ final class $UrlRequestCallbackProxy_UrlRequestCallbackInterfaceType @override String get signature => - r"Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;"; + r'Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;'; @override UrlRequestCallbackProxy_UrlRequestCallbackInterface fromReference( @@ -459,12 +464,12 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ) : super.fromReference(reference); static final _class = jni.JClass.forName( - r"io/flutter/plugins/cronet_http/UrlRequestCallbackProxy"); + r'io/flutter/plugins/cronet_http/UrlRequestCallbackProxy'); /// The type which includes information such as the signature of this class. static const type = $UrlRequestCallbackProxyType(); static final _id_new1 = _class.constructorId( - r"(Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;)V", + r'(Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;)V', ); static final _new1 = ProtectedJniExtensions.lookup< @@ -473,7 +478,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + 'globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -492,8 +497,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_getCallback = _class.instanceMethodId( - r"getCallback", - r"()Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;", + r'getCallback', + r'()Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy$UrlRequestCallbackInterface;', ); static final _getCallback = ProtectedJniExtensions.lookup< @@ -501,7 +506,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -517,8 +522,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_onRedirectReceived = _class.instanceMethodId( - r"onRedirectReceived", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V", + r'onRedirectReceived', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V', ); static final _onRedirectReceived = ProtectedJniExtensions.lookup< @@ -531,7 +536,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -556,8 +561,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_onResponseStarted = _class.instanceMethodId( - r"onResponseStarted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onResponseStarted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onResponseStarted = ProtectedJniExtensions.lookup< @@ -569,7 +574,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -588,8 +593,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_onReadCompleted = _class.instanceMethodId( - r"onReadCompleted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V", + r'onReadCompleted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V', ); static final _onReadCompleted = ProtectedJniExtensions.lookup< @@ -602,7 +607,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -627,8 +632,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_onSucceeded = _class.instanceMethodId( - r"onSucceeded", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onSucceeded', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onSucceeded = ProtectedJniExtensions.lookup< @@ -640,7 +645,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -656,8 +661,8 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { } static final _id_onFailed = _class.instanceMethodId( - r"onFailed", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V", + r'onFailed', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V', ); static final _onFailed = ProtectedJniExtensions.lookup< @@ -670,7 +675,7 @@ class UrlRequestCallbackProxy extends UrlRequest_Callback { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -701,7 +706,7 @@ final class $UrlRequestCallbackProxyType @override String get signature => - r"Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy;"; + r'Lio/flutter/plugins/cronet_http/UrlRequestCallbackProxy;'; @override UrlRequestCallbackProxy fromReference(jni.JReference reference) => @@ -732,12 +737,12 @@ class URL extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"java/net/URL"); + static final _class = jni.JClass.forName(r'java/net/URL'); /// The type which includes information such as the signature of this class. static const type = $URLType(); static final _id_new0 = _class.constructorId( - r"(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V", + r'(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -751,7 +756,7 @@ class URL extends jni.JObject { ffi.Pointer, $Int32, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -780,7 +785,7 @@ class URL extends jni.JObject { } static final _id_new1 = _class.constructorId( - r"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", + r'(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V', ); static final _new1 = ProtectedJniExtensions.lookup< @@ -793,7 +798,7 @@ class URL extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -819,7 +824,7 @@ class URL extends jni.JObject { } static final _id_new2 = _class.constructorId( - r"(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V", + r'(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V', ); static final _new2 = ProtectedJniExtensions.lookup< @@ -834,7 +839,7 @@ class URL extends jni.JObject { $Int32, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -866,7 +871,7 @@ class URL extends jni.JObject { } static final _id_new3 = _class.constructorId( - r"(Ljava/lang/String;)V", + r'(Ljava/lang/String;)V', ); static final _new3 = ProtectedJniExtensions.lookup< @@ -875,7 +880,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + 'globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -891,7 +896,7 @@ class URL extends jni.JObject { } static final _id_new4 = _class.constructorId( - r"(Ljava/net/URL;Ljava/lang/String;)V", + r'(Ljava/net/URL;Ljava/lang/String;)V', ); static final _new4 = ProtectedJniExtensions.lookup< @@ -903,7 +908,7 @@ class URL extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -923,7 +928,7 @@ class URL extends jni.JObject { } static final _id_new5 = _class.constructorId( - r"(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V", + r'(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V', ); static final _new5 = ProtectedJniExtensions.lookup< @@ -936,7 +941,7 @@ class URL extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -962,8 +967,8 @@ class URL extends jni.JObject { } static final _id_getQuery = _class.instanceMethodId( - r"getQuery", - r"()Ljava/lang/String;", + r'getQuery', + r'()Ljava/lang/String;', ); static final _getQuery = ProtectedJniExtensions.lookup< @@ -971,7 +976,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -986,8 +991,8 @@ class URL extends jni.JObject { } static final _id_getPath = _class.instanceMethodId( - r"getPath", - r"()Ljava/lang/String;", + r'getPath', + r'()Ljava/lang/String;', ); static final _getPath = ProtectedJniExtensions.lookup< @@ -995,7 +1000,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1010,8 +1015,8 @@ class URL extends jni.JObject { } static final _id_getUserInfo = _class.instanceMethodId( - r"getUserInfo", - r"()Ljava/lang/String;", + r'getUserInfo', + r'()Ljava/lang/String;', ); static final _getUserInfo = ProtectedJniExtensions.lookup< @@ -1019,7 +1024,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1034,8 +1039,8 @@ class URL extends jni.JObject { } static final _id_getAuthority = _class.instanceMethodId( - r"getAuthority", - r"()Ljava/lang/String;", + r'getAuthority', + r'()Ljava/lang/String;', ); static final _getAuthority = ProtectedJniExtensions.lookup< @@ -1043,7 +1048,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1059,8 +1064,8 @@ class URL extends jni.JObject { } static final _id_getPort = _class.instanceMethodId( - r"getPort", - r"()I", + r'getPort', + r'()I', ); static final _getPort = ProtectedJniExtensions.lookup< @@ -1068,7 +1073,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + )>>('globalEnv_CallIntMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1081,8 +1086,8 @@ class URL extends jni.JObject { } static final _id_getDefaultPort = _class.instanceMethodId( - r"getDefaultPort", - r"()I", + r'getDefaultPort', + r'()I', ); static final _getDefaultPort = ProtectedJniExtensions.lookup< @@ -1090,7 +1095,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + )>>('globalEnv_CallIntMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1105,8 +1110,8 @@ class URL extends jni.JObject { } static final _id_getProtocol = _class.instanceMethodId( - r"getProtocol", - r"()Ljava/lang/String;", + r'getProtocol', + r'()Ljava/lang/String;', ); static final _getProtocol = ProtectedJniExtensions.lookup< @@ -1114,7 +1119,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1129,8 +1134,8 @@ class URL extends jni.JObject { } static final _id_getHost = _class.instanceMethodId( - r"getHost", - r"()Ljava/lang/String;", + r'getHost', + r'()Ljava/lang/String;', ); static final _getHost = ProtectedJniExtensions.lookup< @@ -1138,7 +1143,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1153,8 +1158,8 @@ class URL extends jni.JObject { } static final _id_getFile = _class.instanceMethodId( - r"getFile", - r"()Ljava/lang/String;", + r'getFile', + r'()Ljava/lang/String;', ); static final _getFile = ProtectedJniExtensions.lookup< @@ -1162,7 +1167,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1177,8 +1182,8 @@ class URL extends jni.JObject { } static final _id_getRef = _class.instanceMethodId( - r"getRef", - r"()Ljava/lang/String;", + r'getRef', + r'()Ljava/lang/String;', ); static final _getRef = ProtectedJniExtensions.lookup< @@ -1186,7 +1191,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1201,8 +1206,8 @@ class URL extends jni.JObject { } static final _id_equals = _class.instanceMethodId( - r"equals", - r"(Ljava/lang/Object;)Z", + r'equals', + r'(Ljava/lang/Object;)Z', ); static final _equals = ProtectedJniExtensions.lookup< @@ -1211,7 +1216,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + 'globalEnv_CallBooleanMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1226,8 +1231,8 @@ class URL extends jni.JObject { } static final _id_hashCode1 = _class.instanceMethodId( - r"hashCode", - r"()I", + r'hashCode', + r'()I', ); static final _hashCode1 = ProtectedJniExtensions.lookup< @@ -1235,7 +1240,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + )>>('globalEnv_CallIntMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1249,8 +1254,8 @@ class URL extends jni.JObject { } static final _id_sameFile = _class.instanceMethodId( - r"sameFile", - r"(Ljava/net/URL;)Z", + r'sameFile', + r'(Ljava/net/URL;)Z', ); static final _sameFile = ProtectedJniExtensions.lookup< @@ -1259,7 +1264,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallBooleanMethod") + 'globalEnv_CallBooleanMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1274,8 +1279,8 @@ class URL extends jni.JObject { } static final _id_toString1 = _class.instanceMethodId( - r"toString", - r"()Ljava/lang/String;", + r'toString', + r'()Ljava/lang/String;', ); static final _toString1 = ProtectedJniExtensions.lookup< @@ -1283,7 +1288,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1298,8 +1303,8 @@ class URL extends jni.JObject { } static final _id_toExternalForm = _class.instanceMethodId( - r"toExternalForm", - r"()Ljava/lang/String;", + r'toExternalForm', + r'()Ljava/lang/String;', ); static final _toExternalForm = ProtectedJniExtensions.lookup< @@ -1307,7 +1312,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1323,8 +1328,8 @@ class URL extends jni.JObject { } static final _id_toURI = _class.instanceMethodId( - r"toURI", - r"()Ljava/net/URI;", + r'toURI', + r'()Ljava/net/URI;', ); static final _toURI = ProtectedJniExtensions.lookup< @@ -1332,7 +1337,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1347,8 +1352,8 @@ class URL extends jni.JObject { } static final _id_openConnection = _class.instanceMethodId( - r"openConnection", - r"()Ljava/net/URLConnection;", + r'openConnection', + r'()Ljava/net/URLConnection;', ); static final _openConnection = ProtectedJniExtensions.lookup< @@ -1356,7 +1361,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1372,8 +1377,8 @@ class URL extends jni.JObject { } static final _id_openConnection1 = _class.instanceMethodId( - r"openConnection", - r"(Ljava/net/Proxy;)Ljava/net/URLConnection;", + r'openConnection', + r'(Ljava/net/Proxy;)Ljava/net/URLConnection;', ); static final _openConnection1 = ProtectedJniExtensions.lookup< @@ -1382,7 +1387,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1398,8 +1403,8 @@ class URL extends jni.JObject { } static final _id_openStream = _class.instanceMethodId( - r"openStream", - r"()Ljava/io/InputStream;", + r'openStream', + r'()Ljava/io/InputStream;', ); static final _openStream = ProtectedJniExtensions.lookup< @@ -1407,7 +1412,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1422,8 +1427,8 @@ class URL extends jni.JObject { } static final _id_getContent = _class.instanceMethodId( - r"getContent", - r"()Ljava/lang/Object;", + r'getContent', + r'()Ljava/lang/Object;', ); static final _getContent = ProtectedJniExtensions.lookup< @@ -1431,7 +1436,7 @@ class URL extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1446,8 +1451,8 @@ class URL extends jni.JObject { } static final _id_getContent1 = _class.instanceMethodId( - r"getContent", - r"([Ljava/lang/Class;)Ljava/lang/Object;", + r'getContent', + r'([Ljava/lang/Class;)Ljava/lang/Object;', ); static final _getContent1 = ProtectedJniExtensions.lookup< @@ -1456,7 +1461,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1472,8 +1477,8 @@ class URL extends jni.JObject { } static final _id_setURLStreamHandlerFactory = _class.staticMethodId( - r"setURLStreamHandlerFactory", - r"(Ljava/net/URLStreamHandlerFactory;)V", + r'setURLStreamHandlerFactory', + r'(Ljava/net/URLStreamHandlerFactory;)V', ); static final _setURLStreamHandlerFactory = ProtectedJniExtensions.lookup< @@ -1482,7 +1487,7 @@ class URL extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticVoidMethod") + 'globalEnv_CallStaticVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1503,7 +1508,7 @@ final class $URLType extends jni.JObjType { const $URLType(); @override - String get signature => r"Ljava/net/URL;"; + String get signature => r'Ljava/net/URL;'; @override URL fromReference(jni.JReference reference) => URL.fromReference(reference); @@ -1532,19 +1537,19 @@ class Executors extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"java/util/concurrent/Executors"); + static final _class = jni.JClass.forName(r'java/util/concurrent/Executors'); /// The type which includes information such as the signature of this class. static const type = $ExecutorsType(); static final _id_newFixedThreadPool = _class.staticMethodId( - r"newFixedThreadPool", - r"(I)Ljava/util/concurrent/ExecutorService;", + r'newFixedThreadPool', + r'(I)Ljava/util/concurrent/ExecutorService;', ); static final _newFixedThreadPool = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallStaticObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -1560,14 +1565,14 @@ class Executors extends jni.JObject { } static final _id_newWorkStealingPool = _class.staticMethodId( - r"newWorkStealingPool", - r"(I)Ljava/util/concurrent/ExecutorService;", + r'newWorkStealingPool', + r'(I)Ljava/util/concurrent/ExecutorService;', ); static final _newWorkStealingPool = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallStaticObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -1583,8 +1588,8 @@ class Executors extends jni.JObject { } static final _id_newWorkStealingPool1 = _class.staticMethodId( - r"newWorkStealingPool", - r"()Ljava/util/concurrent/ExecutorService;", + r'newWorkStealingPool', + r'()Ljava/util/concurrent/ExecutorService;', ); static final _newWorkStealingPool1 = ProtectedJniExtensions.lookup< @@ -1592,7 +1597,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1608,8 +1613,8 @@ class Executors extends jni.JObject { } static final _id_newFixedThreadPool1 = _class.staticMethodId( - r"newFixedThreadPool", - r"(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;", + r'newFixedThreadPool', + r'(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;', ); static final _newFixedThreadPool1 = ProtectedJniExtensions.lookup< @@ -1618,7 +1623,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<($Int32, ffi.Pointer)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, ffi.Pointer)>(); @@ -1638,8 +1643,8 @@ class Executors extends jni.JObject { } static final _id_newSingleThreadExecutor = _class.staticMethodId( - r"newSingleThreadExecutor", - r"()Ljava/util/concurrent/ExecutorService;", + r'newSingleThreadExecutor', + r'()Ljava/util/concurrent/ExecutorService;', ); static final _newSingleThreadExecutor = ProtectedJniExtensions.lookup< @@ -1647,7 +1652,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1663,8 +1668,8 @@ class Executors extends jni.JObject { } static final _id_newSingleThreadExecutor1 = _class.staticMethodId( - r"newSingleThreadExecutor", - r"(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;", + r'newSingleThreadExecutor', + r'(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;', ); static final _newSingleThreadExecutor1 = ProtectedJniExtensions.lookup< @@ -1673,7 +1678,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1691,8 +1696,8 @@ class Executors extends jni.JObject { } static final _id_newCachedThreadPool = _class.staticMethodId( - r"newCachedThreadPool", - r"()Ljava/util/concurrent/ExecutorService;", + r'newCachedThreadPool', + r'()Ljava/util/concurrent/ExecutorService;', ); static final _newCachedThreadPool = ProtectedJniExtensions.lookup< @@ -1700,7 +1705,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1716,8 +1721,8 @@ class Executors extends jni.JObject { } static final _id_newCachedThreadPool1 = _class.staticMethodId( - r"newCachedThreadPool", - r"(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;", + r'newCachedThreadPool', + r'(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;', ); static final _newCachedThreadPool1 = ProtectedJniExtensions.lookup< @@ -1726,7 +1731,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1744,8 +1749,8 @@ class Executors extends jni.JObject { } static final _id_newSingleThreadScheduledExecutor = _class.staticMethodId( - r"newSingleThreadScheduledExecutor", - r"()Ljava/util/concurrent/ScheduledExecutorService;", + r'newSingleThreadScheduledExecutor', + r'()Ljava/util/concurrent/ScheduledExecutorService;', ); static final _newSingleThreadScheduledExecutor = @@ -1754,7 +1759,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1770,8 +1775,8 @@ class Executors extends jni.JObject { } static final _id_newSingleThreadScheduledExecutor1 = _class.staticMethodId( - r"newSingleThreadScheduledExecutor", - r"(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;", + r'newSingleThreadScheduledExecutor', + r'(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;', ); static final _newSingleThreadScheduledExecutor1 = @@ -1781,7 +1786,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1799,14 +1804,14 @@ class Executors extends jni.JObject { } static final _id_newScheduledThreadPool = _class.staticMethodId( - r"newScheduledThreadPool", - r"(I)Ljava/util/concurrent/ScheduledExecutorService;", + r'newScheduledThreadPool', + r'(I)Ljava/util/concurrent/ScheduledExecutorService;', ); static final _newScheduledThreadPool = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallStaticObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -1822,8 +1827,8 @@ class Executors extends jni.JObject { } static final _id_newScheduledThreadPool1 = _class.staticMethodId( - r"newScheduledThreadPool", - r"(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;", + r'newScheduledThreadPool', + r'(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;', ); static final _newScheduledThreadPool1 = ProtectedJniExtensions.lookup< @@ -1832,7 +1837,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<($Int32, ffi.Pointer)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, int, ffi.Pointer)>(); @@ -1852,8 +1857,8 @@ class Executors extends jni.JObject { } static final _id_unconfigurableExecutorService = _class.staticMethodId( - r"unconfigurableExecutorService", - r"(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/ExecutorService;", + r'unconfigurableExecutorService', + r'(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/ExecutorService;', ); static final _unconfigurableExecutorService = ProtectedJniExtensions.lookup< @@ -1862,7 +1867,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1881,8 +1886,8 @@ class Executors extends jni.JObject { static final _id_unconfigurableScheduledExecutorService = _class.staticMethodId( - r"unconfigurableScheduledExecutorService", - r"(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;", + r'unconfigurableScheduledExecutorService', + r'(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;', ); static final _unconfigurableScheduledExecutorService = @@ -1892,7 +1897,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -1910,8 +1915,8 @@ class Executors extends jni.JObject { } static final _id_defaultThreadFactory = _class.staticMethodId( - r"defaultThreadFactory", - r"()Ljava/util/concurrent/ThreadFactory;", + r'defaultThreadFactory', + r'()Ljava/util/concurrent/ThreadFactory;', ); static final _defaultThreadFactory = ProtectedJniExtensions.lookup< @@ -1919,7 +1924,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1935,8 +1940,8 @@ class Executors extends jni.JObject { } static final _id_privilegedThreadFactory = _class.staticMethodId( - r"privilegedThreadFactory", - r"()Ljava/util/concurrent/ThreadFactory;", + r'privilegedThreadFactory', + r'()Ljava/util/concurrent/ThreadFactory;', ); static final _privilegedThreadFactory = ProtectedJniExtensions.lookup< @@ -1944,7 +1949,7 @@ class Executors extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallStaticObjectMethod") + )>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -1960,8 +1965,8 @@ class Executors extends jni.JObject { } static final _id_callable = _class.staticMethodId( - r"callable", - r"(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable;", + r'callable', + r'(Ljava/lang/Runnable;Ljava/lang/Object;)Ljava/util/concurrent/Callable;', ); static final _callable = ProtectedJniExtensions.lookup< @@ -1973,7 +1978,7 @@ class Executors extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallStaticObjectMethod") + )>)>>('globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -1994,8 +1999,8 @@ class Executors extends jni.JObject { } static final _id_callable1 = _class.staticMethodId( - r"callable", - r"(Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;", + r'callable', + r'(Ljava/lang/Runnable;)Ljava/util/concurrent/Callable;', ); static final _callable1 = ProtectedJniExtensions.lookup< @@ -2004,7 +2009,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2020,8 +2025,8 @@ class Executors extends jni.JObject { } static final _id_callable2 = _class.staticMethodId( - r"callable", - r"(Ljava/security/PrivilegedAction;)Ljava/util/concurrent/Callable;", + r'callable', + r'(Ljava/security/PrivilegedAction;)Ljava/util/concurrent/Callable;', ); static final _callable2 = ProtectedJniExtensions.lookup< @@ -2030,7 +2035,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2048,8 +2053,8 @@ class Executors extends jni.JObject { } static final _id_callable3 = _class.staticMethodId( - r"callable", - r"(Ljava/security/PrivilegedExceptionAction;)Ljava/util/concurrent/Callable;", + r'callable', + r'(Ljava/security/PrivilegedExceptionAction;)Ljava/util/concurrent/Callable;', ); static final _callable3 = ProtectedJniExtensions.lookup< @@ -2058,7 +2063,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2076,8 +2081,8 @@ class Executors extends jni.JObject { } static final _id_privilegedCallable = _class.staticMethodId( - r"privilegedCallable", - r"(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", + r'privilegedCallable', + r'(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;', ); static final _privilegedCallable = ProtectedJniExtensions.lookup< @@ -2086,7 +2091,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2106,8 +2111,8 @@ class Executors extends jni.JObject { static final _id_privilegedCallableUsingCurrentClassLoader = _class.staticMethodId( - r"privilegedCallableUsingCurrentClassLoader", - r"(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", + r'privilegedCallableUsingCurrentClassLoader', + r'(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;', ); static final _privilegedCallableUsingCurrentClassLoader = @@ -2117,7 +2122,7 @@ class Executors extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2141,7 +2146,7 @@ final class $ExecutorsType extends jni.JObjType { const $ExecutorsType(); @override - String get signature => r"Ljava/util/concurrent/Executors;"; + String get signature => r'Ljava/util/concurrent/Executors;'; @override Executors fromReference(jni.JReference reference) => @@ -2172,12 +2177,12 @@ class CronetEngine_Builder_LibraryLoader extends jni.JObject { ) : super.fromReference(reference); static final _class = jni.JClass.forName( - r"org/chromium/net/CronetEngine$Builder$LibraryLoader"); + r'org/chromium/net/CronetEngine$Builder$LibraryLoader'); /// The type which includes information such as the signature of this class. static const type = $CronetEngine_Builder_LibraryLoaderType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -2185,7 +2190,7 @@ class CronetEngine_Builder_LibraryLoader extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2201,8 +2206,8 @@ class CronetEngine_Builder_LibraryLoader extends jni.JObject { } static final _id_loadLibrary = _class.instanceMethodId( - r"loadLibrary", - r"(Ljava/lang/String;)V", + r'loadLibrary', + r'(Ljava/lang/String;)V', ); static final _loadLibrary = ProtectedJniExtensions.lookup< @@ -2211,7 +2216,7 @@ class CronetEngine_Builder_LibraryLoader extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + 'globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2232,7 +2237,7 @@ final class $CronetEngine_Builder_LibraryLoaderType @override String get signature => - r"Lorg/chromium/net/CronetEngine$Builder$LibraryLoader;"; + r'Lorg/chromium/net/CronetEngine$Builder$LibraryLoader;'; @override CronetEngine_Builder_LibraryLoader fromReference(jni.JReference reference) => @@ -2264,13 +2269,13 @@ class CronetEngine_Builder extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/CronetEngine$Builder"); + jni.JClass.forName(r'org/chromium/net/CronetEngine$Builder'); /// The type which includes information such as the signature of this class. static const type = $CronetEngine_BuilderType(); static final _id_mBuilderDelegate = _class.instanceFieldId( - r"mBuilderDelegate", - r"Lorg/chromium/net/ICronetEngineBuilder;", + r'mBuilderDelegate', + r'Lorg/chromium/net/ICronetEngineBuilder;', ); /// from: protected final org.chromium.net.ICronetEngineBuilder mBuilderDelegate @@ -2290,7 +2295,7 @@ class CronetEngine_Builder extends jni.JObject { /// from: static public final int HTTP_CACHE_DISK static const HTTP_CACHE_DISK = 3; static final _id_new0 = _class.constructorId( - r"(Landroid/content/Context;)V", + r'(Landroid/content/Context;)V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -2299,7 +2304,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + 'globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2315,7 +2320,7 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_new1 = _class.constructorId( - r"(Lorg/chromium/net/ICronetEngineBuilder;)V", + r'(Lorg/chromium/net/ICronetEngineBuilder;)V', ); static final _new1 = ProtectedJniExtensions.lookup< @@ -2324,7 +2329,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_NewObject") + 'globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2342,8 +2347,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_getDefaultUserAgent = _class.instanceMethodId( - r"getDefaultUserAgent", - r"()Ljava/lang/String;", + r'getDefaultUserAgent', + r'()Ljava/lang/String;', ); static final _getDefaultUserAgent = ProtectedJniExtensions.lookup< @@ -2351,7 +2356,7 @@ class CronetEngine_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2367,8 +2372,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_setUserAgent = _class.instanceMethodId( - r"setUserAgent", - r"(Ljava/lang/String;)Lorg/chromium/net/CronetEngine$Builder;", + r'setUserAgent', + r'(Ljava/lang/String;)Lorg/chromium/net/CronetEngine$Builder;', ); static final _setUserAgent = ProtectedJniExtensions.lookup< @@ -2377,7 +2382,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2393,8 +2398,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_setStoragePath = _class.instanceMethodId( - r"setStoragePath", - r"(Ljava/lang/String;)Lorg/chromium/net/CronetEngine$Builder;", + r'setStoragePath', + r'(Ljava/lang/String;)Lorg/chromium/net/CronetEngine$Builder;', ); static final _setStoragePath = ProtectedJniExtensions.lookup< @@ -2403,7 +2408,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2419,8 +2424,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_setLibraryLoader = _class.instanceMethodId( - r"setLibraryLoader", - r"(Lorg/chromium/net/CronetEngine$Builder$LibraryLoader;)Lorg/chromium/net/CronetEngine$Builder;", + r'setLibraryLoader', + r'(Lorg/chromium/net/CronetEngine$Builder$LibraryLoader;)Lorg/chromium/net/CronetEngine$Builder;', ); static final _setLibraryLoader = ProtectedJniExtensions.lookup< @@ -2429,7 +2434,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2447,14 +2452,14 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_enableQuic = _class.instanceMethodId( - r"enableQuic", - r"(Z)Lorg/chromium/net/CronetEngine$Builder;", + r'enableQuic', + r'(Z)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enableQuic = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -2470,14 +2475,14 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_enableHttp2 = _class.instanceMethodId( - r"enableHttp2", - r"(Z)Lorg/chromium/net/CronetEngine$Builder;", + r'enableHttp2', + r'(Z)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enableHttp2 = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -2493,14 +2498,14 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_enableSdch = _class.instanceMethodId( - r"enableSdch", - r"(Z)Lorg/chromium/net/CronetEngine$Builder;", + r'enableSdch', + r'(Z)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enableSdch = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -2516,14 +2521,14 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_enableBrotli = _class.instanceMethodId( - r"enableBrotli", - r"(Z)Lorg/chromium/net/CronetEngine$Builder;", + r'enableBrotli', + r'(Z)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enableBrotli = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -2539,15 +2544,15 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_enableHttpCache = _class.instanceMethodId( - r"enableHttpCache", - r"(IJ)Lorg/chromium/net/CronetEngine$Builder;", + r'enableHttpCache', + r'(IJ)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enableHttpCache = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<($Int32, ffi.Int64)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int, int)>(); @@ -2564,8 +2569,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_addQuicHint = _class.instanceMethodId( - r"addQuicHint", - r"(Ljava/lang/String;II)Lorg/chromium/net/CronetEngine$Builder;", + r'addQuicHint', + r'(Ljava/lang/String;II)Lorg/chromium/net/CronetEngine$Builder;', ); static final _addQuicHint = ProtectedJniExtensions.lookup< @@ -2574,7 +2579,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer, $Int32, $Int32)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); @@ -2592,8 +2597,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_addPublicKeyPins = _class.instanceMethodId( - r"addPublicKeyPins", - r"(Ljava/lang/String;Ljava/util/Set;ZLjava/util/Date;)Lorg/chromium/net/CronetEngine$Builder;", + r'addPublicKeyPins', + r'(Ljava/lang/String;Ljava/util/Set;ZLjava/util/Date;)Lorg/chromium/net/CronetEngine$Builder;', ); static final _addPublicKeyPins = ProtectedJniExtensions.lookup< @@ -2607,7 +2612,7 @@ class CronetEngine_Builder extends jni.JObject { ffi.Pointer, $Int32, ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + )>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2637,8 +2642,8 @@ class CronetEngine_Builder extends jni.JObject { static final _id_enablePublicKeyPinningBypassForLocalTrustAnchors = _class.instanceMethodId( - r"enablePublicKeyPinningBypassForLocalTrustAnchors", - r"(Z)Lorg/chromium/net/CronetEngine$Builder;", + r'enablePublicKeyPinningBypassForLocalTrustAnchors', + r'(Z)Lorg/chromium/net/CronetEngine$Builder;', ); static final _enablePublicKeyPinningBypassForLocalTrustAnchors = @@ -2647,7 +2652,7 @@ class CronetEngine_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -2666,8 +2671,8 @@ class CronetEngine_Builder extends jni.JObject { } static final _id_build = _class.instanceMethodId( - r"build", - r"()Lorg/chromium/net/CronetEngine;", + r'build', + r'()Lorg/chromium/net/CronetEngine;', ); static final _build = ProtectedJniExtensions.lookup< @@ -2675,7 +2680,7 @@ class CronetEngine_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2695,7 +2700,7 @@ final class $CronetEngine_BuilderType const $CronetEngine_BuilderType(); @override - String get signature => r"Lorg/chromium/net/CronetEngine$Builder;"; + String get signature => r'Lorg/chromium/net/CronetEngine$Builder;'; @override CronetEngine_Builder fromReference(jni.JReference reference) => @@ -2726,12 +2731,12 @@ class CronetEngine extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"org/chromium/net/CronetEngine"); + static final _class = jni.JClass.forName(r'org/chromium/net/CronetEngine'); /// The type which includes information such as the signature of this class. static const type = $CronetEngineType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -2739,7 +2744,7 @@ class CronetEngine extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2755,8 +2760,8 @@ class CronetEngine extends jni.JObject { } static final _id_getVersionString = _class.instanceMethodId( - r"getVersionString", - r"()Ljava/lang/String;", + r'getVersionString', + r'()Ljava/lang/String;', ); static final _getVersionString = ProtectedJniExtensions.lookup< @@ -2764,7 +2769,7 @@ class CronetEngine extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2780,8 +2785,8 @@ class CronetEngine extends jni.JObject { } static final _id_shutdown = _class.instanceMethodId( - r"shutdown", - r"()V", + r'shutdown', + r'()V', ); static final _shutdown = ProtectedJniExtensions.lookup< @@ -2789,7 +2794,7 @@ class CronetEngine extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + )>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -2802,8 +2807,8 @@ class CronetEngine extends jni.JObject { } static final _id_startNetLogToFile = _class.instanceMethodId( - r"startNetLogToFile", - r"(Ljava/lang/String;Z)V", + r'startNetLogToFile', + r'(Ljava/lang/String;Z)V', ); static final _startNetLogToFile = ProtectedJniExtensions.lookup< @@ -2812,7 +2817,7 @@ class CronetEngine extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer, $Int32)>)>>( - "globalEnv_CallVoidMethod") + 'globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int)>(); @@ -2831,8 +2836,8 @@ class CronetEngine extends jni.JObject { } static final _id_stopNetLog = _class.instanceMethodId( - r"stopNetLog", - r"()V", + r'stopNetLog', + r'()V', ); static final _stopNetLog = ProtectedJniExtensions.lookup< @@ -2840,7 +2845,7 @@ class CronetEngine extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + )>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -2853,8 +2858,8 @@ class CronetEngine extends jni.JObject { } static final _id_getGlobalMetricsDeltas = _class.instanceMethodId( - r"getGlobalMetricsDeltas", - r"()[B", + r'getGlobalMetricsDeltas', + r'()[B', ); static final _getGlobalMetricsDeltas = ProtectedJniExtensions.lookup< @@ -2862,7 +2867,7 @@ class CronetEngine extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2878,8 +2883,8 @@ class CronetEngine extends jni.JObject { } static final _id_openConnection = _class.instanceMethodId( - r"openConnection", - r"(Ljava/net/URL;)Ljava/net/URLConnection;", + r'openConnection', + r'(Ljava/net/URL;)Ljava/net/URLConnection;', ); static final _openConnection = ProtectedJniExtensions.lookup< @@ -2888,7 +2893,7 @@ class CronetEngine extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -2904,8 +2909,8 @@ class CronetEngine extends jni.JObject { } static final _id_createURLStreamHandlerFactory = _class.instanceMethodId( - r"createURLStreamHandlerFactory", - r"()Ljava/net/URLStreamHandlerFactory;", + r'createURLStreamHandlerFactory', + r'()Ljava/net/URLStreamHandlerFactory;', ); static final _createURLStreamHandlerFactory = ProtectedJniExtensions.lookup< @@ -2913,7 +2918,7 @@ class CronetEngine extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2929,8 +2934,8 @@ class CronetEngine extends jni.JObject { } static final _id_newUrlRequestBuilder = _class.instanceMethodId( - r"newUrlRequestBuilder", - r"(Ljava/lang/String;Lorg/chromium/net/UrlRequest$Callback;Ljava/util/concurrent/Executor;)Lorg/chromium/net/UrlRequest$Builder;", + r'newUrlRequestBuilder', + r'(Ljava/lang/String;Lorg/chromium/net/UrlRequest$Callback;Ljava/util/concurrent/Executor;)Lorg/chromium/net/UrlRequest$Builder;', ); static final _newUrlRequestBuilder = ProtectedJniExtensions.lookup< @@ -2943,7 +2948,7 @@ class CronetEngine extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + )>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -2973,7 +2978,7 @@ final class $CronetEngineType extends jni.JObjType { const $CronetEngineType(); @override - String get signature => r"Lorg/chromium/net/CronetEngine;"; + String get signature => r'Lorg/chromium/net/CronetEngine;'; @override CronetEngine fromReference(jni.JReference reference) => @@ -3004,12 +3009,12 @@ class CronetException extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"org/chromium/net/CronetException"); + static final _class = jni.JClass.forName(r'org/chromium/net/CronetException'); /// The type which includes information such as the signature of this class. static const type = $CronetExceptionType(); static final _id_new0 = _class.constructorId( - r"(Ljava/lang/String;Ljava/lang/Throwable;)V", + r'(Ljava/lang/String;Ljava/lang/Throwable;)V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -3021,7 +3026,7 @@ class CronetException extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_NewObject") + )>)>>('globalEnv_NewObject') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3045,7 +3050,7 @@ final class $CronetExceptionType extends jni.JObjType { const $CronetExceptionType(); @override - String get signature => r"Lorg/chromium/net/CronetException;"; + String get signature => r'Lorg/chromium/net/CronetException;'; @override CronetException fromReference(jni.JReference reference) => @@ -3077,13 +3082,13 @@ class UploadDataProviders extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UploadDataProviders"); + jni.JClass.forName(r'org/chromium/net/UploadDataProviders'); /// The type which includes information such as the signature of this class. static const type = $UploadDataProvidersType(); static final _id_create = _class.staticMethodId( - r"create", - r"(Ljava/io/File;)Lorg/chromium/net/UploadDataProvider;", + r'create', + r'(Ljava/io/File;)Lorg/chromium/net/UploadDataProvider;', ); static final _create = ProtectedJniExtensions.lookup< @@ -3092,7 +3097,7 @@ class UploadDataProviders extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -3108,8 +3113,8 @@ class UploadDataProviders extends jni.JObject { } static final _id_create1 = _class.staticMethodId( - r"create", - r"(Landroid/os/ParcelFileDescriptor;)Lorg/chromium/net/UploadDataProvider;", + r'create', + r'(Landroid/os/ParcelFileDescriptor;)Lorg/chromium/net/UploadDataProvider;', ); static final _create1 = ProtectedJniExtensions.lookup< @@ -3118,7 +3123,7 @@ class UploadDataProviders extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -3134,8 +3139,8 @@ class UploadDataProviders extends jni.JObject { } static final _id_create2 = _class.staticMethodId( - r"create", - r"(Ljava/nio/ByteBuffer;)Lorg/chromium/net/UploadDataProvider;", + r'create', + r'(Ljava/nio/ByteBuffer;)Lorg/chromium/net/UploadDataProvider;', ); static final _create2 = ProtectedJniExtensions.lookup< @@ -3144,7 +3149,7 @@ class UploadDataProviders extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -3160,8 +3165,8 @@ class UploadDataProviders extends jni.JObject { } static final _id_create3 = _class.staticMethodId( - r"create", - r"([BII)Lorg/chromium/net/UploadDataProvider;", + r'create', + r'([BII)Lorg/chromium/net/UploadDataProvider;', ); static final _create3 = ProtectedJniExtensions.lookup< @@ -3170,7 +3175,7 @@ class UploadDataProviders extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer, $Int32, $Int32)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, int, int)>(); @@ -3188,8 +3193,8 @@ class UploadDataProviders extends jni.JObject { } static final _id_create4 = _class.staticMethodId( - r"create", - r"([B)Lorg/chromium/net/UploadDataProvider;", + r'create', + r'([B)Lorg/chromium/net/UploadDataProvider;', ); static final _create4 = ProtectedJniExtensions.lookup< @@ -3198,7 +3203,7 @@ class UploadDataProviders extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallStaticObjectMethod") + 'globalEnv_CallStaticObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -3218,7 +3223,7 @@ final class $UploadDataProvidersType extends jni.JObjType { const $UploadDataProvidersType(); @override - String get signature => r"Lorg/chromium/net/UploadDataProviders;"; + String get signature => r'Lorg/chromium/net/UploadDataProviders;'; @override UploadDataProviders fromReference(jni.JReference reference) => @@ -3250,7 +3255,7 @@ class UrlRequest_Builder extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UrlRequest$Builder"); + jni.JClass.forName(r'org/chromium/net/UrlRequest$Builder'); /// The type which includes information such as the signature of this class. static const type = $UrlRequest_BuilderType(); @@ -3270,7 +3275,7 @@ class UrlRequest_Builder extends jni.JObject { /// from: static public final int REQUEST_PRIORITY_HIGHEST static const REQUEST_PRIORITY_HIGHEST = 4; static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -3278,7 +3283,7 @@ class UrlRequest_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3294,8 +3299,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_setHttpMethod = _class.instanceMethodId( - r"setHttpMethod", - r"(Ljava/lang/String;)Lorg/chromium/net/UrlRequest$Builder;", + r'setHttpMethod', + r'(Ljava/lang/String;)Lorg/chromium/net/UrlRequest$Builder;', ); static final _setHttpMethod = ProtectedJniExtensions.lookup< @@ -3304,7 +3309,7 @@ class UrlRequest_Builder extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallObjectMethod") + 'globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -3320,8 +3325,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_addHeader = _class.instanceMethodId( - r"addHeader", - r"(Ljava/lang/String;Ljava/lang/String;)Lorg/chromium/net/UrlRequest$Builder;", + r'addHeader', + r'(Ljava/lang/String;Ljava/lang/String;)Lorg/chromium/net/UrlRequest$Builder;', ); static final _addHeader = ProtectedJniExtensions.lookup< @@ -3333,7 +3338,7 @@ class UrlRequest_Builder extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + )>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3350,8 +3355,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_disableCache = _class.instanceMethodId( - r"disableCache", - r"()Lorg/chromium/net/UrlRequest$Builder;", + r'disableCache', + r'()Lorg/chromium/net/UrlRequest$Builder;', ); static final _disableCache = ProtectedJniExtensions.lookup< @@ -3359,7 +3364,7 @@ class UrlRequest_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3375,14 +3380,14 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_setPriority = _class.instanceMethodId( - r"setPriority", - r"(I)Lorg/chromium/net/UrlRequest$Builder;", + r'setPriority', + r'(I)Lorg/chromium/net/UrlRequest$Builder;', ); static final _setPriority = ProtectedJniExtensions.lookup< ffi.NativeFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallObjectMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -3398,8 +3403,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_setUploadDataProvider = _class.instanceMethodId( - r"setUploadDataProvider", - r"(Lorg/chromium/net/UploadDataProvider;Ljava/util/concurrent/Executor;)Lorg/chromium/net/UrlRequest$Builder;", + r'setUploadDataProvider', + r'(Lorg/chromium/net/UploadDataProvider;Ljava/util/concurrent/Executor;)Lorg/chromium/net/UrlRequest$Builder;', ); static final _setUploadDataProvider = ProtectedJniExtensions.lookup< @@ -3411,7 +3416,7 @@ class UrlRequest_Builder extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallObjectMethod") + )>)>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3431,8 +3436,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_allowDirectExecutor = _class.instanceMethodId( - r"allowDirectExecutor", - r"()Lorg/chromium/net/UrlRequest$Builder;", + r'allowDirectExecutor', + r'()Lorg/chromium/net/UrlRequest$Builder;', ); static final _allowDirectExecutor = ProtectedJniExtensions.lookup< @@ -3440,7 +3445,7 @@ class UrlRequest_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3456,8 +3461,8 @@ class UrlRequest_Builder extends jni.JObject { } static final _id_build = _class.instanceMethodId( - r"build", - r"()Lorg/chromium/net/UrlRequest;", + r'build', + r'()Lorg/chromium/net/UrlRequest;', ); static final _build = ProtectedJniExtensions.lookup< @@ -3465,7 +3470,7 @@ class UrlRequest_Builder extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3484,7 +3489,7 @@ final class $UrlRequest_BuilderType extends jni.JObjType { const $UrlRequest_BuilderType(); @override - String get signature => r"Lorg/chromium/net/UrlRequest$Builder;"; + String get signature => r'Lorg/chromium/net/UrlRequest$Builder;'; @override UrlRequest_Builder fromReference(jni.JReference reference) => @@ -3516,12 +3521,12 @@ class UrlRequest_Callback extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UrlRequest$Callback"); + jni.JClass.forName(r'org/chromium/net/UrlRequest$Callback'); /// The type which includes information such as the signature of this class. static const type = $UrlRequest_CallbackType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -3529,7 +3534,7 @@ class UrlRequest_Callback extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3545,8 +3550,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onRedirectReceived = _class.instanceMethodId( - r"onRedirectReceived", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V", + r'onRedirectReceived', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/lang/String;)V', ); static final _onRedirectReceived = ProtectedJniExtensions.lookup< @@ -3559,7 +3564,7 @@ class UrlRequest_Callback extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -3584,8 +3589,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onResponseStarted = _class.instanceMethodId( - r"onResponseStarted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onResponseStarted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onResponseStarted = ProtectedJniExtensions.lookup< @@ -3597,7 +3602,7 @@ class UrlRequest_Callback extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3616,8 +3621,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onReadCompleted = _class.instanceMethodId( - r"onReadCompleted", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V", + r'onReadCompleted', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Ljava/nio/ByteBuffer;)V', ); static final _onReadCompleted = ProtectedJniExtensions.lookup< @@ -3630,7 +3635,7 @@ class UrlRequest_Callback extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -3655,8 +3660,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onSucceeded = _class.instanceMethodId( - r"onSucceeded", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onSucceeded', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onSucceeded = ProtectedJniExtensions.lookup< @@ -3668,7 +3673,7 @@ class UrlRequest_Callback extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3684,8 +3689,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onFailed = _class.instanceMethodId( - r"onFailed", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V", + r'onFailed', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;Lorg/chromium/net/CronetException;)V', ); static final _onFailed = ProtectedJniExtensions.lookup< @@ -3698,7 +3703,7 @@ class UrlRequest_Callback extends jni.JObject { ffi.Pointer, ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -3723,8 +3728,8 @@ class UrlRequest_Callback extends jni.JObject { } static final _id_onCanceled = _class.instanceMethodId( - r"onCanceled", - r"(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V", + r'onCanceled', + r'(Lorg/chromium/net/UrlRequest;Lorg/chromium/net/UrlResponseInfo;)V', ); static final _onCanceled = ProtectedJniExtensions.lookup< @@ -3736,7 +3741,7 @@ class UrlRequest_Callback extends jni.JObject { ( ffi.Pointer, ffi.Pointer - )>)>>("globalEnv_CallVoidMethod") + )>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer, ffi.Pointer)>(); @@ -3756,7 +3761,7 @@ final class $UrlRequest_CallbackType extends jni.JObjType { const $UrlRequest_CallbackType(); @override - String get signature => r"Lorg/chromium/net/UrlRequest$Callback;"; + String get signature => r'Lorg/chromium/net/UrlRequest$Callback;'; @override UrlRequest_Callback fromReference(jni.JReference reference) => @@ -3788,7 +3793,7 @@ class UrlRequest_Status extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UrlRequest$Status"); + jni.JClass.forName(r'org/chromium/net/UrlRequest$Status'); /// The type which includes information such as the signature of this class. static const type = $UrlRequest_StatusType(); @@ -3846,7 +3851,7 @@ final class $UrlRequest_StatusType extends jni.JObjType { const $UrlRequest_StatusType(); @override - String get signature => r"Lorg/chromium/net/UrlRequest$Status;"; + String get signature => r'Lorg/chromium/net/UrlRequest$Status;'; @override UrlRequest_Status fromReference(jni.JReference reference) => @@ -3878,12 +3883,12 @@ class UrlRequest_StatusListener extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UrlRequest$StatusListener"); + jni.JClass.forName(r'org/chromium/net/UrlRequest$StatusListener'); /// The type which includes information such as the signature of this class. static const type = $UrlRequest_StatusListenerType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -3891,7 +3896,7 @@ class UrlRequest_StatusListener extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3907,8 +3912,8 @@ class UrlRequest_StatusListener extends jni.JObject { } static final _id_onStatus = _class.instanceMethodId( - r"onStatus", - r"(I)V", + r'onStatus', + r'(I)V', ); static final _onStatus = ProtectedJniExtensions.lookup< @@ -3916,7 +3921,7 @@ class UrlRequest_StatusListener extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - ffi.VarArgs<($Int32,)>)>>("globalEnv_CallVoidMethod") + ffi.VarArgs<($Int32,)>)>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, int)>(); @@ -3934,7 +3939,7 @@ final class $UrlRequest_StatusListenerType const $UrlRequest_StatusListenerType(); @override - String get signature => r"Lorg/chromium/net/UrlRequest$StatusListener;"; + String get signature => r'Lorg/chromium/net/UrlRequest$StatusListener;'; @override UrlRequest_StatusListener fromReference(jni.JReference reference) => @@ -3965,12 +3970,12 @@ class UrlRequest extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"org/chromium/net/UrlRequest"); + static final _class = jni.JClass.forName(r'org/chromium/net/UrlRequest'); /// The type which includes information such as the signature of this class. static const type = $UrlRequestType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -3978,7 +3983,7 @@ class UrlRequest extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -3994,8 +3999,8 @@ class UrlRequest extends jni.JObject { } static final _id_start = _class.instanceMethodId( - r"start", - r"()V", + r'start', + r'()V', ); static final _start = ProtectedJniExtensions.lookup< @@ -4003,7 +4008,7 @@ class UrlRequest extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + )>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -4016,8 +4021,8 @@ class UrlRequest extends jni.JObject { } static final _id_followRedirect = _class.instanceMethodId( - r"followRedirect", - r"()V", + r'followRedirect', + r'()V', ); static final _followRedirect = ProtectedJniExtensions.lookup< @@ -4025,7 +4030,7 @@ class UrlRequest extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + )>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -4039,8 +4044,8 @@ class UrlRequest extends jni.JObject { } static final _id_read = _class.instanceMethodId( - r"read", - r"(Ljava/nio/ByteBuffer;)V", + r'read', + r'(Ljava/nio/ByteBuffer;)V', ); static final _read = ProtectedJniExtensions.lookup< @@ -4049,7 +4054,7 @@ class UrlRequest extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + 'globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -4064,8 +4069,8 @@ class UrlRequest extends jni.JObject { } static final _id_cancel = _class.instanceMethodId( - r"cancel", - r"()V", + r'cancel', + r'()V', ); static final _cancel = ProtectedJniExtensions.lookup< @@ -4073,7 +4078,7 @@ class UrlRequest extends jni.JObject { jni.JThrowablePtr Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallVoidMethod") + )>>('globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function( ffi.Pointer, @@ -4086,8 +4091,8 @@ class UrlRequest extends jni.JObject { } static final _id_isDone = _class.instanceMethodId( - r"isDone", - r"()Z", + r'isDone', + r'()Z', ); static final _isDone = ProtectedJniExtensions.lookup< @@ -4095,7 +4100,7 @@ class UrlRequest extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + )>>('globalEnv_CallBooleanMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4108,8 +4113,8 @@ class UrlRequest extends jni.JObject { } static final _id_getStatus = _class.instanceMethodId( - r"getStatus", - r"(Lorg/chromium/net/UrlRequest$StatusListener;)V", + r'getStatus', + r'(Lorg/chromium/net/UrlRequest$StatusListener;)V', ); static final _getStatus = ProtectedJniExtensions.lookup< @@ -4118,7 +4123,7 @@ class UrlRequest extends jni.JObject { ffi.Pointer, jni.JMethodIDPtr, ffi.VarArgs<(ffi.Pointer,)>)>>( - "globalEnv_CallVoidMethod") + 'globalEnv_CallVoidMethod') .asFunction< jni.JThrowablePtr Function(ffi.Pointer, jni.JMethodIDPtr, ffi.Pointer)>(); @@ -4137,7 +4142,7 @@ final class $UrlRequestType extends jni.JObjType { const $UrlRequestType(); @override - String get signature => r"Lorg/chromium/net/UrlRequest;"; + String get signature => r'Lorg/chromium/net/UrlRequest;'; @override UrlRequest fromReference(jni.JReference reference) => @@ -4168,12 +4173,12 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { ) : super.fromReference(reference); static final _class = - jni.JClass.forName(r"org/chromium/net/UrlResponseInfo$HeaderBlock"); + jni.JClass.forName(r'org/chromium/net/UrlResponseInfo$HeaderBlock'); /// The type which includes information such as the signature of this class. static const type = $UrlResponseInfo_HeaderBlockType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -4181,7 +4186,7 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4197,8 +4202,8 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { } static final _id_getAsList = _class.instanceMethodId( - r"getAsList", - r"()Ljava/util/List;", + r'getAsList', + r'()Ljava/util/List;', ); static final _getAsList = ProtectedJniExtensions.lookup< @@ -4206,7 +4211,7 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4221,8 +4226,8 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { } static final _id_getAsMap = _class.instanceMethodId( - r"getAsMap", - r"()Ljava/util/Map;", + r'getAsMap', + r'()Ljava/util/Map;', ); static final _getAsMap = ProtectedJniExtensions.lookup< @@ -4230,7 +4235,7 @@ class UrlResponseInfo_HeaderBlock extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4251,7 +4256,7 @@ final class $UrlResponseInfo_HeaderBlockType const $UrlResponseInfo_HeaderBlockType(); @override - String get signature => r"Lorg/chromium/net/UrlResponseInfo$HeaderBlock;"; + String get signature => r'Lorg/chromium/net/UrlResponseInfo$HeaderBlock;'; @override UrlResponseInfo_HeaderBlock fromReference(jni.JReference reference) => @@ -4282,12 +4287,12 @@ class UrlResponseInfo extends jni.JObject { jni.JReference reference, ) : super.fromReference(reference); - static final _class = jni.JClass.forName(r"org/chromium/net/UrlResponseInfo"); + static final _class = jni.JClass.forName(r'org/chromium/net/UrlResponseInfo'); /// The type which includes information such as the signature of this class. static const type = $UrlResponseInfoType(); static final _id_new0 = _class.constructorId( - r"()V", + r'()V', ); static final _new0 = ProtectedJniExtensions.lookup< @@ -4295,7 +4300,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_NewObject") + )>>('globalEnv_NewObject') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4311,8 +4316,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getUrl = _class.instanceMethodId( - r"getUrl", - r"()Ljava/lang/String;", + r'getUrl', + r'()Ljava/lang/String;', ); static final _getUrl = ProtectedJniExtensions.lookup< @@ -4320,7 +4325,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4335,8 +4340,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getUrlChain = _class.instanceMethodId( - r"getUrlChain", - r"()Ljava/util/List;", + r'getUrlChain', + r'()Ljava/util/List;', ); static final _getUrlChain = ProtectedJniExtensions.lookup< @@ -4344,7 +4349,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4359,8 +4364,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getHttpStatusCode = _class.instanceMethodId( - r"getHttpStatusCode", - r"()I", + r'getHttpStatusCode', + r'()I', ); static final _getHttpStatusCode = ProtectedJniExtensions.lookup< @@ -4368,7 +4373,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallIntMethod") + )>>('globalEnv_CallIntMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4383,8 +4388,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getHttpStatusText = _class.instanceMethodId( - r"getHttpStatusText", - r"()Ljava/lang/String;", + r'getHttpStatusText', + r'()Ljava/lang/String;', ); static final _getHttpStatusText = ProtectedJniExtensions.lookup< @@ -4392,7 +4397,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4408,8 +4413,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getAllHeadersAsList = _class.instanceMethodId( - r"getAllHeadersAsList", - r"()Ljava/util/List;", + r'getAllHeadersAsList', + r'()Ljava/util/List;', ); static final _getAllHeadersAsList = ProtectedJniExtensions.lookup< @@ -4417,7 +4422,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4433,8 +4438,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getAllHeaders = _class.instanceMethodId( - r"getAllHeaders", - r"()Ljava/util/Map;", + r'getAllHeaders', + r'()Ljava/util/Map;', ); static final _getAllHeaders = ProtectedJniExtensions.lookup< @@ -4442,7 +4447,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4459,8 +4464,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_wasCached = _class.instanceMethodId( - r"wasCached", - r"()Z", + r'wasCached', + r'()Z', ); static final _wasCached = ProtectedJniExtensions.lookup< @@ -4468,7 +4473,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallBooleanMethod") + )>>('globalEnv_CallBooleanMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4482,8 +4487,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getNegotiatedProtocol = _class.instanceMethodId( - r"getNegotiatedProtocol", - r"()Ljava/lang/String;", + r'getNegotiatedProtocol', + r'()Ljava/lang/String;', ); static final _getNegotiatedProtocol = ProtectedJniExtensions.lookup< @@ -4491,7 +4496,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4507,8 +4512,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getProxyServer = _class.instanceMethodId( - r"getProxyServer", - r"()Ljava/lang/String;", + r'getProxyServer', + r'()Ljava/lang/String;', ); static final _getProxyServer = ProtectedJniExtensions.lookup< @@ -4516,7 +4521,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallObjectMethod") + )>>('globalEnv_CallObjectMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4532,8 +4537,8 @@ class UrlResponseInfo extends jni.JObject { } static final _id_getReceivedByteCount = _class.instanceMethodId( - r"getReceivedByteCount", - r"()J", + r'getReceivedByteCount', + r'()J', ); static final _getReceivedByteCount = ProtectedJniExtensions.lookup< @@ -4541,7 +4546,7 @@ class UrlResponseInfo extends jni.JObject { jni.JniResult Function( ffi.Pointer, jni.JMethodIDPtr, - )>>("globalEnv_CallLongMethod") + )>>('globalEnv_CallLongMethod') .asFunction< jni.JniResult Function( ffi.Pointer, @@ -4560,7 +4565,7 @@ final class $UrlResponseInfoType extends jni.JObjType { const $UrlResponseInfoType(); @override - String get signature => r"Lorg/chromium/net/UrlResponseInfo;"; + String get signature => r'Lorg/chromium/net/UrlResponseInfo;'; @override UrlResponseInfo fromReference(jni.JReference reference) => diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 24d4d50074..68613e98f3 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -13,11 +13,11 @@ dependencies: sdk: flutter http: ^1.2.0 http_profile: ^0.1.0 - jni: ^0.9.3 + jni: ^0.10.1 dev_dependencies: dart_flutter_team_lints: ^3.0.0 - jnigen: ^0.9.3 + jnigen: ^0.10.0 xml: ^6.1.0 yaml_edit: ^2.0.3