/cts/tests/tests/content/src/android/content/pm/cts/ |
ProviderInfoTest.java | 22 import android.content.pm.ProviderInfo; 37 // Test ProviderInfo() 38 new ProviderInfo(); 41 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); 42 Iterator<ProviderInfo> providerIterator = providers.iterator(); 43 ProviderInfo current; 53 private void checkProviderInfoMethods(ProviderInfo providerInfo, Parcel p) { 55 assertNotNull(providerInfo.toString()); 56 assertEquals(0, providerInfo.describeContents()) [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockContext.java | 24 import android.content.pm.ProviderInfo; 47 final ProviderInfo providerInfo = new ProviderInfo(); 48 providerInfo.authority = ContactsContract.AUTHORITY; 49 mContactsProvider.attachInfo(this, providerInfo); 51 mSettingsProvider.attachInfo(this, providerInfo);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 210 public ActivityInfo providerInfo; 240 this.providerInfo = in.readParcelable(null); 250 CharSequence label = providerInfo.loadLabel(packageManager); 274 return loadDrawable(context, density, providerInfo.getIconResource(), true); 303 return new UserHandle(UserHandle.getUserId(providerInfo.applicationInfo.uid)); 334 out.writeParcelable(this.providerInfo, flags); 356 that.providerInfo = this.providerInfo; 368 providerInfo.applicationInfo); 378 return loadDefaultIcon ? providerInfo.loadIcon(context.getPackageManager()) : null [all...] |
AppWidgetHostView.java | 466 mInfo.providerInfo.applicationInfo, 469 Log.e(TAG, "Package name " + mInfo.providerInfo.packageName + " not found");
|
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 45 * {@link #providerInfo} will be non-null. 52 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null. 59 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null. 61 public ProviderInfo providerInfo; 149 if (providerInfo != null) return providerInfo; 261 } else if (providerInfo != null) { 262 pw.println(prefix + "ProviderInfo:"); 263 providerInfo.dump(pw, prefix + " ") [all...] |
/frameworks/base/test-runner/src/android/test/ |
ProviderTestCase2.java | 22 import android.content.pm.ProviderInfo; 153 ProviderInfo providerInfo = new ProviderInfo(); 154 providerInfo.authority = authority; 155 instance.attachInfoForTesting(context, providerInfo);
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 146 AppWidgetProviderInfo providerInfo = 149 if (providerInfo.configure != null) { 151 configureIntent.setComponent(providerInfo.configure); 170 AppWidgetProviderInfo providerInfo = 172 if (providerInfo != null) { 174 mAppWidgetHost.createView(getBaseContext(), appWidgetId, providerInfo); 177 getLauncherCellDimensions(providerInfo.minWidth, providerInfo.minHeight);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapEmailSettingsLoader.java | 85 if ((rInfo.providerInfo.applicationInfo.flags & ApplicationInfo.FLAG_STOPPED) == 0) { 106 if(D)Log.d(TAG,"Ignoring force-stopped authority "+ rInfo.providerInfo.authority +"\n"); 118 String provider = rInfo.providerInfo.authority; 121 if(D)Log.d(TAG,rInfo.providerInfo.packageName + " - " + name + " - meta-data(provider = " + provider+")\n"); 125 rInfo.providerInfo.packageName,
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ComponentTest.java | 532 ProviderInfo providerInfo = 534 assertNotNull(providerInfo); 535 assertTrue(providerInfo.enabled); 544 ProviderInfo providerInfo = 546 assertNull(providerInfo); 547 ProviderInfo providerInfo2 = 559 ProviderInfo providerInfo [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactDirectoryManagerTest.java | 25 import android.content.pm.ProviderInfo; 66 public void attachInfoForTesting(Context context, ProviderInfo info) { 123 ProviderInfo provider = new ProviderInfo(); 592 ProviderInfo providerInfo = new ProviderInfo(); 593 providerInfo.packageName = providerPackage.packageName; 594 providerInfo.authority = authority; 596 providerInfo.metaData = new Bundle() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncSettings.java | 36 import android.content.pm.ProviderInfo; 278 final ProviderInfo providerInfo = getPackageManager().resolveContentProvider(authority, 0); 279 if (providerInfo == null) { 282 CharSequence providerLabel = providerInfo.loadLabel(getPackageManager());
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 36 import android.content.pm.ProviderInfo; 217 final ProviderInfo providerInfo = getPackageManager().resolveContentProviderAsUser( 219 if (providerInfo == null) { 222 CharSequence providerLabel = providerInfo.loadLabel(getPackageManager());
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsProvider.java | 262 knownAuth.add(info.providerInfo.authority); 282 packageAuth.add(info.providerInfo.authority);
|
RootsCache.java | 27 import android.content.pm.ProviderInfo; 126 final ProviderInfo info = mContext.getPackageManager().resolveContentProvider(authority, 0); 198 handleDocumentsProvider(info.providerInfo); 212 private void handleDocumentsProvider(ProviderInfo info) {
|
/packages/apps/Settings/src/com/android/settings/search/ |
Index.java | 311 final String authority = info.providerInfo.authority; 312 final String packageName = info.providerInfo.packageName; 425 final String authority = info.providerInfo.authority; 426 final String packageName = info.providerInfo.applicationInfo.packageName; 432 final String readPermission = info.providerInfo.readPermission; 433 final String writePermission = info.providerInfo.writePermission; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccCarrierPrivilegeRules.java | 351 } else if (resolveInfo.providerInfo != null) { 352 return resolveInfo.providerInfo.packageName;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
DeleteNonRequiredAppsTask.java | 193 // One of ri.activityInfo, ri.serviceInfo, ri.providerInfo is not null. Let's find which 201 ci = ri.providerInfo;
|
/frameworks/base/core/java/android/provider/ |
DocumentsContract.java | 720 if (authority.equals(info.providerInfo.authority)) { [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
AppWidgetServiceImpl.java | [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 50 import android.content.pm.ProviderInfo; [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherModel.java | 35 import android.content.pm.ProviderInfo; 233 ProviderInfo providerInfo = 235 ProviderInfo redirectProvider = 239 mOldContentProviderExists = (providerInfo != null) && (redirectProvider != null); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerService.java | 128 import android.content.pm.ProviderInfo; [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |