Home
last modified time | relevance | path

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

123

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyCenterManagerTest.kt139 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_validId_setsValue()
151 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_twice_replacesValue()
164 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in setSafetySourceData_null_clearsValue()
176 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_sourceInStatelessGroupUnspecified_setsValue()
198 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_staticId_throwsIllegalArgumentException()
212 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_differentPackage_throwsIllegalArgumentException()
233 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithFakeCert) in setSafetySourceData_wronglySignedPackage_throwsIllegalArgumentException()
250 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithFakeCert) in setSafetySourceData_wronglySignedPackageButAllowedByFlag_isAllowed()
263 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceWithInvalidCert) in setSafetySourceData_invalidPackageCertificate_throwsIllegalArgumentException()
277 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in setSafetySourceData_sourceInStatelessGroupNotUnspecified_throwsIllegalArgumentException()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt103 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in launchActivity_allowingSettingsTrampoline()
114 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.staticSourcesConfig) in launchActivity_displaysStaticSources()
130 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in launchActivity_displaysSafetyData()
140 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysCollapsedGroupsOfMultipleSource()
211 setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysPrioritizedGroupSummary()
279 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourceGroupsConfig) in launchActivity_displaysGroupsOfSingleSourceAsEntity()
293 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_updatesDisplayedSafetyData()
309 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_withoutSubtitle_newIssueWithSubtitle()
326 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in updatingSafetySourceData_withSubtitle_newIssueWithoutSubtitle()
341 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in entryListWithEntryGroup_informationState_hasContentDescription()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt791 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.complexConfig) in <lambda>()
804 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
823 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
852 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
864 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
889 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
913 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in <lambda>()
937 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.noPageOpenConfig) in <lambda>()
956 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.noPageOpenConfig) in <lambda>()
985 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()
132 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceConfig) in defaultActionOverride_notification_overridesMatchingActions()
172 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in defaultActionOverride_sameActionIdDifferentSource_doesNotOverride()
209 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.multipleSourcesConfig) in defaultActionOverride_sameSourceDifferentActionId_doesNotOverride()
242 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()
201 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.kt411 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in getSafetyCenterData_withProfileOwner_hasWorkPolicyInfo()
419 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in getSafetyCenterData_withDeviceOwner_hasWorkPolicyInfo()
427 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in launchActivity_withQuietModeEnabled_hasWorkPolicyInfo()
438 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.workPolicyInfoConfig) in launchActivity_withoutWorkProfileOrDeviceOwner_doesntHaveWorkPolicyInfo()
446 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withQuietModeEnabled_dataIsNotCleared()
467 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_afterAdditionalUserRemoved_returnsNull()
495 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withoutInteractAcrossUserPermission_shouldThrowError()
507 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withoutAppInstalledForWorkProfile_shouldReturnNull()
528 safetyCenterTestHelper.setConfig(safetyCenterTestConfigs.singleSourceAllProfileConfig) in getSafetySourceData_withRemovedProfile_shouldReturnNull()
549 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
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTestUtil.kt53 rule.setConfig(NAMESPACE_CONNECTIVITY,
63 rule.setConfig(NAMESPACE_CONNECTIVITY,
73 rule.setConfig(NAMESPACE_CONNECTIVITY,
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java91 verify(controller).setConfig(any()); in onAttach_alwaysOn_shouldInvokeSetters()
102 verify(controller).setConfig(any()); in onAttach_notifications_shouldInvokeSetters()
112 verify(controller).setConfig(any()); in onAttach_doubleTap_shouldInvokeSetters()
122 verify(controller).setConfig(any()); in onAttach_pickUp_shouldInvokeSetters()
/packages/apps/Settings/src/com/android/settings/security/
DLockscreenDashboardFragment.java112 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()
113 use(AmbientDisplayNotificationsPreferenceController.class).setConfig(getConfig(context)); in onAttach()
114 use(DoubleTapScreenPreferenceController.class).setConfig(getConfig(context)); in onAttach()
115 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/modules/Profiling/service/java/com/android/os/profiling/
DConfigs.java639 .setConfig(dataSourceConfig) in generateJavaHeapDumpConfig()
674 .setConfig(dataSourceConfig) in generateHeapProfileConfig()
718 .setConfig(dataSourceConfig) in generateStackSamplingConfig()
758 .setConfig(dataSourceConfigProcessStats) in generateSystemTraceConfig()
772 .setConfig(dataSourceConfigPackagesList) in generateSystemTraceConfig()
825 .setConfig(dataSourceConfigFtrace) in generateSystemTraceConfig()
835 .setConfig(dataSourceConfigSurfaceFlinger) in generateSystemTraceConfig()
/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/services/Telephony/tests/src/com/android/phone/
DImsProvisioningControllerTest.java353 verify(mImsConfig, times(0)).setConfig(anyInt(), anyInt()); in connectionReady_MmTelFeatureListener()
372 verify(mImsConfig, times(1)).setConfig(eq(keys[index]), anyInt()); in connectionReady_MmTelFeatureListener()
410 verify(mImsConfig, times(1)).setConfig(eq(key), anyInt()); in connectionReady_RcsFeatureListener()
924 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVoice()
926 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVoice()
1001 verify(mImsConfig, times(1)).setConfig( in setImsProvisioningRequiredForCapability_withVideo()
1078 verify(mImsConfig, times(2)).setConfig( in setRcsProvisioningRequiredForCapability_withPresence()
1177 verify(mImsConfig, times(1)).setConfig(eq(keys[i]), eq(PROVISIONING_VALUE_ENABLED)); in setProvisioningValue_withMmTelKey()
1238 verify(mImsConfig, times(2)).setConfig(eq(key), eq(PROVISIONING_VALUE_ENABLED)); in setProvisioningValue_withRcsKey()
1681 verify(mImsConfig, times(1)).setConfig( in eabProvisioningStatus_onlyMmTelConnectionReady()
[all …]
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java258 void setConfig(byte[] config) { in setConfig() method in RcsProvisioningMonitor.RcsProvisioningInfo
339 setConfig(null); in clear()
734 v.setConfig(cachedConfig); in onDefaultMessagingApplicationChanged()
837 info.setConfig(isCompressed ? RcsConfig.decompressGzip(config) : config); in onConfigReceived()
853 info.setConfig(null); in onReconfigRequest()

123