Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A 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()
H A 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()
H A 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()
H A 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()
/aosp14/frameworks/base/core/java/android/util/
H A DRange.java56 mLower = checkNotNull(lower, "lower 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()
307 checkNotNull(upper, "upper must not be null"); in extend()
[all …]
/aosp14/frameworks/base/core/java/android/permission/
H A DPermissionControllerService.java406 checkNotNull(callback); in onBind()
463 checkNotNull(user); in onBind()
464 checkNotNull(pipe); in onBind()
482 checkNotNull(user); in onBind()
483 checkNotNull(pipe); in onBind()
502 checkNotNull(packageName); in onBind()
503 checkNotNull(user); in onBind()
504 checkNotNull(callback); in onBind()
580 checkNotNull(callback); in onBind()
621 checkNotNull(fd, "fd"); in onBind()
[all …]
H A DPermissionControllerManager.java327 checkNotNull(executor); in revokeRuntimePermissions()
328 checkNotNull(callback); in revokeRuntimePermissions()
329 checkNotNull(request); in revokeRuntimePermissions()
428 checkNotNull(user); in getRuntimePermissionBackup()
429 checkNotNull(executor); in getRuntimePermissionBackup()
430 checkNotNull(callback); in getRuntimePermissionBackup()
465 checkNotNull(backup); in stageAndApplyRuntimePermissionsBackup()
466 checkNotNull(user); in stageAndApplyRuntimePermissionsBackup()
503 checkNotNull(user); in applyStagedRuntimePermissionBackup()
504 checkNotNull(executor); in applyStagedRuntimePermissionBackup()
[all …]
/aosp14/frameworks/base/core/java/android/service/controls/
H A DControl.java157 Preconditions.checkNotNull(controlId); in Control()
158 Preconditions.checkNotNull(title); in Control()
159 Preconditions.checkNotNull(subtitle); in Control()
160 Preconditions.checkNotNull(appIntent); in Control()
162 Preconditions.checkNotNull(statusText); in Control()
460 Preconditions.checkNotNull(control); in StatelessBuilder()
505 Preconditions.checkNotNull(title); in setTitle()
517 Preconditions.checkNotNull(subtitle); in setSubtitle()
663 Preconditions.checkNotNull(control); in StatefulBuilder()
712 Preconditions.checkNotNull(title); in setTitle()
[all …]
/aosp14/frameworks/base/core/java/android/provider/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardSurfaceBehindParamsApplierTest.kt99 assertFalse(checkNotNull(isAnimatingSurface))
119 assertTrue(checkNotNull(isAnimatingSurface))
128 assertFalse(checkNotNull(isAnimatingSurface))
139 assertTrue(checkNotNull(isAnimatingSurface))
153 assertTrue(checkNotNull(isAnimatingSurface))
158 assertFalse(checkNotNull(isAnimatingSurface))
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A 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()
/aosp14/frameworks/base/media/java/android/media/
H A 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()
/aosp14/frameworks/base/graphics/java/android/graphics/text/
H A DTextRunShaper.java68 Preconditions.checkNotNull(text); in shapeTextRun()
69 Preconditions.checkNotNull(paint); in shapeTextRun()
98 Preconditions.checkNotNull(text); in shapeTextRun()
99 Preconditions.checkNotNull(paint); in shapeTextRun()
/aosp14/frameworks/base/core/java/android/os/
H A DBugreportManager.java228 Preconditions.checkNotNull(bugreportFd); in startBugreport()
229 Preconditions.checkNotNull(params); in startBugreport()
230 Preconditions.checkNotNull(executor); in startBugreport()
231 Preconditions.checkNotNull(callback); in startBugreport()
303 Preconditions.checkNotNull(bugreportFile); in retrieveBugreport()
304 Preconditions.checkNotNull(bugreportFd); in retrieveBugreport()
305 Preconditions.checkNotNull(executor); in retrieveBugreport()
306 Preconditions.checkNotNull(callback); in retrieveBugreport()
H A DExternalVibration.java59 mPkg = Preconditions.checkNotNull(pkg); in ExternalVibration()
60 mAttrs = Preconditions.checkNotNull(attrs); in ExternalVibration()
61 mController = Preconditions.checkNotNull(controller); in ExternalVibration()
62 mToken = Preconditions.checkNotNull(token); in ExternalVibration()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A 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()
/aosp14/frameworks/base/core/java/android/net/
H A DIkev2VpnProfile.java217 checkNotNull(mUsername, MISSING_PARAM_MSG_TMPL, "Username"); in validate()
218 checkNotNull(mPassword, MISSING_PARAM_MSG_TMPL, "Password"); in validate()
709 checkNotNull(secret, MISSING_PARAM_MSG_TMPL, "secret"); in encodeForIpsecSecret()
716 checkNotNull(encoded, MISSING_PARAM_MSG_TMPL, "encoded"); in decodeFromIpsecSecret()
738 private static @NonNull <T> T checkNotNull( in checkNotNull() method in Ikev2VpnProfile
826 checkNotNull(identity, MISSING_PARAM_MSG_TMPL, "identity"); in Builder()
883 checkNotNull(user, MISSING_PARAM_MSG_TMPL, "user"); in setAuthUsernamePassword()
884 checkNotNull(pass, MISSING_PARAM_MSG_TMPL, "pass"); in setAuthUsernamePassword()
924 checkNotNull(userCert, MISSING_PARAM_MSG_TMPL, "userCert"); in setAuthDigitalSignature()
925 checkNotNull(key, MISSING_PARAM_MSG_TMPL, "key"); in setAuthDigitalSignature()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/input/
H A 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()
/aosp14/frameworks/base/core/java/android/permissionpresenterservice/
H A DRuntimePermissionPresenterService.java19 import static com.android.internal.util.Preconditions.checkNotNull;
86 checkNotNull(packageName, "packageName"); in onBind()
87 checkNotNull(callback, "callback"); in onBind()
/aosp14/frameworks/base/core/java/android/hardware/lights/
H A DLightsRequest.java92 Preconditions.checkNotNull(light); in addLight()
93 Preconditions.checkNotNull(state); in addLight()
118 Preconditions.checkNotNull(light); in clearLight()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/toast/
H A DTextToastRecord.java19 import static com.android.internal.util.Preconditions.checkNotNull;
53 this.text = checkNotNull(text); in TextToastRecord()
73 checkNotNull(mStatusBar, "Cannot hide toast that wasn't shown"); in hide()
/aosp14/frameworks/base/errorprone/tests/res/android/util/
H A 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
/aosp14/frameworks/base/core/java/android/view/
H A DKeyboardShortcutGroup.java18 import static com.android.internal.util.Preconditions.checkNotNull;
46 mItems = new ArrayList<>(checkNotNull(items)); in KeyboardShortcutGroup()
66 mItems = new ArrayList<>(checkNotNull(items)); in KeyboardShortcutGroup()

12345678910