parent
ddec6d25eb
commit
3b1f671d61
@ -1,9 +1,18 @@ |
||||
package mirror.android.app; |
||||
|
||||
import android.content.pm.ProviderInfo; |
||||
import android.os.IInterface; |
||||
|
||||
import mirror.MirrorReflection; |
||||
|
||||
public class IActivityManager { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.app.IActivityManager"); |
||||
|
||||
public static MirrorReflection.MethodWrapper<Integer> startActivity = REF.method("startActivity"); |
||||
|
||||
public static class ContentProviderHolder { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.app.IActivityManager$ContentProviderHolder"); |
||||
public static MirrorReflection.FieldWrapper<ProviderInfo> info = REF.field("info"); |
||||
public static MirrorReflection.FieldWrapper<IInterface> provider = REF.field("provider"); |
||||
} |
||||
} |
||||
|
@ -0,0 +1,13 @@ |
||||
package mirror.android.app; |
||||
|
||||
import android.os.IBinder; |
||||
import android.os.IInterface; |
||||
|
||||
import mirror.MirrorReflection; |
||||
|
||||
public class IAlarmManager { |
||||
public static class Stub { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.app.IAlarmManager$Stub"); |
||||
public static MirrorReflection.StaticMethodWrapper<IInterface> asInterface = REF.staticMethod("asInterface", IBinder.class); |
||||
} |
||||
} |
@ -0,0 +1,13 @@ |
||||
package mirror.android.content; |
||||
|
||||
import android.content.pm.ProviderInfo; |
||||
import android.os.IInterface; |
||||
|
||||
import mirror.MirrorReflection; |
||||
|
||||
public class ContentProviderHolderOreo { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.app.ContentProviderHolder"); |
||||
|
||||
public static MirrorReflection.FieldWrapper<ProviderInfo> info = REF.field("info"); |
||||
public static MirrorReflection.FieldWrapper<IInterface> provider = REF.field("provider"); |
||||
} |
@ -0,0 +1,42 @@ |
||||
package mirror.android.providers; |
||||
|
||||
|
||||
import android.annotation.TargetApi; |
||||
import android.os.Build; |
||||
import android.os.IInterface; |
||||
|
||||
import mirror.MirrorReflection; |
||||
|
||||
public class Settings { |
||||
|
||||
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) |
||||
public static class Global { |
||||
public static final MirrorReflection REF = MirrorReflection.on(android.provider.Settings.Global.class); |
||||
public static MirrorReflection.FieldWrapper<Object> sNameValueCache = REF.field("sNameValueCache"); |
||||
} |
||||
|
||||
public static class NameValueCache { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.provider.Settings$NameValueCache"); |
||||
public static MirrorReflection.FieldWrapper<Object> mContentProvider = REF.field("mContentProvider"); |
||||
} |
||||
|
||||
public static class NameValueCacheOreo { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.provider.Settings$NameValueCache"); |
||||
public static MirrorReflection.FieldWrapper<Object> mProviderHolder = REF.field("mProviderHolder"); |
||||
} |
||||
|
||||
public static class ContentProviderHolder { |
||||
public static final MirrorReflection REF = MirrorReflection.on("android.provider.Settings$ContentProviderHolder"); |
||||
public static MirrorReflection.FieldWrapper<IInterface> mContentProvider = REF.field("mContentProvider"); |
||||
} |
||||
|
||||
public static class Secure { |
||||
public static final MirrorReflection REF = MirrorReflection.on(android.provider.Settings.Secure.class); |
||||
public static MirrorReflection.FieldWrapper<Object> sNameValueCache = REF.field("sNameValueCache"); |
||||
} |
||||
|
||||
public static class System { |
||||
public static final MirrorReflection REF = MirrorReflection.on(android.provider.Settings.System.class); |
||||
public static MirrorReflection.FieldWrapper<Object> sNameValueCache = REF.field("sNameValueCache"); |
||||
} |
||||
} |
Loading…
Reference in new issue