Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: New Dexkit cache (Reduce the time required to search again) #646

Merged
merged 28 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d317fcc
新增: DexKit 缓存
HChenX May 17, 2024
9d5e660
优化:版本号判断更新数据
HChenX May 17, 2024
2e232ff
优化:提供 dexkit cache 使用模板,注明注释。
HChenX May 17, 2024
3af0b69
优化: dexkit cache 支持不写入缓存模式,调试时可选择不写入缓存;支持删除指定数据条目。
HChenX May 21, 2024
afb6dcc
优化: dexkit cache 支持不写入缓存模式,调试时可选择不写入缓存;支持删除指定数据条目。
HChenX May 21, 2024
d8004dd
优化:阿巴阿巴
HChenX May 21, 2024
920f5f7
opt: some clazz use dexkit cache
Sevtinge May 21, 2024
7c9075c
优化:getDexKitBridge 单个结果使用泛型返回,可免除调用时显性类型转换(测试)
HChenX May 22, 2024
58fba4d
优化:目标软件更新后,直接删除存在的缓存。
HChenX May 22, 2024
603b6ea
优化:优化代码执行效率
HChenX May 22, 2024
ca2e24f
优化:优化 kt 调用,完善代码!!!
HChenX May 24, 2024
068de8a
优化:小调整
HChenX May 25, 2024
0f34aab
Merge remote-tracking branch 'origin/main' into dexkit
HChenX May 25, 2024
094211e
Merge remote-tracking branch 'origin/main' into dexkit
HChenX May 25, 2024
e35d062
dexkit cache to kt, 完善 kt 调用工具类
lingqiqi5211 May 25, 2024
d11fd91
Merge branch 'dexkit' of https://github.com/saraSakuHj/HyperCeiler in…
lingqiqi5211 May 25, 2024
de80461
fix boom 1
lingqiqi5211 May 25, 2024
f1d4110
fix boom 2
lingqiqi5211 May 25, 2024
adec2aa
fix boom 3
lingqiqi5211 May 25, 2024
ddb2dbc
修复: 完善对基本类型支持
HChenX May 25, 2024
c89062e
修复: 完善对基本类型支持
HChenX May 25, 2024
3894d41
修复: 英语单词拼写错误
HChenX May 25, 2024
f911a81
优化: 添加必要注解
HChenX May 28, 2024
cf3986c
优化: 尝试修复
HChenX May 28, 2024
5b21add
优化: 尝试修复
HChenX May 28, 2024
97a2acb
优化: trim字符
HChenX May 28, 2024
e868b80
fix boom 4
lingqiqi5211 May 28, 2024
96e2367
Merge remote-tracking branch 'origin/main' into dexkit
HChenX May 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class Browser extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(DebugMode.INSTANCE, mPrefsMap.getBoolean("browser_debug_mode"));
initHook(new DebugMode(), mPrefsMap.getBoolean("browser_debug_mode"));
initHook(new DisableReadFiles(), mPrefsMap.getBoolean("browser_disable_blacklist"));
initHook(new EnableDebugEnvironment(), mPrefsMap.getBoolean("browser_enable_debug_environment"));
initHook(UnlockSuperClipboard.INSTANCE, mPrefsMap.getStringAsInt("various_super_clipboard_e", 0) != 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
public class GuardProvider extends BaseModule {
@Override
public void handleLoadPackage() {
initHook(DisableUploadAppListNew.INSTANCE, mPrefsMap.getBoolean("disable_upload_applist"));
initHook(new DisableUploadAppListNew(), mPrefsMap.getBoolean("disable_upload_applist"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Joyose extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(DisableCloudControl.INSTANCE, mPrefsMap.getBoolean("various_disable_cloud_control"));
initHook(EnableGpuTuner.INSTANCE, mPrefsMap.getBoolean("joyose_enable_gpu_tuner"));
initHook(new DisableCloudControl(), mPrefsMap.getBoolean("various_disable_cloud_control"));
initHook(new EnableGpuTuner(), mPrefsMap.getBoolean("joyose_enable_gpu_tuner"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public class MiCloudService extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(CloudList.INSTANCE, mPrefsMap.getBoolean("micloud_service_list"));
initHook(new CloudList(), mPrefsMap.getBoolean("micloud_service_list"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class MiShare extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(NoAutoTurnOff.INSTANCE); // 禁用 10 分钟自动关闭
initHook(UnlockTurboMode.INSTANCE); // 解锁极速传输模式
initHook(NoAutoTurnOff.INSTANCE, mPrefsMap.getBoolean("disable_mishare_auto_off")); // 禁用 10 分钟自动关闭
initHook(UnlockTurboMode.INSTANCE, mPrefsMap.getBoolean("unlock_turbo_mode")); // 解锁极速传输模式
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import com.sevtinge.hyperceiler.module.base.BaseModule;
import com.sevtinge.hyperceiler.module.base.HookExpand;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.AllAsSystemApp;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.DisableAD;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.DisableAd;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.DisableAppInfoUpload;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.DisableCountChecking;
import com.sevtinge.hyperceiler.module.hook.packageinstaller.DisableSafeModelTip;
Expand All @@ -40,7 +40,7 @@ public void handleLoadPackage() {
/*initHook(new MiuiPackageInstallModify(), mPrefsMap.getBoolean("miui_package_installer_modify"));*/

// 禁用广告
initHook(DisableAD.INSTANCE, mPrefsMap.getBoolean("miui_package_installer_disable_ad"));
initHook(new DisableAd(), mPrefsMap.getBoolean("miui_package_installer_disable_ad"));

// 禁用风险检测
initHook(InstallRiskDisable.INSTANCE, mPrefsMap.getBoolean("miui_package_installer_install_risk"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class PowerKeeper extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(CustomRefreshRate.INSTANCE, mPrefsMap.getBoolean("various_custom_refresh_rate"));
initHook(new CustomRefreshRate(), mPrefsMap.getBoolean("various_custom_refresh_rate"));
initHook(new DisableGetDisplayCtrlCode(), mPrefsMap.getBoolean("powerkeeper_disable_get_display_ctrl_code"));
initHook(LockMaxFps.INSTANCE, mPrefsMap.getBoolean("powerkeeper_lock_max_fps"));
initHook(DontKillApps.INSTANCE, mPrefsMap.getBoolean("powerkeeper_do_not_kill_apps"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ScreenRecorder extends BaseModule {
public void handleLoadPackage() {
initHook(new ForceSupportPlaybackCapture(), mPrefsMap.getBoolean("screenrecorder_force_support_playback_capture"));
initHook(UnlockMoreVolumeFromNew.INSTANCE, mPrefsMap.getBoolean("screenrecorder_more_volume"));
initHook(ScreenRecorderConfig.INSTANCE, mPrefsMap.getBoolean("screenrecorder_config"));
initHook(new ScreenRecorderConfig(), mPrefsMap.getBoolean("screenrecorder_config"));
initHook(SaveToMovies.INSTANCE, mPrefsMap.getBoolean("screenrecorder_save_to_movies"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ScreenShot extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(UnlockMinimumCropLimit.INSTANCE, mPrefsMap.getBoolean("screenshot_unlock_minimum_crop_limit"));
initHook(new UnlockMinimumCropLimit(), mPrefsMap.getBoolean("screenshot_unlock_minimum_crop_limit"));
initHook(SaveToPictures.INSTANCE, mPrefsMap.getBoolean("screenshot_save_to_pictures"));
initHook(DeviceShellCustomize.INSTANCE, !TextUtils.isEmpty(mPrefsMap.getString("screenshot_device_customize", "")));
initHook(UnlockPrivacyMarking.INSTANCE, mPrefsMap.getBoolean("screenshot_unlock_privacy_marking"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void handleLoadPackage() {
initHook(ShowBatteryTemperatureNew.INSTANCE, mPrefsMap.getBoolean("security_center_show_battery_temperature"));
initHook(UnlockSuperWirelessCharge.INSTANCE, mPrefsMap.getBoolean("security_center_super_wireless_charge"));
initHook(ScreenUsedTime.INSTANCE, mPrefsMap.getBoolean("security_center_unlock_screen_time"));
initHook(UnlockSmartCharge.INSTANCE, mPrefsMap.getBoolean("security_center_unlock_smart_charge"));
initHook(new UnlockSmartCharge(), mPrefsMap.getBoolean("security_center_unlock_smart_charge"));
initHook(BatteryHealth.INSTANCE, mPrefsMap.getBoolean("security_center_show_battery_health"));

// 隐私保护
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class VoiceAssist extends BaseModule {

@Override
public void handleLoadPackage() {
initHook(UseThirdPartyBrowser.INSTANCE, mPrefsMap.getBoolean("content_extension_browser"));
initHook(new UseThirdPartyBrowser(), mPrefsMap.getBoolean("content_extension_browser"));
initHook(new DisableChatWatermark(), mPrefsMap.getBoolean("voiceassist_disable_watermark"));
}
}
Loading