Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 25 of 101) sorted by relevance

12345

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
259 checkNotNull(sequence);
266 checkNotNull(sequence);
287 checkNotNull(sequence);
294 return checkNotNull(other);
297 checkNotNull(other);
315 checkNotNull(sequence);
324 checkNotNull(sequence);
331 checkNotNull(sequence);
343 checkNotNull(replacement);
[all …]
DStrings.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
92 checkNotNull(string); // eager for GWT. in padStart()
124 checkNotNull(string); // eager for GWT. in padEnd()
148 checkNotNull(string); // eager for GWT. in repeat()
DCharEscapers.java18 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
43 checkNotNull(string);
49 checkNotNull(out);
56 checkNotNull(csq);
63 checkNotNull(csq);
881 checkNotNull(primary); in fallThrough()
882 checkNotNull(secondary); in fallThrough()
DSplitter.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
132 checkNotNull(separatorMatcher); in on()
203 checkNotNull(separatorPattern);
321 checkNotNull(trimmer);
332 checkNotNull(sequence);
DUnicodeEscaper.java19 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
145 checkNotNull(string); in escape()
263 checkNotNull(out); in escape()
276 checkNotNull(csq); in escape()
DCharEscaper.java19 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
51 checkNotNull(string); in escape()
82 checkNotNull(out); in escape()
DPercentEscaper.java19 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
119 checkNotNull(safeChars); // eager for GWT. in PercentEscaper()
191 checkNotNull(s); in escape()
DPreconditions.java175 public static <T> T checkNotNull(T reference) { in checkNotNull() method in Preconditions
192 public static <T> T checkNotNull(T reference, Object errorMessage) { in checkNotNull() method in Preconditions
216 public static <T> T checkNotNull(T reference, String errorMessageTemplate, in checkNotNull() method in Preconditions
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DEncryptionController.java19 import static com.android.internal.util.Preconditions.checkNotNull;
87 mContext = checkNotNull(context, "Context must not be null").getApplicationContext(); in EncryptionController()
88 mIntentStore = checkNotNull(intentStore, "IntentStore must not be null"); in EncryptionController()
89 mUtils = checkNotNull(utils, "Utils must not be null"); in EncryptionController()
90 mMessageParser = checkNotNull(messageParser, "MessageParser must not be null"); in EncryptionController()
91 mHomeReceiver = checkNotNull(homeReceiver, "HomeReceiver must not be null"); in EncryptionController()
92 mResumeNotificationHelper = checkNotNull(resumeNotificationHelper, in EncryptionController()
DPreProvisioningController.java21 import static com.android.internal.util.Preconditions.checkNotNull;
84 mContext = checkNotNull(context, "Context must not be null"); in PreProvisioningController()
85 mUi = checkNotNull(ui, "Ui must not be null"); in PreProvisioningController()
86 mMessageParser = checkNotNull(parser, "MessageParser must not be null"); in PreProvisioningController()
87 mUtils = checkNotNull(utils, "Utils must not be null"); in PreProvisioningController()
88 mEncryptionController = checkNotNull(encryptionController, in PreProvisioningController()
223 checkNotNull(callingPackage, in verifyCaller()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DPackageDownloadInfo.java20 import static com.android.internal.util.Preconditions.checkNotNull;
82 packageChecksum = checkNotNull(builder.mPackageChecksum, "package checksum can't be null"); in PackageDownloadInfo()
83 signatureChecksum = checkNotNull(builder.mSignatureChecksum, in PackageDownloadInfo()
95 packageChecksum = checkNotNull(in.createByteArray()); in PackageDownloadInfo()
96 signatureChecksum = checkNotNull(in.createByteArray()); in PackageDownloadInfo()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailAsyncTaskUtil.java93 mResolver = Preconditions.checkNotNull(contentResolver); in VoicemailAsyncTaskUtil()
104 Preconditions.checkNotNull(listener); in getVoicemailFilePath()
105 Preconditions.checkNotNull(voicemailUri); in getVoicemailFilePath()
137 Preconditions.checkNotNull(listener); in setVoicemailArchiveStatus()
138 Preconditions.checkNotNull(voicemailUri); in setVoicemailArchiveStatus()
165 Preconditions.checkNotNull(listener); in archiveVoicemailContent()
166 Preconditions.checkNotNull(voicemailUri); in archiveVoicemailContent()
/packages/apps/Settings/src/com/android/settings/location/
DInjectedSetting.java70 this.packageName = Preconditions.checkNotNull(packageName, "packageName"); in InjectedSetting()
71 this.className = Preconditions.checkNotNull(className, "className"); in InjectedSetting()
72 this.title = Preconditions.checkNotNull(title, "title"); in InjectedSetting()
75 this.settingsActivity = Preconditions.checkNotNull(settingsActivity); in InjectedSetting()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsagePreference.java28 import static com.android.internal.util.Preconditions.checkNotNull;
82 mProvider = checkNotNull(provider); in UidDetailTask()
83 mItem = checkNotNull(item); in UidDetailTask()
84 mTarget = checkNotNull(target); in UidDetailTask()
/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java49 mLanguageCode = Preconditions.checkNotNull(languageCode); in TextRecord()
50 mText = Preconditions.checkNotNull(text); in TextRecord()
134 Preconditions.checkNotNull(text); in newTextRecord()
135 Preconditions.checkNotNull(locale); in newTextRecord()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DVirtualKeyboardFragment.java52 Activity activity = Preconditions.checkNotNull(getActivity()); in onCreatePreferences()
54 mImm = Preconditions.checkNotNull(activity.getSystemService(InputMethodManager.class)); in onCreatePreferences()
55 mDpm = Preconditions.checkNotNull(activity.getSystemService(DevicePolicyManager.class)); in onCreatePreferences()
56 mAddVirtualKeyboardScreen = Preconditions.checkNotNull( in onCreatePreferences()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DMdmPackageInfo.java19 import static com.android.internal.util.Preconditions.checkNotNull;
45 this.packageIcon = checkNotNull(packageIcon, "package icon must not be null"); in MdmPackageInfo()
46 this.appLabel = checkNotNull(appLabel, "app label must not be null"); in MdmPackageInfo()
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/
DTagCanon.java53 Preconditions.checkNotNull(text); in newTextRecord()
54 Preconditions.checkNotNull(locale); in newTextRecord()
74 Preconditions.checkNotNull(type); in newMimeRecord()
75 Preconditions.checkNotNull(data); in newMimeRecord()
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java75 public static <T> T checkNotNull(final T reference, String tag, String msg) { in checkNotNull() method in SoftPreconditions
89 public static <T> T checkNotNull(final T reference) { in checkNotNull() method in SoftPreconditions
90 return checkNotNull(reference, null, null); in checkNotNull()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHTML.java70 Preconditions.checkNotNull(name, "Element name can not be null"); in Element()
71 Preconditions.checkNotNull(flow, "Element flow can not be null"); in Element()
181 Preconditions.checkNotNull(name, "Attribute name can not be null"); in Attribute()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockContentProvider.java217 mUri = Preconditions.checkNotNull(uri); in Insert()
218 mContentValues = Preconditions.checkNotNull(contentValues); in Insert()
219 mResultUri = Preconditions.checkNotNull(resultUri); in Insert()
286 mUri = Preconditions.checkNotNull(uri); in Delete()
297 mSelection = Preconditions.checkNotNull(selection); in withSelection()
362 mUri = Preconditions.checkNotNull(uri); in Update()
363 mContentValues = Preconditions.checkNotNull(contentValues); in Update()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallVideoCallCallbackNotifier.java68 Preconditions.checkNotNull(listener); in addSessionModificationListener()
89 Preconditions.checkNotNull(listener); in addVideoEventListener()
110 Preconditions.checkNotNull(listener); in addSurfaceChangeListener()
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DLruPool.java146 Preconditions.checkNotNull(key); in acquire()
172 Preconditions.checkNotNull(key); in add()
173 Preconditions.checkNotNull(value); in add()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DBlockedNumbersAutoMigrator.java53 this.sharedPreferences = Preconditions.checkNotNull(sharedPreferences); in BlockedNumbersAutoMigrator()
54 this.queryHandler = Preconditions.checkNotNull(queryHandler); in BlockedNumbersAutoMigrator()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DDialerRingtoneManager.java56 mInCallTonePlayer = Preconditions.checkNotNull(inCallTonePlayer); in DialerRingtoneManager()
57 mCallList = Preconditions.checkNotNull(callList); in DialerRingtoneManager()

12345