/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
TransactionContext.java | 56 if (mInsertedRawContactsAccounts == null) mInsertedRawContactsAccounts = Maps.newHashMap(); 63 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 69 if (mDirtyRawContacts == null) { 79 if (mChangedRawContacts == null) { 86 if (mUpdatedSyncStates == null) mUpdatedSyncStates = Maps.newHashMap(); 91 if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet(); 96 if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet(); 101 if (mInsertedRawContactsAccounts == null) mInsertedRawContactsAccounts = Maps.newHashMap(); 106 if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 111 if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet() [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedTransferQueue.java | 83 * (unmatched) queue node (or null if empty); and "tail" that 84 * points to the last node on the queue (or again null if 106 * "item" field from a non-null data value to null upon match, and 107 * vice-versa for request nodes, CASing from null to a data 236 * We allow both the head and tail fields to be null before any 240 * implicit NullPointerExceptions when they are null. While not 276 * and try to append a new node (or if head was null, establish 330 * (i.e., with null next), then it is pinned as the target node 422 volatile Object item; // initially non-null if isData; CASed to matc [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
DatabaseStatementTest.java | 51 mDatabase = getContext().openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null); 86 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 94 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);"); 140 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
/external/emma/core/java12/com/vladium/util/ |
Property.java | 39 if (value == null) 51 * @param overrides [null is equivalent to empty] 52 * @param base [null is equivalent to empty] 54 * @return [never null, could be empty] 60 if (base == null) 62 if (overrides == null) 68 // [assertion: base != null] 70 if (overrides == null) return base; 72 // [assertion: both 'overrides' and 'base' are not null] 94 * @param namespace application namespace [may not be null] [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseStatementTest.java | 50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 93 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);"); 139 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
DatabaseGeneralTest.java | 63 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 105 assertEquals(1, mDatabase.update("test", values, "_id=1", null)); 106 Cursor c = mDatabase.query("test", null, "_id=1", null, null, null, null); 124 c = mDatabase.query("phones", null, 125 "PHONE_NUMBERS_EQUAL(num, '504-555-7683')", null, null, null, null) [all...] |
/frameworks/base/core/java/android/transition/ |
Fade.java | 105 if (listener != null) { 106 listener.onAnimationEnd(null); 108 return null; 115 if (listener != null) { 139 if ((mFadingMode & IN) != IN || endValues == null) { 140 return null; 144 View startView = (startValues != null) ? startValues.view : null; 178 return createAnimation(endView, 0, 1, null); 186 return null; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
FastScrollingIndexCacheTest.java | 94 assertNull(mCache.get(null, null, null, null, null)); 101 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
AnnotationDirectoryItem.java | 77 if (fieldAnnotations == null || fieldAnnotations.size() == 0) { 78 this.fieldAnnotations = null; 85 if (methodAnnotations == null || methodAnnotations.size() == 0) { 86 this.methodAnnotations = null; 93 if (parameterAnnotations == null || parameterAnnotations.size() == 0) { 94 this.parameterAnnotations = null; 133 fieldAnnotations = null; 140 methodAnnotations = null; 147 parameterAnnotations = null; 150 if (fieldAnnotations != null) { [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 57 Math.class.getMethod("abs", int.class).invoke(null, 1); 59 Math.class.getMethod("abs", long.class).invoke(null, 1L); 61 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); 63 Math.class.getMethod("abs", double.class).invoke(null, 1.0); 68 StrictMath.class.getMethod("abs", int.class).invoke(null, 1); 70 StrictMath.class.getMethod("abs", long.class).invoke(null, 1L); 72 StrictMath.class.getMethod("abs", float.class).invoke(null, 1.0f); 74 StrictMath.class.getMethod("abs", double.class).invoke(null, 1.0); 79 StrictMath.class.getMethod("min", int.class, int.class).invoke(null, 1, 2); 84 StrictMath.class.getMethod("max", int.class, int.class).invoke(null, 1, 2) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapUtils.java | 56 return filter != null && filter.length > 0; 131 Profile.CONTENT_VCARD_URI, new String[] { Profile._ID }, null, 132 null, null); 133 boolean isSet = (c != null && c.getCount() > 0); 134 if (c != null) { 142 Profile.CONTENT_URI, new String[] { Profile.DISPLAY_NAME}, null, 143 null, null); 144 String ownerName =null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
FlagManager.java | 53 * @return the {@linkplain FlagManager} singleton, never null 88 * @param language the language, or null (if null, region must not be null), 90 * @param region the region, or null (if null, language must not be null), 92 * @return a suitable flag icon, or null 96 assert region != null || language != null; local 99 assert language != null; local [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributesImplTest.java | 59 ai = new AttributesImpl(null); 89 assertEquals(null, multi.getURI(-1)); 90 assertEquals(null, multi.getURI(5)); 102 assertEquals(null, multi.getLocalName(-1)); 103 assertEquals(null, multi.getLocalName(5)); 115 assertEquals(null, multi.getQName(-1)); 116 assertEquals(null, multi.getQName(5)); 128 assertEquals(null, multi.getType(-1)); 129 assertEquals(null, multi.getType(5)); 141 assertEquals(null, multi.getValue(-1)) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3TreeWalker.java | 75 private SerializationHandler fSerializer = null;
83 private DOMErrorHandler fErrorHandler = null;
86 private LSSerializerFilter fFilter = null;
89 private LexicalHandler fLexicalHandler = null;
94 private String fNewLine = null;
97 private Properties fDOMConfigProperties = null;
103 private String fXMLVersion = null;
210 //fErrorHandler = errHandler == null ? new DOMErrorHandlerImpl() : errHandler; // Should we be using the default?
213 fLexicalHandler = null;
250 if (ownerDoc != null
[all...] |
/external/emma/core/java12/com/vladium/util/exception/ |
ExceptionCommon.java | 75 * be the calling class.</I> [the method is a no-op if this is null] 79 * [the method is a no-op if this is null or an empty string] 81 * @return ResourceBundle that corresponds to 'namespace' key or null if 92 if ((namespace != null) && (messageResourceBundleName != null) 107 ResourceBundle temprb = null; 108 String nameInNamespace = null; 116 if (loader == null) loader = ClassLoader.getSystemClassLoader (); 124 temprb = null; 127 if (temprb != null) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
ElementDescriptor.java | 73 * @param tooltip An optional tooltip. Can be null or empty. 74 * @param sdk_url An optional SKD URL. Can be null or empty. 75 * @param attributes The list of allowed attributes. Can be null or empty. 76 * @param children The list of allowed children. Can be null or empty. 89 mTooltip = (tooltip != null && tooltip.length() > 0) ? tooltip : null; 90 mSdkUrl = (sdk_url != null && sdk_url.length() > 0) ? sdk_url : null; 91 setAttributes(attributes != null ? attributes : new AttributeDescriptor[]{}); 92 mChildren = children != null ? children : new ElementDescriptor[]{} [all...] |