feat: 大规模扩充至212个模块/175K行代码 — 覆盖android/java/javax/org/dalvik全包
- android/ 167个模块 (app/content/os/view/widget/graphics/media/hardware/net/telephony/provider等) - java/ 35个模块 (lang/io/util/net/nio/security/crypto/sql/beans/rmi/awt等) - javax/ 4个模块 (net/crypto/security/sql) - org/ 5个模块 (json/w3c_dom/xml_sax/xml_pull/apache_http) - dalvik/ 1个模块 (system) - ~3053个类/接口,方法签名完全对齐Android SDK - 桌面跨平台运行 (Windows/macOS/Linux) - 修复所有导入错误和Python关键字冲突
This commit is contained in:
1 parent
506f9ac725
commit
a51854455b
128 files changed
+100571
-3
No files matched your search
+170
-3
@@ -101,6 +101,99 @@ from .android.uwb import *
|
||||
from .android.view_autofill import *
|
||||
from .android.view_textclassifier import *
|
||||
from .android.view_translation import *
|
||||
from .android.content_res import *
|
||||
from .android.accounts import *
|
||||
from .android.animation import *
|
||||
from .android.permission import *
|
||||
from .android.accessibilityservice import *
|
||||
from .android.os_storage import *
|
||||
from .android.os_health import *
|
||||
from .android.os_user import *
|
||||
from .android.app_slice import *
|
||||
from .android.app_time import *
|
||||
from .android.hardware_radio import *
|
||||
from .android.hardware_consumerir import *
|
||||
from .android.hardware_thermal import *
|
||||
from .android.location_ext import *
|
||||
from .android.net_ssl import *
|
||||
from .android.net_wifi_aware import *
|
||||
from .android.text_method import *
|
||||
from .android.text_style import *
|
||||
from .android.text_format import *
|
||||
from .android.text_util import *
|
||||
from .android.graphics_fonts import *
|
||||
from .android.graphics_drawable_ext import *
|
||||
from .android.view_textservice import *
|
||||
from .android.net_rtp import *
|
||||
from .android.net_vpn import *
|
||||
from .android.net_wifi_rtt import *
|
||||
from .android.net_hotspot2 import *
|
||||
from .android.app_assist import *
|
||||
from .android.app_search import *
|
||||
from .android.gesture import *
|
||||
from .android.nfc_ext import *
|
||||
from .android.telephony_mbms import *
|
||||
from .android.telephony_ims import *
|
||||
from .android.telephony_euicc import *
|
||||
from .android.telephony_data import *
|
||||
from .android.telephony_gsm import *
|
||||
from .android.telephony_cdma import *
|
||||
from .android.printservice import *
|
||||
from .android.service_voice import *
|
||||
from .android.service_media import *
|
||||
from .android.inputmethodservice import *
|
||||
from .android.hardware_camera2_params import *
|
||||
from .android.graphics_text import *
|
||||
from .android.graphics_drawable_shapes import *
|
||||
from .android.graphics_surface import *
|
||||
from .android.database_ext import *
|
||||
from .android.drm import *
|
||||
from .android.app_notification import *
|
||||
from .android.app_fragment import *
|
||||
from .android.app_dialog import *
|
||||
from .android.app_actionbar import *
|
||||
from .android.app_wallpaper import *
|
||||
from .android.app_voiceinteractor import *
|
||||
from .android.content_sync import *
|
||||
from .android.content_om import *
|
||||
from .android.managers import *
|
||||
from .android.net_nsd import *
|
||||
from .android.net_sip import *
|
||||
from .android.net_http import *
|
||||
from .android.os_power import *
|
||||
from .android.hardware_light import *
|
||||
from .android.hardware_hdmi import *
|
||||
from .android.media_effect import *
|
||||
from .android.media_face import *
|
||||
from .android.media_async import *
|
||||
from .android.media_image import *
|
||||
from .android.media_capture import *
|
||||
from .android.view_ext import *
|
||||
from .android.widget_ext import *
|
||||
from .android.view_accessibility_ext import *
|
||||
from .android.view_dragndrop import *
|
||||
from .android.view_gesture import *
|
||||
from .android.view_haptic import *
|
||||
from .android.webkit_ext import *
|
||||
from .android.location_geofence import *
|
||||
from .android.provider_contacts import *
|
||||
from .android.provider_calendar import *
|
||||
from .android.provider_settings import *
|
||||
from .android.media_tv_ext import *
|
||||
from .android.media_audio import *
|
||||
from .android.media_remoteblob import *
|
||||
from .android.net_ext import *
|
||||
from .android.net_ethernet import *
|
||||
from .android.hardware_sensor_ext import *
|
||||
from .android.hardware_location import *
|
||||
from .android.hardware_serial import *
|
||||
from .android.app_tasks import *
|
||||
from .android.companion_ext import *
|
||||
from .android.view_animator import *
|
||||
from .android.view_window import *
|
||||
from .android.widget_adapter import *
|
||||
from .android.content_intent import *
|
||||
from .android.gesture_ext import *
|
||||
|
||||
# java.* 包
|
||||
from .java.io import *
|
||||
@@ -117,9 +210,43 @@ from .java.nio import *
|
||||
from .java.nio_file import *
|
||||
from .java.security import *
|
||||
from .java.crypto import *
|
||||
from .java.lang_ref import *
|
||||
from .java.lang_reflect import *
|
||||
from .java.lang_annotation import *
|
||||
from .java.nio_channels import *
|
||||
from .java.nio_charset import *
|
||||
from .java.security_cert import *
|
||||
from .java.security_spec import *
|
||||
from .java.sql import *
|
||||
from .java.beans import *
|
||||
from .java.rmi import *
|
||||
from .java.util_function import *
|
||||
from .java.util_logging import *
|
||||
from .java.util_stream import *
|
||||
from .java.util_prefs import *
|
||||
from .java.lang_invoke import *
|
||||
from .java.lang_management import *
|
||||
from .java.nio_byteorder import *
|
||||
from .java.io_ext import *
|
||||
from .java.io_file import *
|
||||
from .java.util_concurrent_atomic import *
|
||||
from .java.util_concurrent_locks import *
|
||||
|
||||
# javax.* 包
|
||||
from .javax.net import *
|
||||
from .javax.crypto import *
|
||||
from .javax.security import *
|
||||
from .javax.sql import *
|
||||
|
||||
# org.* 包
|
||||
from .org.json import *
|
||||
from .org.w3c_dom import *
|
||||
from .org.xml_sax import *
|
||||
from .org.xml_pull import *
|
||||
from .org.apache.http import *
|
||||
|
||||
# dalvik.* 包
|
||||
from .dalvik.system import *
|
||||
|
||||
# Base64 (标准 Android API)
|
||||
import base64 as _base64
|
||||
@@ -247,12 +374,16 @@ class TimerTask:
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__all__ = [
|
||||
# android
|
||||
# android — 核心
|
||||
"AccessibilityNodeInfo", "AccessibilityService",
|
||||
"AccessibilityServiceInfo",
|
||||
"Account", "AccountManager",
|
||||
"ActivityManager",
|
||||
"AlphaAnimation",
|
||||
"Animation",
|
||||
"Animator", "ValueAnimator", "ObjectAnimator", "AnimatorSet",
|
||||
"AppWidgetManager", "AppWidgetProvider", "AppWidgetProviderInfo",
|
||||
"AssistManager", "AssistStructure",
|
||||
"AudioManager",
|
||||
"AutofillManager", "AutofillValue",
|
||||
"BackupAgent", "BackupManager",
|
||||
@@ -273,6 +404,7 @@ __all__ = [
|
||||
"Color",
|
||||
"CompanionDeviceManager",
|
||||
"ConnectivityManager",
|
||||
"ConsumerIrManager",
|
||||
"ContentResolver",
|
||||
"ContentValues",
|
||||
"ContactsContract",
|
||||
@@ -286,6 +418,7 @@ __all__ = [
|
||||
"Environment",
|
||||
"FingerprintManager",
|
||||
"Geocoder",
|
||||
"Gesture", "GestureOverlayView", "GestureLibrary",
|
||||
"Handler",
|
||||
"Html",
|
||||
"ImageView",
|
||||
@@ -297,8 +430,7 @@ __all__ = [
|
||||
"JobInfo", "JobScheduler", "JobService",
|
||||
"KeyChain",
|
||||
"ListView",
|
||||
"Location",
|
||||
"LocationManager",
|
||||
"Location", "LocationManager",
|
||||
"Log",
|
||||
"Looper",
|
||||
"Matrix",
|
||||
@@ -311,26 +443,33 @@ __all__ = [
|
||||
"Message",
|
||||
"MidiDevice", "MidiManager",
|
||||
"MtpDevice",
|
||||
"NfcAdapter", "NdefMessage", "NdefRecord", "Tag",
|
||||
"NetworkInfo",
|
||||
"Os", "OsConstants",
|
||||
"PackageInfo", "PackageManager",
|
||||
"Paint",
|
||||
"PdfRenderer",
|
||||
"PeopleManager",
|
||||
"PermissionManager",
|
||||
"PowerManager",
|
||||
"PrintAttributes", "PrintDocumentAdapter", "PrintManager",
|
||||
"ProgressBar",
|
||||
"RadioManager", "RadioTuner",
|
||||
"Rect", "RectF",
|
||||
"Resources", "AssetManager",
|
||||
"RoleManager",
|
||||
"ScrollView",
|
||||
"SearchManager", "SearchableInfo",
|
||||
"SensorManager",
|
||||
"Settings",
|
||||
"SharedPreferences",
|
||||
"Slice", "SliceManager", "SliceProvider",
|
||||
"SmsManager",
|
||||
"SpannableString",
|
||||
"SpeechRecognizer",
|
||||
"Spinner",
|
||||
"SQLiteDatabase", "SQLiteOpenHelper",
|
||||
"StorageManager", "StorageVolume",
|
||||
"StructStat",
|
||||
"Switch",
|
||||
"TelecomManager",
|
||||
@@ -339,6 +478,8 @@ __all__ = [
|
||||
"TextToSpeech",
|
||||
"TextUtils",
|
||||
"TextView",
|
||||
"ThermalManager",
|
||||
"TimeManager",
|
||||
"Toast",
|
||||
"TranslateAnimation",
|
||||
"TranslationManager",
|
||||
@@ -348,11 +489,15 @@ __all__ = [
|
||||
"Uri",
|
||||
"UsageStatsManager",
|
||||
"UsbDevice", "UsbManager",
|
||||
"UserManager", "UserHandle",
|
||||
"UwbManager",
|
||||
"View", "ViewGroup",
|
||||
"VirtualDisplay",
|
||||
"VpnManager", "VpnService",
|
||||
"WebView",
|
||||
"WifiAwareManager",
|
||||
"WifiManager",
|
||||
"WifiRttManager",
|
||||
# java
|
||||
"File", "FileInputStream", "FileOutputStream",
|
||||
"BufferedReader", "BufferedWriter",
|
||||
@@ -374,6 +519,28 @@ __all__ = [
|
||||
"ByteBuffer", "Files", "Path", "Paths",
|
||||
"MessageDigest", "SecureRandom",
|
||||
"Cipher", "Mac", "KeyGenerator",
|
||||
"SecretKey", "SecretKeySpec",
|
||||
"Reference", "SoftReference", "WeakReference", "PhantomReference",
|
||||
"Field", "Method", "Constructor", "Proxy", "Modifier",
|
||||
"Annotation", "Retention", "Target", "RetentionPolicy", "ElementType",
|
||||
"Channel", "Selector", "SelectionKey", "SocketChannel", "ServerSocketChannel",
|
||||
"FileChannel", "DatagramChannel",
|
||||
"Charset", "CharsetEncoder", "CharsetDecoder", "StandardCharsets",
|
||||
"CoderResult",
|
||||
# javax
|
||||
"SSLSocketFactory", "SSLServerSocketFactory",
|
||||
"SSLSocket", "SSLServerSocket", "HttpsURLConnection",
|
||||
"TrustManager", "X509TrustManager", "KeyManager", "X509KeyManager",
|
||||
"Cipher", "KeyGenerator", "Mac", "SecretKey", "SecretKeySpec",
|
||||
"Subject", "Principal", "Policy",
|
||||
"DataSource", "RowSet", "CachedRowSet", "RowSetListener",
|
||||
# org
|
||||
"JSONObject", "JSONArray", "JSONException",
|
||||
"Document", "Node", "Element", "Attr", "Text", "NodeList",
|
||||
"XMLReader", "ContentHandler", "InputSource", "SAXException",
|
||||
"XmlPullParser", "XmlSerializer", "XmlPullParserFactory",
|
||||
"HttpResponse", "HttpEntity", "HttpClient", "DefaultHttpClient",
|
||||
"HttpGet", "HttpPost", "HttpPut", "HttpDelete",
|
||||
# dalvik
|
||||
"DexClassLoader", "PathClassLoader", "DexFile",
|
||||
]
|
||||
Reference in new issue
Block a user