Home
last modified time | relevance | path

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

1234

/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()
DTaskDrainer.java76 mHandler = checkNotNull(handler, "handler must not be null"); in TaskDrainer()
77 mListener = checkNotNull(listener, "listener must not be null"); in TaskDrainer()
91 mHandler = checkNotNull(handler, "handler must not be null"); in TaskDrainer()
92 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.java55 mLower = checkNotNull(lower, "lower must not be null"); in Range()
56 mUpper = checkNotNull(upper, "upper must not be null"); in Range()
112 checkNotNull(value, "value must not be null"); in contains()
132 checkNotNull(range, "value must not be null"); in contains()
174 checkNotNull(value, "value must not be null"); in clamp()
205 checkNotNull(range, "range must not be null"); in intersect()
237 checkNotNull(lower, "lower must not be null"); in intersect()
238 checkNotNull(upper, "upper must not be null"); in intersect()
273 checkNotNull(range, "range must not be null"); in extend()
305 checkNotNull(lower, "lower must not be null"); in extend()
[all …]
DSize.java19 import static com.android.internal.util.Preconditions.checkNotNull;
124 checkNotNull(string, "string must not be null"); in parseSize()
/frameworks/base/core/java/android/content/
DContentProviderClient.java126 Preconditions.checkNotNull(url, "url"); in query()
150 Preconditions.checkNotNull(url, "url"); in getType()
168 Preconditions.checkNotNull(url, "url"); in getStreamTypes()
169 Preconditions.checkNotNull(mimeTypeFilter, "mimeTypeFilter"); in getStreamTypes()
186 Preconditions.checkNotNull(url, "url"); in canonicalize()
203 Preconditions.checkNotNull(url, "url"); in uncanonicalize()
221 Preconditions.checkNotNull(url, "url"); in insert()
239 Preconditions.checkNotNull(url, "url"); in bulkInsert()
240 Preconditions.checkNotNull(initialValues, "initialValues"); in bulkInsert()
258 Preconditions.checkNotNull(url, "url"); in delete()
[all …]
DContentResolver.java329 Preconditions.checkNotNull(url, "url"); in getType()
382 Preconditions.checkNotNull(url, "url"); in getStreamTypes()
383 Preconditions.checkNotNull(mimeTypeFilter, "mimeTypeFilter"); in getStreamTypes()
474 Preconditions.checkNotNull(uri, "uri"); in query()
571 Preconditions.checkNotNull(url, "url"); in canonicalize()
607 Preconditions.checkNotNull(url, "url"); in uncanonicalize()
645 Preconditions.checkNotNull(uri, "uri"); in openInputStream()
922 Preconditions.checkNotNull(uri, "uri"); in openAssetFileDescriptor()
923 Preconditions.checkNotNull(mode, "mode"); in openAssetFileDescriptor()
1085 Preconditions.checkNotNull(uri, "uri"); in openTypedAssetFileDescriptor()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequest.java49 this.characteristics = checkNotNull(characteristics, "characteristics must not be null"); in LegacyRequest()
50 this.captureRequest = checkNotNull(captureRequest, "captureRequest must not be null"); in LegacyRequest()
51 this.previewSize = checkNotNull(previewSize, "previewSize must not be null"); in LegacyRequest()
52 checkNotNull(parameters, "parameters must not be null"); in LegacyRequest()
63 checkNotNull(parameters, "parameters must not be null"); in setParameters()
DParameterUtils.java135 this.rect = checkNotNull(rect, "rect must not be null"); in WeightedRectangle()
237 checkNotNull(size, "size must not be null"); in convertSize()
246 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeList()
259 checkNotNull(sizeList, "sizeList must not be null"); in convertSizeListToArray()
273 checkNotNull(sizeList, "sizeList must not be null"); in containsSize()
286 checkNotNull(params, "params must not be null"); in getLargestSupportedJpegSizeByArea()
378 checkNotNull(params, "params must not be null"); in getClosestAvailableZoomCrop()
379 checkNotNull(activeArray, "activeArray must not be null"); in getClosestAvailableZoomCrop()
380 checkNotNull(streamSize, "streamSize must not be null"); in getClosestAvailableZoomCrop()
381 checkNotNull(reportedCropRegion, "reportedCropRegion must not be null"); in getClosestAvailableZoomCrop()
[all …]
DSizeAreaComparator.java39 checkNotNull(size, "size must not be null"); in compare()
40 checkNotNull(size2, "size2 must not be null"); in compare()
68 checkNotNull(sizes, "sizes must not be null"); in findLargestByArea()
DLegacyCameraDevice.java537 checkNotNull(surface); in getSurfaceSize()
598 checkNotNull(surface); in detectSurfaceUsageFlags()
606 checkNotNull(surface); in detectSurfaceType()
614 checkNotNull(surface); in detectSurfaceDataspace()
620 checkNotNull(surface); in configureSurface()
631 checkNotNull(surface); in produceFrame()
632 checkNotNull(pixelBuffer); in produceFrame()
642 checkNotNull(surface); in setSurfaceFormat()
649 checkNotNull(surface); in setSurfaceDimens()
657 checkNotNull(surface); in getSurfaceId()
[all …]
DLegacyFaceDetectMapper.java72 mCamera = checkNotNull(camera, "camera must not be null"); in LegacyFaceDetectMapper()
73 checkNotNull(characteristics, "characteristics must not be null"); in LegacyFaceDetectMapper()
123 checkNotNull(captureRequest, "captureRequest must not be null"); in processFaceDetectMode()
208 checkNotNull(result, "result must not be null"); in mapResultFaces()
209 checkNotNull(legacyRequest, "legacyRequest must not be null"); in mapResultFaces()
/frameworks/base/core/java/android/hardware/camera2/params/
DColorSpaceTransform.java73 checkNotNull(elements, "elements must not be null"); in ColorSpaceTransform()
81 checkNotNull(elements, "element[" + i + "] must not be null"); in ColorSpaceTransform()
113 checkNotNull(elements, "elements must not be null"); in ColorSpaceTransform()
119 checkNotNull(elements, "element " + i + " must not be null"); in ColorSpaceTransform()
164 checkNotNull(destination, "destination must not be null"); in copyElements()
199 checkNotNull(destination, "destination must not be null"); in copyElements()
DOutputConfiguration.java69 checkNotNull(surface, "Surface must not be null"); in OutputConfiguration()
93 checkNotNull(surface, "Surface must not be null"); in OutputConfiguration()
105 checkNotNull(surface, "Surface must not be null"); in OutputConfiguration()
DMeteringRectangle.java113 checkNotNull(xy, "xy must not be null"); in MeteringRectangle()
114 checkNotNull(dimensions, "dimensions must not be null"); in MeteringRectangle()
135 checkNotNull(rect, "rect must not be null"); in MeteringRectangle()
DTonemapCurve.java106 checkNotNull(red, "red must not be null"); in TonemapCurve()
107 checkNotNull(green, "green must not be null"); in TonemapCurve()
108 checkNotNull(blue, "blue must not be null"); in TonemapCurve()
235 checkNotNull(destination, "destination must not be null"); in copyColorCurve()
DBlackLevelPattern.java21 import static com.android.internal.util.Preconditions.checkNotNull;
87 checkNotNull(destination, "destination must not be null"); in copyTo()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java67 mId = Preconditions.checkNotNull(id); in StorageVolume()
69 mPath = Preconditions.checkNotNull(path); in StorageVolume()
70 mDescription = Preconditions.checkNotNull(description); in StorageVolume()
77 mOwner = Preconditions.checkNotNull(owner); in StorageVolume()
79 mState = Preconditions.checkNotNull(state); in StorageVolume()
/frameworks/base/location/java/android/location/
DLocalListenerHelper.java42 Preconditions.checkNotNull(name); in LocalListenerHelper()
48 Preconditions.checkNotNull(listener); in add()
73 Preconditions.checkNotNull(listener); in remove()
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionProvider.java61 Preconditions.checkNotNull(service); in ActivityRecognitionProvider()
75 Preconditions.checkNotNull(sink); in registerSink()
84 Preconditions.checkNotNull(sink); in unregisterSink()
/frameworks/base/core/java/android/hardware/camera2/dispatch/
DDuckTypingDispatcher.java45 checkNotNull(targetClass, "targetClass must not be null"); in DuckTypingDispatcher()
46 checkNotNull(target, "target must not be null"); in DuckTypingDispatcher()
DArgumentReplacingDispatcher.java60 mTarget = checkNotNull(target, "target must not be null"); in ArgumentReplacingDispatcher()
63 mReplaceWith = checkNotNull(replaceWith, "replaceWith must not be null"); in ArgumentReplacingDispatcher()
/frameworks/support/recommendation/src/android/support/app/recommendation/
DContentRecommendation.java741 mBuilderIdTag = checkNotNull(idTag); in setIdTag()
752 mBuilderTitle = checkNotNull(title); in setTitle()
788 mBuilderContentImage = checkNotNull(image); in setContentImage()
923 mBuilderContentIntentData.mIntent = checkNotNull(intent); in setContentIntentData()
979 mBuilderContentTypes = checkNotNull(types); in setContentTypes()
1008 mBuilderPriceType = checkNotNull(priceType); in setPricingInformation()
1034 mBuilderMaturityRating = checkNotNull(maturityRating); in setMaturityRating()
1146 private static <T> T checkNotNull(final T reference) { in checkNotNull() method in ContentRecommendation
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java957 Preconditions.checkNotNull(inputId); in getTvInputInfo()
979 Preconditions.checkNotNull(inputId); in getInputState()
997 Preconditions.checkNotNull(callback); in registerCallback()
998 Preconditions.checkNotNull(handler); in registerCallback()
1010 Preconditions.checkNotNull(callback); in unregisterCallback()
1060 Preconditions.checkNotNull(rating); in isRatingBlocked()
1097 Preconditions.checkNotNull(rating); in addBlockedRating()
1115 Preconditions.checkNotNull(rating); in removeBlockedRating()
1150 Preconditions.checkNotNull(inputId); in createSession()
1151 Preconditions.checkNotNull(callback); in createSession()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java114 Preconditions.checkNotNull(context); in FloatingToolbar()
115 Preconditions.checkNotNull(window); in FloatingToolbar()
126 mMenu = Preconditions.checkNotNull(menu); in setMenu()
150 mContentRect.set(Preconditions.checkNotNull(rect)); in setContentRect()
372 mParent = Preconditions.checkNotNull(parent); in FloatingToolbarPopup()
373 mContext = Preconditions.checkNotNull(context); in FloatingToolbarPopup()
408 Preconditions.checkNotNull(menuItems); in layoutMenuItems()
433 Preconditions.checkNotNull(contentRectOnScreen); in show()
511 Preconditions.checkNotNull(contentRectOnScreen); in updateCoordinates()
842 Preconditions.checkNotNull(mMainPanel); in setMainPanelAsContent()
[all …]

1234