Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/content/pm/
DProviderInfo.java31 public final class ProviderInfo extends ComponentInfo class
122 public ProviderInfo() { in ProviderInfo() method in ProviderInfo
125 public ProviderInfo(ProviderInfo orig) { in ProviderInfo() method in ProviderInfo
171 public static final @android.annotation.NonNull Parcelable.Creator<ProviderInfo> CREATOR
172 = new Parcelable.Creator<ProviderInfo>() {
173 public ProviderInfo createFromParcel(Parcel in) {
174 return new ProviderInfo(in);
177 public ProviderInfo[] newArray(int size) {
178 return new ProviderInfo[size];
186 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java30 import android.content.pm.ProviderInfo;
162 private static ProviderInfo buildCameraProvider(int userId) { in buildCameraProvider()
163 final ProviderInfo pi = new ProviderInfo(); in buildCameraProvider()
174 private static ProviderInfo buildPrivateProvider(int userId) { in buildPrivateProvider()
175 final ProviderInfo pi = new ProviderInfo(); in buildPrivateProvider()
185 private static ProviderInfo buildPublicProvider(int userId) { in buildPublicProvider()
186 final ProviderInfo pi = new ProviderInfo(); in buildPublicProvider()
196 private static ProviderInfo buildForceProvider(int userId) { in buildForceProvider()
197 final ProviderInfo pi = new ProviderInfo(); in buildForceProvider()
208 private static ProviderInfo buildComplexProvider(int userId) { in buildComplexProvider()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleProviderTestable.java20 import android.content.pm.ProviderInfo;
27 ProviderInfo info = new ProviderInfo(); in initializeForTesting()
/frameworks/base/core/java/android/app/
DContentProviderHolder.java22 import android.content.pm.ProviderInfo;
35 public final ProviderInfo info;
48 public ContentProviderHolder(ProviderInfo _info) { in ContentProviderHolder()
85 info = ProviderInfo.CREATOR.createFromParcel(source); in ContentProviderHolder()
/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()
53 mAuthority = ((ProviderInfo) mComponentInfo).authority; in ProviderTile()
76 final ProviderInfo providerInfo = infoList.get(0).providerInfo; in getComponentInfo()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java33 import android.content.pm.ProviderInfo;
249 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsSystemApp()
253 ProviderInfo result = FontsContract.getProvider(mPackageManager, request); in testGetProvider_providerIsSystemApp()
259 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsSystemAppWrongPackage()
296 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsNonSystemAppCorrectCerts()
302 ProviderInfo result = FontsContract.getProvider( in testGetProvider_providerIsNonSystemAppCorrectCerts()
322 ProviderInfo info = new ProviderInfo(); in testGetProvider_providerIsNonSystemAppDuplicateCerts()
346 ProviderInfo info = setupPackageManager(); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
354 ProviderInfo result = FontsContract.getProvider(mPackageManager, requestRightCerts); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
375 private ProviderInfo setupPackageManager() in setupPackageManager()
[all …]
DTestDocumentsProvider.java24 import android.content.pm.ProviderInfo;
49 public void attachInfoForTesting(Context context, ProviderInfo info) { in attachInfoForTesting()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp505 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in getCameraIdIPCTransport()
607 status_t CameraProviderManager::setTorchModeT(sp<ProviderInfo> &parentProvider, in setTorchModeT()
630 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in setTorchMode()
670 sp<CameraProviderManager::ProviderInfo> CameraProviderManager::startExternalLazyProvider() const { in startExternalLazyProvider()
695 sp<ProviderInfo> externalProvider = startExternalLazyProvider(); in notifyUsbDeviceEvent()
716 sp<ProviderInfo> providerInfo = mExternalUsbDevicesForProvider.second; in usbDeviceDetached()
777 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in openAidlSession()
819 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in openAidlInjectionSession()
858 sp<ProviderInfo> parentProvider = deviceInfo->mParentProvider.promote(); in openHidlSession()
1001 void CameraProviderManager::ProviderInfo::initializeProviderInfoCommon( in initializeProviderInfoCommon()
[all …]
DCameraProviderManager.h526 struct ProviderInfo : public virtual RefBase { struct
537 ProviderInfo(const std::string &providerName, const std::string &providerInstance, argument
539 ~ProviderInfo();
611 wp<ProviderInfo> mParentProvider; argument
676 sp<ProviderInfo> parentProvider) : in DeviceInfo()
729 sp<ProviderInfo> parentProvider,
811 std::unique_ptr<ProviderInfo::DeviceInfo> argument
860 status_t setTorchModeT(sp<ProviderInfo> &parentProvider,
880 ProviderInfo::DeviceInfo* findDeviceInfoLocked(const std::string& id) const;
886 std::pair<std::vector<std::string>, sp<ProviderInfo>>
[all …]
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/model/
DRequest.kt21 import com.android.credentialmanager.model.get.ProviderInfo
53 val providerInfos: List<ProviderInfo>,
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.h24 struct HidlProviderInfo : public CameraProviderManager::ProviderInfo,
38 CameraProviderManager::ProviderInfo(providerName, providerInstance, manager) {} in HidlProviderInfo()
86 struct HidlDeviceInfo3 : public CameraProviderManager::ProviderInfo::DeviceInfo3 {
94 sp<ProviderInfo> ,
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderTest.java24 import android.content.pm.ProviderInfo;
44 private ProviderInfo mProvider;
51 mProvider = new ProviderInfo(); in setUp()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTestable.java25 import android.content.pm.ProviderInfo;
51 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting()
/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/pm/resolution/
DComponentResolverApi.java24 import android.content.pm.ProviderInfo;
66 ProviderInfo queryProvider(@NonNull Computer computer, @NonNull String authority, long flags, in queryProvider()
79 List<ProviderInfo> queryProviders(@NonNull Computer computer, @Nullable String processName, in queryProviders()
101 @NonNull List<ProviderInfo> outInfo, boolean safeMode, @UserIdInt int userId); in querySyncProviders()
DComponentResolverBase.java25 import android.content.pm.ProviderInfo;
144 public ProviderInfo queryProvider(@NonNull Computer computer, @NonNull String authority, in queryProvider()
186 public List<ProviderInfo> queryProviders(@NonNull Computer computer, in queryProviders()
192 List<ProviderInfo> providerList = null; in queryProviders()
228 final ProviderInfo info = PackageInfoUtils.generateProviderInfo( in queryProviders()
275 @NonNull List<ProviderInfo> outInfo, boolean safeMode, int userId) { in querySyncProviders()
306 final ProviderInfo info = PackageInfoUtils.generateProviderInfo( in querySyncProviders()
DComponentResolverLocked.java24 import android.content.pm.ProviderInfo;
113 public ProviderInfo queryProvider(@NonNull Computer computer, @NonNull String authority, in queryProvider()
141 public List<ProviderInfo> queryProviders(@NonNull Computer computer, in queryProviders()
189 @NonNull List<ProviderInfo> outInfo, boolean safeMode, @UserIdInt int userId) { in querySyncProviders()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/
DCreateModel.kt134 open class ProviderInfo( class
147 ) : ProviderInfo(icon, id, displayName)
153 ) : ProviderInfo(icon, id, displayName)
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java33 import android.content.pm.ProviderInfo;
64 final ProviderInfo providerInfo = new ProviderInfo(); in onCreate_shouldUpdateVolumes()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt41 import com.android.credentialmanager.model.get.ProviderInfo in <lambda>()
123 getProviderInfoList: List<ProviderInfo>? = null, in <lambda>()
417 getProviderInfoList: List<ProviderInfo>?, in validateAndRetrieveBiometricGetDisplayInfo()
458 getProviderInfoList: List<ProviderInfo>, in retrieveBiometricGetDisplayValues()
536 getProviderInfoList: List<ProviderInfo> in retrievePrimaryAccountProviderInfo()
537 ): ProviderInfo? { in retrievePrimaryAccountProviderInfo()
538 var discoveredProviderInfo: ProviderInfo? = null in retrievePrimaryAccountProviderInfo()
/frameworks/base/packages/CredentialManager/tests/robotests/screenshot/src/com/android/credentialmanager/
DGetCredScreenshotTest.kt25 import com.android.credentialmanager.model.get.ProviderInfo
129 private fun buildProviderInfoList(): List<ProviderInfo> { in buildProviderInfoList()
131 val provider1 = ProviderInfo( in buildProviderInfoList()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java536 ProviderInfo providerInfo = in testResolveEnabledProvider()
548 ProviderInfo providerInfo = in testResolveDisabledProvider()
551 ProviderInfo providerInfo2 = in testResolveDisabledProvider()
563 ProviderInfo providerInfo = in testEnableProvider()
570 ProviderInfo providerInfo2 = in testEnableProvider()
581 ProviderInfo providerInfo = in testDisableProvider()
589 ProviderInfo providerInfo2 = in testDisableProvider()
602 List<ProviderInfo> providerInfoList = in testQueryEnabledProvider()
620 List<ProviderInfo> providerInfoList = in testQueryDisabledProvider()
626 List<ProviderInfo> providerInfoList2 = in testQueryDisabledProvider()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java23 import android.content.pm.ProviderInfo;
144 int callingUid, ProviderInfo cpi, int userId, boolean checkUser); in checkAuthorityGrants()
/frameworks/base/packages/CredentialManager/wear/robotests/src/com/android/credentialmanager/
DCredentialSelectorUiStateGetMapperTest.kt32 import com.android.credentialmanager.model.get.ProviderInfo
201 fun createProviderInfo(credentials: List<CredentialEntryInfo> = listOf()): ProviderInfo =
202 ProviderInfo(

12345