Searched refs:ManageRoleHolderStateLiveData (Results 1 – 6 of 6) sorted by relevance
54 private final ArrayMap<String, ManageRoleHolderStateLiveData> mManageRoleHolderStateLiveDatas =90 ManageRoleHolderStateLiveData liveData = mManageRoleHolderStateLiveDatas.valueAt(i); in observeManageRoleHolderState()107 private ManageRoleHolderStateLiveData getManageRoleHolderStateLiveData(@NonNull String key, in getManageRoleHolderStateLiveData()109 ManageRoleHolderStateLiveData liveData = mManageRoleHolderStateLiveDatas.get(key); in getManageRoleHolderStateLiveData()111 liveData = new ManageRoleHolderStateLiveData(); in getManageRoleHolderStateLiveData()112 ManageRoleHolderStateLiveData finalLiveData = liveData; in getManageRoleHolderStateLiveData()133 ManageRoleHolderStateLiveData liveData = getManageRoleHolderStateLiveData(key, owner, in setSpecialAppAccessAsUser()135 if (liveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setSpecialAppAccessAsUser()154 void onManageRoleHolderStateChanged(@NonNull ManageRoleHolderStateLiveData liveData, in onManageRoleHolderStateChanged()
53 private final ManageRoleHolderStateLiveData mManageRoleHolderStateLiveData =54 new ManageRoleHolderStateLiveData();73 public ManageRoleHolderStateLiveData getManageRoleHolderStateLiveData() { in getManageRoleHolderStateLiveData()83 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setDefaultApp()97 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setNoneDefaultApp()
34 public class ManageRoleHolderStateLiveData extends LiveData<Integer> { class36 private static final String LOG_TAG = ManageRoleHolderStateLiveData.class.getSimpleName();51 public ManageRoleHolderStateLiveData() { in ManageRoleHolderStateLiveData() method in ManageRoleHolderStateLiveData
317 case ManageRoleHolderStateLiveData.STATE_IDLE: in onManageRoleHolderStateChanged()318 case ManageRoleHolderStateLiveData.STATE_WORKING: in onManageRoleHolderStateChanged()321 case ManageRoleHolderStateLiveData.STATE_SUCCESS: { in onManageRoleHolderStateChanged()322 ManageRoleHolderStateLiveData liveData = in onManageRoleHolderStateChanged()340 case ManageRoleHolderStateLiveData.STATE_FAILURE: in onManageRoleHolderStateChanged()348 == ManageRoleHolderStateLiveData.STATE_IDLE; in updateUi()
172 private void onManageRoleHolderStateChanged(@NonNull ManageRoleHolderStateLiveData liveData, in onManageRoleHolderStateChanged()175 case ManageRoleHolderStateLiveData.STATE_SUCCESS: in onManageRoleHolderStateChanged()183 case ManageRoleHolderStateLiveData.STATE_FAILURE: in onManageRoleHolderStateChanged()
214 ManageRoleHolderStateLiveData liveData = mViewModel.getManageRoleHolderStateLiveData(); in onManageRoleHolderStateChanged()216 case ManageRoleHolderStateLiveData.STATE_SUCCESS: in onManageRoleHolderStateChanged()224 case ManageRoleHolderStateLiveData.STATE_FAILURE: in onManageRoleHolderStateChanged()