/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 16 Long mMaxBytesOverMobile = null; 17 Long mRecommendedMaxBytesOverMobile = null; 26 mMaxBytesOverMobile = null; 27 mRecommendedMaxBytesOverMobile = null; 46 if (mActiveNetworkType == null) { 47 return null; 49 final NetworkInfo info = new NetworkInfo(mActiveNetworkType, 0, null, null); 50 info.setDetailedState(DetailedState.CONNECTED, null, null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GlobalCanvasDragInfo.java | 37 * off a canvas or its palette and then set back to null when the drag'n'drop is finished. 41 * and will be null. 47 private SimpleElement[] mCurrentElements = null; 49 private Object mSourceCanvas = null; 72 * @param selection The selection (which can be null, for example when the 76 * @param removeSourceHandler A runnable (or null) which can clean up the 93 mCurrentElements = null; 94 mCurrentSelection = null; 95 mSourceCanvas = null; 96 mRemoveSourceHandler = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
PropertyChangeTransform.java | 37 this(accessor, newValue, null); 50 mOldValue = null; 58 assert mOldValue == null : "Transform cannot be applied multiple times"; 59 if (mPredicate != null) { 60 // if predicate is not null, then first check if the current value 67 if (property != null) { 82 if (mOldValue != null) { 85 mOldValue = null; 92 if (mPredicate != null) { 93 Object value = mOldValue == null ? mNewValue : mOldValue [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
Sasl2Test.java | 60 if (mProv != null) { 108 assertNotNull("List of SaslClientFactories should not be null", en); 112 String[] mech01 = mm.getMechanismNames(null); 118 assertNull("Incorect SaslClient", f.createSaslClient(null, 119 null, null, null, null, null)); 120 String[] mech00 = f.getMechanismNames(null); [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 308 // Make sure the default object is not null. 328 if (null == mContext || 0 == resourceId) { 329 return null; 349 Drawable skbBg = getDrawable(xrp, XMLATTR_SKB_BG, null); 351 XMLATTR_BALLOON_BG, null); 353 null); 354 if (null == skbBg || null == balloonBg 355 || null == popupBg) { 356 return null; [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 69 if (this.inTransportMetric != null) { 77 if (this.outTransportMetric != null) { 101 Object value = null; 102 if (this.metricsCache != null) { 105 if (value == null) { 111 if (this.inTransportMetric != null) { 114 return null; 117 if (this.outTransportMetric != null) { 120 return null; 128 if (this.metricsCache == null) { [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 67 if (params == null) { 68 throw new IllegalArgumentException("HTTP parameters may not be null"); 72 if (charset == null) { 83 if (params == null) { 84 throw new IllegalArgumentException("HTTP parameters may not be null"); 95 if (params == null) { 96 throw new IllegalArgumentException("HTTP parameters may not be null"); 100 if (charset == null) { 112 if (params == null) { 113 throw new IllegalArgumentException("HTTP parameters may not be null"); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
UniqueStack.java | 41 private T firstObject = null; 44 private LinkedList<T> objectStack = null; 46 private HashSet<T> objectsSet = null; 82 * @param object to be added. If it is {@code null} a {@code NullPointerException} will be thrown. 86 if (object == null) { 90 if (objectStack == null) { 91 if (firstObject == null) { 119 firstObject = null; 129 T returnedValue = null; 135 if (objectStack == null) { [all...] |
/external/smack/src/org/jivesoftware/smack/ |
XMPPException.java | 45 private StreamError streamError = null; 46 private XMPPError error = null; 47 private Throwable wrappedThrowable = null; 138 * Returns the XMPPError asscociated with this exception, or <tt>null</tt> if there 148 * Returns the StreamError asscociated with this exception, or <tt>null</tt> if there 159 * Returns the Throwable asscociated with this exception, or <tt>null</tt> if there 174 if (wrappedThrowable != null) { 182 if (wrappedThrowable != null) { 192 if (msg == null && error != null) { [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupManager.java | 65 if (sService == null) { 91 if (sService != null) { 113 if (sService != null) { 136 * operation. This must not be null. 143 if (sService != null) { 144 RestoreSession session = null; 147 null); 148 if (binder != null) { 155 if (session != null) { 169 RestoreSession session = null; [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSessionBindingEventTest.java | 53 SSLSessionBindingEvent event = new SSLSessionBindingEvent(null, "test"); 60 SSLSessionBindingEvent event = new SSLSessionBindingEvent(ses, null); 73 event = new SSLSessionBindingEvent(ses, null); 74 assertEquals("Incorrect session name", null, event.getName()); 113 return null; 127 return null; 134 return null; 164 return null; 178 return null; 185 return null; [all...] |
SSLSessionContextTest.java | 24 context.init(null, null, null); 48 context.init(null, null, null); 71 context.init(null, null, null); 75 sc.getSession(null); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HeaderViewListAdapterTest.java | 46 new HeaderViewListAdapter(header, footer, null); 52 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(null, null, null); 58 headerViewListAdapter = new HeaderViewListAdapter(header, null, null); 63 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(null, null, null); 69 headerViewListAdapter = new HeaderViewListAdapter(null, footer, null) [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
HttpAuthDatabase.java | 35 private SQLiteDatabase mDatabase = null; 97 mDatabase = context.openOrCreateDatabase(databaseFile, 0, null); 101 mDatabase = context.openOrCreateDatabase(databaseFile, 0, null); 105 if (mDatabase == null) { 150 return mDatabase != null; 164 if (host == null || realm == null || !waitForInit()) { 183 * @return a String[] if found where String[0] is username (which can be null) and 184 * String[1] is password. Null is returned if it can't find anything. 187 if (host == null || realm == null || !waitForInit()) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
ALoopCommand.java | 64 if(this._position_ != null) 66 this._position_.parent(null); 69 if(node != null) 71 if(node.parent() != null) 89 if(this._variable_ != null) 91 this._variable_.parent(null); 94 if(node != null) 96 if(node.parent() != null) 114 if(this._start_ != null) 116 this._start_.parent(null); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MessageFactoryImpl.java | 126 if (requestURI == null || method == null || callId == null 127 || cSeq == null || from == null || to == null || via == null 128 || maxForwards == null || content == null 129 || contentType == null) [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceSetTest.java | 40 verifyPopulateContentValues(recurrence, "FREQ=DAILY;UNTIL=20080222T000000Z", null, 41 null, "20080222T120000Z", 1203595200000L, "America/New_York", "P43200S", 0, false); 49 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, 50 null, null, 1250812800000L, "UTC", "P1D", 1, false); 58 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, 59 null, null, 1250812800000L, "UTC", "P2D", 1, false); 69 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU\nFREQ=MONTHLY;COUNT=3", null, 70 null, null, 1250812800000L, "UTC", "P2H", 1 /*allDay*/, false) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
ObjectsTest.java | 28 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER)); 41 assertTrue(Objects.deepEquals(null, null)); 42 assertFalse(Objects.deepEquals(xs, null)); 43 assertFalse(Objects.deepEquals(null, xs)); 57 assertTrue(Objects.equals(null, null)); 58 assertFalse(Objects.equals(h1, null)); 59 assertFalse(Objects.equals(null, h1)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/ |
MenuDescriptors.java | 40 private ElementDescriptor mDescriptor = null; 72 if (mDescriptor == null) { 76 null, // TODO SDK URL 77 null, // extraAttribute 78 null, // childrenElements, 87 null, // TODO SDK URL 88 null, // extraAttribute 89 null, // childrenElements, 95 null, // TODO SDK URL 96 null, // extraAttribut [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 48 this(context, null); 54 setBackgroundDrawable(null); 69 setWillNotDraw(mIsSplit ? mSplitBackground == null : 70 mBackground == null && mStackedBackground == null); 80 if (mBackground != null) { 81 mBackground.setCallback(null); 85 if (bg != null) { 87 if (mActionBarView != null) { 92 setWillNotDraw(mIsSplit ? mSplitBackground == null [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
SpatialTrack.java | 80 if (rotations != null)
82 if (translations != null)
84 if (scales != null) {
88 if (rotations != null)
90 if (translations != null)
92 if (scales != null) {
106 if (rotations != null)
108 if (translations != null)
110 if (scales != null) {
113 if (rotations != null)
[all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionData.java | 94 if (mIntentAction != null) return mIntentAction; 224 result = prime * result + ((mFormat == null) ? 0 : mFormat.hashCode()); 225 result = prime * result + ((mIcon1 == null) ? 0 : mIcon1.hashCode()); 226 result = prime * result + ((mIcon2 == null) ? 0 : mIcon2.hashCode()); 227 result = prime * result + ((mIntentAction == null) ? 0 : mIntentAction.hashCode()); 228 result = prime * result + ((mIntentData == null) ? 0 : mIntentData.hashCode()); 229 result = prime * result + ((mIntentExtraData == null) ? 0 : mIntentExtraData.hashCode()); 230 result = prime * result + ((mLogType == null) ? 0 : mLogType.hashCode()); 231 result = prime * result + ((mShortcutId == null) ? 0 : mShortcutId.hashCode()); 232 result = prime * result + ((mSource == null) ? 0 : mSource.hashCode()) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentLinkedQueue.java | 32 * does not permit the use of {@code null} elements. 91 * - There is exactly one (last) Node with a null next reference, 96 * - The elements contained in the queue are the non-null items in 98 * reference of a Node to null atomically removes it from the 127 * CASing a Node's item reference to null atomically removes the 128 * element from the queue. Iterators skip over Nodes with null 141 * non-null item. If the queue is empty, all items must of course 142 * be null. Upon creation, both head and tail refer to a dummy 143 * Node with null item. Both head and tail are only updated using 197 * - head != null [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteSession.java | 102 * session.execute("INSERT INTO ...", null, 0); 228 if (connectionPool == null) { 229 throw new IllegalArgumentException("connectionPool must not be null"); 241 return mTransactionStack != null; 250 return mTransactionStack != null && mTransactionStack.mParent != null; 259 return mConnection != null; 280 * @param transactionListener The transaction listener, or null if none. 283 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 305 if (cancellationSignal != null) { 399 assert mConnection != null; local 514 assert mConnection != null; local 902 assert mConnection != null; local [all...] |