Lines Matching refs:restrictions
102 Bundle restrictions = manager.getApplicationRestrictions(); in resolveRestrictions() local
109 updateCanSayHello(entry, restrictions); in resolveRestrictions()
111 updateMessage(entry, restrictions); in resolveRestrictions()
113 updateNumber(entry, restrictions); in resolveRestrictions()
115 updateRank(entry, restrictions); in resolveRestrictions()
117 updateApprovals(entry, restrictions); in resolveRestrictions()
119 updateItems(restrictions); in resolveRestrictions()
124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello() argument
126 if (restrictions == null || !restrictions.containsKey(KEY_CAN_SAY_HELLO)) { in updateCanSayHello()
129 canSayHello = restrictions.getBoolean(KEY_CAN_SAY_HELLO); in updateCanSayHello()
137 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage() argument
138 if (restrictions == null || !restrictions.containsKey(KEY_MESSAGE)) { in updateMessage()
141 mMessage = restrictions.getString(KEY_MESSAGE); in updateMessage()
145 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { in updateNumber() argument
147 if (restrictions == null || !restrictions.containsKey(KEY_NUMBER)) { in updateNumber()
150 number = restrictions.getInt(KEY_NUMBER); in updateNumber()
155 private void updateRank(RestrictionEntry entry, Bundle restrictions) { in updateRank() argument
157 if (restrictions == null || !restrictions.containsKey(KEY_RANK)) { in updateRank()
160 rank = restrictions.getString(KEY_RANK); in updateRank()
165 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { in updateApprovals() argument
167 if (restrictions == null || !restrictions.containsKey(KEY_APPROVALS)) { in updateApprovals()
170 approvals = restrictions.getStringArray(KEY_APPROVALS); in updateApprovals()
181 private void updateItems(Bundle restrictions) { in updateItems() argument
186 if (restrictions != null) { in updateItems()
187 Parcelable[] parcelables = restrictions.getParcelableArray(KEY_ITEMS); in updateItems()