Home
last modified time | relevance | path

Searched refs:setStrings (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java363 .setStrings(VPN_APP_PKG) in testAlwaysOnVpnPackageLogged()
460 .setStrings(CERT_INSTALLER_PKG) in testDelegatedCertInstaller()
730 .setStrings(INTENT_RECEIVER_PKG) in testSuspendPackage()
838 .setStrings("RSA", "notCredentialManagementApp") in testGenerateKeyPairLogged()
844 .setStrings("EC", "notCredentialManagementApp") in testGenerateKeyPairLogged()
856 .setStrings("notCredentialManagementApp") in testSetKeyPairCertificateLogged()
867 .setStrings(NOT_CALLED_FROM_PARENT, new String[0]) in testPermittedInputMethods()
871 .setStrings(NOT_CALLED_FROM_PARENT, new String[0]) in testPermittedInputMethods()
875 .setStrings(NOT_CALLED_FROM_PARENT, "com.google.pkg.one", "com.google.pkg.two") in testPermittedInputMethods()
887 .setStrings(NOT_CALLED_FROM_PARENT) in testSetKeyguardDisabledFeaturesLogged()
[all …]
DOrgOwnedProfileOwnerTest.java158 .setStrings(DISALLOW_CONFIG_LOCATION, CALLED_FROM_PARENT) in testUserRestrictionSetOnParentLogged()
162 .setStrings(DISALLOW_CONFIG_LOCATION, CALLED_FROM_PARENT) in testUserRestrictionSetOnParentLogged()
219 .setStrings(CALLED_FROM_PARENT) in testCameraDisabledOnParentLogged()
224 .setStrings(CALLED_FROM_PARENT) in testCameraDisabledOnParentLogged()
384 .setStrings(CALLED_FROM_PARENT, new String[0]) in testPermittedInputMethodsLogged()
388 .setStrings(CALLED_FROM_PARENT, new String[0]) in testPermittedInputMethodsLogged()
592 .setStrings(LOG_TAG_PROFILE_OWNER) in testNetworkLoggingLogged()
597 .setStrings(LOG_TAG_PROFILE_OWNER) in testNetworkLoggingLogged()
603 .setStrings(LOG_TAG_PROFILE_OWNER) in testNetworkLoggingLogged()
DDeviceOwnerTest.java642 .setStrings(TEST_APP_PKG) in testPackageInstallCache()
656 .setStrings(TEST_APP_PKG) in testPackageInstallCache()
771 .setStrings(GLOBAL_SETTING_AUTO_TIME, "1") in testSetGlobalSettingLogged()
775 .setStrings(GLOBAL_SETTING_AUTO_TIME_ZONE, "1") in testSetGlobalSettingLogged()
779 .setStrings(GLOBAL_SETTING_DATA_ROAMING, "1") in testSetGlobalSettingLogged()
783 .setStrings(GLOBAL_SETTING_USB_MASS_STORAGE_ENABLED, "1") in testSetGlobalSettingLogged()
DManagedProfileWipeTest.java92 .setStrings("notCalledFromParent") in testWipeDataLogged()
DDeviceAndProfileOwnerHostSideTransferTest.java49 .setStrings(TRANSFER_OWNER_INCOMING_PKG, expectedManagementType) in testTransferOwnership()
DManagedProfileCrossProfileTest.java290 .setStrings(MANAGED_PROFILE_PKG) in testCrossProfileCalendarPackage()
353 .setStrings(TEST_APP_1_PKG) in testSetCrossProfilePackages_isLogged()
431 .setStrings(TEST_APP_4_PKG) in testSetCrossProfilePackages_resetsAppOps_isLogged()
DDeviceOwnerPlusProfileOwnerTest.java69 .setStrings("notCalledFromParent")
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventWrapper.java56 .setStrings(getStringArray(atom.getStringListValue())) in fromDevicePolicyAtom()
133 public Builder setStrings(String... values) { in setStrings() method in DevicePolicyEventWrapper.Builder
138 public Builder setStrings(String value, String[] values) { in setStrings() method in DevicePolicyEventWrapper.Builder
148 public Builder setStrings(String value1, String value2, String[] values) { in setStrings() method in DevicePolicyEventWrapper.Builder
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDevicePolicyResourcesTest.java584 assertThrows(SecurityException.class, () -> sDpm.getResources().setStrings( in setStrings_withoutRequiredPermission_throwsSecurityException()
592 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_withRequiredPermission_doesNotThrowSecurityException()
599 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_updatesCorrectUpdatableString()
610 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_updatesCurrentlyUpdatedString()
612 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_2)); in setStrings_updatesCurrentlyUpdatedString()
626 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_doesNotUpdateOtherUpdatableStrings()
641 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_stringChangedFromNull_sendsBroadcast()
650 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_stringChangedFromOtherString_sendsBroadcast()
654 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_2)); in setStrings_stringChangedFromOtherString_sendsBroadcast()
664 sDpm.getResources().setStrings(createString(UPDATABLE_STRING_ID_1, R.string.test_string_1)); in setStrings_stringNotChanged_doesNotSendBroadcast()
[all …]
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerHostSideTest.java129 .setStrings(ACCOUNT_TYPE, in tesAddAccount_logsMetrics()
151 .setStrings(ACCOUNT_TYPE, in tesAddAccountExplicitly_logsMetrics()
171 .setStrings(ACCOUNT_TYPE, in tesGetAuthToken_logsMetrics()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_ConfigTest.java235 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetAndGetStrings_sameNamespace()
250 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetAndGetStrings_differentNamespace()
264 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetAndGetStrings_multipleNamespaces()
268 Settings.Config.setStrings(NAMESPACE2, new HashMap<String, String>() {{ in testSetAndGetStrings_multipleNamespaces()
290 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetAndGetStrings_overrideValue()
295 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetAndGetStrings_overrideValue()
432 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testSetMonitorCallback()
468 Settings.Config.setStrings(NAMESPACE1, new HashMap<String, String>() {{ in testClearMonitorCallback()
520 Settings.Config.setStrings(namespace, deletedKeys); in deleteProperties()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyStringResources.java80 sResourcesManager.setStrings(resources); in set()
/cts/hostsidetests/content/src/android/content/cts/
DContextCrossProfileHostTest.java478 .setStrings(TEST_WITH_PERMISSION_PKG) in testBindServiceAsUser_sameProfileGroup_reportsMetric()
514 .setStrings(TEST_WITH_PERMISSION_PKG) in testBindServiceAsUser_differentProfileGroup_doesNotReportMetric()
534 .setStrings(TEST_WITH_PERMISSION_PKG) in testBindServiceAsUser_sameUser_doesNotReportMetric()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt1455 …id.Manifest.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES) public void setStrings(@NonNull java.ut…