Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/enterprise/
DAdminGrantedPermissionsPreferenceControllerBase.java35 private boolean mHasApps; field in AdminGrantedPermissionsPreferenceControllerBase
44 mHasApps = false; in AdminGrantedPermissionsPreferenceControllerBase()
53 mHasApps = false; in updateState()
57 mHasApps = true; in updateState()
59 preference.setVisible(mHasApps); in updateState()
80 mHasApps = haveAppsWithAdminGrantedPermissions[0]; in isAvailable()
81 return mHasApps; in isAvailable()
89 if (!mHasApps) { in handlePreferenceTreeClick()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DAdminGrantedPermissionsPreferenceControllerBase.java33 private boolean mHasApps; field in AdminGrantedPermissionsPreferenceControllerBase
43 mHasApps = false; in AdminGrantedPermissionsPreferenceControllerBase()
56 mHasApps = false; in update()
60 mHasApps = true; in update()
62 mPreferenceCompat.setVisible(mHasApps); in update()
83 mHasApps = haveAppsWithAdminGrantedPermissions[0]; in isAvailable()
84 return mHasApps; in isAvailable()
89 if (!mHasApps) { in handlePreferenceTreeClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DAdminGrantedPermissionsPreferenceControllerBase.java39 private boolean mHasApps; field in AdminGrantedPermissionsPreferenceControllerBase
48 mHasApps = false; in AdminGrantedPermissionsPreferenceControllerBase()
57 mHasApps = false; in updateState()
66 mHasApps = true; in updateState()
68 preference.setVisible(mHasApps); in updateState()
89 mHasApps = haveAppsWithAdminGrantedPermissions[0]; in isAvailable()
90 return mHasApps; in isAvailable()
98 if (!mHasApps) { in handlePreferenceTreeClick()