xref: /aosp_15_r20/prebuilts/sdk/31/public/api/android.test.mock.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.test.mock {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockAccountManager {
5*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static android.accounts.AccountManager newMockAccountManager(android.content.Context);
6*344a7f5eSAndroid Build Coastguard Worker  }
7*344a7f5eSAndroid Build Coastguard Worker
8*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockApplication extends android.app.Application {
9*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public MockApplication();
10*344a7f5eSAndroid Build Coastguard Worker  }
11*344a7f5eSAndroid Build Coastguard Worker
12*344a7f5eSAndroid Build Coastguard Worker  public class MockContentProvider extends android.content.ContentProvider {
13*344a7f5eSAndroid Build Coastguard Worker    ctor protected MockContentProvider();
14*344a7f5eSAndroid Build Coastguard Worker    ctor public MockContentProvider(android.content.Context);
15*344a7f5eSAndroid Build Coastguard Worker    ctor public MockContentProvider(android.content.Context, String, String, android.content.pm.PathPermission[]);
16*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation>);
17*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static void attachInfoForTesting(android.content.ContentProvider, android.content.Context, android.content.pm.ProviderInfo);
18*344a7f5eSAndroid Build Coastguard Worker    method public int delete(android.net.Uri, String, String[]);
19*344a7f5eSAndroid Build Coastguard Worker    method public String getType(android.net.Uri);
20*344a7f5eSAndroid Build Coastguard Worker    method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
21*344a7f5eSAndroid Build Coastguard Worker    method public boolean onCreate();
22*344a7f5eSAndroid Build Coastguard Worker    method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, String, android.os.Bundle);
23*344a7f5eSAndroid Build Coastguard Worker    method public android.database.Cursor query(android.net.Uri, String[], String, String[], String);
24*344a7f5eSAndroid Build Coastguard Worker    method public int update(android.net.Uri, android.content.ContentValues, String, String[]);
25*344a7f5eSAndroid Build Coastguard Worker  }
26*344a7f5eSAndroid Build Coastguard Worker
27*344a7f5eSAndroid Build Coastguard Worker  public class MockContentResolver extends android.content.ContentResolver {
28*344a7f5eSAndroid Build Coastguard Worker    ctor public MockContentResolver();
29*344a7f5eSAndroid Build Coastguard Worker    ctor public MockContentResolver(android.content.Context);
30*344a7f5eSAndroid Build Coastguard Worker    method public void addProvider(String, android.content.ContentProvider);
31*344a7f5eSAndroid Build Coastguard Worker  }
32*344a7f5eSAndroid Build Coastguard Worker
33*344a7f5eSAndroid Build Coastguard Worker  public class MockContext extends android.content.Context {
34*344a7f5eSAndroid Build Coastguard Worker    ctor public MockContext();
35*344a7f5eSAndroid Build Coastguard Worker    method public boolean bindService(android.content.Intent, android.content.ServiceConnection, int);
36*344a7f5eSAndroid Build Coastguard Worker    method public int checkCallingOrSelfPermission(String);
37*344a7f5eSAndroid Build Coastguard Worker    method public int checkCallingOrSelfUriPermission(android.net.Uri, int);
38*344a7f5eSAndroid Build Coastguard Worker    method public int checkCallingPermission(String);
39*344a7f5eSAndroid Build Coastguard Worker    method public int checkCallingUriPermission(android.net.Uri, int);
40*344a7f5eSAndroid Build Coastguard Worker    method public int checkPermission(String, int, int);
41*344a7f5eSAndroid Build Coastguard Worker    method public int checkSelfPermission(String);
42*344a7f5eSAndroid Build Coastguard Worker    method public int checkUriPermission(android.net.Uri, int, int, int);
43*344a7f5eSAndroid Build Coastguard Worker    method public int checkUriPermission(android.net.Uri, String, String, int, int, int);
44*344a7f5eSAndroid Build Coastguard Worker    method public void clearWallpaper();
45*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context createConfigurationContext(android.content.res.Configuration);
46*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context createContextForSplit(String) throws android.content.pm.PackageManager.NameNotFoundException;
47*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context createDeviceProtectedStorageContext();
48*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context createDisplayContext(android.view.Display);
49*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context createPackageContext(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
50*344a7f5eSAndroid Build Coastguard Worker    method public String[] databaseList();
51*344a7f5eSAndroid Build Coastguard Worker    method public boolean deleteDatabase(String);
52*344a7f5eSAndroid Build Coastguard Worker    method public boolean deleteFile(String);
53*344a7f5eSAndroid Build Coastguard Worker    method public boolean deleteSharedPreferences(String);
54*344a7f5eSAndroid Build Coastguard Worker    method public void enforceCallingOrSelfPermission(String, String);
55*344a7f5eSAndroid Build Coastguard Worker    method public void enforceCallingOrSelfUriPermission(android.net.Uri, int, String);
56*344a7f5eSAndroid Build Coastguard Worker    method public void enforceCallingPermission(String, String);
57*344a7f5eSAndroid Build Coastguard Worker    method public void enforceCallingUriPermission(android.net.Uri, int, String);
58*344a7f5eSAndroid Build Coastguard Worker    method public void enforcePermission(String, int, int, String);
59*344a7f5eSAndroid Build Coastguard Worker    method public void enforceUriPermission(android.net.Uri, int, int, int, String);
60*344a7f5eSAndroid Build Coastguard Worker    method public void enforceUriPermission(android.net.Uri, String, String, int, int, int, String);
61*344a7f5eSAndroid Build Coastguard Worker    method public String[] fileList();
62*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Context getApplicationContext();
63*344a7f5eSAndroid Build Coastguard Worker    method public android.content.pm.ApplicationInfo getApplicationInfo();
64*344a7f5eSAndroid Build Coastguard Worker    method public android.content.res.AssetManager getAssets();
65*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getCacheDir();
66*344a7f5eSAndroid Build Coastguard Worker    method public ClassLoader getClassLoader();
67*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getCodeCacheDir();
68*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ContentResolver getContentResolver();
69*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getDataDir();
70*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getDatabasePath(String);
71*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getDir(String, int);
72*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getExternalCacheDir();
73*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File[] getExternalCacheDirs();
74*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getExternalFilesDir(String);
75*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File[] getExternalFilesDirs(String);
76*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File[] getExternalMediaDirs();
77*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getFileStreamPath(String);
78*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getFilesDir();
79*344a7f5eSAndroid Build Coastguard Worker    method public android.os.Looper getMainLooper();
80*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getNoBackupFilesDir();
81*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File getObbDir();
82*344a7f5eSAndroid Build Coastguard Worker    method public java.io.File[] getObbDirs();
83*344a7f5eSAndroid Build Coastguard Worker    method public String getPackageCodePath();
84*344a7f5eSAndroid Build Coastguard Worker    method public android.content.pm.PackageManager getPackageManager();
85*344a7f5eSAndroid Build Coastguard Worker    method public String getPackageName();
86*344a7f5eSAndroid Build Coastguard Worker    method public String getPackageResourcePath();
87*344a7f5eSAndroid Build Coastguard Worker    method public android.content.res.Resources getResources();
88*344a7f5eSAndroid Build Coastguard Worker    method public android.content.SharedPreferences getSharedPreferences(String, int);
89*344a7f5eSAndroid Build Coastguard Worker    method public Object getSystemService(String);
90*344a7f5eSAndroid Build Coastguard Worker    method public String getSystemServiceName(Class<?>);
91*344a7f5eSAndroid Build Coastguard Worker    method public android.content.res.Resources.Theme getTheme();
92*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.drawable.Drawable getWallpaper();
93*344a7f5eSAndroid Build Coastguard Worker    method public int getWallpaperDesiredMinimumHeight();
94*344a7f5eSAndroid Build Coastguard Worker    method public int getWallpaperDesiredMinimumWidth();
95*344a7f5eSAndroid Build Coastguard Worker    method public void grantUriPermission(String, android.net.Uri, int);
96*344a7f5eSAndroid Build Coastguard Worker    method public boolean isDeviceProtectedStorage();
97*344a7f5eSAndroid Build Coastguard Worker    method public boolean moveDatabaseFrom(android.content.Context, String);
98*344a7f5eSAndroid Build Coastguard Worker    method public boolean moveSharedPreferencesFrom(android.content.Context, String);
99*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileInputStream openFileInput(String) throws java.io.FileNotFoundException;
100*344a7f5eSAndroid Build Coastguard Worker    method public java.io.FileOutputStream openFileOutput(String, int) throws java.io.FileNotFoundException;
101*344a7f5eSAndroid Build Coastguard Worker    method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory);
102*344a7f5eSAndroid Build Coastguard Worker    method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler);
103*344a7f5eSAndroid Build Coastguard Worker    method public android.graphics.drawable.Drawable peekWallpaper();
104*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter);
105*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, int);
106*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler);
107*344a7f5eSAndroid Build Coastguard Worker    method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler, int);
108*344a7f5eSAndroid Build Coastguard Worker    method public void removeStickyBroadcast(android.content.Intent);
109*344a7f5eSAndroid Build Coastguard Worker    method public void removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle);
110*344a7f5eSAndroid Build Coastguard Worker    method public void revokeUriPermission(android.net.Uri, int);
111*344a7f5eSAndroid Build Coastguard Worker    method public void revokeUriPermission(String, android.net.Uri, int);
112*344a7f5eSAndroid Build Coastguard Worker    method public void sendBroadcast(android.content.Intent);
113*344a7f5eSAndroid Build Coastguard Worker    method public void sendBroadcast(android.content.Intent, String);
114*344a7f5eSAndroid Build Coastguard Worker    method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle);
115*344a7f5eSAndroid Build Coastguard Worker    method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String);
116*344a7f5eSAndroid Build Coastguard Worker    method public void sendOrderedBroadcast(android.content.Intent, String);
117*344a7f5eSAndroid Build Coastguard Worker    method public void sendOrderedBroadcast(android.content.Intent, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
118*344a7f5eSAndroid Build Coastguard Worker    method public void sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
119*344a7f5eSAndroid Build Coastguard Worker    method public void sendStickyBroadcast(android.content.Intent);
120*344a7f5eSAndroid Build Coastguard Worker    method public void sendStickyBroadcast(android.content.Intent, android.os.Bundle);
121*344a7f5eSAndroid Build Coastguard Worker    method public void sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle);
122*344a7f5eSAndroid Build Coastguard Worker    method public void sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
123*344a7f5eSAndroid Build Coastguard Worker    method public void sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle);
124*344a7f5eSAndroid Build Coastguard Worker    method public void setTheme(int);
125*344a7f5eSAndroid Build Coastguard Worker    method public void setWallpaper(android.graphics.Bitmap) throws java.io.IOException;
126*344a7f5eSAndroid Build Coastguard Worker    method public void setWallpaper(java.io.InputStream) throws java.io.IOException;
127*344a7f5eSAndroid Build Coastguard Worker    method public void startActivities(android.content.Intent[]);
128*344a7f5eSAndroid Build Coastguard Worker    method public void startActivities(android.content.Intent[], android.os.Bundle);
129*344a7f5eSAndroid Build Coastguard Worker    method public void startActivity(android.content.Intent);
130*344a7f5eSAndroid Build Coastguard Worker    method public void startActivity(android.content.Intent, android.os.Bundle);
131*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ComponentName startForegroundService(android.content.Intent);
132*344a7f5eSAndroid Build Coastguard Worker    method public boolean startInstrumentation(android.content.ComponentName, String, android.os.Bundle);
133*344a7f5eSAndroid Build Coastguard Worker    method public void startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int) throws android.content.IntentSender.SendIntentException;
134*344a7f5eSAndroid Build Coastguard Worker    method public void startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int, android.os.Bundle) throws android.content.IntentSender.SendIntentException;
135*344a7f5eSAndroid Build Coastguard Worker    method public android.content.ComponentName startService(android.content.Intent);
136*344a7f5eSAndroid Build Coastguard Worker    method public boolean stopService(android.content.Intent);
137*344a7f5eSAndroid Build Coastguard Worker    method public void unbindService(android.content.ServiceConnection);
138*344a7f5eSAndroid Build Coastguard Worker    method public void unregisterReceiver(android.content.BroadcastReceiver);
139*344a7f5eSAndroid Build Coastguard Worker  }
140*344a7f5eSAndroid Build Coastguard Worker
141*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockCursor implements android.database.Cursor {
142*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public MockCursor();
143*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void close();
144*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void copyStringToBuffer(int, android.database.CharArrayBuffer);
145*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void deactivate();
146*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public byte[] getBlob(int);
147*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getColumnCount();
148*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getColumnIndex(String);
149*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getColumnIndexOrThrow(String);
150*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getColumnName(int);
151*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] getColumnNames();
152*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getCount();
153*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public double getDouble(int);
154*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.Bundle getExtras();
155*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public float getFloat(int);
156*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getInt(int);
157*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public long getLong(int);
158*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.net.Uri getNotificationUri();
159*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getPosition();
160*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public short getShort(int);
161*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getString(int);
162*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getType(int);
163*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean getWantsAllOnMoveCalls();
164*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isAfterLast();
165*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isBeforeFirst();
166*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isClosed();
167*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isFirst();
168*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isLast();
169*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isNull(int);
170*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean move(int);
171*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean moveToFirst();
172*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean moveToLast();
173*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean moveToNext();
174*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean moveToPosition(int);
175*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean moveToPrevious();
176*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerContentObserver(android.database.ContentObserver);
177*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void registerDataSetObserver(android.database.DataSetObserver);
178*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean requery();
179*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.os.Bundle respond(android.os.Bundle);
180*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setExtras(android.os.Bundle);
181*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setNotificationUri(android.content.ContentResolver, android.net.Uri);
182*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void unregisterContentObserver(android.database.ContentObserver);
183*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void unregisterDataSetObserver(android.database.DataSetObserver);
184*344a7f5eSAndroid Build Coastguard Worker  }
185*344a7f5eSAndroid Build Coastguard Worker
186*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockDialogInterface implements android.content.DialogInterface {
187*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public MockDialogInterface();
188*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void cancel();
189*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void dismiss();
190*344a7f5eSAndroid Build Coastguard Worker  }
191*344a7f5eSAndroid Build Coastguard Worker
192*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
193*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public MockPackageManager();
194*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void addPackageToPreferred(String);
195*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean addPermission(android.content.pm.PermissionInfo);
196*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean addPermissionAsync(android.content.pm.PermissionInfo);
197*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void addPreferredActivity(android.content.IntentFilter, int, android.content.ComponentName[], android.content.ComponentName);
198*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean canRequestPackageInstalls();
199*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] canonicalToCurrentPackageNames(String[]);
200*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int checkPermission(String, String);
201*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int checkSignatures(String, String);
202*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int checkSignatures(int, int);
203*344a7f5eSAndroid Build Coastguard Worker    method public void clearInstantAppCookie();
204*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void clearPackagePreferredActivities(String);
205*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] currentToCanonicalPackageNames(String[]);
206*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void extendVerificationTimeout(int, int, long);
207*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityBanner(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException;
208*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityBanner(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException;
209*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityIcon(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException;
210*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityIcon(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException;
211*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ActivityInfo getActivityInfo(android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException;
212*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityLogo(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException;
213*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getActivityLogo(android.content.Intent) throws android.content.pm.PackageManager.NameNotFoundException;
214*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.IntentFilter> getAllIntentFilters(String);
215*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.PermissionGroupInfo> getAllPermissionGroups(int);
216*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationBanner(android.content.pm.ApplicationInfo);
217*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationBanner(String) throws android.content.pm.PackageManager.NameNotFoundException;
218*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getApplicationEnabledSetting(String);
219*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(android.content.pm.ApplicationInfo);
220*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(String) throws android.content.pm.PackageManager.NameNotFoundException;
221*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ApplicationInfo getApplicationInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
222*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public CharSequence getApplicationLabel(android.content.pm.ApplicationInfo);
223*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationLogo(android.content.pm.ApplicationInfo);
224*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getApplicationLogo(String) throws android.content.pm.PackageManager.NameNotFoundException;
225*344a7f5eSAndroid Build Coastguard Worker    method public android.content.pm.ChangedPackages getChangedPackages(int);
226*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getComponentEnabledSetting(android.content.ComponentName);
227*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getDefaultActivityIcon();
228*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getDrawable(String, int, android.content.pm.ApplicationInfo);
229*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplications(int);
230*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.PackageInfo> getInstalledPackages(int);
231*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getInstallerPackageName(String);
232*344a7f5eSAndroid Build Coastguard Worker    method public byte[] getInstantAppCookie();
233*344a7f5eSAndroid Build Coastguard Worker    method public int getInstantAppCookieMaxBytes();
234*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.InstrumentationInfo getInstrumentationInfo(android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException;
235*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Intent getLaunchIntentForPackage(String);
236*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.Intent getLeanbackLaunchIntentForPackage(String);
237*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String getNameForUid(int);
238*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int[] getPackageGids(String) throws android.content.pm.PackageManager.NameNotFoundException;
239*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int[] getPackageGids(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
240*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.PackageInfo getPackageInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
241*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.PackageInfo getPackageInfo(android.content.pm.VersionedPackage, int) throws android.content.pm.PackageManager.NameNotFoundException;
242*344a7f5eSAndroid Build Coastguard Worker    method public android.content.pm.PackageInstaller getPackageInstaller();
243*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getPackageUid(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
244*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] getPackagesForUid(int);
245*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.PackageInfo> getPackagesHoldingPermissions(String[], int);
246*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.PermissionGroupInfo getPermissionGroupInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
247*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.PermissionInfo getPermissionInfo(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
248*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getPreferredActivities(java.util.List<android.content.IntentFilter>, java.util.List<android.content.ComponentName>, String);
249*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.PackageInfo> getPreferredPackages(int);
250*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ProviderInfo getProviderInfo(android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException;
251*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ActivityInfo getReceiverInfo(android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException;
252*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.res.Resources getResourcesForActivity(android.content.ComponentName) throws android.content.pm.PackageManager.NameNotFoundException;
253*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.res.Resources getResourcesForApplication(android.content.pm.ApplicationInfo);
254*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.res.Resources getResourcesForApplication(String) throws android.content.pm.PackageManager.NameNotFoundException;
255*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ServiceInfo getServiceInfo(android.content.ComponentName, int) throws android.content.pm.PackageManager.NameNotFoundException;
256*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated @NonNull public java.util.List<android.content.pm.SharedLibraryInfo> getSharedLibraries(int);
257*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.FeatureInfo[] getSystemAvailableFeatures();
258*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public String[] getSystemSharedLibraryNames();
259*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public CharSequence getText(String, int, android.content.pm.ApplicationInfo);
260*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getUserBadgedDrawableForDensity(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
261*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getUserBadgedIcon(android.graphics.drawable.Drawable, android.os.UserHandle);
262*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public CharSequence getUserBadgedLabel(CharSequence, android.os.UserHandle);
263*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.res.XmlResourceParser getXml(String, int, android.content.pm.ApplicationInfo);
264*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasSystemFeature(String);
265*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean hasSystemFeature(String, int);
266*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInstantApp();
267*344a7f5eSAndroid Build Coastguard Worker    method public boolean isInstantApp(String);
268*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isPermissionRevokedByPolicy(String, String);
269*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public boolean isSafeMode();
270*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceivers(android.content.Intent, int);
271*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ProviderInfo> queryContentProviders(String, int, int);
272*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.InstrumentationInfo> queryInstrumentation(String, int);
273*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentActivities(android.content.Intent, int);
274*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentActivityOptions(android.content.ComponentName, android.content.Intent[], android.content.Intent, int);
275*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentContentProviders(android.content.Intent, int);
276*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentServices(android.content.Intent, int);
277*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public java.util.List<android.content.pm.PermissionInfo> queryPermissionsByGroup(String, int) throws android.content.pm.PackageManager.NameNotFoundException;
278*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void removePackageFromPreferred(String);
279*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void removePermission(String);
280*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ResolveInfo resolveActivity(android.content.Intent, int);
281*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ProviderInfo resolveContentProvider(String, int);
282*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ResolveInfo resolveService(android.content.Intent, int);
283*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.pm.ResolveInfo resolveServiceAsUser(android.content.Intent, int, int);
284*344a7f5eSAndroid Build Coastguard Worker    method public void setApplicationCategoryHint(String, int);
285*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setApplicationEnabledSetting(String, int, int);
286*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setComponentEnabledSetting(android.content.ComponentName, int, int);
287*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void setInstallerPackageName(String, String);
288*344a7f5eSAndroid Build Coastguard Worker    method public void updateInstantAppCookie(@NonNull byte[]);
289*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void verifyPendingInstall(int, int);
290*344a7f5eSAndroid Build Coastguard Worker  }
291*344a7f5eSAndroid Build Coastguard Worker
292*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockResources extends android.content.res.Resources {
293*344a7f5eSAndroid Build Coastguard Worker    ctor @Deprecated public MockResources();
294*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public int getColor(int) throws android.content.res.Resources.NotFoundException;
295*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.content.res.ColorStateList getColorStateList(int) throws android.content.res.Resources.NotFoundException;
296*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.drawable.Drawable getDrawable(int) throws android.content.res.Resources.NotFoundException;
297*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public android.graphics.Movie getMovie(int) throws android.content.res.Resources.NotFoundException;
298*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public void updateConfiguration(android.content.res.Configuration, android.util.DisplayMetrics);
299*344a7f5eSAndroid Build Coastguard Worker  }
300*344a7f5eSAndroid Build Coastguard Worker
301*344a7f5eSAndroid Build Coastguard Worker  @Deprecated public class MockService {
302*344a7f5eSAndroid Build Coastguard Worker    method @Deprecated public static <T extends android.app.Service> void attachForTesting(android.app.Service, android.content.Context, String, android.app.Application);
303*344a7f5eSAndroid Build Coastguard Worker  }
304*344a7f5eSAndroid Build Coastguard Worker
305*344a7f5eSAndroid Build Coastguard Worker}
306*344a7f5eSAndroid Build Coastguard Worker
307