Home
last modified time | relevance | path

Searched refs:setConfig (Results 1 – 25 of 63) sorted by relevance

123

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt140 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_validId_setsValue()
152 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_twice_replacesValue()
165 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_null_clearsValue()
177 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_sourceInStatelessGroupUnspecified_setsValue()
199 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_staticId_throwsIllegalArgumentException()
213 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_differentPackage_throwsIllegalArgumentException()
234 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithFakeCert) in setSafetySourceData_wronglySignedPackage_throwsIllegalArgumentException()
251 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithFakeCert) in setSafetySourceData_wronglySignedPackageButAllowedByFlag_isAllowed()
264 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithInvalidCert) in setSafetySourceData_invalidPackageCertificate_throwsIllegalArgumentException()
278 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_sourceInStatelessGroupNotUnspecified_throwsIllegalArgumentException()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt112 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in launchActivity_allowingSettingsTrampoline_showsSafetyCenter()
123 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.staticSourcesConfig) in launchActivity_displaysStaticSources()
139 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in launchActivity_displaysSafetyData()
155 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysCollapsedGroupsOfMultipleSource()
226 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysPrioritizedGroupSummary()
296 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysGroupsOfSingleSourceAsEntity()
310 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_updatesDisplayedSafetyData()
330 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_withoutSubtitle_newIssueWithSubtitle()
347 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_withSubtitle_newIssueWithoutSubtitle()
364 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in entryListWithEntryGroup_informationState_hasContentDescription()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt835 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in <lambda>()
848 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
867 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
896 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
908 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
933 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
957 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
981 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.noPageOpenConfig) in <lambda>()
1000 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.noPageOpenConfig) in <lambda>()
1029 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.noPageOpenConfig) in <lambda>()
[all …]
DSafetySourceDataFixesTest.kt52 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.settingsLockScreenSourceConfig) in lockScreenSource_withoutReplaceLockScreenIconActionFlag_doesntReplace()
76 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.settingsLockScreenSourceConfig) in lockScreenSource_withReplaceLockScreenIconActionFlag_replaces()
94 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in defaultActionOverride_issue_overridesMatchingActions()
133 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in defaultActionOverride_notification_overridesMatchingActions()
173 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in defaultActionOverride_sameActionIdDifferentSource_doesNotOverride()
210 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
243 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceInvalidIntentConfig) in defaultActionOverride_noDefaultIntent_doesNotOverride()
DSafetyCenterNotificationTest.kt99 safetyCenterTestHelper.setConfig( in enableNotificationsForTestSourceBeforeTest()
347 safetyCenterTestHelper.setConfig( in setSafetySourceData_withNotificationsAllowedForSourceByConfig_sendsNotification()
691 safetyCenterTestHelper.setConfig( in setSafetySourceData_duplicateIssues_sendsOneNotification()
722 safetyCenterTestHelper.setConfig( in setSafetySourceData_duplicateIssueOfLowerSeverityDismissed_sendsNotification()
870 safetyCenterTestHelper.setConfig( in dismissingNotification_withDuplicateIssues_allDismissed()
1244 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in sendContentPendingIntent_anotherHigherSeverityIssue_opensSafetyCenterWithIssueVisible()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt109 safetyCenterTestHelper.setConfig(config) in launchSafetyCenter_withSubpagesIntentExtra_showsSubpageTitle()
121 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchSafetyCenter_withSubpagesIntentExtraButFlagDisabled_showsHomepageTitle()
132 safetyCenterTestHelper.setConfig(config) in launchSafetyCenter_withNonExistingGroupID_opensHomepageAsFallback()
146 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
178 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
207 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchSafetyCenter_redirectBackFromSubpage_showsHomepageEntries()
229 setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in entryListWithMultipleSources_clickingOnHomepageEntry_showsSubpageEntries()
280 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in entryListWithSingleSource_clickingOnSubpageEntry_redirectsToDifferentScreen()
298 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in entryListWithSingleSource_clickingTheInfoIcon_redirectsToDifferentScreen()
314 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in entryListWithSingleSource_clickingTheGearIcon_redirectsToDifferentScreen()
[all …]
DPrivacySubpageTest.kt88 safetyCenterTestHelper.setConfig(config) in privacySubpage_openWithIntentExtra_showsSubpageData()
109 safetyCenterTestHelper.setConfig(config) in privacySubpage_clickingOnEntry_redirectsToDifferentScreen()
128 safetyCenterTestHelper.setConfig(config) in privacySubpage_withMultipleIssues_displaysExpectedWarningCards()
152 safetyCenterTestHelper.setConfig(config) in privacySubpage_openWithIntentExtra_showsPrivacyControls()
177 safetyCenterTestHelper.setConfig(config) in privacySubpage_clickingOnLocationEntry_redirectsToLocationScreen()
199 safetyCenterTestHelper.setConfig(config) in settingsSearch_openWithPrivacyIntentExtra_showsPrivacySubpage()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/
DSafetyCenterStatusCardTest.kt67 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withUnknownStatus_displaysScanningOnLoad()
79 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withKnownStatus_displaysStatusOnLoad()
95 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withUnknownStatusAndNoIssues_hasRescanButton()
109 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withInformationAndNoIssues_hasRescanButton()
127 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withInformationAndNoIssues_hasContentDescriptions()
142 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withInformationIssue_doesNotHaveRescanButton()
160 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withRecommendationIssue_doesNotHaveRescanButton()
183 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withCriticalWarningIssue_doesNotHaveRescanButton()
206 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in withKnownStatus_displaysScanningOnRescan()
230 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in rescan_updatesDataAfterScanCompletes()
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt413 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in getSafetyCenterData_withProfileOwner_hasWorkPolicyInfo()
421 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in getSafetyCenterData_withDeviceOwner_hasWorkPolicyInfo()
429 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in launchActivity_withQuietModeEnabled_hasWorkPolicyInfo()
440 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in launchActivity_withoutWorkProfileOrDeviceOwner_doesntHaveWorkPolicyInfo()
448 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withQuietModeEnabled_dataIsNotCleared()
469 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_afterAdditionalUserRemoved_returnsNull()
497 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withoutInteractAcrossUserPermission_shouldThrowError()
509 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withoutAppInstalledForWorkProfile_shouldReturnNull()
530 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withRemovedProfile_shouldReturnNull()
551 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withProfileInQuietMode_shouldReturnData()
[all …]
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/
DSafetyCenterInteractionLoggingHelperTests.kt83 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in openSafetyCenterFullFromQs()
93 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in openSafetyCenterWithIssueIntent()
112 safetyCenterTestHelper.setConfig(config) in openSubpageFromIntentExtra()
123 safetyCenterTestHelper.setConfig(config) in openSubpageFromHomepage()
134 safetyCenterTestHelper.setConfig(config) in openSubpageFromSettingsSearch()
DSafetySourceStateCollectedLoggingHelperTests.kt63 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in setUp()
187 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in simulateResolvingActionWith()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreferenceTest.kt113 setConfig(false) in whenConfigIsFalse_notDisplayed()
131 setConfig(false) in whenCanDisplayAspectRatioUiAndConfigFalse_notDisplayed()
141 setConfig(true) in whenCannotDisplayAspectRatioUiAndConfigTrue_notDisplayed()
152 setConfig(true) in whenCanDisplayAspectRatioUiAndConfigTrue_Displayed()
166 setConfig(true) in onClick_startActivity()
182 private fun setConfig(enabled: Boolean) { in setConfig() method in com.android.settings.spa.app.appcompat.UserAspectRatioAppPreferenceTest
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTestUtil.kt54 rule.setConfig(NAMESPACE_CONNECTIVITY,
64 rule.setConfig(NAMESPACE_CONNECTIVITY,
74 rule.setConfig(NAMESPACE_CONNECTIVITY,
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java95 verify(controller).setConfig(any()); in onAttach_alwaysOn_shouldInvokeSetters()
107 verify(controller).setConfig(any()); in onAttach_notifications_shouldInvokeSetters()
117 verify(controller).setConfig(any()); in onAttach_doubleTap_shouldInvokeSetters()
127 verify(controller).setConfig(any()); in onAttach_pickUp_shouldInvokeSetters()
/packages/apps/Settings/src/com/android/settings/security/
DLockscreenDashboardFragment.java113 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()
115 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
116 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
117 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
/packages/apps/Settings/tests/unit/src/com/android/settings/nfc/
DNfcDetectionPointControllerTest.java41 mController.setConfig(true); in getAvailabilityStatus_withConfigIsTrue_returnAvailable()
48 mController.setConfig(false); in getAvailabilityStatus_withConfigIsFalse_returnUnavailable()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzerTest.cpp193 mAnalyzer->setConfig(&mConfig); in SetUp()
216 mAnalyzer->setConfig(&mConfig); in TEST_F()
222 mAnalyzer->setConfig(&mConfig); in TEST_F()
228 mAnalyzer->setConfig(&mConfig); in TEST_F()
236 mAnalyzer->setConfig(&mConfig); in TEST_F()
244 mAnalyzer->setConfig(&mConfig); in TEST_F()
252 mAnalyzer->setConfig(&mConfig); in TEST_F()
260 mAnalyzer->setConfig(&mConfig); in TEST_F()
268 mAnalyzer->setConfig(&mConfig); in TEST_F()
585 mAnalyzer->setConfig(&mConfig); in TEST_F()
[all …]
/packages/apps/Settings/src/com/android/settings/gestures/
DGestureSettings.java56 use(PickupGesturePreferenceController.class).setConfig(getConfig(context)); in onAttach()
57 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
DGesturesSettingPreferenceController.java67 .setConfig(ambientDisplayConfiguration)); in buildAllPreferenceControllers()
69 .setConfig(ambientDisplayConfiguration)); in buildAllPreferenceControllers()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DTestImsConfigImpl.java71 public int setConfig(int item, int value) { in setConfig() method in TestImsConfigImpl
77 public int setConfig(int item, String value) { in setConfig() method in TestImsConfigImpl
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGOutputStream.java40 setConfig(width, height, quality, format); in JPEGOutputStream()
43 public boolean setConfig(int width, int height, int quality, int format) { in setConfig() method in JPEGOutputStream
DJPEGInputStream.java41 setConfig(format); in JPEGInputStream()
44 public boolean setConfig(int format) { in setConfig() method in JPEGInputStream
/packages/modules/Profiling/service/java/com/android/os/profiling/
DConfigs.java671 .setConfig(dataSourceConfig) in generateJavaHeapDumpConfig()
706 .setConfig(dataSourceConfig) in generateHeapProfileConfig()
750 .setConfig(dataSourceConfig) in generateStackSamplingConfig()
832 .setConfig(dataSourceConfigProcessStats) in addSystemTraceGeneralConfigs()
859 .setConfig(dataSourceConfigPackagesList) in addSystemTraceGeneralConfigs()
910 .setConfig(dataSourceConfigFtrace) in addSystemTraceGeneralConfigs()
920 .setConfig(dataSourceConfigSurfaceFlinger) in addSystemTraceGeneralConfigs()
/packages/services/Telephony/tests/src/com/android/phone/
DImsProvisioningControllerTest.java354 verify(mImsConfig, times(0)).setConfig(anyInt(), anyInt()); in connectionReady_MmTelFeatureListener()
373 verify(mImsConfig, times(1)).setConfig(eq(keys[index]), anyInt()); in connectionReady_MmTelFeatureListener()
411 verify(mImsConfig, times(1)).setConfig(eq(key), anyInt()); in connectionReady_RcsFeatureListener()
930 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVoice()
932 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVoice()
1009 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVideo()
1086 verify(mImsConfig, times(2)).setConfig( in setRcsProvisioningRequiredForCapability_withPresence()
1185 verify(mImsConfig, times(1)).setConfig(eq(keys[i]), eq(PROVISIONING_VALUE_ENABLED)); in setProvisioningValue_withMmTelKey()
1246 verify(mImsConfig, times(2)).setConfig(eq(key), eq(PROVISIONING_VALUE_ENABLED)); in setProvisioningValue_withRcsKey()
1691 verify(mImsConfig, times(1)).setConfig( in eabProvisioningStatus_onlyMmTelConnectionReady()
[all …]
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java263 void setConfig(byte[] config) { in setConfig() method in RcsProvisioningMonitor.RcsProvisioningInfo
344 setConfig(null); in clear()
742 v.setConfig(cachedConfig); in onDefaultMessagingApplicationChanged()
845 info.setConfig(isCompressed ? RcsConfig.decompressGzip(config) : config); in onConfigReceived()
861 info.setConfig(null); in onReconfigRequest()

123