/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/launch/ |
JUnitLaunchConfigDelegateTest.java | 33 null, 36 null, 41 null, 43 null, 44 null, 53 null, 55 null, 59 null, 61 null,
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
IAbiReceiver.java | 26 return null;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
StopServicesSetupTest.java | 31 private StopServicesSetup mPreparer = null; 32 private ITestDevice mMockDevice = null; 48 EasyMock.expect(mMockDevice.executeShellCommand("stop")).andReturn(null); 51 mPreparer.setUp(mMockDevice, null); 62 mPreparer.setUp(mMockDevice, null); 73 EasyMock.expect(mMockDevice.executeShellCommand("stop")).andReturn(null); 74 EasyMock.expect(mMockDevice.executeShellCommand("stop service1")).andReturn(null); 75 EasyMock.expect(mMockDevice.executeShellCommand("stop service2")).andReturn(null); 78 mPreparer.setUp(mMockDevice, null);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
MockInstrumentationTest.java | 26 private ITestInvocationListener mListener = null; 27 private DeviceNotAvailableException mException = null; 33 if (mException != null) { 43 mListener = null;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 49 private IDragAttribute[] mCachedAttributes = null; 50 private IDragElement[] mCachedElements = null; 57 * "android.view.Button". Must not be null nor empty. 59 * Can be null but not empty. 61 * If null, a non-null invalid rectangle will be assigned. 62 * @param parentBounds The canvas bounds of the parent of this element. Can be null. 67 mBounds = bounds == null ? new Rect() : bounds.copy(); 68 mParentBounds = parentBounds == null ? new Rect() : parentBounds.copy(); 82 * canvas. The rectangle is invalid and non-null when the element originate [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader4.java | 53 null, 54 null, 68 if(savedInstanceState != null && savedInstanceState.containsKey("lastIndexItem")){ 92 menu.add(0, 0, R.string.menu_option_start, null); 93 menu.add(0, 1, R.string.menu_option_stop, null); 94 menu.add(0, 2, R.string.menu_option_add, null); 95 menu.add(0, 3, R.string.menu_option_delete, null); 96 menu.add(0, 4, R.string.menu_option_update, null); 114 showAlert(null, "You clicked 'start'!", "ok", null, false, null) 133 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatImageHelper.java | 53 if (drawable == null) { 59 if (drawable != null) { 65 if (drawable != null) { 76 a.getInt(R.styleable.AppCompatImageView_tintMode, -1), null)); 86 if (d != null) { 91 mView.setImageDrawable(null); 109 if (mImageTint == null) { 118 return mImageTint != null ? mImageTint.mTintList : null; 122 if (mImageTint == null) { [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/compat/telecom/ |
TelecomManagerCompat.java | 54 if (activity == null || telecomManager == null || intent == null) { 68 * @param accountHandle The handle for the account to derive an adn query URI for or {@code null} 75 if (telecomManager != null 94 if (telecomManager != null 107 * @return package name for the default dialer package or null if no package has been selected as 112 if (telecomManager != null && CompatUtils.isDefaultDialerCompatible()) { 115 return null; 128 * <p>If no PhoneAccount fits the criteria above, this method will return {@code null} [all...] |
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
VideoSurfaceTextureImpl.java | 70 if (surfaceDimensions != null && savedSurfaceTexture != null) { 97 if (this.textureView != null) { 98 this.textureView.setOnClickListener(null); 99 this.textureView.setSurfaceTextureListener(null); 108 if (savedSurfaceTexture != null && !areSameSurfaces) { 110 if (surfaceDimensions != null && createSurface(surfaceDimensions.x, surfaceDimensions.y)) { 121 if (textureView != null && textureView.isAvailable()) { 124 if (savedSurface != null) { 127 savedSurface = null; [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
ConcurrentLinkedDeque.java | 61 * does not permit the use of {@code null} elements. 118 * A node p is considered "live" if it contains a non-null item 119 * (p.item != null). When an item is CASed to null, the item is 122 * At any time, there is precisely one "first" node with a null 129 * A new element is added atomically by CASing the null prev or 144 * p.item != null || 145 * (p.prev == null && p.next != p) || 146 * (p.next == null && p.prev != p) 159 * 1. "logical deletion" by CASing item to null atomically remove [all...] |
ConcurrentLinkedQueue.java | 65 * does not permit the use of {@code null} elements. 124 * - There is exactly one (last) Node with a null next reference, 129 * - The elements contained in the queue are the non-null items in 131 * reference of a Node to null atomically removes it from the 160 * CASing a Node's item reference to null atomically removes the 161 * element from the queue. Iterators skip over Nodes with null 174 * non-null item. If the queue is empty, all items must of course 175 * be null. Upon creation, both head and tail refer to a dummy 176 * Node with null item. Both head and tail are only updated using 213 * - head != null [all...] |
/frameworks/base/core/java/android/app/ |
Fragment.java | 108 if (mInstance == null) { 110 if (mArguments != null) { 114 if (container != null) { 120 if (mSavedFragmentState != null) { 373 static final int INVALID_STATE = -1; // Invalid state used as a null value. 500 // The animation and transition information for the fragment. This will be null 501 // unless the elements are explicitly accessed and should remain null for Fragments 531 if (loader != null && mState != null) { 549 return new SavedState(in, null); [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...] |
/external/ltp/testscripts/ |
autofs4.sh | 71 mkfs -t ext2 $disk_partition >/dev/null 2>&1 74 rpm -q -a | grep autofs >/dev/null 2>&1 81 grep autofs /proc/filesystems >/dev/null 2>&1 103 /sbin/mkfs -t ext2 $floppy_dev >/dev/null 2>&1 129 /etc/init.d/autofs start >/dev/null 2>&1 139 /etc/init.d/autofs stop >/dev/null 2>&1 146 /etc/init.d/autofs start >/dev/null 2>&1 150 /etc/init.d/autofs restart >/dev/null 2>&1 153 /etc/init.d/autofs stop >/dev/null 2>&1 161 /etc/init.d/autofs status >/dev/null 2>& [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...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgePackageManager.java | 68 return null; 74 return null; 80 return null; 85 return null; 91 return null; 106 return null; 111 return null; 141 return null; 147 return null; 158 return null; [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DataDrivenNumberFormatTestUtility.java | 34 * This implementation returns null which means that by default all 39 return null; 43 * Runs a single formatting test. On success, returns null. 44 * On failure, returns the error. This implementation just returns null. 49 return null; 53 * Runs a single toPattern test. On success, returns null. 54 * On failure, returns the error. This implementation just returns null. 59 return null; 63 * Runs a single parse test. On success, returns null. 64 * On failure, returns the error. This implementation just returns null [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DataDrivenNumberFormatTestUtility.java | 33 * This implementation returns null which means that by default all 38 return null; 42 * Runs a single formatting test. On success, returns null. 43 * On failure, returns the error. This implementation just returns null. 48 return null; 52 * Runs a single toPattern test. On success, returns null. 53 * On failure, returns the error. This implementation just returns null. 58 return null; 62 * Runs a single parse test. On success, returns null. 63 * On failure, returns the error. This implementation just returns null [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Element.java | 68 if (mElements == null) { 202 if (mElements == null) { 206 if (mElements[ct].mElements != null) { 221 if (mVisibleElementMap == null) { 234 if (mVisibleElementMap == null) { 250 if (mVisibleElementMap == null) { 267 if (mVisibleElementMap == null) { 283 if (mVisibleElementMap == null) { 314 if (rs.mElement_BOOLEAN == null) { 316 if (rs.mElement_BOOLEAN == null) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
FastScrollingIndexCacheTest.java | 93 assertNull(mCache.get(null, null, null, null, null)); 100 b = putAndGetBundle(mCache, null, null, null, null, null, TITLES_0, COUNTS_0) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ClipboardManagerTest.java | 69 new ExpectedClipItem("Text", null, null)); 78 new ExpectedClipItem(null, intent, null)); 87 new ExpectedClipItem(null, null, uri)); 97 new ExpectedClipItem(null, null, contentUri)); 126 new ExpectedClipItem("Text", null, null), [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
NameConstraintsExtension.java | 81 private GeneralSubtrees permitted = null; 82 private GeneralSubtrees excluded = null; 92 if (excluded != null) { 102 if (permitted != null) { 117 if (permitted == null && excluded == null) { 118 this.extensionValue = null; 124 if (permitted != null) { 130 if (excluded != null) { 142 * are optional and can be set to null. The extension criticalit [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
ArchivesProviderTest.java | 53 private ExecutorService mExecutor = null; 54 private Archive mArchive = null; 55 private TestUtils mTestUtils = null; 77 final Cursor cursor = resolver.query(rootsUri, null, null, null, null, null); 78 assertNotNull("Cursor must not be null.", cursor); 100 final Cursor cursor = resolver.query(childrenUri, null, null, null, null, null) [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DateFormatSymbolsICU.java | 28 // of DateFormatSymbolsICU with fIcuDfs = null. However, for safety, 31 // if (fIcuDfs == null) { 43 if (icuDfs == null) { 56 if (fIcuDfs != null) { 57 // fIcuDfs must not be null except for premature instance. 67 if (obj == null) { 71 if (this.fIcuDfs == null) { 72 return ((DateFormatSymbolsICU)obj).fIcuDfs == null; 81 if (fIcuDfs == null) { 89 if (fIcuDfs == null) { [all...] |