forked from CodingGay/BlackDex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
507 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Bcore/black-fake/src/main/java/mirror/android/app/IActivityManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Bcore/black-fake/src/main/java/mirror/android/app/IAlarmManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Bcore/black-fake/src/main/java/mirror/android/content/ContentProviderHolderOreo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"); | ||
} |
Oops, something went wrong.