/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()
|
/frameworks/base/core/java/android/util/ |
D | Range.java | 55 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 …]
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 29 import static com.android.internal.util.Preconditions.checkNotNull; 213 checkNotNull(bundleizedRequest, "bundleizedRequest"); in onBind() 214 checkNotNull(callerPackageName); in onBind() 215 checkNotNull(callback); in onBind() 219 Preconditions.checkNotNull(packageName); in onBind() 240 checkNotNull(revoked); in onBind() 244 checkNotNull(appRevocation.getKey()); in onBind() 261 checkNotNull(user); in onBind() 262 checkNotNull(pipe); in onBind() 279 checkNotNull(user); in onBind() [all …]
|
D | PermissionControllerManager.java | 28 import static com.android.internal.util.Preconditions.checkNotNull; 263 checkNotNull(executor); in revokeRuntimePermissions() 264 checkNotNull(callback); in revokeRuntimePermissions() 265 checkNotNull(request); in revokeRuntimePermissions() 267 checkNotNull(appRequest.getKey()); in revokeRuntimePermissions() 308 checkNotNull(executor); in setRuntimePermissionGrantStateByDeviceAdmin() 309 checkNotNull(callback); in setRuntimePermissionGrantStateByDeviceAdmin() 329 checkNotNull(user); in getRuntimePermissionBackup() 330 checkNotNull(executor); in getRuntimePermissionBackup() 331 checkNotNull(callback); in getRuntimePermissionBackup() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | FontRequest.java | 49 mProviderAuthority = Preconditions.checkNotNull(providerAuthority); in FontRequest() 50 mQuery = Preconditions.checkNotNull(query); in FontRequest() 51 mProviderPackage = Preconditions.checkNotNull(providerPackage); in FontRequest() 70 mProviderAuthority = Preconditions.checkNotNull(providerAuthority); in FontRequest() 71 mProviderPackage = Preconditions.checkNotNull(providerPackage); in FontRequest() 72 mQuery = Preconditions.checkNotNull(query); in FontRequest() 73 mCertificates = Preconditions.checkNotNull(certificates); in FontRequest()
|
D | DeviceConfig.java | 664 Preconditions.checkNotNull(onPropertyChangedListener); in removeOnPropertyChangedListener() 685 Preconditions.checkNotNull(onPropertiesChangedListener); in removeOnPropertiesChangedListener() 695 Preconditions.checkNotNull(namespace); in createCompositeName() 696 Preconditions.checkNotNull(name); in createCompositeName() 701 Preconditions.checkNotNull(namespace); in createNamespaceUri() 714 Preconditions.checkNotNull(namespace); in incrementNamespace() 743 Preconditions.checkNotNull(namespace); in decrementNamespace() 759 Preconditions.checkNotNull(uri); in handleChange() 880 Preconditions.checkNotNull(namespace); in Properties() 913 Preconditions.checkNotNull(name); in getString() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyRequest.java | 49 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()
|
D | ParameterUtils.java | 135 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 …]
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | TextClassifierService.java | 116 Preconditions.checkNotNull(request); 117 Preconditions.checkNotNull(callback); 127 Preconditions.checkNotNull(request); 128 Preconditions.checkNotNull(callback); 137 Preconditions.checkNotNull(request); 138 Preconditions.checkNotNull(callback); 147 Preconditions.checkNotNull(event); 156 Preconditions.checkNotNull(event); 166 Preconditions.checkNotNull(request); 167 Preconditions.checkNotNull(callback); [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTarget.java | 58 mPackageName = Preconditions.checkNotNull(packageName); in AppTarget() 60 mUser = Preconditions.checkNotNull(user); in AppTarget() 72 mShortcutInfo = Preconditions.checkNotNull(shortcutInfo); in AppTarget() 227 mId = Preconditions.checkNotNull(id); in Builder() 228 mPackageName = Preconditions.checkNotNull(packageName); in Builder() 229 mUser = Preconditions.checkNotNull(user); in Builder() 240 mId = Preconditions.checkNotNull(id); in Builder() 241 mShortcutInfo = Preconditions.checkNotNull(info); in Builder() 256 mPackageName = Preconditions.checkNotNull(packageName); in setTarget() 257 mUser = Preconditions.checkNotNull(user); in setTarget() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 67 checkNotNull(wifiConfiguration); in WifiNetworkAgentSpecifier() 129 checkNotNull(ns); in satisfiesNetworkSpecifier() 130 checkNotNull(ns.ssidPatternMatcher); in satisfiesNetworkSpecifier() 131 checkNotNull(ns.bssidPatternMatcher); in satisfiesNetworkSpecifier() 132 checkNotNull(ns.wifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier() 133 checkNotNull(this.mWifiConfiguration.SSID); in satisfiesNetworkSpecifier() 134 checkNotNull(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier() 135 checkNotNull(this.mWifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
|
D | WifiNetworkSpecifier.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 119 checkNotNull(ssidPattern); in setSsidPattern() 137 checkNotNull(ssid); in setSsid() 160 checkNotNull(baseAddress, mask); in setBssidPattern() 178 checkNotNull(bssid); in setBssid() 204 checkNotNull(passphrase); in setWpa2Passphrase() 222 checkNotNull(passphrase); in setWpa3Passphrase() 240 checkNotNull(enterpriseConfig); in setWpa2EnterpriseConfig() 254 checkNotNull(enterpriseConfig); in setWpa3EnterpriseConfig() 490 checkNotNull(ssidPatternMatcher); in WifiNetworkSpecifier() [all …]
|
D | WifiNetworkSuggestion.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 130 checkNotNull(ssid); in setSsid() 155 checkNotNull(bssid); in setBssid() 181 checkNotNull(passphrase); in setWpa2Passphrase() 199 checkNotNull(passphrase); in setWpa3Passphrase() 217 checkNotNull(enterpriseConfig); in setWpa2EnterpriseConfig() 231 checkNotNull(enterpriseConfig); in setWpa3EnterpriseConfig() 488 checkNotNull(wifiConfiguration); in WifiNetworkSuggestion() 489 checkNotNull(suggestorPackageName); in WifiNetworkSuggestion()
|
/frameworks/base/core/java/android/app/role/ |
D | RoleManager.java | 286 Preconditions.checkNotNull(user, "user cannot be null"); in getRoleHoldersAsUser() 323 Preconditions.checkNotNull(user, "user cannot be null"); in addRoleHolderAsUser() 324 Preconditions.checkNotNull(executor, "executor cannot be null"); in addRoleHolderAsUser() 325 Preconditions.checkNotNull(callback, "callback cannot be null"); in addRoleHolderAsUser() 362 Preconditions.checkNotNull(user, "user cannot be null"); in removeRoleHolderAsUser() 363 Preconditions.checkNotNull(executor, "executor cannot be null"); in removeRoleHolderAsUser() 364 Preconditions.checkNotNull(callback, "callback cannot be null"); in removeRoleHolderAsUser() 399 Preconditions.checkNotNull(user, "user cannot be null"); in clearRoleHoldersAsUser() 400 Preconditions.checkNotNull(executor, "executor cannot be null"); in clearRoleHoldersAsUser() 401 Preconditions.checkNotNull(callback, "callback cannot be null"); in clearRoleHoldersAsUser() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 185 Preconditions.checkNotNull(uri, "url"); in query() 214 Preconditions.checkNotNull(url, "url"); in getType() 233 Preconditions.checkNotNull(url, "url"); in getStreamTypes() 234 Preconditions.checkNotNull(mimeTypeFilter, "mimeTypeFilter"); in getStreamTypes() 252 Preconditions.checkNotNull(url, "url"); in canonicalize() 270 Preconditions.checkNotNull(url, "url"); in uncanonicalize() 289 Preconditions.checkNotNull(url, "url"); in refresh() 314 Preconditions.checkNotNull(url, "url"); in insert() 333 Preconditions.checkNotNull(url, "url"); in bulkInsert() 334 Preconditions.checkNotNull(initialValues, "initialValues"); in bulkInsert() [all …]
|
/frameworks/base/core/java/android/net/ |
D | IpSecTransform.java | 20 import static com.android.internal.util.Preconditions.checkNotNull; 296 checkNotNull(userCallback); in startNattKeepalive() 300 checkNotNull(handler); in startNattKeepalive() 361 Preconditions.checkNotNull(algo); in setEncryption() 376 Preconditions.checkNotNull(algo); in setAuthentication() 396 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption() 417 Preconditions.checkNotNull(localSocket); in setIpv4Encapsulation() 454 Preconditions.checkNotNull(sourceAddress); in buildTransportModeTransform() 455 Preconditions.checkNotNull(spi); in buildTransportModeTransform() 493 Preconditions.checkNotNull(sourceAddress); in buildTunnelModeTransform() [all …]
|
D | Ikev2VpnProfile.java | 126 checkNotNull(serverAddr, MISSING_PARAM_MSG_TMPL, "Server address"); in Ikev2VpnProfile() 127 checkNotNull(userIdentity, MISSING_PARAM_MSG_TMPL, "User Identity"); in Ikev2VpnProfile() 128 checkNotNull(allowedAlgorithms, MISSING_PARAM_MSG_TMPL, "Allowed Algorithms"); in Ikev2VpnProfile() 168 checkNotNull(mUsername, MISSING_PARAM_MSG_TMPL, "Username"); in validate() 169 checkNotNull(mPassword, MISSING_PARAM_MSG_TMPL, "Password"); in validate() 175 checkNotNull(mPresharedKey, MISSING_PARAM_MSG_TMPL, "Preshared Key"); in validate() 178 checkNotNull(mUserCert, MISSING_PARAM_MSG_TMPL, "User cert"); in validate() 179 checkNotNull(mRsaPrivateKey, MISSING_PARAM_MSG_TMPL, "RSA Private key"); in validate() 585 checkNotNull(secret, MISSING_PARAM_MSG_TMPL, "secret"); in encodeForIpsecSecret() 592 checkNotNull(encoded, MISSING_PARAM_MSG_TMPL, "encoded"); in decodeFromIpsecSecret() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ModelFileManager.java | 54 mModelFileSupplier = Preconditions.checkNotNull(modelFileSupplier); in ModelFileManager() 109 mUpdatedModelFile = Preconditions.checkNotNull(updatedModelFile); in ModelFileSupplierImpl() 110 mFactoryModelDir = Preconditions.checkNotNull(factoryModelDir); in ModelFileSupplierImpl() 112 Preconditions.checkNotNull(factoryModelFileNameRegex)); in ModelFileSupplierImpl() 113 mVersionSupplier = Preconditions.checkNotNull(versionSupplier); in ModelFileSupplierImpl() 114 mSupportedLocalesSupplier = Preconditions.checkNotNull(supportedLocalesSupplier); in ModelFileSupplierImpl() 211 mFile = Preconditions.checkNotNull(file); in ModelFile() 213 mSupportedLocales = Preconditions.checkNotNull(supportedLocales); in ModelFile() 214 mSupportedLocalesStr = Preconditions.checkNotNull(supportedLocalesStr); in ModelFile() 235 Preconditions.checkNotNull(languageRanges); in isAnyLanguageSupported()
|
D | SystemTextClassifier.java | 64 mSettings = Preconditions.checkNotNull(settings); in SystemTextClassifier() 67 mPackageName = Preconditions.checkNotNull(context.getOpPackageName()); in SystemTextClassifier() 77 Preconditions.checkNotNull(request); in suggestSelection() 101 Preconditions.checkNotNull(request); in classifyText() 125 Preconditions.checkNotNull(request); in generateLinks() 150 Preconditions.checkNotNull(event); in onSelectionEvent() 163 Preconditions.checkNotNull(event); in onTextClassifierEvent() 181 Preconditions.checkNotNull(request); in detectLanguage() 202 Preconditions.checkNotNull(request); in suggestConversationActions() 263 mSessionId = Preconditions.checkNotNull(sessionId); in initializeRemoteSession()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 128 mContext = Preconditions.checkNotNull(context); in TextClassificationManagerService() 137 Preconditions.checkNotNull(request); in onSuggestSelection() 138 Preconditions.checkNotNull(callback); in onSuggestSelection() 161 Preconditions.checkNotNull(request); in onClassifyText() 162 Preconditions.checkNotNull(callback); in onClassifyText() 185 Preconditions.checkNotNull(request); in onGenerateLinks() 186 Preconditions.checkNotNull(callback); in onGenerateLinks() 208 Preconditions.checkNotNull(event); in onSelectionEvent() 227 Preconditions.checkNotNull(event); in onTextClassifierEvent() 253 Preconditions.checkNotNull(request); in onDetectLanguage() [all …]
|
/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 | 50 Preconditions.checkNotNull(device); in HwAudioSource() 51 Preconditions.checkNotNull(attributes); in HwAudioSource() 194 Preconditions.checkNotNull(attributes); in setAudioAttributes() 206 Preconditions.checkNotNull(info); in setAudioDeviceInfo() 218 Preconditions.checkNotNull(mAudioDeviceInfo); in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationListController.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 49 mEntryManager = checkNotNull(entryManager); in NotificationListController() 50 mListContainer = checkNotNull(listContainer); in NotificationListController() 51 mForegroundServiceController = checkNotNull(foregroundServiceController); in NotificationListController() 52 mDeviceProvisionedController = checkNotNull(deviceProvisionedController); in NotificationListController()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | Hkdf.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 52 checkNotNull(masterKey, "HKDF requires master key to be set."); in hkdf() 53 checkNotNull(salt, "HKDF requires a salt."); in hkdf() 54 checkNotNull(data, "No data provided to HKDF."); in hkdf()
|
/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[" + 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()
|