/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 35 import com.android.internal.util.Preconditions; 126 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() [all …]
|
D | ContentResolver.java | 52 import com.android.internal.util.Preconditions; 329 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() [all …]
|
/frameworks/base/location/java/android/location/ |
D | LocalListenerHelper.java | 19 import com.android.internal.util.Preconditions; 42 Preconditions.checkNotNull(name); in LocalListenerHelper() 48 Preconditions.checkNotNull(listener); in add() 73 Preconditions.checkNotNull(listener); in remove()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 26 import com.android.internal.util.Preconditions; 67 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()
|
D | StorageManager.java | 42 import com.android.internal.util.Preconditions; 414 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb() 415 Preconditions.checkNotNull(listener, "listener cannot be null"); in mountObb() 452 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb() 453 Preconditions.checkNotNull(listener, "listener cannot be null"); in unmountObb() 473 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted() 494 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in getMountedObbPath() 516 Preconditions.checkNotNull(id); in findDiskById() 528 Preconditions.checkNotNull(id); in findVolumeById() 540 Preconditions.checkNotNull(fsUuid); in findVolumeByUuid() [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProvider.java | 19 import com.android.internal.util.Preconditions; 61 Preconditions.checkNotNull(service); in ActivityRecognitionProvider() 75 Preconditions.checkNotNull(sink); in registerSink() 84 Preconditions.checkNotNull(sink); in unregisterSink()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CarrierMessagingServiceManager.java | 27 import com.android.internal.util.Preconditions; 59 Preconditions.checkState(mCarrierMessagingServiceConnection == null); in bindToCarrierMessagingService() 74 Preconditions.checkNotNull(mCarrierMessagingServiceConnection); in disposeConnection()
|
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
D | DataBindingExcludeGeneratedTask.java | 19 import com.google.common.base.Preconditions; 106 Preconditions.checkNotNull(generatedClassListFile, "Data binding exclude generated task" in readGeneratedClasses() 108 Preconditions.checkArgument(generatedClassListFile.exists(), in readGeneratedClasses() 123 Preconditions.checkState(false, "Could not read data binding generated class list"); in readGeneratedClasses()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 29 import com.android.internal.util.Preconditions; 74 mContext = Preconditions.checkNotNull(context); in FloatingActionMode() 75 mCallback = Preconditions.checkNotNull(callback); in FloatingActionMode() 97 mOriginatingView = Preconditions.checkNotNull(originatingView); in FloatingActionMode() 279 Preconditions.checkState(mFloatingToolbar != null); in checkToolbarInitialized() 280 Preconditions.checkState(mFloatingToolbarVisibilityHelper != null); in checkToolbarInitialized() 305 mToolbar = Preconditions.checkNotNull(toolbar); in FloatingToolbarVisibilityHelper()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FloatingToolbar.java | 63 import com.android.internal.util.Preconditions; 114 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() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 22 import com.android.internal.util.Preconditions; 90 Preconditions.checkNotNull(command); 98 Preconditions.checkNotNull(command); in execute()
|
D | ColumnAdapter.java | 27 import com.android.internal.util.Preconditions; 44 mWrapped = Preconditions.checkNotNull(wrapped); in ColumnAdapter() 45 mListener = Preconditions.checkNotNull(listener); in ColumnAdapter()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | RemoteListenerHelper.java | 19 import com.android.internal.util.Preconditions; 55 Preconditions.checkNotNull(name); in RemoteListenerHelper() 61 Preconditions.checkNotNull(listener, "Attempted to register a 'null' listener."); in addListener() 104 Preconditions.checkNotNull(listener, "Attempted to remove a 'null' listener."); in removeListener()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPort.java | 19 import com.android.internal.util.Preconditions; 204 Preconditions.checkArgumentInRange(powerRole, 0, POWER_ROLE_SINK, "powerRole"); in checkRoles() 205 Preconditions.checkArgumentInRange(dataRole, 0, DATA_ROLE_DEVICE, "dataRole"); in checkRoles()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | Expr.java | 29 import android.databinding.tool.util.Preconditions; 113 Preconditions.check(mId != NO_ID, "if getId is called on an expression, it should have" in getId() 119 Preconditions.check(mId == NO_ID, "ID is already set on %s", this); in setId() 268 Preconditions.check(mParents.remove(oldParent), "trying to remove non-existent parent %s" in onParentSwapped() 368 Preconditions.checkNotNull(mUniqueKey, in getUniqueKey() 370 Preconditions.check(!mUniqueKey.trim().equals(""), in getUniqueKey() 413 Preconditions.check(mRequirementId != NO_ID, "If this is an expression w/ conditional" in getRequirementFlagIndex() 515 Preconditions.check(isConditional(), "should not call this on a non-conditional expr"); in findConditionalFlags()
|
D | IdentifierExpr.java | 23 import android.databinding.tool.util.Preconditions; 63 Preconditions.checkNotNull(mUserDefinedType, ErrorMessages.UNDEFINED_VARIABLE, mName); in resolveType()
|
D | ExprModel.java | 25 import android.databinding.tool.util.Preconditions; 87 Preconditions.check(!mSealed, "Cannot add expressions to a model after it is sealed"); in register() 95 Preconditions.check(expr.getParents().isEmpty(), in register() 182 Preconditions.check(dotIndex < type.length() - 1, "Invalid type %s", type); in staticIdentifierFor() 194 Preconditions.check(cnt < 100, "Failed to create an import for " + type); in staticIdentifierFor() 248 Preconditions.check(!mImports.containsKey(alias), 270 Preconditions.check(mExprMap.containsKey(bindingExpr.getUniqueKey()),
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputManager.java | 45 import com.android.internal.util.Preconditions; 957 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() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 49 import com.android.internal.util.Preconditions; 97 mContext = Preconditions.checkNotNull(context); in LockdownVpnTracker() 98 mNetService = Preconditions.checkNotNull(netService); in LockdownVpnTracker() 99 mConnService = Preconditions.checkNotNull(connService); in LockdownVpnTracker() 100 mVpn = Preconditions.checkNotNull(vpn); in LockdownVpnTracker() 101 mProfile = Preconditions.checkNotNull(profile); in LockdownVpnTracker()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 22 import com.android.internal.util.Preconditions; 100 mCallback = Preconditions.checkNotNull(callback); in DeviceDiscoveryAction() 247 Preconditions.checkState(mProcessedDeviceCount < mDevices.size()); in handleReportPhysicalAddress() 273 Preconditions.checkState(mProcessedDeviceCount < mDevices.size()); 296 Preconditions.checkState(mProcessedDeviceCount < mDevices.size());
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
D | BuildInfoUtil.java | 22 import android.databinding.tool.util.Preconditions; 50 Preconditions.check(result == null, "Should have only one %s", in extractNotNull()
|
D | ProcessDataBinding.java | 23 import android.databinding.tool.util.Preconditions; 91 Preconditions.checkNull(mChef, "Cannot set compiler chef twice"); in initProcessingSteps() 108 Preconditions.checkNull(mBRWriter, "Cannot set br writer twice"); in initProcessingSteps()
|
/frameworks/base/core/java/android/util/ |
D | SizeF.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 20 import static com.android.internal.util.Preconditions.checkArgumentFinite;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | LayoutBinder.java | 31 import android.databinding.tool.util.Preconditions; 227 Preconditions.check(!mUserDefinedVariables.containsKey(name), in addVariable() 289 Preconditions.checkNotNull(getPackage(), "package cannot be null"); in writeViewBinder() 290 Preconditions.checkNotNull(getClassName(), "base class name cannot be null"); in writeViewBinder()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | LayoutFileParser.java | 36 import android.databinding.tool.util.Preconditions; 207 Preconditions.check(myParentContent instanceof XMLParser.ContentContext, in parseExpressions() 211 Preconditions.check(grandParent instanceof XMLParser.ElementContext, in parseExpressions() 282 Preconditions.check(StringUtils.isNotBlank(type), "Type of an import cannot be empty." in parseData() 295 Preconditions.checkNotNull(type, "variable must have a type definition %s in %s", in parseData() 297 Preconditions.checkNotNull(name, "variable must have a name %s in %s", in parseData() 321 Preconditions.check(data.size() == 1, "XML layout can have only 1 data tag"); in getDataNode() 327 Preconditions.check(view.size() == 1, "XML layout %s must have 1 view but has %s. root" in getViewNode()
|