feat: 新增 42 个 Android API 模块

新增模块覆盖:
系统层 (14): system, security, print, opengl, renderscript, transition,
test, service_notification, service_controls, service_quicksettings,
service_wallpaper, service_autofill, service_dreams, service_vr

应用层 (13): app_admin, app_backup, app_job, app_usage, app_role,
app_people, appwidget, companion, credentials, mtp, sip, telecom, speech

硬件媒体层 (15): hardware_display, hardware_fingerprint, hardware_usb,
hardware_input, media_audiofx, media_browse, media_session, media_tv,
media_midi, media_projection, uwb, se, view_autofill, view_textclassifier,
view_translation

总计 94 个模块,75,342 行代码
This commit is contained in:
shuiyu1123 committed 2026-06-24 12:00:28 +00:00
1 parent 8ad62be068
commit 506f9ac725
43 files changed
+16704 -23

No files matched your search

+144 -23
View File
@@ -59,6 +59,48 @@ from .android.webkit import *
from .android.nfc import *
from .android.speech_tts import *
from .android.inputmethod import *
from .android.app_admin import *
from .android.app_backup import *
from .android.app_job import *
from .android.app_people import *
from .android.app_role import *
from .android.app_usage import *
from .android.appwidget import *
from .android.companion import *
from .android.credentials import *
from .android.hardware_display import *
from .android.hardware_fingerprint import *
from .android.hardware_input import *
from .android.hardware_usb import *
from .android.media_audiofx import *
from .android.media_browse import *
from .android.media_midi import *
from .android.media_projection import *
from .android.media_session import *
from .android.media_tv import *
from .android.mtp import *
from .android.opengl import *
from .android.print import *
from .android.renderscript import *
from .android.se import *
from .android.security import *
from .android.service_autofill import *
from .android.service_controls import *
from .android.service_dreams import *
from .android.service_notification import *
from .android.service_quicksettings import *
from .android.service_vr import *
from .android.service_wallpaper import *
from .android.sip import *
from .android.speech import *
from .android.system import *
from .android.telecom import *
from .android.test import *
from .android.transition import *
from .android.uwb import *
from .android.view_autofill import *
from .android.view_textclassifier import *
from .android.view_translation import *
# java.* 包
from .java.io import *
@@ -206,32 +248,111 @@ class TimerTask:
__version__ = "1.0.0"
__all__ = [
# android
"Intent", "Context", "Uri", "ContentValues", "ContentResolver",
"BroadcastReceiver", "IntentFilter", "SharedPreferences",
"PackageManager", "PackageInfo", "ActivityManager",
"Build", "Environment", "PowerManager", "BatteryManager",
"Bundle", "Handler", "Looper", "Message",
"View", "ViewGroup", "TextView", "EditText", "Button",
"ImageView", "ScrollView", "ListView", "Spinner",
"CheckBox", "Switch", "ProgressBar", "Toast",
"Bitmap", "BitmapFactory", "Canvas", "Color", "Paint",
"Rect", "RectF", "Matrix", "Typeface",
"PdfRenderer", "Drawable", "BitmapDrawable",
"ConnectivityManager", "NetworkInfo", "WifiManager",
"MediaPlayer", "AudioManager", "MediaRecorder",
"SensorManager", "CameraManager", "BiometricPrompt",
"LocationManager", "Location", "Geocoder",
"SQLiteDatabase", "SQLiteOpenHelper", "Cursor",
"Settings", "MediaStore", "ContactsContract", "CalendarContract",
"TelephonyManager", "SmsManager",
"BluetoothAdapter", "BluetoothDevice",
"TextUtils", "Html", "SpannableString",
"Log", "Base64", "TypedValue",
"AccessibilityNodeInfo", "AccessibilityService",
"Animation", "AlphaAnimation", "TranslateAnimation",
"ActivityManager",
"AlphaAnimation",
"Animation",
"AppWidgetManager", "AppWidgetProvider", "AppWidgetProviderInfo",
"AudioManager",
"AutofillManager", "AutofillValue",
"BackupAgent", "BackupManager",
"Base64",
"BatteryManager",
"BiometricPrompt",
"Bitmap", "BitmapDrawable", "BitmapFactory",
"BluetoothAdapter", "BluetoothDevice",
"BroadcastReceiver",
"Build",
"Bundle",
"Button",
"CalendarContract",
"Call",
"CameraManager",
"Canvas",
"CheckBox",
"Color",
"CompanionDeviceManager",
"ConnectivityManager",
"ContentResolver",
"ContentValues",
"ContactsContract",
"Context",
"CredentialManager",
"Cursor",
"DevicePolicyManager",
"DisplayManager",
"Drawable",
"EditText",
"Environment",
"FingerprintManager",
"Geocoder",
"Handler",
"Html",
"ImageView",
"InputDevice",
"InputManager",
"InputMethodManager",
"WebView",
"Intent",
"IntentFilter",
"JobInfo", "JobScheduler", "JobService",
"KeyChain",
"ListView",
"Location",
"LocationManager",
"Log",
"Looper",
"Matrix",
"MediaBrowser", "MediaController",
"MediaPlayer",
"MediaProjectionManager",
"MediaRecorder",
"MediaSession",
"MediaStore",
"Message",
"MidiDevice", "MidiManager",
"MtpDevice",
"NetworkInfo",
"Os", "OsConstants",
"PackageInfo", "PackageManager",
"Paint",
"PdfRenderer",
"PeopleManager",
"PowerManager",
"PrintAttributes", "PrintDocumentAdapter", "PrintManager",
"ProgressBar",
"Rect", "RectF",
"RoleManager",
"ScrollView",
"SensorManager",
"Settings",
"SharedPreferences",
"SmsManager",
"SpannableString",
"SpeechRecognizer",
"Spinner",
"SQLiteDatabase", "SQLiteOpenHelper",
"StructStat",
"Switch",
"TelecomManager",
"TelephonyManager",
"TextClassifier",
"TextToSpeech",
"TextUtils",
"TextView",
"Toast",
"TranslateAnimation",
"TranslationManager",
"TvInputManager",
"Typeface",
"TypedValue",
"Uri",
"UsageStatsManager",
"UsbDevice", "UsbManager",
"UwbManager",
"View", "ViewGroup",
"VirtualDisplay",
"WebView",
"WifiManager",
# java
"File", "FileInputStream", "FileOutputStream",
"BufferedReader", "BufferedWriter",