package io.github.lsposed.lspd;

import io.github.lsposed.lspd.utils.ParceledListSlice;
import io.github.lsposed.lspd.Application;


interface ILSPManagerService {
    ParceledListSlice<PackageInfo> getInstalledPackagesFromAllUsers(int flags) = 2;

    String[] enabledModules() = 3;

    boolean enableModule(String packageName) = 4;

    boolean disableModule(String packageName) = 5;

    boolean setModuleScope(String packageName, in ParceledListSlice<Application> scope) = 6;

    ParceledListSlice<Application> getModuleScope(String packageName) = 7;

    boolean isResourceHook() = 9;

    void setResourceHook(boolean enabled) = 10;

    boolean isVerboseLog() = 11;

    void setVerboseLog(boolean enabled) = 12;

    int getVariant() = 13;

    void setVariant(int variant) = 14;

    boolean isPermissive() = 15;

    ParcelFileDescriptor getVerboseLog() = 16;

    ParcelFileDescriptor getModulesLog() = 17;

    int getXposedVersionCode() = 18;

    String getXposedVersionName() = 19;

    int getXposedApiVersion() = 20;

    boolean clearLogs(boolean verbose) = 21;
}
