• Home
  • Raw
  • Download

Lines Matching refs:android

2 package android.test.mock {
5 …method @Deprecated public static android.accounts.AccountManager newMockAccountManager(android.con…
8 @Deprecated public class MockApplication extends android.app.Application {
12 public class MockContentProvider extends android.content.ContentProvider {
14 ctor public MockContentProvider(android.content.Context);
15 …ctor public MockContentProvider(android.content.Context, String, String, android.content.pm.PathPe…
16 …method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.conte…
17 …ted public static void attachInfoForTesting(android.content.ContentProvider, android.content.Conte…
18 method public int delete(android.net.Uri, String, String[]);
19 method public String getType(android.net.Uri);
20 method public android.net.Uri insert(android.net.Uri, android.content.ContentValues);
22 …method public android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, String,
23 … method public android.database.Cursor query(android.net.Uri, String[], String, String[], String);
24 method public int update(android.net.Uri, android.content.ContentValues, String, String[]);
27 public class MockContentResolver extends android.content.ContentResolver {
29 ctor public MockContentResolver(android.content.Context);
30 method public void addProvider(String, android.content.ContentProvider);
33 public class MockContext extends android.content.Context {
35 … method public boolean bindService(android.content.Intent, android.content.ServiceConnection, int);
37 method public int checkCallingOrSelfUriPermission(android.net.Uri, int);
39 method public int checkCallingUriPermission(android.net.Uri, int);
42 method public int checkUriPermission(android.net.Uri, int, int, int);
43 method public int checkUriPermission(android.net.Uri, String, String, int, int, int);
45 …method public android.content.Context createConfigurationContext(android.content.res.Configuration…
46 …method public android.content.Context createContextForSplit(String) throws android.content.pm.Pack…
47 method public android.content.Context createDeviceProtectedStorageContext();
48 method public android.content.Context createDisplayContext(android.view.Display);
49 …method public android.content.Context createPackageContext(String, int) throws android.content.pm.…
55 method public void enforceCallingOrSelfUriPermission(android.net.Uri, int, String);
57 method public void enforceCallingUriPermission(android.net.Uri, int, String);
59 method public void enforceUriPermission(android.net.Uri, int, int, int, String);
60 method public void enforceUriPermission(android.net.Uri, String, String, int, int, int, String);
62 method public android.content.Context getApplicationContext();
63 method public android.content.pm.ApplicationInfo getApplicationInfo();
64 method public android.content.res.AssetManager getAssets();
68 method public android.content.ContentResolver getContentResolver();
79 method public android.os.Looper getMainLooper();
84 method public android.content.pm.PackageManager getPackageManager();
87 method public android.content.res.Resources getResources();
88 method public android.content.SharedPreferences getSharedPreferences(String, int);
91 method public android.content.res.Resources.Theme getTheme();
92 method public android.graphics.drawable.Drawable getWallpaper();
95 method public void grantUriPermission(String, android.net.Uri, int);
97 method public boolean moveDatabaseFrom(android.content.Context, String);
98 method public boolean moveSharedPreferencesFrom(android.content.Context, String);
101 …method public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.dat…
102 …d public android.database.sqlite.SQLiteDatabase openOrCreateDatabase(String, int, android.database…
103 method public android.graphics.drawable.Drawable peekWallpaper();
104 …method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.c…
105 …method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.c…
106 …method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.c…
107 …method public android.content.Intent registerReceiver(android.content.BroadcastReceiver, android.c…
108 method public void removeStickyBroadcast(android.content.Intent);
109 method public void removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle);
110 method public void revokeUriPermission(android.net.Uri, int);
111 method public void revokeUriPermission(String, android.net.Uri, int);
112 method public void sendBroadcast(android.content.Intent);
113 method public void sendBroadcast(android.content.Intent, String);
114 method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle);
115 method public void sendBroadcastAsUser(android.content.Intent, android.os.UserHandle, String);
116 method public void sendOrderedBroadcast(android.content.Intent, String);
117 …d sendOrderedBroadcast(android.content.Intent, String, android.content.BroadcastReceiver, android.…
118 …castAsUser(android.content.Intent, android.os.UserHandle, String, android.content.BroadcastReceive…
119 method public void sendStickyBroadcast(android.content.Intent);
120 method public void sendStickyBroadcast(android.content.Intent, android.os.Bundle);
121 method public void sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle);
122 …sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.H…
123 …roadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, a…
125 method public void setWallpaper(android.graphics.Bitmap) throws java.io.IOException;
127 method public void startActivities(android.content.Intent[]);
128 method public void startActivities(android.content.Intent[], android.os.Bundle);
129 method public void startActivity(android.content.Intent);
130 method public void startActivity(android.content.Intent, android.os.Bundle);
131 method public android.content.ComponentName startForegroundService(android.content.Intent);
132 …method public boolean startInstrumentation(android.content.ComponentName, String, android.os.Bundl…
133 …thod public void startIntentSender(android.content.IntentSender, android.content.Intent, int, int,…
134 …c void startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int, andr…
135 method public android.content.ComponentName startService(android.content.Intent);
136 method public boolean stopService(android.content.Intent);
137 method public void unbindService(android.content.ServiceConnection);
138 method public void unregisterReceiver(android.content.BroadcastReceiver);
141 @Deprecated public class MockCursor implements android.database.Cursor {
144 method @Deprecated public void copyStringToBuffer(int, android.database.CharArrayBuffer);
154 method @Deprecated public android.os.Bundle getExtras();
158 method @Deprecated public android.net.Uri getNotificationUri();
176 method @Deprecated public void registerContentObserver(android.database.ContentObserver);
177 method @Deprecated public void registerDataSetObserver(android.database.DataSetObserver);
179 method @Deprecated public android.os.Bundle respond(android.os.Bundle);
180 method @Deprecated public void setExtras(android.os.Bundle);
181 …method @Deprecated public void setNotificationUri(android.content.ContentResolver, android.net.Uri…
182 method @Deprecated public void unregisterContentObserver(android.database.ContentObserver);
183 method @Deprecated public void unregisterDataSetObserver(android.database.DataSetObserver);
186 @Deprecated public class MockDialogInterface implements android.content.DialogInterface {
192 @Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
195 method @Deprecated public boolean addPermission(android.content.pm.PermissionInfo);
196 method @Deprecated public boolean addPermissionAsync(android.content.pm.PermissionInfo);
197 …cated public void addPreferredActivity(android.content.IntentFilter, int, android.content.Componen…
207 …method @Deprecated public android.graphics.drawable.Drawable getActivityBanner(android.content.Com…
208 …method @Deprecated public android.graphics.drawable.Drawable getActivityBanner(android.content.Int…
209 …method @Deprecated public android.graphics.drawable.Drawable getActivityIcon(android.content.Compo…
210 …method @Deprecated public android.graphics.drawable.Drawable getActivityIcon(android.content.Inten…
211 …method @Deprecated public android.content.pm.ActivityInfo getActivityInfo(android.content.Componen…
212 …method @Deprecated public android.graphics.drawable.Drawable getActivityLogo(android.content.Compo…
213 …method @Deprecated public android.graphics.drawable.Drawable getActivityLogo(android.content.Inten…
214 …method @Deprecated public java.util.List<android.content.IntentFilter> getAllIntentFilters(String);
215 …method @Deprecated public java.util.List<android.content.pm.PermissionGroupInfo> getAllPermissionG…
216 …method @Deprecated public android.graphics.drawable.Drawable getApplicationBanner(android.content.…
217 …method @Deprecated public android.graphics.drawable.Drawable getApplicationBanner(String) throws a…
219 …method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(android.content.pm…
220 …method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(String) throws and…
221 …method @Deprecated public android.content.pm.ApplicationInfo getApplicationInfo(String, int) throw…
222 method @Deprecated public CharSequence getApplicationLabel(android.content.pm.ApplicationInfo);
223 …method @Deprecated public android.graphics.drawable.Drawable getApplicationLogo(android.content.pm…
224 …method @Deprecated public android.graphics.drawable.Drawable getApplicationLogo(String) throws and…
225 method public android.content.pm.ChangedPackages getChangedPackages(int);
226 method @Deprecated public int getComponentEnabledSetting(android.content.ComponentName);
227 method @Deprecated public android.graphics.drawable.Drawable getDefaultActivityIcon();
228 …method @Deprecated public android.graphics.drawable.Drawable getDrawable(String, int, android.cont…
229 …method @Deprecated public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicati…
230 …method @Deprecated public java.util.List<android.content.pm.PackageInfo> getInstalledPackages(int);
234 … @Deprecated public android.content.pm.InstrumentationInfo getInstrumentationInfo(android.content.…
235 method @Deprecated public android.content.Intent getLaunchIntentForPackage(String);
236 method @Deprecated public android.content.Intent getLeanbackLaunchIntentForPackage(String);
238 …method @Deprecated public int[] getPackageGids(String) throws android.content.pm.PackageManager.Na…
239 …method @Deprecated public int[] getPackageGids(String, int) throws android.content.pm.PackageManag…
240 …method @Deprecated public android.content.pm.PackageInfo getPackageInfo(String, int) throws androi…
241 …ethod @Deprecated public android.content.pm.PackageInfo getPackageInfo(android.content.pm.Versione…
242 method public android.content.pm.PackageInstaller getPackageInstaller();
243 …method @Deprecated public int getPackageUid(String, int) throws android.content.pm.PackageManager.…
245 …method @Deprecated public java.util.List<android.content.pm.PackageInfo> getPackagesHoldingPermiss…
246 …method @Deprecated public android.content.pm.PermissionGroupInfo getPermissionGroupInfo(String, in…
247 …method @Deprecated public android.content.pm.PermissionInfo getPermissionInfo(String, int) throws
248 … public int getPreferredActivities(java.util.List<android.content.IntentFilter>, java.util.List<an…
249 …method @Deprecated public java.util.List<android.content.pm.PackageInfo> getPreferredPackages(int);
250 …method @Deprecated public android.content.pm.ProviderInfo getProviderInfo(android.content.Componen…
251 …method @Deprecated public android.content.pm.ActivityInfo getReceiverInfo(android.content.Componen…
252 …method @Deprecated public android.content.res.Resources getResourcesForActivity(android.content.Co…
253 …method @Deprecated public android.content.res.Resources getResourcesForApplication(android.content…
254 …method @Deprecated public android.content.res.Resources getResourcesForApplication(String) throws
255 …method @Deprecated public android.content.pm.ServiceInfo getServiceInfo(android.content.ComponentN…
256 …method @Deprecated @NonNull public java.util.List<android.content.pm.SharedLibraryInfo> getSharedL…
257 method @Deprecated public android.content.pm.FeatureInfo[] getSystemAvailableFeatures();
259 method @Deprecated public CharSequence getText(String, int, android.content.pm.ApplicationInfo);
260 …ed public android.graphics.drawable.Drawable getUserBadgedDrawableForDensity(android.graphics.draw…
261 …method @Deprecated public android.graphics.drawable.Drawable getUserBadgedIcon(android.graphics.dr…
262 method @Deprecated public CharSequence getUserBadgedLabel(CharSequence, android.os.UserHandle);
263 …method @Deprecated public android.content.res.XmlResourceParser getXml(String, int, android.conten…
270 …method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryBroadcastReceivers(a…
271 …method @Deprecated public java.util.List<android.content.pm.ProviderInfo> queryContentProviders(St…
272 …method @Deprecated public java.util.List<android.content.pm.InstrumentationInfo> queryInstrumentat…
273 …method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentActivities(and…
274 …java.util.List<android.content.pm.ResolveInfo> queryIntentActivityOptions(android.content.Componen…
275 …method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentContentProvide…
276 …method @Deprecated public java.util.List<android.content.pm.ResolveInfo> queryIntentServices(andro…
277 …Deprecated public java.util.List<android.content.pm.PermissionInfo> queryPermissionsByGroup(String…
280 …method @Deprecated public android.content.pm.ResolveInfo resolveActivity(android.content.Intent, i…
281 method @Deprecated public android.content.pm.ProviderInfo resolveContentProvider(String, int);
282 …method @Deprecated public android.content.pm.ResolveInfo resolveService(android.content.Intent, in…
283 …method @Deprecated public android.content.pm.ResolveInfo resolveServiceAsUser(android.content.Inte…
286 …method @Deprecated public void setComponentEnabledSetting(android.content.ComponentName, int, int);
292 @Deprecated public class MockResources extends android.content.res.Resources {
294 …method @Deprecated public int getColor(int) throws android.content.res.Resources.NotFoundException;
295 …method @Deprecated public android.content.res.ColorStateList getColorStateList(int) throws android
296 …method @Deprecated public android.graphics.drawable.Drawable getDrawable(int) throws android.conte…
297 …method @Deprecated public android.graphics.Movie getMovie(int) throws android.content.res.Resource…
298 …method @Deprecated public void updateConfiguration(android.content.res.Configuration, android.util…
302 …ublic static <T extends android.app.Service> void attachForTesting(android.app.Service, android.co…