/frameworks/base/core/java/android/database/sqlite/ |
SQLiteConnectionPool.java | 171 if (configuration == null) { 172 throw new IllegalArgumentException("configuration must not be null."); 209 if (mCloseGuard != null) { 255 if (configuration == null) { 256 throw new IllegalArgumentException("configuration must not be null."); 336 * @param sql If not null, try to find a connection that already has 339 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 340 * @return The connection that was acquired, never null. 358 * @param connection The connection to release. Must not be null. 366 if (status == null) { 376 assert mAvailablePrimaryConnection == null; local 718 assert current != null; local [all...] |
/frameworks/base/core/java/android/os/ |
CommonTimeConfig.java | 67 if (null == mRemote) 85 retVal = null; 101 if (null != mRemote) { 106 mRemote = null; 108 mUtils = null; 196 * or null if the service is currently unbound. Examples of interface names are things like 204 String ifaceName = mUtils.transactGetString(METHOD_GET_INTERFACE_BINDING, null); 206 if ((null != ifaceName) && (0 == ifaceName.length())) 207 return null; 217 * time service should attempt to bind to, or null to force the common time service to unbin [all...] |
/frameworks/base/core/java/android/widget/ |
AccessibilityIterators.java | 39 if (sLineInstance == null) { 54 return null; 57 return null; 71 return null; 82 return null; 85 return null; 99 return null; 124 if (sPageInstance == null) { 139 return null; 142 return null; [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestRunner.java | 87 if (val != null) { 96 if (val != null) { 105 if (val != null) { 114 if (val != null) { 123 if (val != null) { 132 if (val != null) { 141 if (val != null) { 150 if (val != null) { 159 if (val != null) { 168 if (val != null) { [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
Signature.java | 44 private HashMap<String, PortInfo> mInputPorts = null; 45 private HashMap<String, PortInfo> mOutputPorts = null; 162 PortInfo result = mInputPorts != null ? mInputPorts.get(name) : null; 163 return result != null ? result : new PortInfo(); 167 PortInfo result = mOutputPorts != null ? mOutputPorts.get(name) : null; 168 return result != null ? result : new PortInfo(); 174 if (mInputPorts != null) { 179 if (inputPort == null && portInfo.isRequired()) [all...] |
SobelFilter.java | 124 FrameImage2D magImage = (magnitudePort != null) ? 125 magnitudePort.fetchAvailableFrame(inputDims).asFrameImage2D() : null; 126 FrameImage2D dirImage = (directionPort != null) ? 127 directionPort.fetchAvailableFrame(inputDims).asFrameImage2D() : null; 136 if (magnitudePort != null) { 139 if (directionPort != null) { 146 ByteBuffer magBuffer = (magImage != null) ? 147 magImage.lockBytes(Frame.MODE_WRITE) : null; 148 ByteBuffer dirBuffer = (dirImage != null) ? 149 dirImage.lockBytes(Frame.MODE_WRITE) : null; [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
BaseFragmentPagerAdapter.java | 52 private FragmentTransaction mCurTransaction = null; 53 private Fragment mCurrentPrimaryItem = null; 72 if (mCurTransaction == null) { 83 if (fragment != null) { 88 if(fragment == null) { 90 return null; 105 if (mCurTransaction == null) { 113 if (name == null) { 115 // detached before the add transaction is committed, this could be 'null'. In 128 if (mCurrentPrimaryItem != null) { [all...] |
/libcore/luni/src/main/java/java/net/ |
CookieManager.java | 68 * CookieManager(null, null). 72 this(null, null); 81 * use a default one if the arg is null. 84 * ACCEPT_ORIGINAL_SERVER will be used if the arg is null. 87 this.store = store == null ? new CookieStoreImpl() : store; 88 policy = cookiePolicy == null ? CookiePolicy.ACCEPT_ORIGINAL_SERVER 107 if (uri == null || requestHeaders == null) { [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
Pop3StoreUnitTests.java | 53 private Pop3Store mStore = null; 54 private Pop3Store.Pop3Folder mFolder = null; 131 // Test with null input 133 result = parser.parseMultiLine(null); 149 // Test with null input 151 result = parser.parseSingleLine(null); 183 setupOpenFolder(mockTransport, 0, null); 203 setupOpenFolder(mockTransport, 0, null); 215 setupOpenFolder(mockTransport, 0, null); 235 mockTransport.expect(null, "-ERR from the Mock Transport.") [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
HandoverServer.java | 42 ServerThread mServerThread = null; 56 if (mServerThread == null) { 64 if (mServerThread != null) { 66 mServerThread = null; 88 if (mServerSocket == null) { 103 if (serverSocket == null) { 110 if (communicationSocket != null) { 125 if (mServerSocket != null) { 132 mServerSocket = null; 146 if (mServerSocket != null) { [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RestrictedSettingsFragment.java | 72 ensurePin(null); 81 * null if it should never be PIN protected. 93 if (icicle != null) { 105 if (mResumeActionBundle != null) { 117 ensurePin(null); 138 mResumeActionBundle = null; 142 String prefKey = resumeActionBundle == null ? 143 null : resumeActionBundle.getString(EXTRA_PREFERENCE); 144 if (prefKey != null) { 146 if (pref != null) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ObjectCursorLoader.java | 42 // null right here. 43 final String mSelection = null; 44 final String[] mSelectionArgs = null; 45 final String mSortOrder = null; 60 * If these are null, it's going to crash anyway in loadInBackground(), but this stack trace 63 if (factory == null) { 64 throw new NullPointerException("The factory cannot be null"); 78 if (inner == null) { 80 return null; 108 if (cursor != null) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
RawContactUtil.java | 40 resolver.update(uri, values, null, null); 47 Cursor cursor = resolver.query(uri, projection, null, null, null); 59 Cursor cursor = resolver.query(uri, projection, null, null, null); 69 resolver.delete(uri, null, null); [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
SizeLimitActivity.java | 56 if (intent != null) { 58 setIntent(null); 61 if (mDialog != null && !mDialog.isShowing()) { 67 if (mDialog != null) { 78 Cursor cursor = getContentResolver().query(mCurrentUri, null, null, null, null); 119 mDialog = null; 120 mCurrentUri = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 102 private Map<String, BufferedImage> mImageCache = null; 112 if (mTextFont == null) { 121 if (mTextFont == null) { 129 if (mTextFont == null) { 167 AdtPlugin.log(e, null); 168 return null; 174 BufferedImage image = mImageCache != null ? mImageCache.get(path) : null; 175 if (image == null) { 177 if (mImageCache == null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
TextAttributeDescriptor.java | 58 * @param nsUri The URI of the attribute. Can be null if attribute has no namespace. 60 * @param attrInfo The {@link IAttributeInfo} of this attribute. Can't be null. 70 * @return The UI name of the attribute. Cannot be an empty string and cannot be null. 74 if (mUiName == null) { 76 if (info != null) { 140 * The tooltip string is either null or a non-empty string. 146 * An empty string is converted to null, to match the behavior of setToolTipText() in 149 * @return A non-empty tooltip string or null 153 if (mTooltip == null) { 155 if (info == null) { [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 42 Socket socket = null; 43 DataInputStream in = null; 44 BufferedWriter out = null; 74 if (out != null) { 77 if (in != null) { 80 if (socket != null) { 117 g.drawImage(chunk, null, 0, 0); 130 Socket socket = null; 131 BufferedInputStream in = null; 132 BufferedWriter out = null; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
MetadataDbHelper.java | 132 + CLIENT_LAST_UPDATE_DATE_COLUMN + " INTEGER NOT NULL DEFAULT 0, " 152 private static TreeMap<String, MetadataDbHelper> sInstanceMap = null; 155 // As a backward compatibility feature, null can be passed here to retrieve the "default" 157 // and would not be able to handle several dictionary sets. Passing null here retrieves 160 final String clientId = null != clientIdOrNull ? clientIdOrNull : ""; 161 if (null == sInstanceMap) sInstanceMap = new TreeMap<String, MetadataDbHelper>(); 163 if (null == helper) { 172 null, METADATA_DATABASE_VERSION); 182 * client ID is null, a default database is returned for backward compatibility. Don't 183 * pass null for new calls [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
ScreenRotationAnimation.java | 140 if (mCustomBlackFrame != null) { 145 if (mExitingBlackFrame != null) { 149 if (mEnteringBlackFrame != null) { 285 return mSurfaceControl != null; 295 if (mSurfaceControl != null) { 375 if (mSurfaceControl == null) { 390 if (TWO_PHASE_ANIMATION && mFinishExitAnimation == null 530 if (USE_CUSTOM_BLACK_FRAME && mCustomBlackFrame == null) { 561 if (!customAnim && mExitingBlackFrame == null) { 601 if (customAnim && mEnteringBlackFrame == null) { [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
DrawableContainer.java | 69 if (mCurrDrawable != null) { 72 if (mLastDrawable != null) { 92 if (r != null) { 96 if (mCurrDrawable != null) { 123 if (mCurrDrawable != null) { 142 if (mCurrDrawable != null) { 152 if (mCurrDrawable != null) { 178 if (mLastDrawable != null) { 181 if (mCurrDrawable != null) { 194 if (mCurrDrawable != null) { [all...] |
/libcore/luni/src/main/java/java/util/ |
WeakHashMap.java | 72 isNull = key == null; 98 return (key == null ? key == entry.getKey() : key.equals(entry 100 && (value == null ? value == entry.getValue() : value 106 return hash + (value == null ? 0 : value.hashCode()); 130 if (nextEntry != null && (nextKey != null || nextEntry.isNull)) { 134 if (nextEntry == null) { 136 if ((nextEntry = elementData[position++]) != null) { 140 if (nextEntry == null) { 146 if (nextKey != null || nextEntry.isNull) [all...] |
/cts/suite/cts/hostTests/jank/app/src/com/android/cts/jank/ |
CtsJankTestBase.java | 50 Process p = null; 51 Scanner out = null; 52 Scanner err = null; 80 if (p != null) { 87 p = null; 89 if (out != null) { 92 if (err != null) {
|
/dalvik/dx/tests/087-ssa-local-vars/ |
Blort.java | 12 if (anotherOne != null) { 35 Blort foo = null; 57 StringBuilder current = null; 58 StringBuilder previous = null; 60 if (current == null) { 70 if ((current.charAt(0) == ' ' || current.charAt(0) == '\t') && previous != null) { 87 current = null;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
MediaController.java | 95 if (getWindowToken() != null) { 96 if (mController != null) { 99 if (controller != null) { 110 if (mController != null) { 118 if (mController != null) { 125 if (mPauseButton != null) { 131 if (mFfwdButton != null) { 137 if (mRewButton != null) { 144 if (mNextButton != null && !mListenersSet) { 148 if (mPrevButton != null && !mListenersSet) [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApiDescrHandler.java | 37 private PackageInfo mCurrentPackage = null; 38 private ClassInfo mCurrentClass = null; 39 private MethodInfo mCurrentMethod = null; 99 if (staticClass == null) { 139 mCurrentMethod = null; 141 mCurrentClass = null; 143 mCurrentPackage = null;
|