Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScript.java75 checkNotNull("parameter", parameter); in get()
92 checkNotNull("parameter", parameter); in set()
93 checkNotNull("value", value); in set()
119 checkNotNull("parameter", parameter); in contains()
136 checkNotNull("jClass", jClass); in ScriptParameter()
137 checkNotNull("kClass", kClass); in ScriptParameter()
227 checkNotNull("allocation", allocation); in setInput()
251 checkNotNull("allocation", allocation); in setOutput()
260 checkNotNull("inputInfo", inputInfo); in Script()
261 checkNotNull("outputInfo", outputInfo); in Script()
[all …]
DAllocationInfo.java63 checkNotNull("allocation", allocation); in newInstance()
227 checkNotNull("element", element); in AllocationInfo()
228 checkNotNull("size", size); in AllocationInfo()
303 checkNotNull("element", element); in fromElement()
329 checkNotNull("element", element); in isElementEqualTo()
DScriptGraph.java332 checkNotNull("size", size); in configureInput()
374 checkNotNull("parameter", parameter); in set()
375 checkNotNull("value", value); in set()
417 checkNotNull("scriptClass", scriptClass); in chainScript()
434 checkNotNull("scriptClass", scriptClass); in configureScript()
546 mOutputAllocation = checkNotNull("lastOutput", lastOutput); in ScriptGraph()
DAllocationCache.java58 mRS = checkNotNull("rs", rs); in AllocationCache()
79 checkNotNull("type", type); in getOrCreateTyped()
119 checkNotNull("allocation", allocation); in returnToCache()
DScriptYuvCrop.java55 checkNotNull("inputInfo", inputInfo); in createOutputInfo()
56 checkNotNull("parameters", parameters); in createOutputInfo()
DScriptYuvToRgb.java36 checkNotNull("outputInfo", outputInfo); in createOutputInfo()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraSessionUtils.java177 checkNotNull(listener); in configureAndVerifySession()
178 checkNotNull(device); in configureAndVerifySession()
179 checkNotNull(handler); in configureAndVerifySession()
190 checkNotNull(session); in configureAndVerifySession()
215 checkNotNull(listener); in captureAndVerifyResult()
216 checkNotNull(session); in captureAndVerifyResult()
217 checkNotNull(request); in captureAndVerifyResult()
218 checkNotNull(handler); in captureAndVerifyResult()
231 checkNotNull(result); in captureAndVerifyResult()
DPreconditions.java85 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() method in Preconditions
105 public static <T> T checkNotNull(T arg) { in checkNotNull() method in Preconditions
106 return checkNotNull("", arg); in checkNotNull()
DInMatcher.java35 Preconditions.checkNotNull("values", values); in InMatcher()
40 Preconditions.checkNotNull(values); in InMatcher()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSettingsStateManager.java45 mContext = Preconditions.checkNotNull(context); in SettingsStateManager()
46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager()
47 mKey = Preconditions.checkNotNull(key); in SettingsStateManager()
DDeviceConfigStateManager.java55 mContext = Preconditions.checkNotNull(context); in DeviceConfigStateManager()
56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager()
57 mKey = Preconditions.checkNotNull(key); in DeviceConfigStateManager()
DOneTimeDeviceConfigListener.java53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener()
54 mKey = Preconditions.checkNotNull(key); in OneTimeDeviceConfigListener()
DStateKeeperRule.java46 mStateManager = Preconditions.checkNotNull(stateManager); in StateKeeperRule()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSettingsStateManager.java45 mContext = Preconditions.checkNotNull(context); in SettingsStateManager()
46 mNamespace = Preconditions.checkNotNull(namespace); in SettingsStateManager()
47 mKey = Preconditions.checkNotNull(key); in SettingsStateManager()
DDeviceConfigStateManager.java55 mContext = Preconditions.checkNotNull(context); in DeviceConfigStateManager()
56 mNamespace = Preconditions.checkNotNull(namespace); in DeviceConfigStateManager()
57 mKey = Preconditions.checkNotNull(key); in DeviceConfigStateManager()
DOneTimeDeviceConfigListener.java53 mNamespace = Preconditions.checkNotNull(namespace); in OneTimeDeviceConfigListener()
54 mKey = Preconditions.checkNotNull(key); in OneTimeDeviceConfigListener()
DStateKeeperRule.java46 mStateManager = Preconditions.checkNotNull(stateManager); in StateKeeperRule()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Utf8String.java70 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()
DAsn1OctetString.java66 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()
DAsn1BitString.java68 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength()
74 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue()
101 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl()
DAsn1IA5String.java61 Preconditions.checkNotNull(value, "No value set."); in getBerValueLength()
66 Preconditions.checkNotNull(value, "No value set."); in encodeBerValue()
75 Preconditions.checkNotNull(alphabet); in setAlphabet()
116 Preconditions.checkNotNull(value, "No value set."); in encodePerImpl()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedUiBot.java65 Preconditions.checkNotNull(focusedId); in assertUiShown()
66 Preconditions.checkNotNull(expectedText); in assertUiShown()
DAugmentedHelper.java89 Preconditions.checkNotNull(activity); in assertBasicRequestInfo()
90 Preconditions.checkNotNull(expectedFocusedId); in assertBasicRequestInfo()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java123 public static <T> T checkNotNull(T reference) { in checkNotNull() method in DecodeAccuracyTestBase
128 public static <T> T checkNotNull(String msg, T reference) { in checkNotNull() method in DecodeAccuracyTestBase
161 this.context = checkNotNull(context); in SimplePlayer()
363 checkNotNull(videoFormat); in setExtractorDataSource()
475 checkNotNull(mediaFormat); in configureVideoFormat()
476 checkNotNull(videoFormat); in configureVideoFormat()
595 this.context = checkNotNull(context); in TestHelper()
667 this.view = checkNotNull(view); in ViewGenerator()
668 this.relativeLayout = checkNotNull(relativeLayout); in ViewGenerator()
689 this.view = checkNotNull(view); in ViewCleaner()
[all …]
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java41 import static com.google.common.base.Preconditions.checkNotNull;
132 String expectedInstallFilter = checkNotNull(mDevice.getProperty("pm.dexopt.install")); in testCompile_bgDexopt()
134 String expectedBgDexoptFilter = checkNotNull(mDevice.getProperty("pm.dexopt.bg-dexopt")); in testCompile_bgDexopt()

12