Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
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()
DUserSettingsTest.java638 assertThat(arguments.getBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, false)) in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
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()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java70 public class AppRestrictionsFragment extends SettingsPreferenceFragment implements class
74 private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
120 mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
290 mHelper.applyUserAppsStates(AppRestrictionsFragment.this); in onPause()
643 if (invokeIfCustom && AppRestrictionsFragment.this.isResumed()) { in onReceive()
647 AppRestrictionsFragment.this.startActivityForResult( in onReceive()
659 List<ResolveInfo> resolveInfos = AppRestrictionsFragment.this.mPackageManager in assertSafeToStartCustomActivity()
723 p.setOnPreferenceChangeListener(AppRestrictionsFragment.this); in onRestrictionsReceived()
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())
DUserSettings.java529 extras.putBoolean(AppRestrictionsFragment.EXTRA_NEW_USER, newUser); in openUserDetails()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
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()
/packages/apps/Settings/tests/robotests/assets/
Dexempt_not_implementing_index_provider80 com.android.settings.users.AppRestrictionsFragment