Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java47 checkNotNull(size, "size must not be null"); in createRect()
65 checkNotNull(rect, "rect must not be null"); in createRect()
87 checkNotNull(transform, "transform must not be null"); in mapRect()
88 checkNotNull(rect, "rect must not be null"); in mapRect()
106 checkNotNull(rect, "rect must not be null"); in createSize()
170 checkNotNull(source, "source must not be null"); in convertRectF()
171 checkNotNull(destination, "destination must not be null"); in convertRectF()
185 checkNotNull(r, "r must not be null"); in getOrDefault()
186 checkNotNull(key, "key must not be null"); in getOrDefault()
187 checkNotNull(defaultValue, "defaultValue must not be null"); in getOrDefault()
DSurfaceUtils.java21 import static com.android.internal.util.Preconditions.checkNotNull;
58 checkNotNull(surface); in isSurfaceForPreview()
79 checkNotNull(surface); in isSurfaceForHwVideoEncoder()
99 checkNotNull(surface); in getSurfaceId()
114 checkNotNull(surface); in getSurfaceUsage()
131 checkNotNull(surface); in getSurfaceSize()
149 checkNotNull(surface); in getSurfaceFormat()
172 checkNotNull(surface); in detectSurfaceFormat()
188 checkNotNull(surface); in getSurfaceDataspace()
200 checkNotNull(output); in isFlexibleConsumer()
DTaskDrainer.java82 mExecutor = checkNotNull(executor, "executor must not be null"); in TaskDrainer()
83 mListener = checkNotNull(listener, "listener must not be null"); in TaskDrainer()
96 mExecutor = checkNotNull(executor, "executor must not be null"); in TaskDrainer()
97 mListener = checkNotNull(listener, "listener must not be null"); in TaskDrainer()
DSizeAreaComparator.java38 checkNotNull(size, "size must not be null"); in compare()
39 checkNotNull(size2, "size2 must not be null"); in compare()
67 checkNotNull(sizes, "sizes must not be null"); in findLargestByArea()
/frameworks/base/core/java/android/util/
DRange.java56 mLower = checkNotNull(lower, "lower must not be null"); in Range()
57 mUpper = checkNotNull(upper, "upper must not be null"); in Range()
113 checkNotNull(value, "value must not be null"); in contains()
133 checkNotNull(range, "value must not be null"); in contains()
175 checkNotNull(value, "value must not be null"); in clamp()
206 checkNotNull(range, "range must not be null"); in intersect()
238 checkNotNull(lower, "lower must not be null"); in intersect()
239 checkNotNull(upper, "upper must not be null"); in intersect()
274 checkNotNull(range, "range must not be null"); in extend()
306 checkNotNull(lower, "lower must not be null"); in extend()
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java28 import static com.android.internal.util.Preconditions.checkNotNull;
350 checkNotNull(bundleizedRequest, "bundleizedRequest"); in onBind()
351 checkNotNull(callerPackageName); in onBind()
352 checkNotNull(callback); in onBind()
356 Preconditions.checkNotNull(packageName); in onBind()
379 Preconditions.checkNotNull(pkg); in onBind()
409 checkNotNull(user); in onBind()
410 checkNotNull(pipe); in onBind()
428 checkNotNull(user); in onBind()
429 checkNotNull(pipe); in onBind()
[all …]
DPermissionControllerManager.java25 import static com.android.internal.util.Preconditions.checkNotNull;
281 checkNotNull(executor); in revokeRuntimePermissions()
282 checkNotNull(callback); in revokeRuntimePermissions()
283 checkNotNull(request); in revokeRuntimePermissions()
285 checkNotNull(appRequest.getKey()); in revokeRuntimePermissions()
382 checkNotNull(user); in getRuntimePermissionBackup()
383 checkNotNull(executor); in getRuntimePermissionBackup()
384 checkNotNull(callback); in getRuntimePermissionBackup()
419 checkNotNull(backup); in stageAndApplyRuntimePermissionsBackup()
420 checkNotNull(user); in stageAndApplyRuntimePermissionsBackup()
[all …]
/frameworks/base/core/java/android/service/controls/
DControl.java153 Preconditions.checkNotNull(controlId); in Control()
154 Preconditions.checkNotNull(title); in Control()
155 Preconditions.checkNotNull(subtitle); in Control()
156 Preconditions.checkNotNull(appIntent); in Control()
157 Preconditions.checkNotNull(controlTemplate); in Control()
158 Preconditions.checkNotNull(statusText); in Control()
433 Preconditions.checkNotNull(controlId); in StatelessBuilder()
434 Preconditions.checkNotNull(appIntent); in StatelessBuilder()
445 Preconditions.checkNotNull(control); in StatelessBuilder()
463 Preconditions.checkNotNull(controlId); in setControlId()
[all …]
/frameworks/base/core/java/android/provider/
DFontRequest.java50 mProviderAuthority = Preconditions.checkNotNull(providerAuthority); in FontRequest()
51 mQuery = Preconditions.checkNotNull(query); in FontRequest()
52 mProviderPackage = Preconditions.checkNotNull(providerPackage); in FontRequest()
71 mProviderAuthority = Preconditions.checkNotNull(providerAuthority); in FontRequest()
72 mProviderPackage = Preconditions.checkNotNull(providerPackage); in FontRequest()
73 mQuery = Preconditions.checkNotNull(query); in FontRequest()
74 mCertificates = Preconditions.checkNotNull(certificates); in FontRequest()
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java130 Preconditions.checkNotNull(request);
131 Preconditions.checkNotNull(callback);
141 Preconditions.checkNotNull(request);
142 Preconditions.checkNotNull(callback);
151 Preconditions.checkNotNull(request);
152 Preconditions.checkNotNull(callback);
161 Preconditions.checkNotNull(event);
170 Preconditions.checkNotNull(event);
180 Preconditions.checkNotNull(request);
181 Preconditions.checkNotNull(callback);
[all …]
/frameworks/base/core/java/android/service/autofill/
DDataset.java283 Preconditions.checkNotNull(presentation, "presentation must be non-null"); in Builder()
299 Preconditions.checkNotNull(inlinePresentation, "inlinePresentation must be non-null"); in Builder()
324 Preconditions.checkNotNull(inlinePresentation, "inlinePresentation must be non-null"); in setInlinePresentation()
346 Preconditions.checkNotNull(inlinePresentation, "inlinePresentation must be non-null"); in setInlinePresentation()
347 Preconditions.checkNotNull(inlineTooltipPresentation, in setInlinePresentation()
543 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
616 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
647 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
648 Preconditions.checkNotNull(inlinePresentation, "inlinePresentation cannot be null"); in setValue()
679 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java22 import static com.google.common.base.Preconditions.checkNotNull;
52 checkNotNull(uiController); in sendPinchZoomAction()
53 checkNotNull(firstFingerStartCoords); in sendPinchZoomAction()
54 checkNotNull(firstFingerEndCoords); in sendPinchZoomAction()
55 checkNotNull(secondFingerStartCoords); in sendPinchZoomAction()
56 checkNotNull(secondFingerEndCoords); in sendPinchZoomAction()
57 checkNotNull(precision); in sendPinchZoomAction()
220 checkNotNull(uiController); in perform()
221 checkNotNull(view); in perform()
/frameworks/base/core/java/android/net/
DIpSecTransform.java258 Preconditions.checkNotNull(algo); in setEncryption()
273 Preconditions.checkNotNull(algo); in setAuthentication()
293 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption()
314 Preconditions.checkNotNull(localSocket); in setIpv4Encapsulation()
351 Preconditions.checkNotNull(sourceAddress); in buildTransportModeTransform()
352 Preconditions.checkNotNull(spi); in buildTransportModeTransform()
390 Preconditions.checkNotNull(sourceAddress); in buildTunnelModeTransform()
391 Preconditions.checkNotNull(spi); in buildTunnelModeTransform()
407 Preconditions.checkNotNull(context); in Builder()
DIkev2VpnProfile.java148 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "Server address"); in Ikev2VpnProfile()
149 checkNotNull(userIdentity, MISSING_PARAM_MSG_TMPL, "User Identity"); in Ikev2VpnProfile()
150 checkNotNull(allowedAlgorithms, MISSING_PARAM_MSG_TMPL, "Allowed Algorithms"); in Ikev2VpnProfile()
189 checkNotNull(mUsername, MISSING_PARAM_MSG_TMPL, "Username"); in validate()
190 checkNotNull(mPassword, MISSING_PARAM_MSG_TMPL, "Password"); in validate()
196 checkNotNull(mPresharedKey, MISSING_PARAM_MSG_TMPL, "Preshared Key"); in validate()
199 checkNotNull(mUserCert, MISSING_PARAM_MSG_TMPL, "User cert"); in validate()
200 checkNotNull(mRsaPrivateKey, MISSING_PARAM_MSG_TMPL, "RSA Private key"); in validate()
600 checkNotNull(secret, MISSING_PARAM_MSG_TMPL, "secret"); in encodeForIpsecSecret()
607 checkNotNull(encoded, MISSING_PARAM_MSG_TMPL, "encoded"); in decodeFromIpsecSecret()
[all …]
/frameworks/base/media/java/android/media/
DHwAudioSource.java58 Preconditions.checkNotNull(device); in HwAudioSource()
59 Preconditions.checkNotNull(attributes); in HwAudioSource()
233 Preconditions.checkNotNull(attributes); in setAudioAttributes()
245 Preconditions.checkNotNull(info); in setAudioDeviceInfo()
257 Preconditions.checkNotNull(mAudioDeviceInfo); in build()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java73 checkNotNull(elements, "elements must not be null"); in ColorSpaceTransform()
81 checkNotNull(elements, "element[%d] must not be null", i); in ColorSpaceTransform()
113 checkNotNull(elements, "elements must not be null"); in ColorSpaceTransform()
119 checkNotNull(elements, "element %d must not be null", i); in ColorSpaceTransform()
164 checkNotNull(destination, "destination must not be null"); in copyElements()
199 checkNotNull(destination, "destination must not be null"); in copyElements()
/frameworks/base/graphics/java/android/graphics/text/
DTextRunShaper.java70 Preconditions.checkNotNull(text); in shapeTextRun()
71 Preconditions.checkNotNull(paint); in shapeTextRun()
100 Preconditions.checkNotNull(text); in shapeTextRun()
101 Preconditions.checkNotNull(paint); in shapeTextRun()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DCustomViewActions.java48 Preconditions.checkNotNull(hRef); in longPressAtRelativeCoordinates()
49 Preconditions.checkNotNull(vRef); in longPressAtRelativeCoordinates()
78 this.hRef = Preconditions.checkNotNull(hRef); in RelativeCoordinatesProvider()
79 this.vRef = Preconditions.checkNotNull(vRef); in RelativeCoordinatesProvider()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java58 Preconditions.checkNotNull(window); in setWindowImmersiveMode()
103 Preconditions.checkNotNull(window); in enableImmersiveMode()
131 Preconditions.checkNotNull(window); in enableImmersiveModeWithStatus()
157 Preconditions.checkNotNull(window); in disableImmersiveMode()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DPreconditions.java89 public static <T> T checkNotNull(String argName, T arg) { in checkNotNull() method in Preconditions
109 public static <T> T checkNotNull(T arg) { in checkNotNull() method in Preconditions
110 return checkNotNull("", arg); in checkNotNull()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DSavedNetworkTracker.java19 import static androidx.core.util.Preconditions.checkNotNull;
146 checkNotNull(intent, "Intent cannot be null!"); in handleScanResultsAvailableAction()
156 checkNotNull(intent, "Intent cannot be null!"); in handleConfiguredNetworksChangedAction()
201 checkNotNull(scanResults, "Scan Result list should not be null!"); in updateStandardWifiEntryScans()
216 checkNotNull(scanResults, "Scan Result list should not be null!"); in updatePasspointWifiEntryScans()
271 checkNotNull(configs, "Config list should not be null!"); in updateStandardWifiEntryConfigs()
296 checkNotNull(configs, "Config list should not be null!"); in updatePasspointWifiEntryConfigs()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibrator.java107 Preconditions.checkNotNull(listener); in addVibratorStateListener()
123 Preconditions.checkNotNull(listener); in addVibratorStateListener()
124 Preconditions.checkNotNull(executor); in addVibratorStateListener()
152 Preconditions.checkNotNull(listener); in removeVibratorStateListener()
/frameworks/base/core/java/android/permissionpresenterservice/
DRuntimePermissionPresenterService.java19 import static com.android.internal.util.Preconditions.checkNotNull;
86 checkNotNull(packageName, "packageName"); in onBind()
87 checkNotNull(callback, "callback"); in onBind()
/frameworks/base/errorprone/tests/res/android/util/
DPreconditions.java28 public static <T> T checkNotNull(T reference) { in checkNotNull() method in Preconditions
32 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull() method in Preconditions
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java144 Preconditions.checkNotNull(audioAttributes, "AudioAttributes must not be null"); in getLegacyStreamTypeForStrategyWithAudioAttributes()
194 Preconditions.checkNotNull(name, "name must not be null"); in AudioProductStrategy()
195 Preconditions.checkNotNull(aag, "AudioAttributesGroups must not be null"); in AudioProductStrategy()
244 Preconditions.checkNotNull(aa, "AudioAttributes must not be null"); in getLegacyStreamTypeForAudioAttributes()
261 Preconditions.checkNotNull(aa, "AudioAttributes must not be null"); in supportsAudioAttributes()
292 Preconditions.checkNotNull(aa, "AudioAttributes must not be null"); in getVolumeGroupIdForAudioAttributes()
368 Preconditions.checkNotNull(refAttr, "refAttr must not be null"); in attributesMatches()
369 Preconditions.checkNotNull(attr, "attr must not be null"); in attributesMatches()

12345678910