From 75a6bf395824e6c49037080d113a3fe401dc9871 Mon Sep 17 00:00:00 2001 From: Yang Sun Date: Thu, 19 Sep 2024 10:15:51 +0000 Subject: [PATCH] Format the code in ThreadNetworkController.java Change-Id: I3471f53396afb12768aa279a1ab059ffbfd8671e --- .../net/thread/ThreadNetworkController.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/thread/framework/java/android/net/thread/ThreadNetworkController.java b/thread/framework/java/android/net/thread/ThreadNetworkController.java index ecaefd00fb..cb4e8def82 100644 --- a/thread/framework/java/android/net/thread/ThreadNetworkController.java +++ b/thread/framework/java/android/net/thread/ThreadNetworkController.java @@ -706,9 +706,9 @@ public final class ThreadNetworkController { /** * Sets max power of each channel. * - *

This method sets the max power for the given channel. The platform sets the actual - * output power to be less than or equal to the {@code channelMaxPowers} and as close as - * possible to the {@code channelMaxPowers}. + *

This method sets the max power for the given channel. The platform sets the actual output + * power to be less than or equal to the {@code channelMaxPowers} and as close as possible to + * the {@code channelMaxPowers}. * *

If not set, the default max power is set by the Thread HAL service or the Thread radio * chip firmware. @@ -726,13 +726,13 @@ public final class ThreadNetworkController { * and corresponding max power. Valid channel values should be between {@link * ActiveOperationalDataset#CHANNEL_MIN_24_GHZ} and {@link * ActiveOperationalDataset#CHANNEL_MAX_24_GHZ}. The unit of the max power is 0.01dBm. For - * example, 1000 means 0.01W and 2000 means 0.1W. If the power value of - * {@code channelMaxPowers} is lower than the minimum output power supported by the - * platform, the output power will be set to the minimum output power supported by the - * platform. If the power value of {@code channelMaxPowers} is higher than the maximum - * output power supported by the platform, the output power will be set to the maximum - * output power supported by the platform. If the power value of {@code channelMaxPowers} - * is set to {@link #MAX_POWER_CHANNEL_DISABLED}, the corresponding channel is disabled. + * example, 1000 means 0.01W and 2000 means 0.1W. If the power value of {@code + * channelMaxPowers} is lower than the minimum output power supported by the platform, the + * output power will be set to the minimum output power supported by the platform. If the + * power value of {@code channelMaxPowers} is higher than the maximum output power supported + * by the platform, the output power will be set to the maximum output power supported by + * the platform. If the power value of {@code channelMaxPowers} is set to {@link + * #MAX_POWER_CHANNEL_DISABLED}, the corresponding channel is disabled. * @param executor the executor to execute {@code receiver}. * @param receiver the receiver to receive the result of this operation. * @throws IllegalArgumentException if the size of {@code channelMaxPowers} is smaller than 1,