Home
last modified time | relevance | path

Searched refs:ProviderInfo (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/core/java/android/content/pm/
DProviderInfo.java30 public final class ProviderInfo extends ComponentInfo class
112 public ProviderInfo() { in ProviderInfo() method in ProviderInfo
115 public ProviderInfo(ProviderInfo orig) { in ProviderInfo() method in ProviderInfo
161 public static final @android.annotation.NonNull Parcelable.Creator<ProviderInfo> CREATOR
162 = new Parcelable.Creator<ProviderInfo>() {
163 public ProviderInfo createFromParcel(Parcel in) {
164 return new ProviderInfo(in);
167 public ProviderInfo[] newArray(int size) {
168 return new ProviderInfo[size];
176 private ProviderInfo(Parcel in) { in ProviderInfo() method in ProviderInfo
DProviderInfo.aidl20 parcelable ProviderInfo;
DPackageInfo.java182 public ProviderInfo[] providers;
526 providers = source.createTypedArray(ProviderInfo.CREATOR); in PackageInfo()
/frameworks/base/core/java/android/app/
DContentProviderHolder.java22 import android.content.pm.ProviderInfo;
35 public final ProviderInfo info;
43 public ContentProviderHolder(ProviderInfo _info) { in ContentProviderHolder()
79 info = ProviderInfo.CREATOR.createFromParcel(source); in ContentProviderHolder()
DIApplicationThread.aidl32 import android.content.pm.ProviderInfo;
69 in List<ProviderInfo> providers, in ComponentName testName, in bindApplication()
130 void scheduleInstallProvider(in ProviderInfo provider); in scheduleInstallProvider()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp331 auto *deviceInfo3 = static_cast<ProviderInfo::DeviceInfo3*>(deviceInfo); in openSession()
342 CameraProviderManager::ProviderInfo::DeviceInfo3::InterfaceT>(); in openSession()
374 auto *deviceInfo1 = static_cast<ProviderInfo::DeviceInfo1*>(deviceInfo); in openSession()
383 CameraProviderManager::ProviderInfo::DeviceInfo1::InterfaceT>(); in openSession()
485 CameraProviderManager::ProviderInfo::DeviceInfo* CameraProviderManager::findDeviceInfoLocked( in findDeviceInfoLocked()
518 void CameraProviderManager::ProviderInfo::DeviceInfo3::queryPhysicalCameraIds() { in queryPhysicalCameraIds()
547 bool CameraProviderManager::ProviderInfo::DeviceInfo3::isPublicallyHiddenSecureCamera() { in isPublicallyHiddenSecureCamera()
558 void CameraProviderManager::ProviderInfo::DeviceInfo3::getSupportedSizes( in getSupportedSizes()
579 void CameraProviderManager::ProviderInfo::DeviceInfo3::getSupportedDurations( in getSupportedDurations()
603 void CameraProviderManager::ProviderInfo::DeviceInfo3::getSupportedDynamicDepthDurations( in getSupportedDynamicDepthDurations()
[all …]
DCameraProviderManager.h312 struct ProviderInfo : struct
331 ProviderInfo(const std::string &providerName, argument
333 ~ProviderInfo();
389 sp<ProviderInfo> mParentProvider; argument
420 sp<ProviderInfo> parentProvider) : in DeviceInfo()
465 sp<ProviderInfo> parentProvider, argument
494 sp<ProviderInfo> parentProvider, argument
570 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id,
581 std::vector<sp<ProviderInfo>> mProviders;
605 std::pair<bool, CameraProviderManager::ProviderInfo::DeviceInfo *>
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java33 import android.content.pm.ProviderInfo;
248 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsSystemApp()
252 ProviderInfo result = FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerIsSystemApp()
258 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsSystemAppWrongPackage()
294 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsNonSystemAppCorrectCerts()
299 ProviderInfo result = FontsContract.getProvider( in testGetProvider_providerIsNonSystemAppCorrectCerts()
318 ProviderInfo info = new ProviderInfo(); in testGetProvider_providerIsNonSystemAppDuplicateCerts()
341 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
349 ProviderInfo result = FontsContract.getProvider(mPackageManager, requestRightCerts); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
370 private ProviderInfo setupPackageManager() in setupPackageManager()
[all …]
DTestDocumentsProvider.java23 import android.content.pm.ProviderInfo;
49 public void attachInfoForTesting(Context context, ProviderInfo info) { in attachInfoForTesting()
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java25 import android.content.pm.ProviderInfo;
39 ProviderInfo providerInfo = new ProviderInfo(); in onCreate_shouldUpdateVolumes()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderTest.java24 import android.content.pm.ProviderInfo;
41 private ProviderInfo mProvider;
48 mProvider = new ProviderInfo(); in setUp()
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java22 import android.content.pm.ProviderInfo;
154 ProviderInfo providerInfo = new ProviderInfo(); in createProviderForTest()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java534 ProviderInfo providerInfo = in testResolveEnabledProvider()
546 ProviderInfo providerInfo = in testResolveDisabledProvider()
549 ProviderInfo providerInfo2 = in testResolveDisabledProvider()
561 ProviderInfo providerInfo = in testEnableProvider()
568 ProviderInfo providerInfo2 = in testEnableProvider()
579 ProviderInfo providerInfo = in testDisableProvider()
587 ProviderInfo providerInfo2 = in testDisableProvider()
600 List<ProviderInfo> providerInfoList = in testQueryEnabledProvider()
618 List<ProviderInfo> providerInfoList = in testQueryDisabledProvider()
624 List<ProviderInfo> providerInfoList2 = in testQueryDisabledProvider()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java20 import android.content.pm.ProviderInfo;
77 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
DUriGrantsManagerService.java61 import android.content.pm.ProviderInfo;
470 boolean checkAuthorityGrants(int callingUid, ProviderInfo cpi, int userId, boolean checkUser) { in checkAuthorityGrants()
486 private boolean matchesProvider(Uri uri, ProviderInfo cpi) { in matchesProvider()
664 final ProviderInfo pi = getProviderInfo(uri.getAuthority(), sourceUserId, in readGrantedUriPermissions()
727 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in grantUriPermissionUnchecked()
781 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in revokeUriPermission()
863 IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissions()
874 private boolean checkHoldingPermissionsInternal(IPackageManager pm, ProviderInfo pi, in checkHoldingPermissionsInternal()
993 private ProviderInfo getProviderInfo(String authority, int userHandle, int pmFlags) { in getProviderInfo()
994 ProviderInfo pi = null; in getProviderInfo()
[all …]
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java26 import android.content.pm.ProviderInfo;
85 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java28 import android.content.pm.ProviderInfo;
236 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
302 ContentProvider provider, Context context, ProviderInfo providerInfo) { in attachInfoForTesting()
DMockPackageManager.java42 import android.content.pm.ProviderInfo;
213 public ProviderInfo getProviderInfo(ComponentName className, int flags) in getProviderInfo()
522 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider()
528 public ProviderInfo resolveContentProviderAsUser(String name, int flags, int userId) { in resolveContentProviderAsUser()
533 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { in queryContentProviders()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTrackerHelperImpl.java25 import android.content.pm.ProviderInfo;
110 ProviderInfo providerInfo = mPackageManager.resolveContentProviderAsUser( in contentProviderRegistered()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java26 import android.content.pm.ProviderInfo;
91 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java24 import android.content.pm.ProviderInfo;
142 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java32 import android.content.pm.ProviderInfo;
216 final ProviderInfo downloadProviderPackage = getPackageManager().resolveContentProvider( in isSystemDownloadsProvider()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java42 import android.content.pm.ProviderInfo;
206 public ProviderInfo getProviderInfo(ComponentName component, int flags) in getProviderInfo()
468 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider()
473 public ProviderInfo resolveContentProviderAsUser(String name, int flags, int userId) { in resolveContentProviderAsUser()
478 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { in queryContentProviders()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java24 import android.content.pm.ProviderInfo;
188 public ProviderInfo getProviderInfo(ComponentName component, int flags) in getProviderInfo()
472 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider()
477 public ProviderInfo resolveContentProviderAsUser(String name, int flags, int userId) { in resolveContentProviderAsUser()
482 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { in queryContentProviders()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderRecord.java25 import android.content.pm.ProviderInfo;
42 public final ProviderInfo info;
62 public ContentProviderRecord(ActivityManagerService _service, ProviderInfo _info, in ContentProviderRecord()

123