mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Fix tests disrupted by re-modelling and stubbing Android 9:
* Account for changed dataflow graph shape using external flow * Account for BaseBundle only existing as of Android 5 * Properly implement Parcelable, which we previously got away with due to a partial stub * Restore an Android 11 function that had been added to the Android 9 Context class (I won't get into enforcing the difference in this PR)
This commit is contained in:
@@ -221,10 +221,12 @@ class CreateFromParcelMethod extends Method {
|
||||
|
||||
private class TaintPropagationModels extends SummaryModelCsv {
|
||||
override predicate row(string s) {
|
||||
// BaseBundle getters
|
||||
// BaseBundle getters. These are also modelled on Bundle because BaseBundle was factored out of Bundle
|
||||
// in Android 5.0; before that these methods were declared directly on Bundle.
|
||||
s =
|
||||
"android.os;BaseBundle;true;get" + ["Boolean", "Double", "Int", "Long", "String"] +
|
||||
["", "Array"] + ";;;Argument[-1];ReturnValue;taint"
|
||||
"android.os;" + ["BaseBundle", "Bundle"] + ";true;get" +
|
||||
["Boolean", "Double", "Int", "Long", "String"] + ["", "Array"] +
|
||||
";;;Argument[-1];ReturnValue;taint"
|
||||
or
|
||||
// Bundle getters
|
||||
s =
|
||||
|
||||
@@ -21,6 +21,9 @@ public class ParcelableEntity implements Parcelable {
|
||||
parcel.writeString(GSON.toJson(obj));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() { return 0; }
|
||||
|
||||
public static final Parcelable.Creator CREATOR = new Creator<ParcelableEntity>() {
|
||||
@Override
|
||||
public ParcelableEntity createFromParcel(Parcel parcel) {
|
||||
|
||||
51
java/ql/test/stubs/google-android-9.0.0/android/content/ClipData.java
generated
Normal file
51
java/ql/test/stubs/google-android-9.0.0/android/content/ClipData.java
generated
Normal file
@@ -0,0 +1,51 @@
|
||||
// Generated automatically from android.content.ClipData for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ClipDescription;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ClipData implements Parcelable
|
||||
{
|
||||
protected ClipData() {}
|
||||
public ClipData(CharSequence p0, String[] p1, ClipData.Item p2){}
|
||||
public ClipData(ClipData p0){}
|
||||
public ClipData(ClipDescription p0, ClipData.Item p1){}
|
||||
public ClipData.Item getItemAt(int p0){ return null; }
|
||||
public ClipDescription getDescription(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getItemCount(){ return 0; }
|
||||
public static ClipData newHtmlText(CharSequence p0, CharSequence p1, String p2){ return null; }
|
||||
public static ClipData newIntent(CharSequence p0, Intent p1){ return null; }
|
||||
public static ClipData newPlainText(CharSequence p0, CharSequence p1){ return null; }
|
||||
public static ClipData newRawUri(CharSequence p0, Uri p1){ return null; }
|
||||
public static ClipData newUri(ContentResolver p0, CharSequence p1, Uri p2){ return null; }
|
||||
public static Parcelable.Creator<ClipData> CREATOR = null;
|
||||
public void addItem(ClipData.Item p0){}
|
||||
public void addItem(ContentResolver p0, ClipData.Item p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class Item
|
||||
{
|
||||
protected Item() {}
|
||||
public CharSequence coerceToStyledText(Context p0){ return null; }
|
||||
public CharSequence coerceToText(Context p0){ return null; }
|
||||
public CharSequence getText(){ return null; }
|
||||
public Intent getIntent(){ return null; }
|
||||
public Item(CharSequence p0){}
|
||||
public Item(CharSequence p0, Intent p1, Uri p2){}
|
||||
public Item(CharSequence p0, String p1){}
|
||||
public Item(CharSequence p0, String p1, Intent p2, Uri p3){}
|
||||
public Item(Intent p0){}
|
||||
public Item(Uri p0){}
|
||||
public String coerceToHtmlText(Context p0){ return null; }
|
||||
public String getHtmlText(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
}
|
||||
}
|
||||
31
java/ql/test/stubs/google-android-9.0.0/android/content/ClipDescription.java
generated
Normal file
31
java/ql/test/stubs/google-android-9.0.0/android/content/ClipDescription.java
generated
Normal file
@@ -0,0 +1,31 @@
|
||||
// Generated automatically from android.content.ClipDescription for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PersistableBundle;
|
||||
|
||||
public class ClipDescription implements Parcelable
|
||||
{
|
||||
protected ClipDescription() {}
|
||||
public CharSequence getLabel(){ return null; }
|
||||
public ClipDescription(CharSequence p0, String[] p1){}
|
||||
public ClipDescription(ClipDescription p0){}
|
||||
public PersistableBundle getExtras(){ return null; }
|
||||
public String getMimeType(int p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public String[] filterMimeTypes(String p0){ return null; }
|
||||
public boolean hasMimeType(String p0){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getMimeTypeCount(){ return 0; }
|
||||
public long getTimestamp(){ return 0; }
|
||||
public static Parcelable.Creator<ClipDescription> CREATOR = null;
|
||||
public static String MIMETYPE_TEXT_HTML = null;
|
||||
public static String MIMETYPE_TEXT_INTENT = null;
|
||||
public static String MIMETYPE_TEXT_PLAIN = null;
|
||||
public static String MIMETYPE_TEXT_URILIST = null;
|
||||
public static boolean compareMimeTypes(String p0, String p1){ return false; }
|
||||
public void setExtras(PersistableBundle p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
11
java/ql/test/stubs/google-android-9.0.0/android/content/ComponentCallbacks.java
generated
Normal file
11
java/ql/test/stubs/google-android-9.0.0/android/content/ComponentCallbacks.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from android.content.ComponentCallbacks for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.res.Configuration;
|
||||
|
||||
public interface ComponentCallbacks
|
||||
{
|
||||
void onConfigurationChanged(Configuration p0);
|
||||
void onLowMemory();
|
||||
}
|
||||
17
java/ql/test/stubs/google-android-9.0.0/android/content/ComponentCallbacks2.java
generated
Normal file
17
java/ql/test/stubs/google-android-9.0.0/android/content/ComponentCallbacks2.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from android.content.ComponentCallbacks2 for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ComponentCallbacks;
|
||||
|
||||
public interface ComponentCallbacks2 extends ComponentCallbacks
|
||||
{
|
||||
static int TRIM_MEMORY_BACKGROUND = 0;
|
||||
static int TRIM_MEMORY_COMPLETE = 0;
|
||||
static int TRIM_MEMORY_MODERATE = 0;
|
||||
static int TRIM_MEMORY_RUNNING_CRITICAL = 0;
|
||||
static int TRIM_MEMORY_RUNNING_LOW = 0;
|
||||
static int TRIM_MEMORY_RUNNING_MODERATE = 0;
|
||||
static int TRIM_MEMORY_UI_HIDDEN = 0;
|
||||
void onTrimMemory(int p0);
|
||||
}
|
||||
46
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderClient.java
generated
Normal file
46
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderClient.java
generated
Normal file
@@ -0,0 +1,46 @@
|
||||
// Generated automatically from android.content.ContentProviderClient for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.CancellationSignal;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class ContentProviderClient implements AutoCloseable
|
||||
{
|
||||
protected void finalize(){}
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1){ return null; }
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public Bundle call(String p0, String p1, Bundle p2){ return null; }
|
||||
public Bundle call(String p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public ContentProvider getLocalContentProvider(){ return null; }
|
||||
public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> p0){ return null; }
|
||||
public ContentProviderResult[] applyBatch(String p0, ArrayList<ContentProviderOperation> p1){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4, CancellationSignal p5){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public String getType(Uri p0){ return null; }
|
||||
public String[] getStreamTypes(Uri p0, String p1){ return null; }
|
||||
public Uri insert(Uri p0, ContentValues p1){ return null; }
|
||||
public boolean refresh(Uri p0, Bundle p1, CancellationSignal p2){ return false; }
|
||||
public boolean release(){ return false; }
|
||||
public final AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Uri canonicalize(Uri p0){ return null; }
|
||||
public final Uri uncanonicalize(Uri p0){ return null; }
|
||||
public int bulkInsert(Uri p0, ContentValues[] p1){ return 0; }
|
||||
public int delete(Uri p0, String p1, String[] p2){ return 0; }
|
||||
public int update(Uri p0, ContentValues p1, String p2, String[] p3){ return 0; }
|
||||
public void close(){}
|
||||
}
|
||||
47
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderOperation.java
generated
Normal file
47
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderOperation.java
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
// Generated automatically from android.content.ContentProviderOperation for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ContentProviderOperation implements Parcelable
|
||||
{
|
||||
protected ContentProviderOperation() {}
|
||||
public ContentProviderResult apply(ContentProvider p0, ContentProviderResult[] p1, int p2){ return null; }
|
||||
public ContentValues resolveValueBackReferences(ContentProviderResult[] p0, int p1){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public String[] resolveSelectionArgsBackReferences(ContentProviderResult[] p0, int p1){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
public boolean isAssertQuery(){ return false; }
|
||||
public boolean isDelete(){ return false; }
|
||||
public boolean isInsert(){ return false; }
|
||||
public boolean isReadOperation(){ return false; }
|
||||
public boolean isUpdate(){ return false; }
|
||||
public boolean isWriteOperation(){ return false; }
|
||||
public boolean isYieldAllowed(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public static ContentProviderOperation.Builder newAssertQuery(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newDelete(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newInsert(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newUpdate(Uri p0){ return null; }
|
||||
public static Parcelable.Creator<ContentProviderOperation> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class Builder
|
||||
{
|
||||
protected Builder() {}
|
||||
public ContentProviderOperation build(){ return null; }
|
||||
public ContentProviderOperation.Builder withExpectedCount(int p0){ return null; }
|
||||
public ContentProviderOperation.Builder withSelection(String p0, String[] p1){ return null; }
|
||||
public ContentProviderOperation.Builder withSelectionBackReference(int p0, int p1){ return null; }
|
||||
public ContentProviderOperation.Builder withValue(String p0, Object p1){ return null; }
|
||||
public ContentProviderOperation.Builder withValueBackReference(String p0, int p1){ return null; }
|
||||
public ContentProviderOperation.Builder withValueBackReferences(ContentValues p0){ return null; }
|
||||
public ContentProviderOperation.Builder withValues(ContentValues p0){ return null; }
|
||||
public ContentProviderOperation.Builder withYieldAllowed(boolean p0){ return null; }
|
||||
}
|
||||
}
|
||||
21
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderResult.java
generated
Normal file
21
java/ql/test/stubs/google-android-9.0.0/android/content/ContentProviderResult.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from android.content.ContentProviderResult for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ContentProviderResult implements Parcelable
|
||||
{
|
||||
protected ContentProviderResult() {}
|
||||
public ContentProviderResult(Parcel p0){}
|
||||
public ContentProviderResult(Uri p0){}
|
||||
public ContentProviderResult(int p0){}
|
||||
public String toString(){ return null; }
|
||||
public final Integer count = null;
|
||||
public final Uri uri = null;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<ContentProviderResult> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
148
java/ql/test/stubs/google-android-9.0.0/android/content/ContentResolver.java
generated
Normal file
148
java/ql/test/stubs/google-android-9.0.0/android/content/ContentResolver.java
generated
Normal file
@@ -0,0 +1,148 @@
|
||||
// Generated automatically from android.content.ContentResolver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderClient;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.PeriodicSync;
|
||||
import android.content.SyncAdapterType;
|
||||
import android.content.SyncInfo;
|
||||
import android.content.SyncRequest;
|
||||
import android.content.SyncStatusObserver;
|
||||
import android.content.UriPermission;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.database.ContentObserver;
|
||||
import android.database.Cursor;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.Icon;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.CancellationSignal;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.util.Size;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
abstract public class ContentResolver
|
||||
{
|
||||
protected ContentResolver() {}
|
||||
public Bitmap loadThumbnail(Uri p0, Size p1, CancellationSignal p2){ return null; }
|
||||
public ContentProviderResult[] applyBatch(String p0, ArrayList<ContentProviderOperation> p1){ return null; }
|
||||
public ContentResolver(Context p0){}
|
||||
public List<UriPermission> getOutgoingPersistedUriPermissions(){ return null; }
|
||||
public List<UriPermission> getPersistedUriPermissions(){ return null; }
|
||||
public String[] getStreamTypes(Uri p0, String p1){ return null; }
|
||||
public final AssetFileDescriptor openAssetFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final AssetFileDescriptor openAssetFileDescriptor(Uri p0, String p1){ return null; }
|
||||
public final AssetFileDescriptor openAssetFileDescriptor(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Bundle call(String p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public final Bundle call(Uri p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public final ContentProviderClient acquireContentProviderClient(String p0){ return null; }
|
||||
public final ContentProviderClient acquireContentProviderClient(Uri p0){ return null; }
|
||||
public final ContentProviderClient acquireUnstableContentProviderClient(String p0){ return null; }
|
||||
public final ContentProviderClient acquireUnstableContentProviderClient(Uri p0){ return null; }
|
||||
public final ContentResolver.MimeTypeInfo getTypeInfo(String p0){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4, CancellationSignal p5){ return null; }
|
||||
public final InputStream openInputStream(Uri p0){ return null; }
|
||||
public final OutputStream openOutputStream(Uri p0){ return null; }
|
||||
public final OutputStream openOutputStream(Uri p0, String p1){ return null; }
|
||||
public final ParcelFileDescriptor openFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final ParcelFileDescriptor openFileDescriptor(Uri p0, String p1){ return null; }
|
||||
public final ParcelFileDescriptor openFileDescriptor(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final String getType(Uri p0){ return null; }
|
||||
public final Uri canonicalize(Uri p0){ return null; }
|
||||
public final Uri insert(Uri p0, ContentValues p1){ return null; }
|
||||
public final Uri uncanonicalize(Uri p0){ return null; }
|
||||
public final boolean refresh(Uri p0, Bundle p1, CancellationSignal p2){ return false; }
|
||||
public final int bulkInsert(Uri p0, ContentValues[] p1){ return 0; }
|
||||
public final int delete(Uri p0, String p1, String[] p2){ return 0; }
|
||||
public final int update(Uri p0, ContentValues p1, String p2, String[] p3){ return 0; }
|
||||
public final void registerContentObserver(Uri p0, boolean p1, ContentObserver p2){}
|
||||
public final void unregisterContentObserver(ContentObserver p0){}
|
||||
public static ContentResolver wrap(ContentProvider p0){ return null; }
|
||||
public static ContentResolver wrap(ContentProviderClient p0){ return null; }
|
||||
public static List<PeriodicSync> getPeriodicSyncs(Account p0, String p1){ return null; }
|
||||
public static List<SyncInfo> getCurrentSyncs(){ return null; }
|
||||
public static Object addStatusChangeListener(int p0, SyncStatusObserver p1){ return null; }
|
||||
public static String ANY_CURSOR_ITEM_TYPE = null;
|
||||
public static String CURSOR_DIR_BASE_TYPE = null;
|
||||
public static String CURSOR_ITEM_BASE_TYPE = null;
|
||||
public static String EXTRA_HONORED_ARGS = null;
|
||||
public static String EXTRA_REFRESH_SUPPORTED = null;
|
||||
public static String EXTRA_SIZE = null;
|
||||
public static String EXTRA_TOTAL_COUNT = null;
|
||||
public static String QUERY_ARG_LIMIT = null;
|
||||
public static String QUERY_ARG_OFFSET = null;
|
||||
public static String QUERY_ARG_SORT_COLLATION = null;
|
||||
public static String QUERY_ARG_SORT_COLUMNS = null;
|
||||
public static String QUERY_ARG_SORT_DIRECTION = null;
|
||||
public static String QUERY_ARG_SQL_SELECTION = null;
|
||||
public static String QUERY_ARG_SQL_SELECTION_ARGS = null;
|
||||
public static String QUERY_ARG_SQL_SORT_ORDER = null;
|
||||
public static String SCHEME_ANDROID_RESOURCE = null;
|
||||
public static String SCHEME_CONTENT = null;
|
||||
public static String SCHEME_FILE = null;
|
||||
public static String SYNC_EXTRAS_ACCOUNT = null;
|
||||
public static String SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS = null;
|
||||
public static String SYNC_EXTRAS_DO_NOT_RETRY = null;
|
||||
public static String SYNC_EXTRAS_EXPEDITED = null;
|
||||
public static String SYNC_EXTRAS_FORCE = null;
|
||||
public static String SYNC_EXTRAS_IGNORE_BACKOFF = null;
|
||||
public static String SYNC_EXTRAS_IGNORE_SETTINGS = null;
|
||||
public static String SYNC_EXTRAS_INITIALIZE = null;
|
||||
public static String SYNC_EXTRAS_MANUAL = null;
|
||||
public static String SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS = null;
|
||||
public static String SYNC_EXTRAS_REQUIRE_CHARGING = null;
|
||||
public static String SYNC_EXTRAS_UPLOAD = null;
|
||||
public static SyncAdapterType[] getSyncAdapterTypes(){ return null; }
|
||||
public static SyncInfo getCurrentSync(){ return null; }
|
||||
public static boolean getMasterSyncAutomatically(){ return false; }
|
||||
public static boolean getSyncAutomatically(Account p0, String p1){ return false; }
|
||||
public static boolean isSyncActive(Account p0, String p1){ return false; }
|
||||
public static boolean isSyncPending(Account p0, String p1){ return false; }
|
||||
public static int NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS = 0;
|
||||
public static int NOTIFY_SYNC_TO_NETWORK = 0;
|
||||
public static int QUERY_SORT_DIRECTION_ASCENDING = 0;
|
||||
public static int QUERY_SORT_DIRECTION_DESCENDING = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_ACTIVE = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_PENDING = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_SETTINGS = 0;
|
||||
public static int getIsSyncable(Account p0, String p1){ return 0; }
|
||||
public static void addPeriodicSync(Account p0, String p1, Bundle p2, long p3){}
|
||||
public static void cancelSync(Account p0, String p1){}
|
||||
public static void cancelSync(SyncRequest p0){}
|
||||
public static void removePeriodicSync(Account p0, String p1, Bundle p2){}
|
||||
public static void removeStatusChangeListener(Object p0){}
|
||||
public static void requestSync(Account p0, String p1, Bundle p2){}
|
||||
public static void requestSync(SyncRequest p0){}
|
||||
public static void setIsSyncable(Account p0, String p1, int p2){}
|
||||
public static void setMasterSyncAutomatically(boolean p0){}
|
||||
public static void setSyncAutomatically(Account p0, String p1, boolean p2){}
|
||||
public static void validateSyncExtrasBundle(Bundle p0){}
|
||||
public void cancelSync(Uri p0){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1, boolean p2){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1, int p2){}
|
||||
public void releasePersistableUriPermission(Uri p0, int p1){}
|
||||
public void startSync(Uri p0, Bundle p1){}
|
||||
public void takePersistableUriPermission(Uri p0, int p1){}
|
||||
static public class MimeTypeInfo
|
||||
{
|
||||
protected MimeTypeInfo() {}
|
||||
public CharSequence getContentDescription(){ return null; }
|
||||
public CharSequence getLabel(){ return null; }
|
||||
public Icon getIcon(){ return null; }
|
||||
}
|
||||
}
|
||||
104
java/ql/test/stubs/google-android-9.0.0/android/content/IntentFilter.java
generated
Normal file
104
java/ql/test/stubs/google-android-9.0.0/android/content/IntentFilter.java
generated
Normal file
@@ -0,0 +1,104 @@
|
||||
// Generated automatically from android.content.IntentFilter for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PatternMatcher;
|
||||
import android.util.AndroidException;
|
||||
import android.util.Printer;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
import org.xmlpull.v1.XmlSerializer;
|
||||
|
||||
public class IntentFilter implements Parcelable
|
||||
{
|
||||
public IntentFilter(){}
|
||||
public IntentFilter(IntentFilter p0){}
|
||||
public IntentFilter(String p0){}
|
||||
public IntentFilter(String p0, String p1){}
|
||||
public final IntentFilter.AuthorityEntry getDataAuthority(int p0){ return null; }
|
||||
public final Iterator<IntentFilter.AuthorityEntry> authoritiesIterator(){ return null; }
|
||||
public final Iterator<PatternMatcher> pathsIterator(){ return null; }
|
||||
public final Iterator<PatternMatcher> schemeSpecificPartsIterator(){ return null; }
|
||||
public final Iterator<String> actionsIterator(){ return null; }
|
||||
public final Iterator<String> categoriesIterator(){ return null; }
|
||||
public final Iterator<String> schemesIterator(){ return null; }
|
||||
public final Iterator<String> typesIterator(){ return null; }
|
||||
public final PatternMatcher getDataPath(int p0){ return null; }
|
||||
public final PatternMatcher getDataSchemeSpecificPart(int p0){ return null; }
|
||||
public final String getAction(int p0){ return null; }
|
||||
public final String getCategory(int p0){ return null; }
|
||||
public final String getDataScheme(int p0){ return null; }
|
||||
public final String getDataType(int p0){ return null; }
|
||||
public final String matchCategories(Set<String> p0){ return null; }
|
||||
public final boolean hasAction(String p0){ return false; }
|
||||
public final boolean hasCategory(String p0){ return false; }
|
||||
public final boolean hasDataAuthority(Uri p0){ return false; }
|
||||
public final boolean hasDataPath(String p0){ return false; }
|
||||
public final boolean hasDataScheme(String p0){ return false; }
|
||||
public final boolean hasDataSchemeSpecificPart(String p0){ return false; }
|
||||
public final boolean hasDataType(String p0){ return false; }
|
||||
public final boolean matchAction(String p0){ return false; }
|
||||
public final int countActions(){ return 0; }
|
||||
public final int countCategories(){ return 0; }
|
||||
public final int countDataAuthorities(){ return 0; }
|
||||
public final int countDataPaths(){ return 0; }
|
||||
public final int countDataSchemeSpecificParts(){ return 0; }
|
||||
public final int countDataSchemes(){ return 0; }
|
||||
public final int countDataTypes(){ return 0; }
|
||||
public final int describeContents(){ return 0; }
|
||||
public final int getPriority(){ return 0; }
|
||||
public final int match(ContentResolver p0, Intent p1, boolean p2, String p3){ return 0; }
|
||||
public final int match(String p0, String p1, String p2, Uri p3, Set<String> p4, String p5){ return 0; }
|
||||
public final int matchData(String p0, String p1, Uri p2){ return 0; }
|
||||
public final int matchDataAuthority(Uri p0){ return 0; }
|
||||
public final void addAction(String p0){}
|
||||
public final void addCategory(String p0){}
|
||||
public final void addDataAuthority(String p0, String p1){}
|
||||
public final void addDataPath(String p0, int p1){}
|
||||
public final void addDataScheme(String p0){}
|
||||
public final void addDataSchemeSpecificPart(String p0, int p1){}
|
||||
public final void addDataType(String p0){}
|
||||
public final void setPriority(int p0){}
|
||||
public final void writeToParcel(Parcel p0, int p1){}
|
||||
public static IntentFilter create(String p0, String p1){ return null; }
|
||||
public static Parcelable.Creator<IntentFilter> CREATOR = null;
|
||||
public static int MATCH_ADJUSTMENT_MASK = 0;
|
||||
public static int MATCH_ADJUSTMENT_NORMAL = 0;
|
||||
public static int MATCH_CATEGORY_EMPTY = 0;
|
||||
public static int MATCH_CATEGORY_HOST = 0;
|
||||
public static int MATCH_CATEGORY_MASK = 0;
|
||||
public static int MATCH_CATEGORY_PATH = 0;
|
||||
public static int MATCH_CATEGORY_PORT = 0;
|
||||
public static int MATCH_CATEGORY_SCHEME = 0;
|
||||
public static int MATCH_CATEGORY_SCHEME_SPECIFIC_PART = 0;
|
||||
public static int MATCH_CATEGORY_TYPE = 0;
|
||||
public static int NO_MATCH_ACTION = 0;
|
||||
public static int NO_MATCH_CATEGORY = 0;
|
||||
public static int NO_MATCH_DATA = 0;
|
||||
public static int NO_MATCH_TYPE = 0;
|
||||
public static int SYSTEM_HIGH_PRIORITY = 0;
|
||||
public static int SYSTEM_LOW_PRIORITY = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void readFromXml(XmlPullParser p0){}
|
||||
public void writeToXml(XmlSerializer p0){}
|
||||
static public class AuthorityEntry
|
||||
{
|
||||
protected AuthorityEntry() {}
|
||||
public AuthorityEntry(String p0, String p1){}
|
||||
public String getHost(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int getPort(){ return 0; }
|
||||
public int match(Uri p0){ return 0; }
|
||||
}
|
||||
static public class MalformedMimeTypeException extends AndroidException
|
||||
{
|
||||
public MalformedMimeTypeException(){}
|
||||
public MalformedMimeTypeException(String p0){}
|
||||
}
|
||||
}
|
||||
41
java/ql/test/stubs/google-android-9.0.0/android/content/IntentSender.java
generated
Normal file
41
java/ql/test/stubs/google-android-9.0.0/android/content/IntentSender.java
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
// Generated automatically from android.content.IntentSender for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.UserHandle;
|
||||
import android.util.AndroidException;
|
||||
|
||||
public class IntentSender implements Parcelable
|
||||
{
|
||||
protected IntentSender() {}
|
||||
public String getCreatorPackage(){ return null; }
|
||||
public String getTargetPackage(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public UserHandle getCreatorUserHandle(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getCreatorUid(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static IntentSender readIntentSenderOrNullFromParcel(Parcel p0){ return null; }
|
||||
public static Parcelable.Creator<IntentSender> CREATOR = null;
|
||||
public static void writeIntentSenderOrNullToParcel(IntentSender p0, Parcel p1){}
|
||||
public void sendIntent(Context p0, int p1, Intent p2, IntentSender.OnFinished p3, Handler p4){}
|
||||
public void sendIntent(Context p0, int p1, Intent p2, IntentSender.OnFinished p3, Handler p4, String p5){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class SendIntentException extends AndroidException
|
||||
{
|
||||
public SendIntentException(){}
|
||||
public SendIntentException(Exception p0){}
|
||||
public SendIntentException(String p0){}
|
||||
}
|
||||
static public interface OnFinished
|
||||
{
|
||||
void onSendFinished(IntentSender p0, Intent p1, int p2, String p3, Bundle p4);
|
||||
}
|
||||
}
|
||||
23
java/ql/test/stubs/google-android-9.0.0/android/content/PeriodicSync.java
generated
Normal file
23
java/ql/test/stubs/google-android-9.0.0/android/content/PeriodicSync.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from android.content.PeriodicSync for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PeriodicSync implements Parcelable
|
||||
{
|
||||
protected PeriodicSync() {}
|
||||
public PeriodicSync(Account p0, String p1, Bundle p2, long p3){}
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final Account account = null;
|
||||
public final Bundle extras = null;
|
||||
public final String authority = null;
|
||||
public final long period = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<PeriodicSync> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
14
java/ql/test/stubs/google-android-9.0.0/android/content/ServiceConnection.java
generated
Normal file
14
java/ql/test/stubs/google-android-9.0.0/android/content/ServiceConnection.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from android.content.ServiceConnection for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.os.IBinder;
|
||||
|
||||
public interface ServiceConnection
|
||||
{
|
||||
default void onBindingDied(ComponentName p0){}
|
||||
default void onNullBinding(ComponentName p0){}
|
||||
void onServiceConnected(ComponentName p0, IBinder p1);
|
||||
void onServiceDisconnected(ComponentName p0);
|
||||
}
|
||||
3
java/ql/test/stubs/google-android-9.0.0/android/content/SyncAdapterType.java
generated
Normal file
3
java/ql/test/stubs/google-android-9.0.0/android/content/SyncAdapterType.java
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
package android.content;
|
||||
|
||||
interface SyncAdapterType { }
|
||||
17
java/ql/test/stubs/google-android-9.0.0/android/content/SyncInfo.java
generated
Normal file
17
java/ql/test/stubs/google-android-9.0.0/android/content/SyncInfo.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from android.content.SyncInfo for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SyncInfo implements Parcelable
|
||||
{
|
||||
protected SyncInfo() {}
|
||||
public final Account account = null;
|
||||
public final String authority = null;
|
||||
public final long startTime = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
14
java/ql/test/stubs/google-android-9.0.0/android/content/SyncRequest.java
generated
Normal file
14
java/ql/test/stubs/google-android-9.0.0/android/content/SyncRequest.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from android.content.SyncRequest for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SyncRequest implements Parcelable
|
||||
{
|
||||
protected SyncRequest() {}
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<SyncRequest> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
9
java/ql/test/stubs/google-android-9.0.0/android/content/SyncStatusObserver.java
generated
Normal file
9
java/ql/test/stubs/google-android-9.0.0/android/content/SyncStatusObserver.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from android.content.SyncStatusObserver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
|
||||
public interface SyncStatusObserver
|
||||
{
|
||||
void onStatusChanged(int p0);
|
||||
}
|
||||
21
java/ql/test/stubs/google-android-9.0.0/android/content/UriPermission.java
generated
Normal file
21
java/ql/test/stubs/google-android-9.0.0/android/content/UriPermission.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from android.content.UriPermission for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class UriPermission implements Parcelable
|
||||
{
|
||||
protected UriPermission() {}
|
||||
public String toString(){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
public boolean isReadPermission(){ return false; }
|
||||
public boolean isWritePermission(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public long getPersistedTime(){ return 0; }
|
||||
public static Parcelable.Creator<UriPermission> CREATOR = null;
|
||||
public static long INVALID_TIME = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
111
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ActivityInfo.java
generated
Normal file
111
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ActivityInfo.java
generated
Normal file
@@ -0,0 +1,111 @@
|
||||
// Generated automatically from android.content.pm.ActivityInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ActivityInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo(){}
|
||||
public ActivityInfo(ActivityInfo p0){}
|
||||
public ActivityInfo.WindowLayout windowLayout = null;
|
||||
public String parentActivityName = null;
|
||||
public String permission = null;
|
||||
public String targetActivity = null;
|
||||
public String taskAffinity = null;
|
||||
public String toString(){ return null; }
|
||||
public final int getThemeResource(){ return 0; }
|
||||
public int colorMode = 0;
|
||||
public int configChanges = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int documentLaunchMode = 0;
|
||||
public int flags = 0;
|
||||
public int launchMode = 0;
|
||||
public int maxRecents = 0;
|
||||
public int persistableMode = 0;
|
||||
public int screenOrientation = 0;
|
||||
public int softInputMode = 0;
|
||||
public int theme = 0;
|
||||
public int uiOptions = 0;
|
||||
public static Parcelable.Creator<ActivityInfo> CREATOR = null;
|
||||
public static int COLOR_MODE_DEFAULT = 0;
|
||||
public static int COLOR_MODE_HDR = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT = 0;
|
||||
public static int CONFIG_COLOR_MODE = 0;
|
||||
public static int CONFIG_DENSITY = 0;
|
||||
public static int CONFIG_FONT_SCALE = 0;
|
||||
public static int CONFIG_KEYBOARD = 0;
|
||||
public static int CONFIG_KEYBOARD_HIDDEN = 0;
|
||||
public static int CONFIG_LAYOUT_DIRECTION = 0;
|
||||
public static int CONFIG_LOCALE = 0;
|
||||
public static int CONFIG_MCC = 0;
|
||||
public static int CONFIG_MNC = 0;
|
||||
public static int CONFIG_NAVIGATION = 0;
|
||||
public static int CONFIG_ORIENTATION = 0;
|
||||
public static int CONFIG_SCREEN_LAYOUT = 0;
|
||||
public static int CONFIG_SCREEN_SIZE = 0;
|
||||
public static int CONFIG_SMALLEST_SCREEN_SIZE = 0;
|
||||
public static int CONFIG_TOUCHSCREEN = 0;
|
||||
public static int CONFIG_UI_MODE = 0;
|
||||
public static int DOCUMENT_LAUNCH_ALWAYS = 0;
|
||||
public static int DOCUMENT_LAUNCH_INTO_EXISTING = 0;
|
||||
public static int DOCUMENT_LAUNCH_NEVER = 0;
|
||||
public static int DOCUMENT_LAUNCH_NONE = 0;
|
||||
public static int FLAG_ALLOW_TASK_REPARENTING = 0;
|
||||
public static int FLAG_ALWAYS_RETAIN_TASK_STATE = 0;
|
||||
public static int FLAG_AUTO_REMOVE_FROM_RECENTS = 0;
|
||||
public static int FLAG_CLEAR_TASK_ON_LAUNCH = 0;
|
||||
public static int FLAG_ENABLE_VR_MODE = 0;
|
||||
public static int FLAG_EXCLUDE_FROM_RECENTS = 0;
|
||||
public static int FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS = 0;
|
||||
public static int FLAG_FINISH_ON_TASK_LAUNCH = 0;
|
||||
public static int FLAG_HARDWARE_ACCELERATED = 0;
|
||||
public static int FLAG_IMMERSIVE = 0;
|
||||
public static int FLAG_MULTIPROCESS = 0;
|
||||
public static int FLAG_NO_HISTORY = 0;
|
||||
public static int FLAG_RELINQUISH_TASK_IDENTITY = 0;
|
||||
public static int FLAG_RESUME_WHILE_PAUSING = 0;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public static int FLAG_STATE_NOT_NEEDED = 0;
|
||||
public static int LAUNCH_MULTIPLE = 0;
|
||||
public static int LAUNCH_SINGLE_INSTANCE = 0;
|
||||
public static int LAUNCH_SINGLE_TASK = 0;
|
||||
public static int LAUNCH_SINGLE_TOP = 0;
|
||||
public static int PERSIST_ACROSS_REBOOTS = 0;
|
||||
public static int PERSIST_NEVER = 0;
|
||||
public static int PERSIST_ROOT_ONLY = 0;
|
||||
public static int SCREEN_ORIENTATION_BEHIND = 0;
|
||||
public static int SCREEN_ORIENTATION_FULL_SENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_FULL_USER = 0;
|
||||
public static int SCREEN_ORIENTATION_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_LOCKED = 0;
|
||||
public static int SCREEN_ORIENTATION_NOSENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_REVERSE_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_REVERSE_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_UNSPECIFIED = 0;
|
||||
public static int SCREEN_ORIENTATION_USER = 0;
|
||||
public static int SCREEN_ORIENTATION_USER_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_USER_PORTRAIT = 0;
|
||||
public static int UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class WindowLayout
|
||||
{
|
||||
protected WindowLayout() {}
|
||||
public WindowLayout(int p0, float p1, int p2, float p3, int p4, int p5, int p6){}
|
||||
public final float heightFraction = 0;
|
||||
public final float widthFraction = 0;
|
||||
public final int gravity = 0;
|
||||
public final int height = 0;
|
||||
public final int minHeight = 0;
|
||||
public final int minWidth = 0;
|
||||
public final int width = 0;
|
||||
}
|
||||
}
|
||||
97
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ApplicationInfo.java
generated
Normal file
97
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ApplicationInfo.java
generated
Normal file
@@ -0,0 +1,97 @@
|
||||
// Generated automatically from android.content.pm.ApplicationInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
import java.util.UUID;
|
||||
|
||||
public class ApplicationInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public ApplicationInfo(){}
|
||||
public ApplicationInfo(ApplicationInfo p0){}
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public String appComponentFactory = null;
|
||||
public String backupAgentName = null;
|
||||
public String className = null;
|
||||
public String dataDir = null;
|
||||
public String deviceProtectedDataDir = null;
|
||||
public String manageSpaceActivityName = null;
|
||||
public String nativeLibraryDir = null;
|
||||
public String permission = null;
|
||||
public String processName = null;
|
||||
public String publicSourceDir = null;
|
||||
public String sourceDir = null;
|
||||
public String taskAffinity = null;
|
||||
public String toString(){ return null; }
|
||||
public String[] sharedLibraryFiles = null;
|
||||
public String[] splitNames = null;
|
||||
public String[] splitPublicSourceDirs = null;
|
||||
public String[] splitSourceDirs = null;
|
||||
public UUID storageUuid = null;
|
||||
public boolean enabled = false;
|
||||
public boolean isProfileableByShell(){ return false; }
|
||||
public boolean isResourceOverlay(){ return false; }
|
||||
public boolean isVirtualPreload(){ return false; }
|
||||
public int category = 0;
|
||||
public int compatibleWidthLimitDp = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int largestWidthLimitDp = 0;
|
||||
public int minSdkVersion = 0;
|
||||
public int requiresSmallestWidthDp = 0;
|
||||
public int targetSdkVersion = 0;
|
||||
public int theme = 0;
|
||||
public int uiOptions = 0;
|
||||
public int uid = 0;
|
||||
public static CharSequence getCategoryTitle(Context p0, int p1){ return null; }
|
||||
public static Parcelable.Creator<ApplicationInfo> CREATOR = null;
|
||||
public static int CATEGORY_AUDIO = 0;
|
||||
public static int CATEGORY_GAME = 0;
|
||||
public static int CATEGORY_IMAGE = 0;
|
||||
public static int CATEGORY_MAPS = 0;
|
||||
public static int CATEGORY_NEWS = 0;
|
||||
public static int CATEGORY_PRODUCTIVITY = 0;
|
||||
public static int CATEGORY_SOCIAL = 0;
|
||||
public static int CATEGORY_UNDEFINED = 0;
|
||||
public static int CATEGORY_VIDEO = 0;
|
||||
public static int FLAG_ALLOW_BACKUP = 0;
|
||||
public static int FLAG_ALLOW_CLEAR_USER_DATA = 0;
|
||||
public static int FLAG_ALLOW_TASK_REPARENTING = 0;
|
||||
public static int FLAG_DEBUGGABLE = 0;
|
||||
public static int FLAG_EXTERNAL_STORAGE = 0;
|
||||
public static int FLAG_EXTRACT_NATIVE_LIBS = 0;
|
||||
public static int FLAG_FACTORY_TEST = 0;
|
||||
public static int FLAG_FULL_BACKUP_ONLY = 0;
|
||||
public static int FLAG_HARDWARE_ACCELERATED = 0;
|
||||
public static int FLAG_HAS_CODE = 0;
|
||||
public static int FLAG_INSTALLED = 0;
|
||||
public static int FLAG_IS_DATA_ONLY = 0;
|
||||
public static int FLAG_IS_GAME = 0;
|
||||
public static int FLAG_KILL_AFTER_RESTORE = 0;
|
||||
public static int FLAG_LARGE_HEAP = 0;
|
||||
public static int FLAG_MULTIARCH = 0;
|
||||
public static int FLAG_PERSISTENT = 0;
|
||||
public static int FLAG_RESIZEABLE_FOR_SCREENS = 0;
|
||||
public static int FLAG_RESTORE_ANY_VERSION = 0;
|
||||
public static int FLAG_STOPPED = 0;
|
||||
public static int FLAG_SUPPORTS_LARGE_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_NORMAL_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_RTL = 0;
|
||||
public static int FLAG_SUPPORTS_SCREEN_DENSITIES = 0;
|
||||
public static int FLAG_SUPPORTS_SMALL_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_XLARGE_SCREENS = 0;
|
||||
public static int FLAG_SUSPENDED = 0;
|
||||
public static int FLAG_SYSTEM = 0;
|
||||
public static int FLAG_TEST_ONLY = 0;
|
||||
public static int FLAG_UPDATED_SYSTEM_APP = 0;
|
||||
public static int FLAG_USES_CLEARTEXT_TRAFFIC = 0;
|
||||
public static int FLAG_VM_SAFE_MODE = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
18
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ChangedPackages.java
generated
Normal file
18
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ChangedPackages.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.content.pm.ChangedPackages for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.List;
|
||||
|
||||
public class ChangedPackages implements Parcelable
|
||||
{
|
||||
protected ChangedPackages() {}
|
||||
public ChangedPackages(int p0, List<String> p1){}
|
||||
public List<String> getPackageNames(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getSequenceNumber(){ return 0; }
|
||||
public static Parcelable.Creator<ChangedPackages> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
29
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ComponentInfo.java
generated
Normal file
29
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ComponentInfo.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from android.content.pm.ComponentInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.os.Parcel;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ComponentInfo extends PackageItemInfo
|
||||
{
|
||||
protected ComponentInfo(Parcel p0){}
|
||||
protected void dumpBack(Printer p0, String p1){}
|
||||
protected void dumpFront(Printer p0, String p1){}
|
||||
public ApplicationInfo applicationInfo = null;
|
||||
public ComponentInfo(){}
|
||||
public ComponentInfo(ComponentInfo p0){}
|
||||
public String processName = null;
|
||||
public String splitName = null;
|
||||
public boolean directBootAware = false;
|
||||
public boolean enabled = false;
|
||||
public boolean exported = false;
|
||||
public boolean isEnabled(){ return false; }
|
||||
public final int getBannerResource(){ return 0; }
|
||||
public final int getIconResource(){ return 0; }
|
||||
public final int getLogoResource(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ConfigurationInfo.java
generated
Normal file
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ConfigurationInfo.java
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
package android.content.pm;
|
||||
|
||||
interface ConfigurationInfo { }
|
||||
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/FeatureGroupInfo.java
generated
Normal file
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/FeatureGroupInfo.java
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
package android.content.pm;
|
||||
|
||||
interface FeatureGroupInfo { }
|
||||
4
java/ql/test/stubs/google-android-9.0.0/android/content/pm/FeatureInfo.java
generated
Normal file
4
java/ql/test/stubs/google-android-9.0.0/android/content/pm/FeatureInfo.java
generated
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
interface FeatureInfo { }
|
||||
27
java/ql/test/stubs/google-android-9.0.0/android/content/pm/InstrumentationInfo.java
generated
Normal file
27
java/ql/test/stubs/google-android-9.0.0/android/content/pm/InstrumentationInfo.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from android.content.pm.InstrumentationInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class InstrumentationInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public InstrumentationInfo(){}
|
||||
public InstrumentationInfo(InstrumentationInfo p0){}
|
||||
public String dataDir = null;
|
||||
public String publicSourceDir = null;
|
||||
public String sourceDir = null;
|
||||
public String targetPackage = null;
|
||||
public String targetProcesses = null;
|
||||
public String toString(){ return null; }
|
||||
public String[] splitNames = null;
|
||||
public String[] splitPublicSourceDirs = null;
|
||||
public String[] splitSourceDirs = null;
|
||||
public boolean functionalTest = false;
|
||||
public boolean handleProfiling = false;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<InstrumentationInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
19
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ModuleInfo.java
generated
Normal file
19
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ModuleInfo.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from android.content.pm.ModuleInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ModuleInfo implements Parcelable
|
||||
{
|
||||
public CharSequence getName(){ return null; }
|
||||
public String getPackageName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isHidden(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<ModuleInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
59
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageInfo.java
generated
Normal file
59
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageInfo.java
generated
Normal file
@@ -0,0 +1,59 @@
|
||||
// Generated automatically from android.content.pm.PackageInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.ConfigurationInfo;
|
||||
import android.content.pm.FeatureGroupInfo;
|
||||
import android.content.pm.FeatureInfo;
|
||||
import android.content.pm.InstrumentationInfo;
|
||||
import android.content.pm.PermissionInfo;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.content.pm.Signature;
|
||||
import android.content.pm.SigningInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PackageInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo[] activities = null;
|
||||
public ActivityInfo[] receivers = null;
|
||||
public ApplicationInfo applicationInfo = null;
|
||||
public ConfigurationInfo[] configPreferences = null;
|
||||
public FeatureGroupInfo[] featureGroups = null;
|
||||
public FeatureInfo[] reqFeatures = null;
|
||||
public InstrumentationInfo[] instrumentation = null;
|
||||
public PackageInfo(){}
|
||||
public PermissionInfo[] permissions = null;
|
||||
public ProviderInfo[] providers = null;
|
||||
public ServiceInfo[] services = null;
|
||||
public Signature[] signatures = null;
|
||||
public SigningInfo signingInfo = null;
|
||||
public String packageName = null;
|
||||
public String sharedUserId = null;
|
||||
public String toString(){ return null; }
|
||||
public String versionName = null;
|
||||
public String[] requestedPermissions = null;
|
||||
public String[] splitNames = null;
|
||||
public boolean isApex = false;
|
||||
public int baseRevisionCode = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int installLocation = 0;
|
||||
public int sharedUserLabel = 0;
|
||||
public int versionCode = 0;
|
||||
public int[] gids = null;
|
||||
public int[] requestedPermissionsFlags = null;
|
||||
public int[] splitRevisionCodes = null;
|
||||
public long firstInstallTime = 0;
|
||||
public long getLongVersionCode(){ return 0; }
|
||||
public long lastUpdateTime = 0;
|
||||
public static Parcelable.Creator<PackageInfo> CREATOR = null;
|
||||
public static int INSTALL_LOCATION_AUTO = 0;
|
||||
public static int INSTALL_LOCATION_INTERNAL_ONLY = 0;
|
||||
public static int INSTALL_LOCATION_PREFER_EXTERNAL = 0;
|
||||
public static int REQUESTED_PERMISSION_GRANTED = 0;
|
||||
public void setLongVersionCode(long p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
146
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageInstaller.java
generated
Normal file
146
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageInstaller.java
generated
Normal file
@@ -0,0 +1,146 @@
|
||||
// Generated automatically from android.content.pm.PackageInstaller for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.content.IntentSender;
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.graphics.Bitmap;
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.UserHandle;
|
||||
import java.io.Closeable;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class PackageInstaller
|
||||
{
|
||||
abstract static public class SessionCallback
|
||||
{
|
||||
public SessionCallback(){}
|
||||
public abstract void onActiveChanged(int p0, boolean p1);
|
||||
public abstract void onBadgingChanged(int p0);
|
||||
public abstract void onCreated(int p0);
|
||||
public abstract void onFinished(int p0, boolean p1);
|
||||
public abstract void onProgressChanged(int p0, float p1);
|
||||
}
|
||||
public List<PackageInstaller.SessionInfo> getAllSessions(){ return null; }
|
||||
public List<PackageInstaller.SessionInfo> getMySessions(){ return null; }
|
||||
public List<PackageInstaller.SessionInfo> getStagedSessions(){ return null; }
|
||||
public PackageInstaller.Session openSession(int p0){ return null; }
|
||||
public PackageInstaller.SessionInfo getActiveStagedSession(){ return null; }
|
||||
public PackageInstaller.SessionInfo getSessionInfo(int p0){ return null; }
|
||||
public int createSession(PackageInstaller.SessionParams p0){ return 0; }
|
||||
public static String ACTION_SESSION_COMMITTED = null;
|
||||
public static String ACTION_SESSION_DETAILS = null;
|
||||
public static String ACTION_SESSION_UPDATED = null;
|
||||
public static String EXTRA_OTHER_PACKAGE_NAME = null;
|
||||
public static String EXTRA_PACKAGE_NAME = null;
|
||||
public static String EXTRA_SESSION = null;
|
||||
public static String EXTRA_SESSION_ID = null;
|
||||
public static String EXTRA_STATUS = null;
|
||||
public static String EXTRA_STATUS_MESSAGE = null;
|
||||
public static String EXTRA_STORAGE_PATH = null;
|
||||
public static int STATUS_FAILURE = 0;
|
||||
public static int STATUS_FAILURE_ABORTED = 0;
|
||||
public static int STATUS_FAILURE_BLOCKED = 0;
|
||||
public static int STATUS_FAILURE_CONFLICT = 0;
|
||||
public static int STATUS_FAILURE_INCOMPATIBLE = 0;
|
||||
public static int STATUS_FAILURE_INVALID = 0;
|
||||
public static int STATUS_FAILURE_STORAGE = 0;
|
||||
public static int STATUS_PENDING_USER_ACTION = 0;
|
||||
public static int STATUS_SUCCESS = 0;
|
||||
public void abandonSession(int p0){}
|
||||
public void installExistingPackage(String p0, int p1, IntentSender p2){}
|
||||
public void registerSessionCallback(PackageInstaller.SessionCallback p0){}
|
||||
public void registerSessionCallback(PackageInstaller.SessionCallback p0, Handler p1){}
|
||||
public void uninstall(String p0, IntentSender p1){}
|
||||
public void uninstall(VersionedPackage p0, IntentSender p1){}
|
||||
public void unregisterSessionCallback(PackageInstaller.SessionCallback p0){}
|
||||
public void updateSessionAppIcon(int p0, Bitmap p1){}
|
||||
public void updateSessionAppLabel(int p0, CharSequence p1){}
|
||||
static public class Session implements Closeable
|
||||
{
|
||||
public InputStream openRead(String p0){ return null; }
|
||||
public OutputStream openWrite(String p0, long p1, long p2){ return null; }
|
||||
public String[] getNames(){ return null; }
|
||||
public boolean isMultiPackage(){ return false; }
|
||||
public boolean isStaged(){ return false; }
|
||||
public int getParentSessionId(){ return 0; }
|
||||
public int[] getChildSessionIds(){ return null; }
|
||||
public void abandon(){}
|
||||
public void addChildSessionId(int p0){}
|
||||
public void close(){}
|
||||
public void commit(IntentSender p0){}
|
||||
public void fsync(OutputStream p0){}
|
||||
public void removeChildSessionId(int p0){}
|
||||
public void removeSplit(String p0){}
|
||||
public void setStagingProgress(float p0){}
|
||||
public void transfer(String p0){}
|
||||
}
|
||||
static public class SessionInfo implements Parcelable
|
||||
{
|
||||
public Bitmap getAppIcon(){ return null; }
|
||||
public CharSequence getAppLabel(){ return null; }
|
||||
public Intent createDetailsIntent(){ return null; }
|
||||
public String getAppPackageName(){ return null; }
|
||||
public String getInstallerPackageName(){ return null; }
|
||||
public String getStagedSessionErrorMessage(){ return null; }
|
||||
public Uri getOriginatingUri(){ return null; }
|
||||
public Uri getReferrerUri(){ return null; }
|
||||
public UserHandle getUser(){ return null; }
|
||||
public boolean isActive(){ return false; }
|
||||
public boolean isCommitted(){ return false; }
|
||||
public boolean isMultiPackage(){ return false; }
|
||||
public boolean isSealed(){ return false; }
|
||||
public boolean isStaged(){ return false; }
|
||||
public boolean isStagedSessionApplied(){ return false; }
|
||||
public boolean isStagedSessionFailed(){ return false; }
|
||||
public boolean isStagedSessionReady(){ return false; }
|
||||
public float getProgress(){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getInstallLocation(){ return 0; }
|
||||
public int getInstallReason(){ return 0; }
|
||||
public int getMode(){ return 0; }
|
||||
public int getOriginatingUid(){ return 0; }
|
||||
public int getParentSessionId(){ return 0; }
|
||||
public int getSessionId(){ return 0; }
|
||||
public int getStagedSessionErrorCode(){ return 0; }
|
||||
public int[] getChildSessionIds(){ return null; }
|
||||
public long getSize(){ return 0; }
|
||||
public long getUpdatedMillis(){ return 0; }
|
||||
public static Parcelable.Creator<PackageInstaller.SessionInfo> CREATOR = null;
|
||||
public static int INVALID_ID = 0;
|
||||
public static int STAGED_SESSION_ACTIVATION_FAILED = 0;
|
||||
public static int STAGED_SESSION_NO_ERROR = 0;
|
||||
public static int STAGED_SESSION_UNKNOWN = 0;
|
||||
public static int STAGED_SESSION_VERIFICATION_FAILED = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
static public class SessionParams implements Parcelable
|
||||
{
|
||||
protected SessionParams() {}
|
||||
public SessionParams(int p0){}
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<PackageInstaller.SessionParams> CREATOR = null;
|
||||
public static Set<String> RESTRICTED_PERMISSIONS_ALL = null;
|
||||
public static int MODE_FULL_INSTALL = 0;
|
||||
public static int MODE_INHERIT_EXISTING = 0;
|
||||
public void setAppIcon(Bitmap p0){}
|
||||
public void setAppLabel(CharSequence p0){}
|
||||
public void setAppPackageName(String p0){}
|
||||
public void setInstallLocation(int p0){}
|
||||
public void setInstallReason(int p0){}
|
||||
public void setMultiPackage(){}
|
||||
public void setOriginatingUid(int p0){}
|
||||
public void setOriginatingUri(Uri p0){}
|
||||
public void setReferrerUri(Uri p0){}
|
||||
public void setSize(long p0){}
|
||||
public void setWhitelistedRestrictedPermissions(Set<String> p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
}
|
||||
34
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageItemInfo.java
generated
Normal file
34
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageItemInfo.java
generated
Normal file
@@ -0,0 +1,34 @@
|
||||
// Generated automatically from android.content.pm.PackageItemInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.util.Printer;
|
||||
|
||||
public class PackageItemInfo
|
||||
{
|
||||
protected PackageItemInfo(Parcel p0){}
|
||||
protected void dumpBack(Printer p0, String p1){}
|
||||
protected void dumpFront(Printer p0, String p1){}
|
||||
public Bundle metaData = null;
|
||||
public CharSequence loadLabel(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedLabel = null;
|
||||
public Drawable loadBanner(PackageManager p0){ return null; }
|
||||
public Drawable loadIcon(PackageManager p0){ return null; }
|
||||
public Drawable loadLogo(PackageManager p0){ return null; }
|
||||
public Drawable loadUnbadgedIcon(PackageManager p0){ return null; }
|
||||
public PackageItemInfo(){}
|
||||
public PackageItemInfo(PackageItemInfo p0){}
|
||||
public String name = null;
|
||||
public String packageName = null;
|
||||
public XmlResourceParser loadXmlMetaData(PackageManager p0, String p1){ return null; }
|
||||
public int banner = 0;
|
||||
public int icon = 0;
|
||||
public int labelRes = 0;
|
||||
public int logo = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
314
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageManager.java
generated
Normal file
314
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PackageManager.java
generated
Normal file
@@ -0,0 +1,314 @@
|
||||
// Generated automatically from android.content.pm.PackageManager for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.ChangedPackages;
|
||||
import android.content.pm.FeatureInfo;
|
||||
import android.content.pm.InstrumentationInfo;
|
||||
import android.content.pm.ModuleInfo;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageInstaller;
|
||||
import android.content.pm.PermissionGroupInfo;
|
||||
import android.content.pm.PermissionInfo;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.content.pm.SharedLibraryInfo;
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.util.AndroidException;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
abstract public class PackageManager
|
||||
{
|
||||
public Bundle getSuspendedPackageAppExtras(){ return null; }
|
||||
public List<ModuleInfo> getInstalledModules(int p0){ return null; }
|
||||
public ModuleInfo getModuleInfo(String p0, int p1){ return null; }
|
||||
public PackageInfo getPackageArchiveInfo(String p0, int p1){ return null; }
|
||||
public PackageManager(){}
|
||||
public Set<String> getWhitelistedRestrictedPermissions(String p0, int p1){ return null; }
|
||||
public abstract ActivityInfo getActivityInfo(ComponentName p0, int p1);
|
||||
public abstract ActivityInfo getReceiverInfo(ComponentName p0, int p1);
|
||||
public abstract ApplicationInfo getApplicationInfo(String p0, int p1);
|
||||
public abstract ChangedPackages getChangedPackages(int p0);
|
||||
public abstract CharSequence getApplicationLabel(ApplicationInfo p0);
|
||||
public abstract CharSequence getText(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract CharSequence getUserBadgedLabel(CharSequence p0, UserHandle p1);
|
||||
public abstract Drawable getActivityBanner(ComponentName p0);
|
||||
public abstract Drawable getActivityBanner(Intent p0);
|
||||
public abstract Drawable getActivityIcon(ComponentName p0);
|
||||
public abstract Drawable getActivityIcon(Intent p0);
|
||||
public abstract Drawable getActivityLogo(ComponentName p0);
|
||||
public abstract Drawable getActivityLogo(Intent p0);
|
||||
public abstract Drawable getApplicationBanner(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationBanner(String p0);
|
||||
public abstract Drawable getApplicationIcon(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationIcon(String p0);
|
||||
public abstract Drawable getApplicationLogo(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationLogo(String p0);
|
||||
public abstract Drawable getDefaultActivityIcon();
|
||||
public abstract Drawable getDrawable(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract Drawable getUserBadgedDrawableForDensity(Drawable p0, UserHandle p1, Rect p2, int p3);
|
||||
public abstract Drawable getUserBadgedIcon(Drawable p0, UserHandle p1);
|
||||
public abstract FeatureInfo[] getSystemAvailableFeatures();
|
||||
public abstract InstrumentationInfo getInstrumentationInfo(ComponentName p0, int p1);
|
||||
public abstract Intent getLaunchIntentForPackage(String p0);
|
||||
public abstract Intent getLeanbackLaunchIntentForPackage(String p0);
|
||||
public abstract List<ApplicationInfo> getInstalledApplications(int p0);
|
||||
public abstract List<InstrumentationInfo> queryInstrumentation(String p0, int p1);
|
||||
public abstract List<PackageInfo> getInstalledPackages(int p0);
|
||||
public abstract List<PackageInfo> getPackagesHoldingPermissions(String[] p0, int p1);
|
||||
public abstract List<PackageInfo> getPreferredPackages(int p0);
|
||||
public abstract List<PermissionGroupInfo> getAllPermissionGroups(int p0);
|
||||
public abstract List<PermissionInfo> queryPermissionsByGroup(String p0, int p1);
|
||||
public abstract List<ProviderInfo> queryContentProviders(String p0, int p1, int p2);
|
||||
public abstract List<ResolveInfo> queryBroadcastReceivers(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentActivities(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentActivityOptions(ComponentName p0, Intent[] p1, Intent p2, int p3);
|
||||
public abstract List<ResolveInfo> queryIntentContentProviders(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentServices(Intent p0, int p1);
|
||||
public abstract List<SharedLibraryInfo> getSharedLibraries(int p0);
|
||||
public abstract PackageInfo getPackageInfo(String p0, int p1);
|
||||
public abstract PackageInfo getPackageInfo(VersionedPackage p0, int p1);
|
||||
public abstract PackageInstaller getPackageInstaller();
|
||||
public abstract PermissionGroupInfo getPermissionGroupInfo(String p0, int p1);
|
||||
public abstract PermissionInfo getPermissionInfo(String p0, int p1);
|
||||
public abstract ProviderInfo getProviderInfo(ComponentName p0, int p1);
|
||||
public abstract ProviderInfo resolveContentProvider(String p0, int p1);
|
||||
public abstract ResolveInfo resolveActivity(Intent p0, int p1);
|
||||
public abstract ResolveInfo resolveService(Intent p0, int p1);
|
||||
public abstract Resources getResourcesForActivity(ComponentName p0);
|
||||
public abstract Resources getResourcesForApplication(ApplicationInfo p0);
|
||||
public abstract Resources getResourcesForApplication(String p0);
|
||||
public abstract ServiceInfo getServiceInfo(ComponentName p0, int p1);
|
||||
public abstract String getInstallerPackageName(String p0);
|
||||
public abstract String getNameForUid(int p0);
|
||||
public abstract String[] canonicalToCurrentPackageNames(String[] p0);
|
||||
public abstract String[] currentToCanonicalPackageNames(String[] p0);
|
||||
public abstract String[] getPackagesForUid(int p0);
|
||||
public abstract String[] getSystemSharedLibraryNames();
|
||||
public abstract XmlResourceParser getXml(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract boolean addPermission(PermissionInfo p0);
|
||||
public abstract boolean addPermissionAsync(PermissionInfo p0);
|
||||
public abstract boolean canRequestPackageInstalls();
|
||||
public abstract boolean hasSystemFeature(String p0);
|
||||
public abstract boolean hasSystemFeature(String p0, int p1);
|
||||
public abstract boolean isInstantApp();
|
||||
public abstract boolean isInstantApp(String p0);
|
||||
public abstract boolean isPermissionRevokedByPolicy(String p0, String p1);
|
||||
public abstract boolean isSafeMode();
|
||||
public abstract byte[] getInstantAppCookie();
|
||||
public abstract int checkPermission(String p0, String p1);
|
||||
public abstract int checkSignatures(String p0, String p1);
|
||||
public abstract int checkSignatures(int p0, int p1);
|
||||
public abstract int getApplicationEnabledSetting(String p0);
|
||||
public abstract int getComponentEnabledSetting(ComponentName p0);
|
||||
public abstract int getInstantAppCookieMaxBytes();
|
||||
public abstract int getPackageUid(String p0, int p1);
|
||||
public abstract int getPreferredActivities(List<IntentFilter> p0, List<ComponentName> p1, String p2);
|
||||
public abstract int[] getPackageGids(String p0);
|
||||
public abstract int[] getPackageGids(String p0, int p1);
|
||||
public abstract void addPackageToPreferred(String p0);
|
||||
public abstract void addPreferredActivity(IntentFilter p0, int p1, ComponentName[] p2, ComponentName p3);
|
||||
public abstract void clearInstantAppCookie();
|
||||
public abstract void clearPackagePreferredActivities(String p0);
|
||||
public abstract void extendVerificationTimeout(int p0, int p1, long p2);
|
||||
public abstract void removePackageFromPreferred(String p0);
|
||||
public abstract void removePermission(String p0);
|
||||
public abstract void setApplicationCategoryHint(String p0, int p1);
|
||||
public abstract void setApplicationEnabledSetting(String p0, int p1, int p2);
|
||||
public abstract void setComponentEnabledSetting(ComponentName p0, int p1, int p2);
|
||||
public abstract void setInstallerPackageName(String p0, String p1);
|
||||
public abstract void updateInstantAppCookie(byte[] p0);
|
||||
public abstract void verifyPendingInstall(int p0, int p1);
|
||||
public boolean addWhitelistedRestrictedPermission(String p0, String p1, int p2){ return false; }
|
||||
public boolean getSyntheticAppDetailsActivityEnabled(String p0){ return false; }
|
||||
public boolean hasSigningCertificate(String p0, byte[] p1, int p2){ return false; }
|
||||
public boolean hasSigningCertificate(int p0, byte[] p1, int p2){ return false; }
|
||||
public boolean isDeviceUpgrading(){ return false; }
|
||||
public boolean isPackageSuspended(){ return false; }
|
||||
public boolean isPackageSuspended(String p0){ return false; }
|
||||
public boolean removeWhitelistedRestrictedPermission(String p0, String p1, int p2){ return false; }
|
||||
public static String EXTRA_VERIFICATION_ID = null;
|
||||
public static String EXTRA_VERIFICATION_RESULT = null;
|
||||
public static String FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS = null;
|
||||
public static String FEATURE_APP_WIDGETS = null;
|
||||
public static String FEATURE_AUDIO_LOW_LATENCY = null;
|
||||
public static String FEATURE_AUDIO_OUTPUT = null;
|
||||
public static String FEATURE_AUDIO_PRO = null;
|
||||
public static String FEATURE_AUTOFILL = null;
|
||||
public static String FEATURE_AUTOMOTIVE = null;
|
||||
public static String FEATURE_BACKUP = null;
|
||||
public static String FEATURE_BLUETOOTH = null;
|
||||
public static String FEATURE_BLUETOOTH_LE = null;
|
||||
public static String FEATURE_CAMERA = null;
|
||||
public static String FEATURE_CAMERA_ANY = null;
|
||||
public static String FEATURE_CAMERA_AR = null;
|
||||
public static String FEATURE_CAMERA_AUTOFOCUS = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_RAW = null;
|
||||
public static String FEATURE_CAMERA_EXTERNAL = null;
|
||||
public static String FEATURE_CAMERA_FLASH = null;
|
||||
public static String FEATURE_CAMERA_FRONT = null;
|
||||
public static String FEATURE_CAMERA_LEVEL_FULL = null;
|
||||
public static String FEATURE_CANT_SAVE_STATE = null;
|
||||
public static String FEATURE_COMPANION_DEVICE_SETUP = null;
|
||||
public static String FEATURE_CONNECTION_SERVICE = null;
|
||||
public static String FEATURE_CONSUMER_IR = null;
|
||||
public static String FEATURE_DEVICE_ADMIN = null;
|
||||
public static String FEATURE_EMBEDDED = null;
|
||||
public static String FEATURE_ETHERNET = null;
|
||||
public static String FEATURE_FACE = null;
|
||||
public static String FEATURE_FAKETOUCH = null;
|
||||
public static String FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT = null;
|
||||
public static String FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND = null;
|
||||
public static String FEATURE_FINGERPRINT = null;
|
||||
public static String FEATURE_FREEFORM_WINDOW_MANAGEMENT = null;
|
||||
public static String FEATURE_GAMEPAD = null;
|
||||
public static String FEATURE_HIFI_SENSORS = null;
|
||||
public static String FEATURE_HOME_SCREEN = null;
|
||||
public static String FEATURE_INPUT_METHODS = null;
|
||||
public static String FEATURE_IPSEC_TUNNELS = null;
|
||||
public static String FEATURE_IRIS = null;
|
||||
public static String FEATURE_LEANBACK = null;
|
||||
public static String FEATURE_LEANBACK_ONLY = null;
|
||||
public static String FEATURE_LIVE_TV = null;
|
||||
public static String FEATURE_LIVE_WALLPAPER = null;
|
||||
public static String FEATURE_LOCATION = null;
|
||||
public static String FEATURE_LOCATION_GPS = null;
|
||||
public static String FEATURE_LOCATION_NETWORK = null;
|
||||
public static String FEATURE_MANAGED_USERS = null;
|
||||
public static String FEATURE_MICROPHONE = null;
|
||||
public static String FEATURE_MIDI = null;
|
||||
public static String FEATURE_NFC = null;
|
||||
public static String FEATURE_NFC_BEAM = null;
|
||||
public static String FEATURE_NFC_HOST_CARD_EMULATION = null;
|
||||
public static String FEATURE_NFC_HOST_CARD_EMULATION_NFCF = null;
|
||||
public static String FEATURE_NFC_OFF_HOST_CARD_EMULATION_ESE = null;
|
||||
public static String FEATURE_NFC_OFF_HOST_CARD_EMULATION_UICC = null;
|
||||
public static String FEATURE_OPENGLES_EXTENSION_PACK = null;
|
||||
public static String FEATURE_PC = null;
|
||||
public static String FEATURE_PICTURE_IN_PICTURE = null;
|
||||
public static String FEATURE_PRINTING = null;
|
||||
public static String FEATURE_RAM_LOW = null;
|
||||
public static String FEATURE_RAM_NORMAL = null;
|
||||
public static String FEATURE_SCREEN_LANDSCAPE = null;
|
||||
public static String FEATURE_SCREEN_PORTRAIT = null;
|
||||
public static String FEATURE_SECURELY_REMOVES_USERS = null;
|
||||
public static String FEATURE_SECURE_LOCK_SCREEN = null;
|
||||
public static String FEATURE_SENSOR_ACCELEROMETER = null;
|
||||
public static String FEATURE_SENSOR_AMBIENT_TEMPERATURE = null;
|
||||
public static String FEATURE_SENSOR_BAROMETER = null;
|
||||
public static String FEATURE_SENSOR_COMPASS = null;
|
||||
public static String FEATURE_SENSOR_GYROSCOPE = null;
|
||||
public static String FEATURE_SENSOR_HEART_RATE = null;
|
||||
public static String FEATURE_SENSOR_HEART_RATE_ECG = null;
|
||||
public static String FEATURE_SENSOR_LIGHT = null;
|
||||
public static String FEATURE_SENSOR_PROXIMITY = null;
|
||||
public static String FEATURE_SENSOR_RELATIVE_HUMIDITY = null;
|
||||
public static String FEATURE_SENSOR_STEP_COUNTER = null;
|
||||
public static String FEATURE_SENSOR_STEP_DETECTOR = null;
|
||||
public static String FEATURE_SIP = null;
|
||||
public static String FEATURE_SIP_VOIP = null;
|
||||
public static String FEATURE_STRONGBOX_KEYSTORE = null;
|
||||
public static String FEATURE_TELEPHONY = null;
|
||||
public static String FEATURE_TELEPHONY_CDMA = null;
|
||||
public static String FEATURE_TELEPHONY_EUICC = null;
|
||||
public static String FEATURE_TELEPHONY_GSM = null;
|
||||
public static String FEATURE_TELEPHONY_IMS = null;
|
||||
public static String FEATURE_TELEPHONY_MBMS = null;
|
||||
public static String FEATURE_TELEVISION = null;
|
||||
public static String FEATURE_TOUCHSCREEN = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND = null;
|
||||
public static String FEATURE_USB_ACCESSORY = null;
|
||||
public static String FEATURE_USB_HOST = null;
|
||||
public static String FEATURE_VERIFIED_BOOT = null;
|
||||
public static String FEATURE_VR_HEADTRACKING = null;
|
||||
public static String FEATURE_VR_MODE = null;
|
||||
public static String FEATURE_VR_MODE_HIGH_PERFORMANCE = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_COMPUTE = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_LEVEL = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_VERSION = null;
|
||||
public static String FEATURE_WATCH = null;
|
||||
public static String FEATURE_WEBVIEW = null;
|
||||
public static String FEATURE_WIFI = null;
|
||||
public static String FEATURE_WIFI_AWARE = null;
|
||||
public static String FEATURE_WIFI_DIRECT = null;
|
||||
public static String FEATURE_WIFI_PASSPOINT = null;
|
||||
public static String FEATURE_WIFI_RTT = null;
|
||||
public static int CERT_INPUT_RAW_X509 = 0;
|
||||
public static int CERT_INPUT_SHA256 = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DEFAULT = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED_USER = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_ENABLED = 0;
|
||||
public static int DONT_KILL_APP = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_INSTALLER = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_SYSTEM = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_UPGRADE = 0;
|
||||
public static int GET_ACTIVITIES = 0;
|
||||
public static int GET_CONFIGURATIONS = 0;
|
||||
public static int GET_DISABLED_COMPONENTS = 0;
|
||||
public static int GET_DISABLED_UNTIL_USED_COMPONENTS = 0;
|
||||
public static int GET_GIDS = 0;
|
||||
public static int GET_INSTRUMENTATION = 0;
|
||||
public static int GET_INTENT_FILTERS = 0;
|
||||
public static int GET_META_DATA = 0;
|
||||
public static int GET_PERMISSIONS = 0;
|
||||
public static int GET_PROVIDERS = 0;
|
||||
public static int GET_RECEIVERS = 0;
|
||||
public static int GET_RESOLVED_FILTER = 0;
|
||||
public static int GET_SERVICES = 0;
|
||||
public static int GET_SHARED_LIBRARY_FILES = 0;
|
||||
public static int GET_SIGNATURES = 0;
|
||||
public static int GET_SIGNING_CERTIFICATES = 0;
|
||||
public static int GET_UNINSTALLED_PACKAGES = 0;
|
||||
public static int GET_URI_PERMISSION_PATTERNS = 0;
|
||||
public static int INSTALL_REASON_DEVICE_RESTORE = 0;
|
||||
public static int INSTALL_REASON_DEVICE_SETUP = 0;
|
||||
public static int INSTALL_REASON_POLICY = 0;
|
||||
public static int INSTALL_REASON_UNKNOWN = 0;
|
||||
public static int INSTALL_REASON_USER = 0;
|
||||
public static int MATCH_ALL = 0;
|
||||
public static int MATCH_APEX = 0;
|
||||
public static int MATCH_DEFAULT_ONLY = 0;
|
||||
public static int MATCH_DIRECT_BOOT_AUTO = 0;
|
||||
public static int MATCH_DIRECT_BOOT_AWARE = 0;
|
||||
public static int MATCH_DIRECT_BOOT_UNAWARE = 0;
|
||||
public static int MATCH_DISABLED_COMPONENTS = 0;
|
||||
public static int MATCH_DISABLED_UNTIL_USED_COMPONENTS = 0;
|
||||
public static int MATCH_SYSTEM_ONLY = 0;
|
||||
public static int MATCH_UNINSTALLED_PACKAGES = 0;
|
||||
public static int PERMISSION_DENIED = 0;
|
||||
public static int PERMISSION_GRANTED = 0;
|
||||
public static int SIGNATURE_FIRST_NOT_SIGNED = 0;
|
||||
public static int SIGNATURE_MATCH = 0;
|
||||
public static int SIGNATURE_NEITHER_SIGNED = 0;
|
||||
public static int SIGNATURE_NO_MATCH = 0;
|
||||
public static int SIGNATURE_SECOND_NOT_SIGNED = 0;
|
||||
public static int SIGNATURE_UNKNOWN_PACKAGE = 0;
|
||||
public static int VERIFICATION_ALLOW = 0;
|
||||
public static int VERIFICATION_REJECT = 0;
|
||||
public static int VERSION_CODE_HIGHEST = 0;
|
||||
public static long MAXIMUM_VERIFICATION_TIMEOUT = 0;
|
||||
static public class NameNotFoundException extends AndroidException
|
||||
{
|
||||
public NameNotFoundException(){}
|
||||
public NameNotFoundException(String p0){}
|
||||
}
|
||||
}
|
||||
24
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PermissionGroupInfo.java
generated
Normal file
24
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PermissionGroupInfo.java
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
// Generated automatically from android.content.pm.PermissionGroupInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PermissionGroupInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedDescription = null;
|
||||
public PermissionGroupInfo(){}
|
||||
public PermissionGroupInfo(PermissionGroupInfo p0){}
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int priority = 0;
|
||||
public static Parcelable.Creator<PermissionGroupInfo> CREATOR = null;
|
||||
public static int FLAG_PERSONAL_INFO = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
48
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PermissionInfo.java
generated
Normal file
48
java/ql/test/stubs/google-android-9.0.0/android/content/pm/PermissionInfo.java
generated
Normal file
@@ -0,0 +1,48 @@
|
||||
// Generated automatically from android.content.pm.PermissionInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PermissionInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedDescription = null;
|
||||
public PermissionInfo(){}
|
||||
public PermissionInfo(PermissionInfo p0){}
|
||||
public String group = null;
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int getProtection(){ return 0; }
|
||||
public int getProtectionFlags(){ return 0; }
|
||||
public int protectionLevel = 0;
|
||||
public static Parcelable.Creator<PermissionInfo> CREATOR = null;
|
||||
public static int FLAG_COSTS_MONEY = 0;
|
||||
public static int FLAG_HARD_RESTRICTED = 0;
|
||||
public static int FLAG_IMMUTABLY_RESTRICTED = 0;
|
||||
public static int FLAG_INSTALLED = 0;
|
||||
public static int FLAG_SOFT_RESTRICTED = 0;
|
||||
public static int PROTECTION_DANGEROUS = 0;
|
||||
public static int PROTECTION_FLAG_APPOP = 0;
|
||||
public static int PROTECTION_FLAG_DEVELOPMENT = 0;
|
||||
public static int PROTECTION_FLAG_INSTALLER = 0;
|
||||
public static int PROTECTION_FLAG_INSTANT = 0;
|
||||
public static int PROTECTION_FLAG_PRE23 = 0;
|
||||
public static int PROTECTION_FLAG_PREINSTALLED = 0;
|
||||
public static int PROTECTION_FLAG_PRIVILEGED = 0;
|
||||
public static int PROTECTION_FLAG_RUNTIME_ONLY = 0;
|
||||
public static int PROTECTION_FLAG_SETUP = 0;
|
||||
public static int PROTECTION_FLAG_SYSTEM = 0;
|
||||
public static int PROTECTION_FLAG_VERIFIER = 0;
|
||||
public static int PROTECTION_MASK_BASE = 0;
|
||||
public static int PROTECTION_MASK_FLAGS = 0;
|
||||
public static int PROTECTION_NORMAL = 0;
|
||||
public static int PROTECTION_SIGNATURE = 0;
|
||||
public static int PROTECTION_SIGNATURE_OR_SYSTEM = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
33
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ProviderInfo.java
generated
Normal file
33
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ProviderInfo.java
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
// Generated automatically from android.content.pm.ProviderInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.content.pm.PathPermission;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PatternMatcher;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ProviderInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public PathPermission[] pathPermissions = null;
|
||||
public PatternMatcher[] uriPermissionPatterns = null;
|
||||
public ProviderInfo(){}
|
||||
public ProviderInfo(ProviderInfo p0){}
|
||||
public String authority = null;
|
||||
public String readPermission = null;
|
||||
public String toString(){ return null; }
|
||||
public String writePermission = null;
|
||||
public boolean forceUriPermissions = false;
|
||||
public boolean grantUriPermissions = false;
|
||||
public boolean isSyncable = false;
|
||||
public boolean multiprocess = false;
|
||||
public int describeContents(){ return 0; }
|
||||
public int flags = 0;
|
||||
public int initOrder = 0;
|
||||
public static Parcelable.Creator<ProviderInfo> CREATOR = null;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
41
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ResolveInfo.java
generated
Normal file
41
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ResolveInfo.java
generated
Normal file
@@ -0,0 +1,41 @@
|
||||
// Generated automatically from android.content.pm.ResolveInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.IntentFilter;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ResolveInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo activityInfo = null;
|
||||
public CharSequence loadLabel(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedLabel = null;
|
||||
public Drawable loadIcon(PackageManager p0){ return null; }
|
||||
public IntentFilter filter = null;
|
||||
public ProviderInfo providerInfo = null;
|
||||
public ResolveInfo(){}
|
||||
public ResolveInfo(ResolveInfo p0){}
|
||||
public ServiceInfo serviceInfo = null;
|
||||
public String resolvePackageName = null;
|
||||
public String toString(){ return null; }
|
||||
public boolean isDefault = false;
|
||||
public boolean isInstantAppAvailable = false;
|
||||
public final int getIconResource(){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int icon = 0;
|
||||
public int labelRes = 0;
|
||||
public int match = 0;
|
||||
public int preferredOrder = 0;
|
||||
public int priority = 0;
|
||||
public int specificIndex = 0;
|
||||
public static Parcelable.Creator<ResolveInfo> CREATOR = null;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
35
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ServiceInfo.java
generated
Normal file
35
java/ql/test/stubs/google-android-9.0.0/android/content/pm/ServiceInfo.java
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
// Generated automatically from android.content.pm.ServiceInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ServiceInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public ServiceInfo(){}
|
||||
public ServiceInfo(ServiceInfo p0){}
|
||||
public String permission = null;
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int flags = 0;
|
||||
public int getForegroundServiceType(){ return 0; }
|
||||
public static Parcelable.Creator<ServiceInfo> CREATOR = null;
|
||||
public static int FLAG_EXTERNAL_SERVICE = 0;
|
||||
public static int FLAG_ISOLATED_PROCESS = 0;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public static int FLAG_STOP_WITH_TASK = 0;
|
||||
public static int FLAG_USE_APP_ZYGOTE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_DATA_SYNC = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_LOCATION = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MANIFEST = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_NONE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_PHONE_CALL = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
27
java/ql/test/stubs/google-android-9.0.0/android/content/pm/SharedLibraryInfo.java
generated
Normal file
27
java/ql/test/stubs/google-android-9.0.0/android/content/pm/SharedLibraryInfo.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from android.content.pm.SharedLibraryInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.List;
|
||||
|
||||
public class SharedLibraryInfo implements Parcelable
|
||||
{
|
||||
protected SharedLibraryInfo() {}
|
||||
public List<VersionedPackage> getDependentPackages(){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public VersionedPackage getDeclaringPackage(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getType(){ return 0; }
|
||||
public int getVersion(){ return 0; }
|
||||
public long getLongVersion(){ return 0; }
|
||||
public static Parcelable.Creator<SharedLibraryInfo> CREATOR = null;
|
||||
public static int TYPE_BUILTIN = 0;
|
||||
public static int TYPE_DYNAMIC = 0;
|
||||
public static int TYPE_STATIC = 0;
|
||||
public static int VERSION_UNDEFINED = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/Signature.java
generated
Normal file
3
java/ql/test/stubs/google-android-9.0.0/android/content/pm/Signature.java
generated
Normal file
@@ -0,0 +1,3 @@
|
||||
package android.content.pm;
|
||||
|
||||
interface Signature { }
|
||||
20
java/ql/test/stubs/google-android-9.0.0/android/content/pm/SigningInfo.java
generated
Normal file
20
java/ql/test/stubs/google-android-9.0.0/android/content/pm/SigningInfo.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from android.content.pm.SigningInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.Signature;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SigningInfo implements Parcelable
|
||||
{
|
||||
public Signature[] getApkContentsSigners(){ return null; }
|
||||
public Signature[] getSigningCertificateHistory(){ return null; }
|
||||
public SigningInfo(){}
|
||||
public SigningInfo(SigningInfo p0){}
|
||||
public boolean hasMultipleSigners(){ return false; }
|
||||
public boolean hasPastSigningCertificates(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<SigningInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
20
java/ql/test/stubs/google-android-9.0.0/android/content/pm/VersionedPackage.java
generated
Normal file
20
java/ql/test/stubs/google-android-9.0.0/android/content/pm/VersionedPackage.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from android.content.pm.VersionedPackage for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class VersionedPackage implements Parcelable
|
||||
{
|
||||
protected VersionedPackage() {}
|
||||
public String getPackageName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public VersionedPackage(String p0, int p1){}
|
||||
public VersionedPackage(String p0, long p1){}
|
||||
public int describeContents(){ return 0; }
|
||||
public int getVersionCode(){ return 0; }
|
||||
public long getLongVersionCode(){ return 0; }
|
||||
public static Parcelable.Creator<VersionedPackage> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
26
java/ql/test/stubs/google-android-9.0.0/android/content/res/AssetManager.java
generated
Normal file
26
java/ql/test/stubs/google-android-9.0.0/android/content/res/AssetManager.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from android.content.res.AssetManager for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class AssetManager implements AutoCloseable
|
||||
{
|
||||
protected void finalize(){}
|
||||
public AssetFileDescriptor openFd(String p0){ return null; }
|
||||
public AssetFileDescriptor openNonAssetFd(String p0){ return null; }
|
||||
public AssetFileDescriptor openNonAssetFd(int p0, String p1){ return null; }
|
||||
public InputStream open(String p0){ return null; }
|
||||
public InputStream open(String p0, int p1){ return null; }
|
||||
public String[] getLocales(){ return null; }
|
||||
public String[] list(String p0){ return null; }
|
||||
public XmlResourceParser openXmlResourceParser(String p0){ return null; }
|
||||
public XmlResourceParser openXmlResourceParser(int p0, String p1){ return null; }
|
||||
public static int ACCESS_BUFFER = 0;
|
||||
public static int ACCESS_RANDOM = 0;
|
||||
public static int ACCESS_STREAMING = 0;
|
||||
public static int ACCESS_UNKNOWN = 0;
|
||||
public void close(){}
|
||||
}
|
||||
27
java/ql/test/stubs/google-android-9.0.0/android/content/res/ColorStateList.java
generated
Normal file
27
java/ql/test/stubs/google-android-9.0.0/android/content/res/ColorStateList.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from android.content.res.ColorStateList for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
public class ColorStateList implements Parcelable
|
||||
{
|
||||
protected ColorStateList() {}
|
||||
public ColorStateList withAlpha(int p0){ return null; }
|
||||
public ColorStateList(int[][] p0, int[] p1){}
|
||||
public String toString(){ return null; }
|
||||
public boolean isOpaque(){ return false; }
|
||||
public boolean isStateful(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getColorForState(int[] p0, int p1){ return 0; }
|
||||
public int getDefaultColor(){ return 0; }
|
||||
public static ColorStateList createFromXml(Resources p0, XmlPullParser p1){ return null; }
|
||||
public static ColorStateList createFromXml(Resources p0, XmlPullParser p1, Resources.Theme p2){ return null; }
|
||||
public static ColorStateList valueOf(int p0){ return null; }
|
||||
public static Parcelable.Creator<ColorStateList> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
129
java/ql/test/stubs/google-android-9.0.0/android/content/res/Configuration.java
generated
Normal file
129
java/ql/test/stubs/google-android-9.0.0/android/content/res/Configuration.java
generated
Normal file
@@ -0,0 +1,129 @@
|
||||
// Generated automatically from android.content.res.Configuration for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.os.LocaleList;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.Locale;
|
||||
|
||||
public class Configuration implements Comparable<Configuration>, Parcelable
|
||||
{
|
||||
public Configuration(){}
|
||||
public Configuration(Configuration p0){}
|
||||
public Locale locale = null;
|
||||
public LocaleList getLocales(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Configuration p0){ return false; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isLayoutSizeAtLeast(int p0){ return false; }
|
||||
public boolean isScreenHdr(){ return false; }
|
||||
public boolean isScreenRound(){ return false; }
|
||||
public boolean isScreenWideColorGamut(){ return false; }
|
||||
public float fontScale = 0;
|
||||
public int colorMode = 0;
|
||||
public int compareTo(Configuration p0){ return 0; }
|
||||
public int densityDpi = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int diff(Configuration p0){ return 0; }
|
||||
public int getLayoutDirection(){ return 0; }
|
||||
public int hardKeyboardHidden = 0;
|
||||
public int hashCode(){ return 0; }
|
||||
public int keyboard = 0;
|
||||
public int keyboardHidden = 0;
|
||||
public int mcc = 0;
|
||||
public int mnc = 0;
|
||||
public int navigation = 0;
|
||||
public int navigationHidden = 0;
|
||||
public int orientation = 0;
|
||||
public int screenHeightDp = 0;
|
||||
public int screenLayout = 0;
|
||||
public int screenWidthDp = 0;
|
||||
public int smallestScreenWidthDp = 0;
|
||||
public int touchscreen = 0;
|
||||
public int uiMode = 0;
|
||||
public int updateFrom(Configuration p0){ return 0; }
|
||||
public static Parcelable.Creator<Configuration> CREATOR = null;
|
||||
public static boolean needNewResources(int p0, int p1){ return false; }
|
||||
public static int COLOR_MODE_HDR_MASK = 0;
|
||||
public static int COLOR_MODE_HDR_NO = 0;
|
||||
public static int COLOR_MODE_HDR_SHIFT = 0;
|
||||
public static int COLOR_MODE_HDR_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_HDR_YES = 0;
|
||||
public static int COLOR_MODE_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_MASK = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_NO = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_YES = 0;
|
||||
public static int DENSITY_DPI_UNDEFINED = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_NO = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_UNDEFINED = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_YES = 0;
|
||||
public static int KEYBOARDHIDDEN_NO = 0;
|
||||
public static int KEYBOARDHIDDEN_UNDEFINED = 0;
|
||||
public static int KEYBOARDHIDDEN_YES = 0;
|
||||
public static int KEYBOARD_12KEY = 0;
|
||||
public static int KEYBOARD_NOKEYS = 0;
|
||||
public static int KEYBOARD_QWERTY = 0;
|
||||
public static int KEYBOARD_UNDEFINED = 0;
|
||||
public static int MNC_ZERO = 0;
|
||||
public static int NAVIGATIONHIDDEN_NO = 0;
|
||||
public static int NAVIGATIONHIDDEN_UNDEFINED = 0;
|
||||
public static int NAVIGATIONHIDDEN_YES = 0;
|
||||
public static int NAVIGATION_DPAD = 0;
|
||||
public static int NAVIGATION_NONAV = 0;
|
||||
public static int NAVIGATION_TRACKBALL = 0;
|
||||
public static int NAVIGATION_UNDEFINED = 0;
|
||||
public static int NAVIGATION_WHEEL = 0;
|
||||
public static int ORIENTATION_LANDSCAPE = 0;
|
||||
public static int ORIENTATION_PORTRAIT = 0;
|
||||
public static int ORIENTATION_SQUARE = 0;
|
||||
public static int ORIENTATION_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_LTR = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_MASK = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_RTL = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_SHIFT = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LONG_MASK = 0;
|
||||
public static int SCREENLAYOUT_LONG_NO = 0;
|
||||
public static int SCREENLAYOUT_LONG_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LONG_YES = 0;
|
||||
public static int SCREENLAYOUT_ROUND_MASK = 0;
|
||||
public static int SCREENLAYOUT_ROUND_NO = 0;
|
||||
public static int SCREENLAYOUT_ROUND_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_ROUND_YES = 0;
|
||||
public static int SCREENLAYOUT_SIZE_LARGE = 0;
|
||||
public static int SCREENLAYOUT_SIZE_MASK = 0;
|
||||
public static int SCREENLAYOUT_SIZE_NORMAL = 0;
|
||||
public static int SCREENLAYOUT_SIZE_SMALL = 0;
|
||||
public static int SCREENLAYOUT_SIZE_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_SIZE_XLARGE = 0;
|
||||
public static int SCREENLAYOUT_UNDEFINED = 0;
|
||||
public static int SCREEN_HEIGHT_DP_UNDEFINED = 0;
|
||||
public static int SCREEN_WIDTH_DP_UNDEFINED = 0;
|
||||
public static int SMALLEST_SCREEN_WIDTH_DP_UNDEFINED = 0;
|
||||
public static int TOUCHSCREEN_FINGER = 0;
|
||||
public static int TOUCHSCREEN_NOTOUCH = 0;
|
||||
public static int TOUCHSCREEN_STYLUS = 0;
|
||||
public static int TOUCHSCREEN_UNDEFINED = 0;
|
||||
public static int UI_MODE_NIGHT_MASK = 0;
|
||||
public static int UI_MODE_NIGHT_NO = 0;
|
||||
public static int UI_MODE_NIGHT_UNDEFINED = 0;
|
||||
public static int UI_MODE_NIGHT_YES = 0;
|
||||
public static int UI_MODE_TYPE_APPLIANCE = 0;
|
||||
public static int UI_MODE_TYPE_CAR = 0;
|
||||
public static int UI_MODE_TYPE_DESK = 0;
|
||||
public static int UI_MODE_TYPE_MASK = 0;
|
||||
public static int UI_MODE_TYPE_NORMAL = 0;
|
||||
public static int UI_MODE_TYPE_TELEVISION = 0;
|
||||
public static int UI_MODE_TYPE_UNDEFINED = 0;
|
||||
public static int UI_MODE_TYPE_VR_HEADSET = 0;
|
||||
public static int UI_MODE_TYPE_WATCH = 0;
|
||||
public void readFromParcel(Parcel p0){}
|
||||
public void setLayoutDirection(Locale p0){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setLocales(LocaleList p0){}
|
||||
public void setTo(Configuration p0){}
|
||||
public void setToDefaults(){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
101
java/ql/test/stubs/google-android-9.0.0/android/content/res/Resources.java
generated
Normal file
101
java/ql/test/stubs/google-android-9.0.0/android/content/res/Resources.java
generated
Normal file
@@ -0,0 +1,101 @@
|
||||
// Generated automatically from android.content.res.Resources for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.TypedArray;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.graphics.Movie;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.TypedValue;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class Resources
|
||||
{
|
||||
protected Resources() {}
|
||||
public AssetFileDescriptor openRawResourceFd(int p0){ return null; }
|
||||
public CharSequence getQuantityText(int p0, int p1){ return null; }
|
||||
public CharSequence getText(int p0){ return null; }
|
||||
public CharSequence getText(int p0, CharSequence p1){ return null; }
|
||||
public CharSequence[] getTextArray(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0, Resources.Theme p1){ return null; }
|
||||
public Configuration getConfiguration(){ return null; }
|
||||
public DisplayMetrics getDisplayMetrics(){ return null; }
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Drawable getDrawable(int p0, Resources.Theme p1){ return null; }
|
||||
public Drawable getDrawableForDensity(int p0, int p1){ return null; }
|
||||
public Drawable getDrawableForDensity(int p0, int p1, Resources.Theme p2){ return null; }
|
||||
public InputStream openRawResource(int p0){ return null; }
|
||||
public InputStream openRawResource(int p0, TypedValue p1){ return null; }
|
||||
public Movie getMovie(int p0){ return null; }
|
||||
public Resources(AssetManager p0, DisplayMetrics p1, Configuration p2){}
|
||||
public String getQuantityString(int p0, int p1){ return null; }
|
||||
public String getQuantityString(int p0, int p1, Object... p2){ return null; }
|
||||
public String getResourceEntryName(int p0){ return null; }
|
||||
public String getResourceName(int p0){ return null; }
|
||||
public String getResourcePackageName(int p0){ return null; }
|
||||
public String getResourceTypeName(int p0){ return null; }
|
||||
public String getString(int p0){ return null; }
|
||||
public String getString(int p0, Object... p1){ return null; }
|
||||
public String[] getStringArray(int p0){ return null; }
|
||||
public TypedArray obtainAttributes(AttributeSet p0, int[] p1){ return null; }
|
||||
public TypedArray obtainTypedArray(int p0){ return null; }
|
||||
public Typeface getFont(int p0){ return null; }
|
||||
public XmlResourceParser getAnimation(int p0){ return null; }
|
||||
public XmlResourceParser getLayout(int p0){ return null; }
|
||||
public XmlResourceParser getXml(int p0){ return null; }
|
||||
public boolean getBoolean(int p0){ return false; }
|
||||
public class Theme
|
||||
{
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Resources getResources(){ return null; }
|
||||
public TypedArray obtainStyledAttributes(AttributeSet p0, int[] p1, int p2, int p3){ return null; }
|
||||
public TypedArray obtainStyledAttributes(int p0, int[] p1){ return null; }
|
||||
public TypedArray obtainStyledAttributes(int[] p0){ return null; }
|
||||
public boolean resolveAttribute(int p0, TypedValue p1, boolean p2){ return false; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getExplicitStyle(AttributeSet p0){ return 0; }
|
||||
public int[] getAttributeResolutionStack(int p0, int p1, int p2){ return null; }
|
||||
public void applyStyle(int p0, boolean p1){}
|
||||
public void dump(int p0, String p1, String p2){}
|
||||
public void rebase(){}
|
||||
public void setTo(Resources.Theme p0){}
|
||||
}
|
||||
public final AssetManager getAssets(){ return null; }
|
||||
public final Resources.Theme newTheme(){ return null; }
|
||||
public final void finishPreloading(){}
|
||||
public final void flushLayoutCache(){}
|
||||
public float getDimension(int p0){ return 0; }
|
||||
public float getFloat(int p0){ return 0; }
|
||||
public float getFraction(int p0, int p1, int p2){ return 0; }
|
||||
public int getColor(int p0){ return 0; }
|
||||
public int getColor(int p0, Resources.Theme p1){ return 0; }
|
||||
public int getDimensionPixelOffset(int p0){ return 0; }
|
||||
public int getDimensionPixelSize(int p0){ return 0; }
|
||||
public int getIdentifier(String p0, String p1, String p2){ return 0; }
|
||||
public int getInteger(int p0){ return 0; }
|
||||
public int[] getIntArray(int p0){ return null; }
|
||||
public static Resources getSystem(){ return null; }
|
||||
public static int ID_NULL = 0;
|
||||
public static int getAttributeSetSourceResId(AttributeSet p0){ return 0; }
|
||||
public void getValue(String p0, TypedValue p1, boolean p2){}
|
||||
public void getValue(int p0, TypedValue p1, boolean p2){}
|
||||
public void getValueForDensity(int p0, int p1, TypedValue p2, boolean p3){}
|
||||
public void parseBundleExtra(String p0, AttributeSet p1, Bundle p2){}
|
||||
public void parseBundleExtras(XmlResourceParser p0, Bundle p1){}
|
||||
public void updateConfiguration(Configuration p0, DisplayMetrics p1){}
|
||||
static public class NotFoundException extends RuntimeException
|
||||
{
|
||||
public NotFoundException(){}
|
||||
public NotFoundException(String p0){}
|
||||
public NotFoundException(String p0, Exception p1){}
|
||||
}
|
||||
}
|
||||
47
java/ql/test/stubs/google-android-9.0.0/android/content/res/TypedArray.java
generated
Normal file
47
java/ql/test/stubs/google-android-9.0.0/android/content/res/TypedArray.java
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
// Generated automatically from android.content.res.TypedArray for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.TypedValue;
|
||||
|
||||
public class TypedArray
|
||||
{
|
||||
protected TypedArray() {}
|
||||
public CharSequence getText(int p0){ return null; }
|
||||
public CharSequence[] getTextArray(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0){ return null; }
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Resources getResources(){ return null; }
|
||||
public String getNonResourceString(int p0){ return null; }
|
||||
public String getPositionDescription(){ return null; }
|
||||
public String getString(int p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public TypedValue peekValue(int p0){ return null; }
|
||||
public Typeface getFont(int p0){ return null; }
|
||||
public boolean getBoolean(int p0, boolean p1){ return false; }
|
||||
public boolean getValue(int p0, TypedValue p1){ return false; }
|
||||
public boolean hasValue(int p0){ return false; }
|
||||
public boolean hasValueOrEmpty(int p0){ return false; }
|
||||
public float getDimension(int p0, float p1){ return 0; }
|
||||
public float getFloat(int p0, float p1){ return 0; }
|
||||
public float getFraction(int p0, int p1, int p2, float p3){ return 0; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getColor(int p0, int p1){ return 0; }
|
||||
public int getDimensionPixelOffset(int p0, int p1){ return 0; }
|
||||
public int getDimensionPixelSize(int p0, int p1){ return 0; }
|
||||
public int getIndex(int p0){ return 0; }
|
||||
public int getIndexCount(){ return 0; }
|
||||
public int getInt(int p0, int p1){ return 0; }
|
||||
public int getInteger(int p0, int p1){ return 0; }
|
||||
public int getLayoutDimension(int p0, String p1){ return 0; }
|
||||
public int getLayoutDimension(int p0, int p1){ return 0; }
|
||||
public int getResourceId(int p0, int p1){ return 0; }
|
||||
public int getSourceResourceId(int p0, int p1){ return 0; }
|
||||
public int getType(int p0){ return 0; }
|
||||
public int length(){ return 0; }
|
||||
public void recycle(){}
|
||||
}
|
||||
12
java/ql/test/stubs/google-android-9.0.0/android/content/res/XmlResourceParser.java
generated
Normal file
12
java/ql/test/stubs/google-android-9.0.0/android/content/res/XmlResourceParser.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from android.content.res.XmlResourceParser for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.util.AttributeSet;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
public interface XmlResourceParser extends AttributeSet, AutoCloseable, XmlPullParser
|
||||
{
|
||||
String getAttributeNamespace(int p0);
|
||||
void close();
|
||||
}
|
||||
Reference in New Issue
Block a user