Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
H A DUserDetailsSettingsTest.java317 mArguments.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, true); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()
325 .isEqualTo(AppRestrictionsFragment.class.getName()); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()
329 assertThat(arguments.getInt(AppRestrictionsFragment.EXTRA_USER_ID, 0)) in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()
331 assertThat(arguments.getBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, false)) in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()
357 mArguments.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, false); in initialize_adminSelectsExistingRestrictedUser_shouldNotStartAppAndContentAccess()
561 .isEqualTo(AppRestrictionsFragment.class.getName()); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
564 assertThat(arguments.getInt(AppRestrictionsFragment.EXTRA_USER_ID, 0)) in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
566 assertThat(arguments.getBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, true)) in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
H A DUserSettingsTest.java638 assertThat(arguments.getBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, false)) in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DUserDetailsSettings.java237 arguments.getBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, false);
388 extras.putInt(AppRestrictionsFragment.EXTRA_USER_ID, mUserInfo.id);
389 extras.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, isNewUser);
391 .setDestination(AppRestrictionsFragment.class.getName())
H A DAppRestrictionsFragment.java72 public class AppRestrictionsFragment extends SettingsPreferenceFragment implements class
76 private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
122 mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
292 mHelper.applyUserAppsStates(AppRestrictionsFragment.this); in onPause()
645 if (invokeIfCustom && AppRestrictionsFragment.this.isResumed()) { in onReceive()
657 AppRestrictionsFragment.this.startActivityForResult( in onReceive()
733 p.setOnPreferenceChangeListener(AppRestrictionsFragment.this); in onRestrictionsReceived()
H A DUserSettings.java529 extras.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, newUser); in openUserDetails()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DAppRestrictionsFragment.java79 public class AppRestrictionsFragment extends SettingsPreferenceFragment implements class
83 private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
134 mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
243 public static AppRestrictionsFragment newInstance(int userId, boolean newUser) { in newInstance()
246 AppRestrictionsFragment fragment = new AppRestrictionsFragment(); in newInstance()
340 mHelper.applyUserAppsStates(AppRestrictionsFragment.this); in onPause()
562 List<ResolveInfo> resolveInfos = AppRestrictionsFragment.this.mPackageManager in assertSafeToStartCustomActivity()
766 p.setOnPreferenceChangeListener(AppRestrictionsFragment.this); in onRestrictionsReceived()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
H A DSecurityFragment.java55 import com.android.tv.settings.users.AppRestrictionsFragment;
250 AppRestrictionsFragment.prepareArgs(mRestrictedProfileAppsPref.getExtras(), in refresh()
427 final AppRestrictionsFragment restrictionsFragment = in onRestrictedUserCreated()
428 AppRestrictionsFragment.newInstance(userId, true); in onRestrictedUserCreated()
/aosp12/packages/apps/Settings/tests/robotests/assets/
H A Dexempt_not_implementing_index_provider80 com.android.settings.users.AppRestrictionsFragment