Searched refs:checkNotNull (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DPreconditions.java33 public static <T> T checkNotNull(T reference) { method in class:Preconditions
50 public static <T> T checkNotNull(T reference, Object errorMessage) { method in class:Preconditions
H A DFileRotator.java99 mBasePath = Preconditions.checkNotNull(basePath);
100 mPrefix = Preconditions.checkNotNull(prefix);
404 this.prefix = Preconditions.checkNotNull(prefix);
/frameworks/base/core/java/android/net/
H A DBaseNetworkStateTracker.java76 mContext = Preconditions.checkNotNull(context);
77 mTarget = Preconditions.checkNotNull(target);
H A DNetworkPolicy.java19 import static com.android.internal.util.Preconditions.checkNotNull;
60 this.template = checkNotNull(template, "missing NetworkTemplate");
62 this.cycleTimezone = checkNotNull(cycleTimezone, "missing cycleTimezone");
H A DConnectivityManager.java19 import static com.android.internal.util.Preconditions.checkNotNull;
660 mService = checkNotNull(service, "missing IConnectivityManager");
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeed.java70 Preconditions.checkNotNull(executor);
169 checkNotNull(context, "context");
170 checkNotNull(intentUri, "intentUri");
176 checkNotNull(path, "path");
181 checkNotNull(source, "source");
391 private void checkNotNull(Object argument, String argumentName) { method in class:VariableSpeed
/frameworks/base/services/java/com/android/server/net/
H A DLockdownVpnTracker.java83 mContext = Preconditions.checkNotNull(context);
84 mNetService = Preconditions.checkNotNull(netService);
85 mConnService = Preconditions.checkNotNull(connService);
86 mVpn = Preconditions.checkNotNull(vpn);
87 mProfile = Preconditions.checkNotNull(profile);
H A DNetworkStatsRecorder.java22 import static com.android.internal.util.Preconditions.checkNotNull;
89 mRotator = checkNotNull(rotator, "missing FileRotator");
90 mObserver = checkNotNull(observer, "missing NonMonotonicObserver");
91 mDropBox = checkNotNull(dropBox, "missing DropBoxManager");
270 mCollection = checkNotNull(collection, "missing NetworkStatsCollection");
H A DNetworkStatsService.java67 import static com.android.internal.util.Preconditions.checkNotNull;
262 mContext = checkNotNull(context, "missing Context");
263 mNetworkManager = checkNotNull(networkManager, "missing INetworkManagementService");
264 mAlarmManager = checkNotNull(alarmManager, "missing IAlarmManager");
265 mTime = checkNotNull(time, "missing TrustedTime");
266 mTeleManager = checkNotNull(TelephonyManager.getDefault(), "missing TelephonyManager");
267 mSettings = checkNotNull(settings, "missing NetworkStatsSettings");
277 mSystemDir = checkNotNull(systemDir);
283 mConnManager = checkNotNull(connManager, "missing IConnectivityManager");
1272 mResolver = checkNotNull(contex
[all...]
H A DNetworkPolicyManagerService.java66 import static com.android.internal.util.Preconditions.checkNotNull;
302 mContext = checkNotNull(context, "missing context");
303 mActivityManager = checkNotNull(activityManager, "missing activityManager");
304 mPowerManager = checkNotNull(powerManager, "missing powerManager");
305 mNetworkStats = checkNotNull(networkStats, "missing networkStats");
306 mNetworkManager = checkNotNull(networkManagement, "missing networkManagement");
307 mTime = checkNotNull(time, "missing TrustedTime");
319 mConnManager = checkNotNull(connManager, "missing IConnectivityManager");
323 mNotifManager = checkNotNull(notifManager, "missing INotificationManager");
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java457 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
458 Preconditions.checkNotNull(listener, "listener cannot be null");
495 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
496 Preconditions.checkNotNull(listener, "listener cannot be null");
516 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
537 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java50 Preconditions.checkNotNull(config);
/frameworks/base/services/java/com/android/server/
H A DMountService.java1875 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
1906 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
1915 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
1916 Preconditions.checkNotNull(canonicalPath, "canonicalPath cannot be null");
1917 Preconditions.checkNotNull(token, "token cannot be null");
1930 Preconditions.checkNotNull(rawPath, "rawPath cannot be null");
H A DConnectivityService.java393 mContext = checkNotNull(context, "missing Context");
394 mNetd = checkNotNull(netManager, "missing INetworkManagementService");
395 mPolicyManager = checkNotNull(policyManager, "missing INetworkPolicyManager");
3217 private static <T> T checkNotNull(T value, String message) { method in class:ConnectivityService
/frameworks/base/core/java/android/app/
H A DContextImpl.java1981 mMainThread = Preconditions.checkNotNull(mainThread);
1982 mUser = Preconditions.checkNotNull(user);

Completed in 399 milliseconds