Home
last modified time | relevance | path

Searched refs:Preconditions (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/location/java/android/location/
DLocalListenerHelper.java19 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/location/lib/java/com/android/location/provider/
DActivityRecognitionProvider.java19 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/
DCarrierMessagingServiceManager.java27 import com.android.internal.util.Preconditions;
59 Preconditions.checkState(mCarrierMessagingServiceConnection == null); in bindToCarrierMessagingService()
74 Preconditions.checkNotNull(mCarrierMessagingServiceConnection); in disposeConnection()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DProviderExecutor.java22 import com.android.internal.util.Preconditions;
90 Preconditions.checkNotNull(command);
98 Preconditions.checkNotNull(command); in execute()
DColumnAdapter.java27 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/
DRemoteListenerHelper.java19 import com.android.internal.util.Preconditions;
50 Preconditions.checkNotNull(name); in RemoteListenerHelper()
56 Preconditions.checkNotNull(listener, "Attempted to register a 'null' listener."); in addListener()
99 Preconditions.checkNotNull(listener, "Attempted to remove a 'null' listener."); in removeListener()
/frameworks/base/core/java/android/net/
DBaseNetworkStateTracker.java25 import com.android.internal.util.Preconditions;
82 mContext = Preconditions.checkNotNull(context); in startMonitoring()
83 mTarget = Preconditions.checkNotNull(target); in startMonitoring()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java34 import com.android.internal.util.Preconditions;
460 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb()
461 Preconditions.checkNotNull(listener, "listener cannot be null"); in mountObb()
498 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb()
499 Preconditions.checkNotNull(listener, "listener cannot be null"); in unmountObb()
519 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted()
540 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in getMountedObbPath()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java45 import com.android.internal.util.Preconditions;
93 mContext = Preconditions.checkNotNull(context); in LockdownVpnTracker()
94 mNetService = Preconditions.checkNotNull(netService); in LockdownVpnTracker()
95 mConnService = Preconditions.checkNotNull(connService); in LockdownVpnTracker()
96 mVpn = Preconditions.checkNotNull(vpn); in LockdownVpnTracker()
97 mProfile = Preconditions.checkNotNull(profile); in LockdownVpnTracker()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java22 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/base/core/java/android/util/
DSizeF.java19 import static com.android.internal.util.Preconditions.checkNotNull;
20 import static com.android.internal.util.Preconditions.checkArgumentFinite;
DSize.java19 import static com.android.internal.util.Preconditions.checkNotNull;
/frameworks/base/core/java/android/hardware/camera2/dispatch/
DDuckTypingDispatcher.java21 import static com.android.internal.util.Preconditions.*;
DBroadcastDispatcher.java23 import static com.android.internal.util.Preconditions.*;
DInvokeDispatcher.java24 import static com.android.internal.util.Preconditions.*;
DArgumentReplacingDispatcher.java20 import static com.android.internal.util.Preconditions.*;
DHandlerDispatcher.java25 import static com.android.internal.util.Preconditions.*;
DMethodNameInvoker.java23 import static com.android.internal.util.Preconditions.*;
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequest.java24 import static com.android.internal.util.Preconditions.*;
DSizeAreaComparator.java25 import static com.android.internal.util.Preconditions.*;
/frameworks/base/core/java/android/hardware/camera2/utils/
DSizeAreaComparator.java25 import static com.android.internal.util.Preconditions.*;
/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshaler.java23 import static com.android.internal.util.Preconditions.*;
/frameworks/base/core/java/android/hardware/camera2/params/
DBlackLevelPattern.java21 import static com.android.internal.util.Preconditions.checkNotNull;
DStreamConfiguration.java19 import static com.android.internal.util.Preconditions.*;
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java99 mBasePath = Preconditions.checkNotNull(basePath); in FileRotator()
100 mPrefix = Preconditions.checkNotNull(prefix); in FileRotator()
409 this.prefix = Preconditions.checkNotNull(prefix); in FileInfo()

123