Searched refs:ManageRoleHolderStateLiveData (Results 1 – 9 of 9) sorted by relevance
35 import com.android.permissioncontroller.role.ui.ManageRoleHolderStateLiveData;57 private final ArrayMap<String, ManageRoleHolderStateLiveData> mManageRoleHolderStateLiveDatas =93 ManageRoleHolderStateLiveData liveData = mManageRoleHolderStateLiveDatas.valueAt(i); in observeManageRoleHolderState()110 private ManageRoleHolderStateLiveData getManageRoleHolderStateLiveData(@NonNull String key, in getManageRoleHolderStateLiveData()112 ManageRoleHolderStateLiveData liveData = mManageRoleHolderStateLiveDatas.get(key); in getManageRoleHolderStateLiveData()114 liveData = new ManageRoleHolderStateLiveData(); in getManageRoleHolderStateLiveData()115 ManageRoleHolderStateLiveData finalLiveData = liveData; in getManageRoleHolderStateLiveData()136 ManageRoleHolderStateLiveData liveData = getManageRoleHolderStateLiveData(key, owner, in setSpecialAppAccessAsUser()138 if (liveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setSpecialAppAccessAsUser()157 void onManageRoleHolderStateChanged(@NonNull ManageRoleHolderStateLiveData liveData, in onManageRoleHolderStateChanged()
39 import com.android.permissioncontroller.role.ui.ManageRoleHolderStateLiveData;186 private void onManageRoleHolderStateChanged(@NonNull ManageRoleHolderStateLiveData liveData, in onManageRoleHolderStateChanged()189 case ManageRoleHolderStateLiveData.STATE_SUCCESS: in onManageRoleHolderStateChanged()197 case ManageRoleHolderStateLiveData.STATE_FAILURE: 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
227 ManageRoleHolderStateLiveData liveData = mViewModel.getManageRoleHolderStateLiveData(); in onManageRoleHolderStateChanged()229 case ManageRoleHolderStateLiveData.STATE_SUCCESS: in onManageRoleHolderStateChanged()237 case ManageRoleHolderStateLiveData.STATE_FAILURE: in onManageRoleHolderStateChanged()
323 case ManageRoleHolderStateLiveData.STATE_IDLE: in onManageRoleHolderStateChanged()324 case ManageRoleHolderStateLiveData.STATE_WORKING: in onManageRoleHolderStateChanged()327 case ManageRoleHolderStateLiveData.STATE_SUCCESS: { in onManageRoleHolderStateChanged()328 ManageRoleHolderStateLiveData liveData = in onManageRoleHolderStateChanged()346 case ManageRoleHolderStateLiveData.STATE_FAILURE: in onManageRoleHolderStateChanged()354 == ManageRoleHolderStateLiveData.STATE_IDLE; in updateUi()
32 import com.android.permissioncontroller.role.ui.ManageRoleHolderStateLiveData96 ManageRoleHolderStateLiveData.STATE_SUCCESS -> { in onManageRoleHolderStateChanged()103 ManageRoleHolderStateLiveData.STATE_FAILURE -> liveData.resetState() in onManageRoleHolderStateChanged()
42 import com.android.permissioncontroller.role.ui.ManageRoleHolderStateLiveData in <lambda>()53 ManageRoleHolderStateLiveData.STATE_WORKING in <lambda>()82 manageRoleHolderState.value == ManageRoleHolderStateLiveData.STATE_IDLE, in <lambda>()
36 import com.android.permissioncontroller.role.ui.ManageRoleHolderStateLiveData in <lambda>()159 ManageRoleHolderStateLiveData.STATE_SUCCESS -> { in <lambda>()184 ManageRoleHolderStateLiveData.STATE_FAILURE -> finish() in <lambda>()