Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DEnhancedConfirmationManagerTest.kt92 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenStoreAppThenIsNotRestrictedFromProtectedSetting()
101 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenLocalAppThenIsRestrictedFromProtectedSetting()
110 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenDownloadedThenAppIsRestrictedFromProtectedSetting()
127 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenExplicitlyRestrictedAppThenIsRestrictedFromProtectedSetting()
129 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenExplicitlyRestrictedAppThenIsRestrictedFromProtectedSetting()
156 eventually { assertTrue(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenRestrictedAppWhenClearRestrictionThenNotRestrictedFromProtectedSetting()
160 eventually { assertFalse(ecm.isRestricted(APP_PACKAGE_NAME, PROTECTED_SETTING)) } in givenRestrictedAppWhenClearRestrictionThenNotRestrictedFromProtectedSetting()
169 val intent = ecm.createRestrictedSettingDialogIntent(APP_PACKAGE_NAME, PROTECTED_SETTING) in createRestrictedSettingDialogIntentReturnsIntent()
286 private const val PROTECTED_SETTING = "android:bind_accessibility_service" constant