-
Notifications
You must be signed in to change notification settings - Fork 20
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
26 changed files
with
33 additions
and
346 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package $android.provider; | ||
|
||
import android.content.ContentResolver; | ||
|
||
public class Settings$Secure { | ||
public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { | ||
throw new IllegalArgumentException("Stub!"); | ||
} | ||
} |
15 changes: 0 additions & 15 deletions
15
hideapi/src/main/java/android/app/ActivityManagerNative.java
This file was deleted.
Oops, something went wrong.
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,14 +1,11 @@ | ||
package android.app; | ||
|
||
import android.content.pm.IPackageManager; | ||
|
||
public class ActivityThread { | ||
static volatile IPackageManager sPackageManager; | ||
|
||
private ContextImpl mSystemContext; | ||
private ContextImpl mSystemUiContext; | ||
public static ActivityThread currentActivityThread() { | ||
throw new IllegalArgumentException("Stub!"); | ||
} | ||
|
||
public static ActivityThread currentActivityThread() { throw new IllegalArgumentException("Stub!"); } | ||
public ContextImpl getSystemContext() { throw new IllegalArgumentException("Stub!"); } | ||
public static Application currentApplication() { throw new IllegalArgumentException("Stub!"); } | ||
public ContextImpl getSystemContext() { | ||
throw new IllegalArgumentException("Stub!"); | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
hideapi/src/main/java/android/content/pm/BaseParceledListSlice.java
This file was deleted.
Oops, something went wrong.
15 changes: 5 additions & 10 deletions
15
hideapi/src/main/java/android/content/pm/IPackageManager.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,26 +1,21 @@ | ||
package android.content.pm; | ||
|
||
import android.content.Intent; | ||
import android.os.Binder; | ||
import android.os.IBinder; | ||
import android.os.IInterface; | ||
import android.os.RemoteException; | ||
|
||
public interface IPackageManager extends IInterface { | ||
abstract class Stub extends Binder implements IPackageManager { | ||
static int TRANSACTION_queryIntentActivities = -1; | ||
int getPackageUid(String packageName, int flags, int userId) throws RemoteException; | ||
|
||
@Override | ||
public IBinder asBinder() { | ||
abstract class Stub extends Binder implements IPackageManager { | ||
public static IPackageManager asInterface(IBinder binder) { | ||
throw new IllegalArgumentException("Stub!"); | ||
} | ||
|
||
public static IPackageManager asInterface(IBinder binder) { | ||
@Override | ||
public IBinder asBinder() { | ||
throw new IllegalArgumentException("Stub!"); | ||
} | ||
} | ||
|
||
ParceledListSlice<ResolveInfo> queryIntentActivities(Intent intent, String resolvedType, int flags, int userId) throws RemoteException; | ||
String[] getPackagesForUid(int uid) throws RemoteException; | ||
int getPackageUid(String packageName, int flags, int userId) throws RemoteException; | ||
} |
16 changes: 0 additions & 16 deletions
16
hideapi/src/main/java/android/content/pm/ParceledListSlice.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,22 +1,4 @@ | ||
package android.os; | ||
|
||
public interface IServiceManager extends IInterface { | ||
// Pie | ||
IBinder getService(String name) throws RemoteException; | ||
|
||
IBinder checkService(String name) throws RemoteException; | ||
|
||
void addService(String name, IBinder service, boolean allowIsolated, int dumpFlags) | ||
throws RemoteException; | ||
|
||
String[] listServices(int dumpFlags) throws RemoteException; | ||
|
||
void setPermissionController(IPermissionController controller) | ||
throws RemoteException; | ||
|
||
// Oreo | ||
void addService(String name, IBinder service, boolean allowIsolated) | ||
throws RemoteException; | ||
|
||
String[] listServices() throws RemoteException; | ||
} |
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
49 changes: 0 additions & 49 deletions
49
hideapi/src/main/java/android/os/ServiceManagerNative.java
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
hideapi/src/main/java/com/android/internal/app/IAppOpsService.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
hideapi/src/main/java/com/android/internal/policy/PhoneLayoutInflater.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.