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