Searched refs:hap (Results 1 – 1 of 1) sorted by relevance
283 final HapClientProfile hap = profileManager.getHapClientProfile(); in syncDeviceIfNeeded() local285 if (hap != null && !hap.supportsSynchronizedPresets(device.getDevice())) { in syncDeviceIfNeeded()288 int mainPresetIndex = hap.getActivePresetIndex(mainDevice.getDevice()); in syncDeviceIfNeeded()289 int presetIndex = hap.getActivePresetIndex(device.getDevice()); in syncDeviceIfNeeded()296 hap.selectPreset(device.getDevice(), mainPresetIndex); in syncDeviceIfNeeded()