/cts/tests/tests/media/src/android/media/cts/ |
EnvReverbTest.java | 35 private EnvironmentalReverb mReverb = null; 36 private EnvironmentalReverb mReverb2 = null; 42 private Looper mLooper = null; 44 private ListenerThread mEffectListenerLooper = null; 56 EnvironmentalReverb envReverb = null; 70 if (envReverb != null) { 383 if (mReverb == null || session != mSession) { 384 if (session != mSession && mReverb != null) { 386 mReverb = null; 401 if (mReverb != null) { [all...] |
EqualizerTest.java | 38 private Equalizer mEqualizer = null; 39 private Equalizer mEqualizer2 = null; 45 private Looper mLooper = null; 47 private ListenerThread mEffectListenerLooper = null; 59 Equalizer eq = null; 73 if (eq != null) { 322 if (mEqualizer == null || session != mSession) { 323 if (session != mSession && mEqualizer != null) { 325 mEqualizer = null; 340 if (mEqualizer != null) { [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
LocalsArraySet.java | 52 * all-uninitialized values (represented as {@code null}s). 66 * @param primary {@code non-null;} primary locals to use 67 * @param secondaries {@code non-null;} secondaries set, indexed by subroutine 81 * @param toCopy {@code non-null;} instance to copy. 93 if (la == null) { 94 secondaries.add(null); 108 if (la != null) { 131 if (la != null) { 153 if (la != null) { 180 if (la != null) { [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathValidator1Test.java | 74 PKIXSupport = (defaultProvider != null); 75 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null); 84 return null; 95 return null; 114 if (resType == null) { 117 assertNotNull("Default type have not be null", dt); 120 if (defCPV == null) { 125 assertNotNull("Default type have not be null", dt); 133 * throws NullPointerException when algorithm is null 138 CertPathValidator.getInstance(null); [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketFactoriesTest.java | 98 ssocket.bind(null); 122 serverSocketFactory.createServerSocket(0, 6, null); 291 Thread server = null; 292 Thread client = null; 300 InputStream is = null; 301 OutputStream os = null; 302 SSLSocket s = null; 343 if (throwed[0] == null) { 349 if (is != null) { 354 if (os != null) { [all...] |
/external/oauth/core/src/main/java/net/oauth/ |
OAuthMessage.java | 53 if (parameters == null) { 102 parameterMap = null; 108 parameterMap = null; 133 if (parameterMap == null) { 142 * @return the MIME type, or null to indicate the type is unknown. 162 * @return the value of the last header, or null to indicate that there is 166 String value = null; // no such header 184 * @return the body, or null to indicate there is no body. 198 * @return a stream from which to read the body, or null to indicate there 202 return null; [all...] |
/external/proguard/src/proguard/classfile/ |
ProgramClass.java | 94 return u2superClass == 0 ? null : getClassName(u2superClass); 176 if (subClasses == null) 196 null; 214 return superClass != null && 227 if (superClass != null && 236 if (interfaceClass != null && 252 if ((name == null || field.getName(this).equals(name)) && 253 (descriptor == null || field.getDescriptor(this).equals(descriptor))) 259 return null; 268 if ((name == null || method.getName(this).equals(name)) & [all...] |
/external/smack/src/org/xbill/DNS/ |
Tokenizer.java | 71 /** The value of the token, or null for tokens without values. */ 77 value = null; 85 this.value = value == null ? null : value.toString(); 254 return current.set(WHITESPACE, null); 265 return current.set(EOF, null); 294 return current.set(EOL, null); 309 return current.set(EOF, null); 315 return current.set(EOL, null); 333 return current.set(EOF, null); [all...] |
/frameworks/base/core/java/android/app/ |
ActivityOptions.java | 130 return makeCustomAnimation(context, enterResId, exitResId, null, null); 143 * @param handler If <var>listener</var> is non-null this must be a valid 144 * Handler on which to dispatch the callback; otherwise it should be null. 164 if (listener != null) { 242 return makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY, null); 384 if (mAnimationStartedListener != null) { 386 mAnimationStartedListener.sendResult(null); 394 if (options != null) { 405 if (otherOptions.mPackageName != null) { [all...] |
ResourcesManager.java | 58 if (sResourcesManager == null) { 79 DisplayMetrics dm = isDefaultDisplay ? mDefaultDisplayMetrics.get(daj) : null; 80 if (dm != null) { 86 if (displayManager == null) { 87 // may be null early in system startup 97 if (d != null) { 136 if (mResCompatibilityInfo != null && !mResCompatibilityInfo.supportsScreen()) { 147 * @param compatInfo the compability info. Must not be null. 162 r = wr != null ? wr.get() : null; [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 152 ? null : Build.VERSION.CODENAME; 294 return null; 321 N = p.reqFeatures != null ? p.reqFeatures.size() : 0; 443 if (grantedPermissions != null && grantedPermissions.contains(perm)) { 450 int N = (p.mSignatures != null) ? p.mSignatures.length : 0; 469 return je != null ? je.getCertificates() : null; 477 return null; 501 return null; 511 return null; [all...] |
/frameworks/base/core/java/android/preference/ |
VolumePreference.java | 51 /** May be null if the dialog isn't visible. */ 85 if (mSeekBarVolumizer == null) return true; 112 if (!positiveResult && mSeekBarVolumizer != null) { 120 if (mSeekBarVolumizer != null) { 131 if (mSeekBarVolumizer != null) { 133 if (dialog != null && dialog.isShowing()) { 136 if (view != null) view.setOnKeyListener(null); 141 mSeekBarVolumizer = null; 147 if (mSeekBarVolumizer != null && volumizer != mSeekBarVolumizer) [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
OverlayFrame.java | 69 this(null, null, (String)null, 0, 0); 90 mFilename = null; 91 mBitmapFileName = null; 114 mFilename = null; 147 if (mFilename != null) { 155 mFilename = null; 187 if (mFilename != null) { 279 if (mBitmap != null) { [all...] |
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
SurfaceFlingerHelper.java | 79 if (mFrameBufferData != null) { 90 Process p = null; 91 BufferedReader resultReader = null; 93 if (windowName != null) { 109 if (resultReader != null) { 112 if (p != null) { 139 Process p = null; 140 BufferedReader resultReader = null; 142 if (windowName != null) { 160 while((line = resultReader.readLine()) != null) { [all...] |
/libcore/luni/src/main/java/java/lang/ |
ThreadLocal.java | 28 * {@code null} values. 55 if (values != null) { 70 * The default implementation returns {@code null}. 75 return null; 80 * {@code null}, the value will be set to null and the underlying entry will 88 if (values == null) { 105 if (values != null) { 209 if (k == null || k == TOMBSTONE) { 214 // The table can only contain null, tombstones and references [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentHashMap.java | 63 * does <em>not</em> allow <tt>null</tt> to be used as a key or value. 215 return (tab == null) ? null : 334 HashEntry<K,V> node = tryLock() ? null : 342 if (e != null) { 356 if (node != null) 367 oldValue = null; 408 if (e != null) { 411 if (next == null) // Single node on list 417 last != null; [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedStringTest.java | 100 attrString2 = new AttributedString(iter, 2, 7, null); 118 null); 126 null); 135 null); 207 return null; 211 return null; 215 return null; 243 return null; 287 assertEquals("non-null value limit", 2, it 291 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidator1Test.java | 67 PKIXSupport = (defaultProvider != null); 68 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null); 77 return null; 88 return null; 107 if (resType == null) { 110 assertNotNull("Default type have not be null", dt); 113 if (defCPV == null) { 118 assertNotNull("Default type have not be null", dt); 126 * throws NullPointerException when algorithm is null 131 CertPathValidator.getInstance(null); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooserDialogFragment.java | 57 private Bitmap mBitmap = null; 73 if (savedInstanceState != null && savedInstanceState.containsKey(EMBEDDED_KEY)) { 86 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { 88 mLoader = null; 111 * should just safely ignore this case by checking if getActivity() returns null 114 if (activity != null) { 126 return null; 156 return null; 181 if (mLoader != null && mLoader.getStatus() != WallpaperLoader.Status.FINISHED) { 245 if (convertView == null) { [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
SlideModel.java | 97 if (media == null) { 98 // Don't add null value into the list. 149 if (old == null) { 150 if (null != mParent) { 159 if (null != mParent) { 180 mText = null; 182 mImage = null; 185 mAudio = null; 188 mVideo = null; 247 if ((increaseSize > 0) && (null != mParent)) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowActivity.java | 82 if (head == null) { 87 if (children == null || children.getLength() != 1) { 92 if (layout == null || !"layout".equals(layout.getNodeName())) { 97 if (layoutChildren == null) { 108 if (layoutChild == null) { 109 // The 'layout' child is null. 119 if (node == null) { 204 if (layout != null) { 206 if (imageRegion != null) { 211 if (textRegion != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtUtils.java | 115 * @return the string as a Java class, or null if a class name could not be 143 return null; 206 if (str == null || str.length() < 1 || Character.isUpperCase(str.charAt(0))) { 273 * Returns the current editor (the currently visible and active editor), or null if 276 * @return the current editor, or null 280 if (window != null) { 282 if (page != null) { 287 return null; 291 * Returns the current active workbench, or null if not found 293 * @return the current window, or null [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
FragmentMenu.java | 86 if (node == null) { 92 if (selected != null) { 99 if (fqcn != null) { 104 String source = null; 108 if (type != null) { 112 AdtPlugin.log(e, null); 116 if (source != null) { 171 if (selected != null) { 173 action = new SetFragmentLayoutAction("Clear", null, null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
XmlProperty.java | 108 if (mParent != null) { 137 return null; 142 if (info != null) { 165 Object s = null; 168 if (element == null) { 173 if (uri != null) { 181 return s != null && s.toString().length() > 0; 187 if (element == null) { 188 return null; 193 if (uri != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
ProjectCheckPage.java | 76 GridLayout gl = null; 77 GridData gd = null; 113 if (javaProject != null) { 131 if (project != null) { 141 setErrorMessage(null); 142 setMessage(null); 147 GridLayout gl = null; 155 if (project == null) { 170 if (outputIFolder == null) { 177 Boolean debuggable = null; [all...] |