Searched refs:isRestricted (Results 1 – 8 of 8) sorted by relevance
78 fun isRestricted(): Boolean = proxy.isRestricted() method in com.android.bedstead.nene.users.UserInfo
554 boolean isRestricted) throws Exception { in testConnectionFlowWithSuggestionWithShellIdentity() argument557 isRestricted); in testConnectionFlowWithSuggestionWithShellIdentity()580 boolean isRestricted) throws Exception { in testConnectionFlowWithSuggestion() argument587 isRestricted); in testConnectionFlowWithSuggestion()639 boolean expectConnectionSuccess, boolean isRestricted) throws Exception { in testConnectionFlowWithSuggestionInternal() argument647 if (restrictedNetworkCapabilities.isEmpty() && !isRestricted) { in testConnectionFlowWithSuggestionInternal()677 assertThat(wifiInfo.isRestricted()).isEqualTo(isRestricted); in testConnectionFlowWithSuggestionInternal()1037 assertFalse(wifiInfo.isRestricted()); in checkWifiNetworkInfo()
1210 assertTrue(suggestion.isRestricted()); in testConnectToRestrictedSuggestion()
46 android.content.pm.UserInfo,public boolean isRestricted()
332 boolean isRestricted, int subId) throws Exception { in createTestNetworkWrapperForPolicyTest() argument335 if (!isRestricted) { in createTestNetworkWrapperForPolicyTest()
402 method public boolean isRestricted();766 method public boolean isRestricted();
1183 method public boolean isRestricted();
10616 method public boolean isRestricted();