/frameworks/base/core/java/android/net/ |
LocalSocketImpl.java | 40 /** null if closed or not yet created */ 74 if (myFd == null) throw new IOException("socket closed"); 92 if (myFd == null) throw new IOException("socket closed"); 127 if (myFd == null) throw new IOException("socket closed"); 141 if (myFd == null) throw new IOException("socket closed"); 155 if (myFd == null) throw new IOException("socket closed"); 214 * @param fd non-null; bound file descriptor 235 if (fd == null) { 266 if ((fd == null) || (mFdCreatedInternally == false)) { 267 fd = null; [all...] |
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 59 if (src != null && src.mData != null) { 74 if (value != null) { 78 valBytes = null; 114 return val != null ? new String(val) : null; 151 String s = null; 152 for (int i = 0; null != (s = this.getKey(i)); i++) { 170 int valLen = (value != null) ? value.length : 0; 178 avLen = keyBytes.length + valLen + (value != null ? 1 : 0) [all...] |
/frameworks/base/core/java/android/view/ |
ViewOverlay.java | 127 ArrayList<Drawable> mDrawables = null; 138 if (mDrawables == null) { 151 if (mDrawables != null) { 154 drawable.setCallback(null); 161 if (parent != mHostView && parent.getParent() != null && 162 parent.mAttachInfo != null) { 173 if (parent.getLayoutTransition() != null) { 178 if (child.getParent() != null) { 179 child.mParent = null; 191 if (mDrawables != null) { [all...] |
/frameworks/base/media/java/android/media/ |
ImageReader.java | 198 * {@link #acquireNextImage} method will return {@code null}. Only one source 212 * {@link Image images}. Returns {@code null} if no new image is available. 238 * @return latest frame of image data, or {@code null} if no image data is available. 243 if (image == null) { 244 return null; 249 if (next == null) { 251 image = null; 258 if (image != null) { 267 * @return Image if acquiring succeeded, or null otherwise. 273 return acquireNextSurfaceImage(si) == ACQUIRE_SUCCESS ? si : null; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 62 if (v != null) { 73 if (v != null) { 85 if (value != null) { 88 if (r != null) { 102 if (value != null) { 105 if (r != null) { 126 if (value != null) { 129 if (r != null) { 143 if (value != null) { 146 if (r != null) { [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
ImageUtils.java | 88 return mimeType != null && mimeType.startsWith("image/"); 97 * @return The new bitmap or null 105 if (bounds == null) { 112 result.bitmap = decodeStream(factory, null, opts); 130 * BitmapFactory.Options)} that returns {@code null} on {@link 135 * @param outPadding If not null, return the padding rect for the bitmap if 137 * no bitmap is returned (null) then padding is 139 * @param opts null-ok; Options that control downsampling and whether the 141 * @return The decoded bitmap, or null if the image data could not be 142 * decoded, or, if opts is non-null, if opts requested only th [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V30.java | 64 if (mPreviousLine != null) { 66 mPreviousLine = null; 80 StringBuilder builder = null; 83 if (line == null) { 84 if (builder != null) { 86 } else if (mPreviousLine != null) { 88 mPreviousLine = null; 93 if (builder != null) { 95 } else if (mPreviousLine != null) { 97 mPreviousLine = null; [all...] |
/libcore/luni/src/main/java/java/net/ |
DatagramSocket.java | 97 createSocket(aPort, (addr == null) ? Inet4Address.ANY : addr); 125 address = null; 131 impl = factory != null ? factory.createDatagramSocketImpl() 147 * @return the remote address this socket is connected to or {@code null} if 156 * or {@code null} if this socket is closed. 162 return null; 243 if (pack == null) { 244 throw new NullPointerException("pack == null"); 246 if (pendingConnectException != null) { 266 if (address != null) { // The socket is connecte [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 58 private static String sDesiredStoragePath = null; 86 this(null, 0, null, status); 94 String filename = null, hint = null, mimeType = null; 98 }, null, null, null); 99 if (metadataCursor != null) { [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 53 private Boolean mIsProviderPresent = null; 54 private Uri mRlzUri = null; 141 if (mActivity.getPackageManager().resolveActivity(intent, 0) == null) { 143 if (packagename != null) { 162 intent.setComponent(null); 164 if (tab != null) { 165 if (tab.getAppId() == null) { 203 if (handlers == null || handlers.size() == 0) { 208 if (filter == null) { 227 (tab != null) && tab.isPrivateBrowsingEnabled() [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
NotificationPlayer.java | 72 * be created with a looper running so its event handler is not null. 95 if ((mCmd.uri != null) && (mCmd.uri.getEncodedPath() != null) 98 audioManager.requestAudioFocus(null, mCmd.stream, 101 audioManager.requestAudioFocus(null, mCmd.stream, 107 if (mPlayer != null) { 135 if((mLooper != null) 165 Command cmd = null; 179 if (mPlayer != null) { 186 mPlayer = null; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AttachmentUtils.java | 91 return null; 100 if (displayType == null && index > 0) { 103 if (displayType == null) { 106 if (extension != null && extension.length() > 1 && extension.indexOf('.') == 0) { 111 if (displayType == null) { 112 // no extension to display, but the map doesn't accept null entries 123 * @return localized description text, or null if not recognized 127 if (sDisplayNameMap == null) { 182 return null; 185 InputStream inputStream = null; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsBinaryDictionary.java | 88 if (mObserver != null) return; 91 new ContentObserver(null) { 105 if (mObserver != null) { 107 mObserver = null; 123 if (accountVocabulary == null || accountVocabulary.isEmpty()) { 130 super.addWord(word, null /* shortcut */, FREQUENCY_FOR_CONTACTS, 0 /* shortcutFreq */, 138 .query(uri, PROJECTION, null, null, null); 139 if (cursor != null) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ResearchLog.java | 67 private JsonWriter mJsonWriter = null; 106 if (mJsonWriter == null) return null; 125 if (mFile != null && mFile.exists()) { 128 if (onClosed != null) { 132 return null; 146 close(null); 161 if (mJsonWriter == null) return null; 174 if (mFile != null) { [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 103 if (groupIdParam != null) { 110 mOrigColumnName+ " = " + mOrigId, null, null); 111 if (c == null) return null; 117 if (c != null) c.close(); 129 return null; 148 Cursor c = null; 149 ParcelFileDescriptor pfd = null; 152 mOrigColumnName + " = " + mOrigId, null, null) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfo.java | 94 * Node sibling. This is usually null, but it's possible for a single node in the 145 * Returns the view node. Could be null, although unlikely. 156 * It is null for the root and non-null for children. 158 * @return the parent {@link CanvasViewInfo}, which can be null 167 * The list is never null. It can be empty. 170 * @return the children, never null 184 if (mNodeSiblings == null || mNodeSiblings.size() == 0) { 185 return null; 206 * view</b>). For most views this is going to be null, but for views that share [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 114 return mContentResolver.update(uri, values, null, null); 120 setVoicemailContent(voicemailUri, null, inputStream, mimeType); 126 setVoicemailContent(voicemailUri, inputBytes, null, mimeType); 131 if (inputBytes != null && inputStream != null) { 132 throw new IllegalArgumentException("Both inputBytes & inputStream non-null. Don't" + 137 OutputStream outputStream = null; 140 if (inputBytes != null) { 142 } else if (inputStream != null) { [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactoryTest.java | 56 public static String defaultAlgorithm = null; 58 private static String defaultProviderName = null; 60 private static Provider defaultProvider = null; 72 DEFSupported = (defaultProvider != null); 81 DEFSupported = (defaultProvider != null); 88 defaultAlgorithm = null; 89 defaultProviderName = null; 90 defaultProvider = null; 98 return null; 110 return null; [all...] |
/external/junit/src/org/junit/ |
Assert.java | 36 * the identifying message for the {@link AssertionError} (<code>null</code> 54 assertTrue(null, condition); 62 * the identifying message for the {@link AssertionError} (<code>null</code> 79 assertFalse(null, condition); 86 * the identifying message for the {@link AssertionError} (<code>null</code> 91 if (message == null) 100 fail(null); 106 * <code>expected</code> and <code>actual</code> are <code>null</code>, 110 * the identifying message for the {@link AssertionError} (<code>null</code> 119 if (expected == null && actual == null [all...] |
/external/mockito/src/org/mockito/internal/matchers/apachecommons/ |
EqualsBuilder.java | 39 * if (obj == null) { return false; } 116 return reflectionEquals(lhs, rhs, false, null, null); 139 return reflectionEquals(lhs, rhs, false, null, excludeFields); 163 return reflectionEquals(lhs, rhs, testTransients, null, null); 180 * up to and including the specified superclass. A null superclass is treated 187 * may be <code>null</code> 192 return reflectionEquals(lhs, rhs, testTransients, reflectUpToClass, null); 209 * up to and including the specified superclass. A null superclass is treate [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationComponent.java | 86 mSprite = null; 87 mJetSprite = null; 88 mSparksSprite = null; 89 mPlayer = null; 95 mDamageSwap = null; 96 mLandThump = null; 98 mRocketSound = null; 101 mInventory = null; 102 mExplosionSound = null; 107 if (mSprite != null) { [all...] |
/frameworks/base/core/java/android/content/ |
ContentValues.java | 189 * Adds a null value to the set. 191 * @param key the name of the value to make null 194 mValues.put(key, null); 251 return value != null ? value.toString() : null; 258 * @return the Long value, or null if the value is missing or cannot be converted 263 return value != null ? ((Number) value).longValue() : null; 270 return null; 274 return null; [all...] |
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
SyncManager.java | 142 MessageColumns.MAILBOX_KEY + "=? and (" + SyncColumns.SERVER_ID + " is null or " + 187 private WakeLock mWakeLock = null; 207 protected static Thread sServiceThread = null; 209 protected static String sDeviceId = null; 225 private ConnectivityReceiver mConnectivityReceiver = null; 326 return null; 335 return null; 355 if (ssm == null) return ""; 360 String mSyncableMailboxSelector = null; 361 String mAccountSelector = null; 1258 mResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id), values, null, null); local 1264 mResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id), values, null, null); local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
PrintSpoolerService.java | 150 if (files != null) { 194 if (mClient != null) { 205 if (mClient != null) { 216 if (mClient != null) { 227 if (mClient != null) { 241 if (mClient != null) { 256 List<PrintJobInfo> foundPrintJobs = null; 262 final boolean sameComponent = (componentName == null 263 || (printerId != null 276 if (foundPrintJobs == null) { 310 setPrintJobState(printJob.getId(), PrintJobInfo.STATE_CREATED, null); local [all...] |
/frameworks/base/core/java/android/transition/ |
Transition.java | 101 TimeInterpolator mInterpolator = null; 104 ArrayList<Integer> mTargetIdExcludes = null; 105 ArrayList<View> mTargetExcludes = null; 106 ArrayList<Class> mTargetTypeExcludes = null; 107 ArrayList<Integer> mTargetIdChildExcludes = null; 108 ArrayList<View> mTargetChildExcludes = null; 109 ArrayList<Class> mTargetTypeChildExcludes = null; 112 TransitionSet mParent = null; 119 ViewGroup mSceneRoot = null; 145 ArrayList<TransitionListener> mListeners = null; [all...] |