Home
last modified time | relevance | path

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

/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/
DTrustedDeviceDetailFragment.java45 private AssociatedDevice mAssociatedDevice; field in TrustedDeviceDetailFragment
72 mAssociatedDevice = bundle.getParcelable(ASSOCIATED_DEVICE_KEY); in onViewCreated()
81 mModel.setDeviceToEnable(mAssociatedDevice); in onViewCreated()
96 String deviceName = mAssociatedDevice.getDeviceName(); in setTrustedDeviceTitle()
122 if (!device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in setTrustedDevices()
135 if (device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in observeViewModel()
136 mAssociatedDevice = device; in observeViewModel()
159 if (device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in observeViewModel()
DTrustedDeviceViewModel.java35 private final MutableLiveData<AssociatedDevice> mAssociatedDevice = new MutableLiveData<>(null); field in TrustedDeviceViewModel
58 mAssociatedDevice.setValue(device); in setAssociatedDevice()
96 return mAssociatedDevice; in getAssociatedDevice()