Home
last modified time | relevance | path

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

1234

/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
DProviderInfoList.java33 private final List<ProviderInfo> mList;
36 final ArrayList<ProviderInfo> list = new ArrayList<>(); in ProviderInfoList()
37 source.readTypedList(list, ProviderInfo.CREATOR); in ProviderInfoList()
41 private ProviderInfoList(List<ProviderInfo> list) { in ProviderInfoList()
75 public List<ProviderInfo> getList() { in getList()
84 public static ProviderInfoList fromList(@NonNull List<ProviderInfo> list) { in fromList()
DProviderInfo.aidl20 parcelable ProviderInfo;
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java34 import android.content.pm.ProviderInfo;
149 private static ProviderInfo buildCameraProvider(int userId) { in buildCameraProvider()
150 final ProviderInfo pi = new ProviderInfo(); in buildCameraProvider()
161 private static ProviderInfo buildPrivateProvider(int userId) { in buildPrivateProvider()
162 final ProviderInfo pi = new ProviderInfo(); in buildPrivateProvider()
172 private static ProviderInfo buildPublicProvider(int userId) { in buildPublicProvider()
173 final ProviderInfo pi = new ProviderInfo(); in buildPublicProvider()
183 private static ProviderInfo buildForceProvider(int userId) { in buildForceProvider()
184 final ProviderInfo pi = new ProviderInfo(); in buildForceProvider()
195 private static ProviderInfo buildComplexProvider(int userId) { in buildComplexProvider()
[all …]
/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()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp329 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in setTorchMode()
385 auto *deviceInfo3 = static_cast<ProviderInfo::DeviceInfo3*>(deviceInfo); in openSession()
386 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in openSession()
399 CameraProviderManager::ProviderInfo::DeviceInfo3::InterfaceT>(); in openSession()
431 auto *deviceInfo1 = static_cast<ProviderInfo::DeviceInfo1*>(deviceInfo); in openSession()
432 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in openSession()
443 CameraProviderManager::ProviderInfo::DeviceInfo1::InterfaceT>(); in openSession()
545 CameraProviderManager::ProviderInfo::DeviceInfo* CameraProviderManager::findDeviceInfoLocked( in findDeviceInfoLocked()
578 void CameraProviderManager::ProviderInfo::DeviceInfo3::queryPhysicalCameraIds() { in queryPhysicalCameraIds()
607 SystemCameraKind CameraProviderManager::ProviderInfo::DeviceInfo3::getSystemCameraKind() { in getSystemCameraKind()
[all …]
DCameraProviderManager.h356 struct ProviderInfo : struct
375 ProviderInfo(const std::string &providerName, argument
377 ~ProviderInfo();
450 wp<ProviderInfo> mParentProvider; argument
482 sp<ProviderInfo> parentProvider) : in DeviceInfo()
528 sp<ProviderInfo> parentProvider, argument
557 sp<ProviderInfo> parentProvider, argument
643 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id,
656 std::vector<sp<ProviderInfo>> mProviders;
676 …std::pair<bool, ProviderInfo::DeviceInfo *> isHiddenPhysicalCameraInternal(const std::string& came…
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DProviderTile.java25 import android.content.pm.ProviderInfo;
45 public ProviderTile(ProviderInfo info, String category, Bundle metaData) { in ProviderTile()
54 mAuthority = ((ProviderInfo) mComponentInfo).authority; in ProviderTile()
77 final ProviderInfo providerInfo = infoList.get(0).providerInfo; in getComponentInfo()
DTileUtils.java26 import android.content.pm.ProviderInfo;
326 final ProviderInfo providerInfo = resolved.providerInfo; in loadProviderTiles()
354 final boolean isProvider = componentInfo instanceof ProviderInfo; in loadTile()
356 ? new Pair<>(((ProviderInfo) componentInfo).authority, in loadTile()
362 ? new ProviderTile((ProviderInfo) componentInfo, categoryKey, metaData) in loadTile()
DSwitchesProvider.java26 import android.content.pm.ProviderInfo;
66 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
/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.java28 import android.content.pm.ProviderInfo;
42 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/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java20 import android.content.pm.ProviderInfo;
83 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
DUriGrantsManagerService.java63 import android.content.pm.ProviderInfo;
508 private boolean checkAuthorityGrantsLocked(int callingUid, ProviderInfo cpi, int userId, in checkAuthorityGrantsLocked()
525 private boolean matchesProvider(Uri uri, ProviderInfo cpi) { in matchesProvider()
691 final ProviderInfo pi = getProviderInfo(uri.getAuthority(), sourceUserId, in readGrantedUriPermissionsLocked()
757 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in grantUriPermissionUnchecked()
808 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in revokeUriPermission()
901 ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissionsUnlocked()
912 private boolean checkHoldingPermissionsInternalUnlocked(ProviderInfo pi, in checkHoldingPermissionsInternalUnlocked()
1053 private ProviderInfo getProviderInfo(String authority, int userHandle, int pmFlags) { in getProviderInfo()
1102 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in checkGrantUriPermissionUnlocked()
[all …]
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DProviderTileTest.java31 import android.content.pm.ProviderInfo;
55 private ProviderInfo mProviderInfo;
62 mProviderInfo = new ProviderInfo(); in setUp()
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java26 import android.content.pm.ProviderInfo;
86 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
/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/test-mock/src/android/test/mock/
DMockContentProvider.java31 import android.content.pm.ProviderInfo;
271 public void attachInfo(Context context, ProviderInfo info) { in attachInfo()
355 ContentProvider provider, Context context, ProviderInfo providerInfo) { in attachInfoForTesting()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingTestBase.kt30 import android.content.pm.ProviderInfo in <lambda>()
362 protected fun ProviderInfo.dumpToString() = """ in <lambda>() method

1234