Home
last modified time | relevance | path

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

12345678910>>...17

/aosp12/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()
/aosp12/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 …]
/aosp12/frameworks/base/core/java/android/permission/
H A DPermissionControllerService.java352 checkNotNull(callback); in onBind()
409 checkNotNull(user); in onBind()
410 checkNotNull(pipe); in onBind()
428 checkNotNull(user); in onBind()
429 checkNotNull(pipe); in onBind()
448 checkNotNull(packageName); in onBind()
449 checkNotNull(user); in onBind()
450 checkNotNull(callback); in onBind()
526 checkNotNull(callback); in onBind()
567 checkNotNull(fd, "fd"); in onBind()
[all …]
H A DPermissionControllerManager.java281 checkNotNull(executor); in revokeRuntimePermissions()
282 checkNotNull(callback); in revokeRuntimePermissions()
283 checkNotNull(request); 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()
457 checkNotNull(user); in applyStagedRuntimePermissionBackup()
458 checkNotNull(executor); in applyStagedRuntimePermissionBackup()
[all …]
/aosp12/frameworks/base/core/java/android/service/controls/
H A 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()
158 Preconditions.checkNotNull(statusText); in Control()
445 Preconditions.checkNotNull(control); in StatelessBuilder()
490 Preconditions.checkNotNull(title); in setTitle()
502 Preconditions.checkNotNull(subtitle); in setSubtitle()
645 Preconditions.checkNotNull(control); in StatefulBuilder()
693 Preconditions.checkNotNull(title); in setTitle()
[all …]
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiNetworkAgentSpecifier.java19 import static com.android.internal.util.Preconditions.checkNotNull;
64 checkNotNull(wifiConfiguration); in WifiNetworkAgentSpecifier()
126 checkNotNull(ns); in satisfiesNetworkSpecifier()
127 checkNotNull(ns.ssidPatternMatcher); in satisfiesNetworkSpecifier()
128 checkNotNull(ns.bssidPatternMatcher); in satisfiesNetworkSpecifier()
129 checkNotNull(ns.wifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
130 checkNotNull(this.mWifiConfiguration.SSID); in satisfiesNetworkSpecifier()
131 checkNotNull(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier()
132 checkNotNull(this.mWifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
H A DWifiNetworkSpecifier.java194 checkNotNull(ssidPattern); in setSsidPattern()
212 checkNotNull(ssid); in setSsid()
235 checkNotNull(baseAddress); in setBssidPattern()
236 checkNotNull(mask); in setBssidPattern()
254 checkNotNull(bssid); in setBssid()
280 checkNotNull(passphrase); in setWpa2Passphrase()
298 checkNotNull(passphrase); in setWpa3Passphrase()
316 checkNotNull(enterpriseConfig); in setWpa2EnterpriseConfig()
339 checkNotNull(enterpriseConfig); in setWpa3EnterpriseConfig()
671 checkNotNull(ssidPatternMatcher); in WifiNetworkSpecifier()
[all …]
/aosp12/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()
/aosp12/frameworks/base/core/java/android/service/textclassifier/
H A 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);
191 Preconditions.checkNotNull(request);
[all …]
/aosp12/frameworks/base/core/java/android/service/autofill/
H A DDataset.java283 Preconditions.checkNotNull(presentation, "presentation must be non-null"); in Builder()
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()
679 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
681 Preconditions.checkNotNull(inlineTooltipPresentation, in setValue()
725 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
764 Preconditions.checkNotNull(presentation, "presentation cannot be null"); in setValue()
766 Preconditions.checkNotNull(inlineTooltipPresentation, in setValue()
[all …]
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DUserItemsCombiner.java22 import static androidx.core.util.Preconditions.checkNotNull;
47 mResources = checkNotNull(resources); in UserItemsCombiner()
48 mState = checkNotNull(state); in UserItemsCombiner()
53 mCurrentUser = checkNotNull(userId); in overrideCurrentUserForTest()
58 mRootList = checkNotNull(rootList); in setRootListForCurrentUser()
63 mRootListOtherUser = checkNotNull(rootList); in setRootListForOtherUser()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
H A DNetworkTypeLogger.java20 import static com.android.internal.util.Preconditions.checkNotNull;
57 mContext = checkNotNull(context); in NetworkTypeLogger()
58 mUtils = checkNotNull(utils); in NetworkTypeLogger()
59 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in NetworkTypeLogger()
60 mMetricsWriter = checkNotNull(metricsWriter); in NetworkTypeLogger()
61 mSharedPreferences = checkNotNull(sharedPreferences); in NetworkTypeLogger()
H A DTimeLogger.java28 import static com.android.internal.util.Preconditions.checkNotNull;
76 mContext = checkNotNull(context); in TimeLogger()
77 mCategory = checkNotNull(category); in TimeLogger()
78 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in TimeLogger()
79 mAnalyticsUtils = checkNotNull(analyticsUtils); in TimeLogger()
80 mProvisioningTracker = checkNotNull(provisioningAnalyticsTracker); in TimeLogger()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
H A DFinalizationController.java22 import static com.android.internal.util.Preconditions.checkNotNull;
113 mActivity = checkNotNull(activity); in FinalizationController()
114 mFinalizationControllerLogic = checkNotNull(finalizationControllerLogic); in FinalizationController()
115 mUtils = checkNotNull(utils); in FinalizationController()
116 mSettingsFacade = checkNotNull(settingsFacade); in FinalizationController()
117 mUserProvisioningStateHelper = checkNotNull(helper); in FinalizationController()
119 mNotificationHelper = checkNotNull(notificationHelper); in FinalizationController()
120 mDeferredMetricsReader = checkNotNull(deferredMetricsReader); in FinalizationController()
H A DPreFinalizationController.java21 import static com.android.internal.util.Preconditions.checkNotNull;
76 mContext = checkNotNull(context); in PreFinalizationController()
77 mUtils = checkNotNull(utils); in PreFinalizationController()
78 mSettingsFacade = checkNotNull(settingsFacade); in PreFinalizationController()
79 mUserProvisioningStateHelper = checkNotNull(helper); in PreFinalizationController()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
H A DMessageParser.java21 import static com.android.internal.util.Preconditions.checkNotNull;
53 mContext = checkNotNull(context); in MessageParser()
54 mUtils = checkNotNull(utils); in MessageParser()
55 mParserUtils = checkNotNull(parserUtils); in MessageParser()
56 mSettingsFacade = checkNotNull(settingsFacade); in MessageParser()
/aosp12/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()
/aosp12/frameworks/base/core/java/android/net/
H A DIkev2VpnProfile.java148 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "Server address"); in Ikev2VpnProfile()
149 checkNotNull(userIdentity, MISSING_PARAM_MSG_TMPL, "User Identity"); in Ikev2VpnProfile()
600 checkNotNull(secret, MISSING_PARAM_MSG_TMPL, "secret"); in encodeForIpsecSecret()
607 checkNotNull(encoded, MISSING_PARAM_MSG_TMPL, "encoded"); in decodeFromIpsecSecret()
629 private static @NonNull <T> T checkNotNull( in checkNotNull() method in Ikev2VpnProfile
670 checkNotNull(identity, MISSING_PARAM_MSG_TMPL, "identity"); in Builder()
706 checkNotNull(user, MISSING_PARAM_MSG_TMPL, "user"); in setAuthUsernamePassword()
707 checkNotNull(pass, MISSING_PARAM_MSG_TMPL, "pass"); in setAuthUsernamePassword()
742 checkNotNull(userCert, MISSING_PARAM_MSG_TMPL, "userCert"); in setAuthDigitalSignature()
743 checkNotNull(key, MISSING_PARAM_MSG_TMPL, "key"); in setAuthDigitalSignature()
[all …]
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/deletionhelper/
H A DAutomaticStorageManagerSwitchBarController.java52 mContext = Preconditions.checkNotNull(context); in AutomaticStorageManagerSwitchBarController()
53 mSwitchBar = Preconditions.checkNotNull(switchBar); in AutomaticStorageManagerSwitchBarController()
54 mMetrics = Preconditions.checkNotNull(metrics); in AutomaticStorageManagerSwitchBarController()
55 mDaysToRetainPreference = Preconditions.checkNotNull(daysToRetainPreference); in AutomaticStorageManagerSwitchBarController()
56 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
H A DNonRequiredAppsLogic.java19 import static com.android.internal.util.Preconditions.checkNotNull;
90 mIPackageManager = checkNotNull(iPackageManager); in NonRequiredAppsLogic()
91 mDevicePolicyManager = checkNotNull(devicePolicyManager); in NonRequiredAppsLogic()
93 mParams = checkNotNull(params); in NonRequiredAppsLogic()
94 mSnapshot = checkNotNull(snapshot); in NonRequiredAppsLogic()
95 mUtils = checkNotNull(utils); in NonRequiredAppsLogic()
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/
H A DAllDayEventsItem.java19 import static com.google.common.base.Preconditions.checkNotNull;
66 mExpandCollapseIcon = checkNotNull(itemView.findViewById(R.id.expand_collapse_icon)); in AllDayEventsViewHolder()
67 mTitleTextView = checkNotNull(itemView.findViewById(R.id.title_text)); in AllDayEventsViewHolder()
68 mEventItemsView = checkNotNull(itemView.findViewById(R.id.events)); in AllDayEventsViewHolder()
71 View expandCollapseView = checkNotNull(itemView.findViewById(R.id.expand_collapse)); in AllDayEventsViewHolder()
/aosp12/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()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DProfileTabs.java19 import static androidx.core.util.Preconditions.checkNotNull;
56 mTabsContainer = checkNotNull(tabLayoutContainer); in ProfileTabs()
58 mState = checkNotNull(state); in ProfileTabs()
59 mEnv = checkNotNull(env); in ProfileTabs()
60 mCommonAddons = checkNotNull(commonAddons); in ProfileTabs()
61 mUserIdManager = checkNotNull(userIdManager); in ProfileTabs()

12345678910>>...17