/frameworks/base/core/java/com/android/internal/util/ |
H A D | Preconditions.java | 33 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 D | FileRotator.java | 99 mBasePath = Preconditions.checkNotNull(basePath); 100 mPrefix = Preconditions.checkNotNull(prefix); 404 this.prefix = Preconditions.checkNotNull(prefix);
|
/frameworks/base/core/java/android/net/ |
H A D | BaseNetworkStateTracker.java | 76 mContext = Preconditions.checkNotNull(context); 77 mTarget = Preconditions.checkNotNull(target);
|
H A D | NetworkPolicy.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 60 this.template = checkNotNull(template, "missing NetworkTemplate"); 62 this.cycleTimezone = checkNotNull(cycleTimezone, "missing cycleTimezone");
|
H A D | ConnectivityManager.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 660 mService = checkNotNull(service, "missing IConnectivityManager");
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeed.java | 70 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 D | LockdownVpnTracker.java | 83 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 D | NetworkStatsRecorder.java | 22 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 D | NetworkStatsService.java | 67 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 D | NetworkPolicyManagerService.java | 66 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 D | StorageManager.java | 457 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 D | VpnConfig.java | 50 Preconditions.checkNotNull(config);
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 1875 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 D | ConnectivityService.java | 393 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 D | ContextImpl.java | 1981 mMainThread = Preconditions.checkNotNull(mainThread); 1982 mUser = Preconditions.checkNotNull(user);
|