/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ParamsUtils.java | 47 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()
|
D | SurfaceUtils.java | 21 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()
|
D | TaskDrainer.java | 82 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()
|
D | SizeAreaComparator.java | 38 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/ |
D | Range.java | 58 mLower = checkNotNull(lower, "lower must not be null"); in Range() 59 mUpper = checkNotNull(upper, "upper must not be null"); in Range() 115 checkNotNull(value, "value must not be null"); in contains() 135 checkNotNull(range, "value must not be null"); in contains() 177 checkNotNull(value, "value must not be null"); in clamp() 208 checkNotNull(range, "range must not be null"); in intersect() 240 checkNotNull(lower, "lower must not be null"); in intersect() 241 checkNotNull(upper, "upper must not be null"); in intersect() 276 checkNotNull(range, "range must not be null"); in extend() 308 checkNotNull(lower, "lower must not be null"); in extend() [all …]
|
/frameworks/base/core/java/android/service/controls/ |
D | Control.java | 157 Preconditions.checkNotNull(controlId); in Control() 158 Preconditions.checkNotNull(title); in Control() 159 Preconditions.checkNotNull(subtitle); in Control() 160 Preconditions.checkNotNull(appIntent); in Control() 161 Preconditions.checkNotNull(controlTemplate); in Control() 162 Preconditions.checkNotNull(statusText); in Control() 448 Preconditions.checkNotNull(controlId); in StatelessBuilder() 449 Preconditions.checkNotNull(appIntent); in StatelessBuilder() 460 Preconditions.checkNotNull(control); in StatelessBuilder() 478 Preconditions.checkNotNull(controlId); in setControlId() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | FontRequest.java | 50 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/permission/ |
D | PermissionControllerService.java | 28 import static com.android.internal.util.Preconditions.checkNotNull; 460 checkNotNull(bundleizedRequest, "bundleizedRequest"); in onBind() 461 checkNotNull(callerPackageName); in onBind() 462 checkNotNull(callback); in onBind() 466 Preconditions.checkNotNull(packageName); in onBind() 489 Preconditions.checkNotNull(pkg); in onBind() 519 checkNotNull(user); in onBind() 520 checkNotNull(pipe); in onBind() 538 checkNotNull(user); in onBind() 539 checkNotNull(pipe); in onBind() [all …]
|
D | PermissionControllerManager.java | 25 import static com.android.internal.util.Preconditions.checkNotNull; 328 checkNotNull(executor); in revokeRuntimePermissions() 329 checkNotNull(callback); in revokeRuntimePermissions() 330 checkNotNull(request); in revokeRuntimePermissions() 332 checkNotNull(appRequest.getKey()); in revokeRuntimePermissions() 429 checkNotNull(user); in getRuntimePermissionBackup() 430 checkNotNull(executor); in getRuntimePermissionBackup() 431 checkNotNull(callback); in getRuntimePermissionBackup() 466 checkNotNull(backup); in stageAndApplyRuntimePermissionsBackup() 467 checkNotNull(user); in stageAndApplyRuntimePermissionsBackup() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardSurfaceBehindParamsApplierTest.kt | 97 assertFalse(checkNotNull(isAnimatingSurface)) in <lambda>() 117 assertTrue(checkNotNull(isAnimatingSurface)) in <lambda>() 126 assertFalse(checkNotNull(isAnimatingSurface)) in <lambda>() 137 assertTrue(checkNotNull(isAnimatingSurface)) in <lambda>() 151 assertTrue(checkNotNull(isAnimatingSurface)) in <lambda>() 156 assertFalse(checkNotNull(isAnimatingSurface)) in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 22 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/media/java/android/media/ |
D | HwAudioSource.java | 58 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/graphics/java/android/graphics/text/ |
D | TextRunShaper.java | 68 Preconditions.checkNotNull(text); in shapeTextRun() 69 Preconditions.checkNotNull(paint); in shapeTextRun() 98 Preconditions.checkNotNull(text); in shapeTextRun() 99 Preconditions.checkNotNull(paint); in shapeTextRun()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ColorSpaceTransform.java | 73 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/core/tests/coretests/src/android/widget/espresso/ |
D | CustomViewActions.java | 48 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/base/core/java/android/os/ |
D | BugreportManager.java | 230 Preconditions.checkNotNull(bugreportFd); in startBugreport() 231 Preconditions.checkNotNull(params); in startBugreport() 232 Preconditions.checkNotNull(executor); in startBugreport() 233 Preconditions.checkNotNull(callback); in startBugreport() 307 Preconditions.checkNotNull(bugreportFile); in retrieveBugreport() 308 Preconditions.checkNotNull(bugreportFd); in retrieveBugreport() 309 Preconditions.checkNotNull(executor); in retrieveBugreport() 310 Preconditions.checkNotNull(callback); in retrieveBugreport()
|
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 167 checkNotNull(allowedAlgorithms, MISSING_PARAM_MSG_TMPL, "Allowed Algorithms"); in Ikev2VpnProfile() 217 checkNotNull(mUsername, MISSING_PARAM_MSG_TMPL, "Username"); in validate() 218 checkNotNull(mPassword, MISSING_PARAM_MSG_TMPL, "Password"); in validate() 224 checkNotNull(mPresharedKey, MISSING_PARAM_MSG_TMPL, "Preshared Key"); in validate() 227 checkNotNull(mUserCert, MISSING_PARAM_MSG_TMPL, "User cert"); in validate() 228 checkNotNull(mRsaPrivateKey, MISSING_PARAM_MSG_TMPL, "RSA Private key"); 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 825 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "serverAddr"); in Builder() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | Preconditions.java | 89 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/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/ |
D | CarSetupWizardUiUtils.java | 61 Preconditions.checkNotNull(window); in setWindowImmersiveMode() 106 Preconditions.checkNotNull(window); in enableImmersiveMode() 134 Preconditions.checkNotNull(window); in enableImmersiveModeWithStatus() 160 Preconditions.checkNotNull(window); in disableImmersiveMode()
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/os/ |
D | LooperKosmos.kt | 26 checkNotNull(testableLooper) { in <lambda>() 29 checkNotNull(testableLooper.looper) { in <lambda>()
|
/frameworks/base/errorprone/tests/res/android/util/ |
D | Preconditions.java | 28 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/core/java/android/hardware/input/ |
D | InputDeviceVibrator.java | 107 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/ |
D | RuntimePermissionPresenterService.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 86 checkNotNull(packageName, "packageName"); in onBind() 87 checkNotNull(callback, "callback"); in onBind()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/ |
D | DefaultClockSection.kt | 74 ensureClockViewExists(checkNotNull(currentClock).smallClock.view) in <lambda>() 77 update = { it.ensureClockViewExists(checkNotNull(currentClock).smallClock.view) }, in <lambda>() 116 val largeClock = checkNotNull(currentClock).largeClock in <lambda>() 128 ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>() 132 it.ensureClockViewExists(checkNotNull(currentClock).largeClock.view) in <lambda>()
|
/frameworks/base/core/java/android/hardware/lights/ |
D | LightsRequest.java | 92 Preconditions.checkNotNull(light); in addLight() 93 Preconditions.checkNotNull(state); in addLight() 118 Preconditions.checkNotNull(light); in clearLight()
|