/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Utf8String.java | 19 import com.google.common.base.Preconditions; 70 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength() 75 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue() 84 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl() 85 Preconditions.checkState( in encodePerImpl()
|
D | Asn1BitString.java | 21 import com.google.common.base.Preconditions; 68 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength() 74 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue() 75 Preconditions.checkState( in encodeBerValue() 101 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl() 102 Preconditions.checkState( in encodePerImpl()
|
D | Asn1OctetString.java | 21 import com.google.common.base.Preconditions; 66 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength() 71 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue() 80 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl() 81 Preconditions.checkState( in encodePerImpl()
|
D | Asn1IA5String.java | 21 import com.google.common.base.Preconditions; 61 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength() 66 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue() 75 Preconditions.checkNotNull(alphabet); in setAlphabet() 76 Preconditions.checkArgument(alphabet.length() > 0, "Empty alphabet"); in setAlphabet() 101 Preconditions.checkArgument(value.length() >= minimumSize, in setValue() 103 Preconditions.checkArgument(maximumSize == null in setValue() 116 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl()
|
D | Asn1BMPString.java | 21 import com.google.common.base.Preconditions; 79 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl() 81 Preconditions.checkState(length >= minimumSize, "Value too short."); in encodePerImpl() 82 Preconditions.checkState(maximumSize == null || length <= maximumSize, in encodePerImpl() 134 Preconditions.checkState(codepoint <= 0xFFFF, in encodeCharactersPer()
|
D | Asn1GeneralString.java | 21 import com.google.common.base.Preconditions; 78 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl() 79 Preconditions.checkState(value.length >= minimumSize, "Value too short."); in encodePerImpl() 80 Preconditions.checkState(maximumSize == null || value.length <= maximumSize, in encodePerImpl()
|
D | Asn1Integer.java | 21 import com.google.common.base.Preconditions; 82 Preconditions.checkNotNull(value, "No value set."); in validateValue() 83 Preconditions.checkState( in validateValue() 86 Preconditions.checkState( in validateValue()
|
D | BitStream.java | 20 import com.google.common.base.Preconditions; 86 Preconditions.checkArgument(howManyBits < BITS_IN_BYTE); in appendLowBits()
|
D | Asn1SequenceOf.java | 19 import com.google.common.base.Preconditions; 107 Preconditions.checkState(sequence.size() >= minimumSize, in encodePerImpl() 109 Preconditions.checkState(maximumSize == null in encodePerImpl()
|
D | PerAlignedUtils.java | 19 import com.google.common.base.Preconditions; 59 Preconditions.checkArgument(range < SIXTYFOUR_K, "range >= 64K"); in encodeNormalizedSmallConstrainedWholeNumber() 60 Preconditions.checkArgument(normalizedValue >= 0, in encodeNormalizedSmallConstrainedWholeNumber()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SettingsStateManager.java | 25 import com.google.common.base.Preconditions; 45 mContext = Preconditions.checkNotNull(context); in SettingsStateManager() 46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager() 47 mKey = Preconditions.checkNotNull(key); in SettingsStateManager()
|
D | DeviceConfigStateManager.java | 29 import com.google.common.base.Preconditions; 55 mContext = Preconditions.checkNotNull(context); in DeviceConfigStateManager() 56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager() 57 mKey = Preconditions.checkNotNull(key); in DeviceConfigStateManager()
|
D | OneTimeDeviceConfigListener.java | 26 import com.google.common.base.Preconditions; 53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener() 54 mKey = Preconditions.checkNotNull(key); in OneTimeDeviceConfigListener()
|
D | StateKeeperRule.java | 21 import com.google.common.base.Preconditions; 46 mStateManager = Preconditions.checkNotNull(stateManager); in StateKeeperRule()
|
D | StateChangerRule.java | 22 import com.google.common.base.Preconditions; 50 mStateManager = Preconditions.checkNotNull(stateManager); in StateChangerRule()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SettingsStateManager.java | 25 import com.google.common.base.Preconditions; 45 mContext = Preconditions.checkNotNull(context); in SettingsStateManager() 46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager() 47 mKey = Preconditions.checkNotNull(key); in SettingsStateManager()
|
D | DeviceConfigStateManager.java | 29 import com.google.common.base.Preconditions; 55 mContext = Preconditions.checkNotNull(context); in DeviceConfigStateManager() 56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager() 57 mKey = Preconditions.checkNotNull(key); in DeviceConfigStateManager()
|
D | OneTimeDeviceConfigListener.java | 26 import com.google.common.base.Preconditions; 53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener() 54 mKey = Preconditions.checkNotNull(key); in OneTimeDeviceConfigListener()
|
D | StateKeeperRule.java | 21 import com.google.common.base.Preconditions; 46 mStateManager = Preconditions.checkNotNull(stateManager); in StateKeeperRule()
|
D | StateChangerRule.java | 22 import com.google.common.base.Preconditions; 50 mStateManager = Preconditions.checkNotNull(stateManager); in StateChangerRule()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedUiBot.java | 32 import com.google.common.base.Preconditions; 65 Preconditions.checkNotNull(focusedId); in assertUiShown() 66 Preconditions.checkNotNull(expectedText); in assertUiShown() 88 Preconditions.checkState(mOkToCallAssertUiGone, "must call assertUiShown() first"); in assertUiGone()
|
D | AugmentedHelper.java | 39 import com.google.common.base.Preconditions; 89 Preconditions.checkNotNull(activity); in assertBasicRequestInfo() 90 Preconditions.checkNotNull(expectedFocusedId); in assertBasicRequestInfo()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AuthenticationActivity.java | 38 import com.google.common.base.Preconditions; 98 Preconditions.checkArgument(id > 0, "id must be positive"); in createSender() 99 Preconditions.checkState(sDatasets.get(id) == null, "already have id"); in createSender() 114 Preconditions.checkArgument(id > 0, "id must be positive"); in createSender() 115 Preconditions.checkState(sResponses.get(id) == null, "already have id"); in createSender() 137 Preconditions.checkArgument(id > 0, "id must be positive"); in createSender()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | InMatcher.java | 35 Preconditions.checkNotNull("values", values); in InMatcher() 40 Preconditions.checkNotNull(values); in InMatcher()
|
D | Preconditions.java | 27 public final class Preconditions { class 179 private Preconditions() { throw new AssertionError(); } in Preconditions() method in Preconditions
|