/packages/apps/Email/emailsync/src/com/android/emailsync/ |
EmailSyncAlarmReceiver.java | 74 null, null); 75 if (c == null) throw new ProviderUnavailableException(); 90 null, null); 91 if (c == null) throw new ProviderUnavailableException();
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
LruCache.java | 54 while (entry != null) { 65 return entry == null ? null : entry.get(); 71 if (value != null) return value; 73 return entry == null ? null : entry.get();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
PathMatcher.java | 47 if (next == null) { 49 if (next != null) { 77 if (mMap == null) { 81 if (node != null) return node; 90 if (mMap == null) return null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
EditorPlaceHolder.java | 17 private FilterShowActivity mActivity = null; 18 private FrameLayout mContainer = null; 35 if (mEditors.get(type) != null) { 43 if (editor == null) { 44 return null; 54 if (parent != null && parent instanceof FrameLayout) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
Buffer.java | 36 if (bitmap != null) { 49 if (mBitmap == null || bitmap == null) { 61 canvas.drawBitmap(bitmap, 0, 0, null); 83 if ((mPreset == null) || (!mPreset.same(preset))) { 93 mBitmap = null;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewGridLayout.java | 36 super(context, null, 0); 55 getChildAt(j).setOnKeyListener(null); 74 mOnLayoutListener = null; 83 if (mOnLayoutListener != null) { 104 mOnLayoutListener = null; 105 setLayerType(LAYER_TYPE_NONE, null);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PagedViewGridLayout.java | 36 super(context, null, 0); 55 getChildAt(j).setOnKeyListener(null); 74 mOnLayoutListener = null; 83 if (mOnLayoutListener != null) { 104 mOnLayoutListener = null; 105 setLayerType(LAYER_TYPE_NONE, null);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
VoiceSearch.java | 63 return getResolveInfo() != null; 67 if (!isVoiceSearchAvailable()) return null; 72 if (appData != null) { 80 * @return The intent, or null. 83 return null; 93 if (ri == null) return 0; 94 ComponentInfo ci = ri.activityInfo != null ? ri.activityInfo : ri.serviceInfo;
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentBackend.java | 58 if (serviceInfos == null) return appInfos; 66 if (appInfo.caption == null) { 80 if (componentString != null) { 83 return null; 90 app != null ? app.flattenToString() : null);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOCase.java | 137 * @param str1 the first string to compare, not null
138 * @param str2 the second string to compare, not null
140 * @throws NullPointerException if either string is null
143 if (str1 == null || str2 == null) {
144 throw new NullPointerException("The strings must not be null");
155 * @param str1 the first string to compare, not null
156 * @param str2 the second string to compare, not null
158 * @throws NullPointerException if either string is null
161 if (str1 == null || str2 == null) { [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
DeferredFileOutputStream.java | 125 this(threshold, (File)null);
126 if (prefix == null) {
162 if (prefix != null) {
168 memoryOutputStream = null;
191 * disk, this method returns <code>null</code>.
193 * @return The data for this output stream, or <code>null</code> if no such
198 if (memoryOutputStream != null)
202 return null;
208 * the temporary file created or null.
215 * If the threshold was not reached then <code>null</code> is returned. [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AudioAndHapticFeedbackManager.java | 67 return mVibrator != null && mVibrator.hasVibrator(); 71 if (mVibrator == null) { 78 if (mSettingsValues == null || !mSettingsValues.mSoundOn || mAudioManager == null) { 85 // if mAudioManager is null, we can't play a sound anyway, so return 86 if (mAudioManager == null) { 115 if (viewToPerformHapticFeedbackOn != null) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
PrioritizedSerialExecutor.java | 76 if (mActive == null) { 100 if (mActive == null) { 109 if (mActive == null) { 112 return mActive != null; 132 if (oldTask != null) remove(oldTask); 148 return mPrioritizedTasks.isEmpty() && mTasks.isEmpty() && mActive == null;
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperPreview.java | 61 if (info == null) { 78 if (mWallpaperIntent == null) { 88 if (mSettings == null) { 123 if (mWallpaperConnection != null && mWallpaperConnection.mEngine != null) { 135 if (mWallpaperConnection != null && mWallpaperConnection.mEngine != null) { 153 mWallpaperConnection = null; 161 TextView content = (TextView) inflater.inflate(R.layout.live_wallpaper_loading, null); 182 if (mDialog != null) mDialog.dismiss() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
XmlQuickAssistManager.java | 56 return null; 84 List<ICompletionProposal> allProposals = null; 89 if (proposals != null && proposals.length > 0) { 90 if (allProposals == null) { 100 if (allProposals != null) { 104 return null;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ClipboardSupport.java | 77 if (mClipboard != null) { 79 mClipboard = null; 102 String message = null; 110 if (message != null) { 121 message != null ? message : SelectionItem.getAsText(mCanvas, selection) 157 * @param selection The selection. Must not be null. Can be empty, in which 169 String title = null; 172 if (vi != null && vi.getParent() != null) { 174 assert parent != null; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestElementNode.java | 49 * @param elementDescriptor The {@link ElementDescriptor} for the XML node. Cannot be null. 65 AndroidManifestDescriptors manifestDescriptors = null; 66 if (target != null) { 72 if (manifestDescriptors != null && 73 getXmlNode() != null && 87 if (attr == null || attr.length() == 0) { 92 if (attr != null && attr.length() > 0) { 110 * , applications must use the value <code>null</code> as the 116 * This wrapper will return null instead.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
ProtoBufUtils.java | 34 return null; 68 return null; 71 ImageData imageData = null; 77 return null; 80 if (imageData == null) { 81 return null;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsApplication.java | 58 private static SmsPackageMonitor sSmsPackageMonitor = null; 101 return (mSmsReceiverClass != null && mMmsReceiverClass != null 102 && mRespondViaMessageClass != null && mSendToClass != null); 143 if (activityInfo == null) { 161 intent.setDataAndType(null, "application/vnd.wap.mms-message"); 165 if (activityInfo == null) { 173 if (smsApplicationData != null) { 180 Uri.fromParts(SCHEME_SMSTO, "", null)); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpStateMachine.java | 88 // when mIncomingDevice is not null, both mCurrentDevice 89 // and mTargetDevice are null 90 // when either mCurrentDevice or mTargetDevice is not null, 91 // mIncomingDevice is null 94 // both mCurrentDevice and mTargetDevice are null 96 // mCurrentDevice is not null, mTargetDevice is null 99 // mCurrentDevice is null, mTargetDevice is not null 102 // Both mCurrentDevice and mTargetDevice are not null [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPClientTransaction.java | 319 if (newRespondTo == null) { 321 sipStack.getStackLogger().logDebug("WARNING -- setting to null!"); 352 boolean rfc3261Compliant = getBranch() != null 353 && messageBranch != null 370 if (viaHeaders != null) { 381 if (getBranch() != null) { 449 if (getState() == null) { 505 if (getState() == null) 527 * if (dialog != null && transactionResponse.getStatusCode() != 100 && 528 * (transactionResponse.getTo().getTag() != null || sipStack .isRfc2543Supported())) { / [all...] |
/libcore/xml/src/main/java/org/kxml2/io/ |
KXmlParser.java | 113 * If non-null, the contents of the read buffer must be copied into this 204 attrName = null; 218 if (attrName != null && attributes[i + 3].isEmpty()) { 256 if (attrNs == null && !relaxed) { 281 if (this.namespace == null) { 282 if (prefix != null) { 302 throw new XmlPullParserException(errorMessage, this, null); 304 if (error == null) { 318 if (reader == null) { 319 throw new XmlPullParserException("setInput() must be called first.", this, null); [all...] |
/art/test/085-old-style-inner-class/src/ |
Main.java | 34 return (clazz == null) ? "(null)" : clazz.getName(); 38 return (meth == null) ? "(null)" : meth.toString();
|
/art/test/StackWalk2/ |
StackWalk2.java | 42 str = null; // use v1 for null, v3 for str 47 s = null; // use v0
|
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/ |
Types.java | 13 public static final java.lang.Object public_static_final_Object = null; 32 static { public_static_final_boolean = false; public_static_final_char = 0; public_static_final_short = 0; public_static_final_int = 0; public_static_final_long = 0; public_static_final_float = 0; public_static_final_double = 0; public_static_final_Object = null; }
|