Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfileTest.java48 private final UserInfo mOwnerInfo = new UserInfo(123, "owner", 0); field in RestrictedProfileTest
61 mProfileInfo.restrictedProfileParentId = mOwnerInfo.id; in setUp()
72 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testGetUser_isChild()
78 setCurrentUser(mOwnerInfo); in testGetUser_doesNotExist()
84 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testEnterUser_isOwner_profileExists()
91 setCurrentUser(mOwnerInfo); in testEnterUser_isOwner_profileDoesNotExist()
98 setCurrentUser(mProfileInfo).addOtherUsers(mOwnerInfo); in testEnterUser_isProfile()
105 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testExitUser_isOwner()
112 setCurrentUser(mProfileInfo).addOtherUsers(mOwnerInfo, mSystemInfo); in testExitUser_isProfile()
114 verify(mActivityManager, times(1)).switchUser(eq(mOwnerInfo.id)); in testExitUser_isProfile()
/packages/apps/Settings/src/com/android/settings/users/
DOwnerInfoSettings.java45 private EditText mOwnerInfo; field in OwnerInfoSettings
69 mOwnerInfo = (EditText) mView.findViewById(R.id.owner_info_edit_text); in initView()
71 mOwnerInfo.setText(info); in initView()
72 mOwnerInfo.setSelection(info.length()); in initView()
79 String info = mOwnerInfo.getText().toString(); in onClick()