/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | ProviderTileTest.java | 60 private ProviderInfo mProviderInfo; field in ProviderTileTest 67 mProviderInfo = new ProviderInfo(); in setUp() 68 mProviderInfo.applicationInfo = new ApplicationInfo(); in setUp() 69 mProviderInfo.packageName = mContext.getPackageName(); in setUp() 70 mProviderInfo.name = "abc"; in setUp() 71 mProviderInfo.authority = "authority"; in setUp() 76 mTile = new ProviderTile(mProviderInfo, "category", mMetaData); in setUp() 100 final Tile tile = new ProviderTile(mProviderInfo, "category", null); in getIcon_noContextOrMetadata_shouldThrowNullPointerException() 113 final Tile tile = new ProviderTile(mProviderInfo, "category", mMetaData); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata() 124 final Tile tile = new ProviderTile(mProviderInfo, "category", mMetaData); in isIconTintable_noIcon_shouldReturnFalse() [all …]
|
D | SwitchesProviderTest.java | 59 private ProviderInfo mProviderInfo; field in SwitchesProviderTest 67 mProviderInfo = new ProviderInfo(); in setUp() 68 mProviderInfo.authority = "auth"; in setUp() 75 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_noController_shouldThrowIllegalArgumentException() 84 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoSwitchKeyInController_shouldThrowNullPointerException() 94 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoMetaDataInController_shouldThrowNullPointerException() 109 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() 123 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_hasDifferentControllers_shouldNotThrowException() 130 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getSwitchData_shouldNotReturnPrimarySwitchData() 145 mSwitchesProvider.attachInfo(mContext, mProviderInfo); in getSwitchData_shouldReturnDataList() [all …]
|
D | EntriesProviderTest.java | 65 private ProviderInfo mProviderInfo; field in EntriesProviderTest 73 mProviderInfo = new ProviderInfo(); in setUp() 74 mProviderInfo.authority = "auth"; in setUp() 81 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_noController_shouldThrowIllegalArgumentException() 90 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoKeyInController_shouldThrowNullPointerException() 100 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_NoMetaDataInController_shouldThrowNullPointerException() 115 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() 129 mEntriesProvider.attachInfo(mContext, mProviderInfo); in attachInfo_hasDifferentControllers_shouldNotThrowException() 136 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getEntryData_shouldNotReturnPrimarySwitchData() 152 mEntriesProvider.attachInfo(mContext, mProviderInfo); in getEntryData_shouldReturnDataList() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRoute2Provider.java | 46 private volatile MediaRoute2ProviderInfo mProviderInfo; field in MediaRoute2Provider 98 return mProviderInfo; in getProviderInfo() 110 mProviderInfo = null; in setProviderState() 112 mProviderInfo = new MediaRoute2ProviderInfo.Builder(providerInfo) in setProviderState() 139 if (mProviderInfo == null) { in dump() 141 } else if (mProviderInfo.getRoutes().isEmpty()) { in dump() 144 for (MediaRoute2Info route : mProviderInfo.getRoutes()) { in dump()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | ProviderSession.java | 55 protected final CredentialProviderInfo mProviderInfo; field in ProviderSession 151 mProviderInfo = null; in ProviderSession() 218 boolean isPrimary = mProviderInfo != null && mProviderInfo.isPrimary(); in updateStatusAndInvokeCallback()
|
D | RequestSession.java | 413 return chosenProviderSession != null && chosenProviderSession.mProviderInfo != null in isPrimaryProviderViaProviderInfo() 414 && chosenProviderSession.mProviderInfo.isPrimary(); in isPrimaryProviderViaProviderInfo()
|
/frameworks/base/media/java/android/media/ |
D | MediaRoute2ProviderService.java | 159 private volatile MediaRoute2ProviderInfo mProviderInfo; field in MediaRoute2ProviderService 496 mProviderInfo = new MediaRoute2ProviderInfo.Builder().addRoutes(sanitizedRoutes).build(); in notifyRoutes() 521 if (mProviderInfo == null) { in publishState() 526 mRemoteCallback.notifyProviderUpdated(mProviderInfo); in publishState() 615 if (mProviderInfo == null || mProviderInfo.getRoute(routeId) == null) { in checkRouteIdIsValid()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 1161 private ProviderInfo mProviderInfo; field in CarrierPrivilegesTrackerTest.ResolveInfoBuilder 1176 mProviderInfo = new ProviderInfo(); in setProvider() 1177 mProviderInfo.packageName = packageName; in setProvider() 1185 resolveInfo.providerInfo = mProviderInfo; in build()
|