/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLocationManager.java | 38 if (map != null) { 40 return isEnabled == null ? true : isEnabled; 64 setProviderEnabled(provider, isEnabled, null); 69 if (providerEntry == null) { 99 bestEnabledProvider = null; 147 if (criteria == null) { 160 if (locationProviderEntry == null) { 164 if (criteriaList == null) { 187 return providers.isEmpty()? null : providers.get(0); 193 if (enabled && bestEnabledProvider != null) { [all...] |
ShadowParcel.java | 106 if (str == null) { 118 return null; 120 return readValueFromList(null); 203 if (val == null) { 216 return null; 237 if (val == null) { 250 return null; 271 if (val == null) { 284 return null; 295 if (val == null) { [all...] |
/external/v8/test/mjsunit/regress/ |
regress-503.js | 34 assertTrue(null == null, 6); 35 assertTrue(null <= null, 7); 36 assertTrue(null >= null, 8); 37 assertFalse(null < null, 9); 38 assertFalse(null > null, 10) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaPresetReverbTest.java | 56 private PresetReverb mReverb = null; 100 PresetReverb reverb = null; 115 if (reverb != null) { 197 EnergyProbe probe = null; 198 AudioEffect vc = null; 199 MediaPlayer mp = null; 249 if (mp != null) { 252 if (vc != null) { 255 if (probe != null) { 269 EnergyProbe probe = null; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 96 if (direction != null) { 104 if (stream == null && tryOtherDensities) { 110 if (stream != null) { 116 if (direction != null) { 117 return getIcon(iconName, densityInOut, null, pathOut, true); 140 if (stream != null) { 143 if (bitmap == null) { 152 if (bitmap != null) { 163 if (value != null) { 170 if (value != null) { [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
FileHandler.java | 133 FileLock lock = null; 136 String fileName = null; 149 init(null, null, null, null); 177 if (allLocks.get(fileName) != null) { 198 if (lock == null) { 212 super.initProperties("ALL", null, "java.util.logging.XMLFormatter", 213 null); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
DataController.java | 75 if (sInstance == null) { 111 if (url == null || url.trim().length() == 0) { 112 // null or empty url is never a bookmark 187 null, null); local 199 if (capture == null) { 200 return null; 202 if (mBuffer == null || mBuffer.limit() < capture.getByteCount()) { 213 if (blob == null) { 225 Cursor c = null; 254 values, null, null); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
DefaultVoicemailNotifier.java | 64 if (sInstance == null) { 93 if (newCalls == null) { 107 String callers = null; 114 NewCall callToNotify = null; 120 if (name == null) { 141 if (newCallUri != null && newCallUri.equals(newCall.voicemailUri)) { 146 if (newCallUri != null && callToNotify == null) { 160 .setDefaults(callToNotify != null ? Notification.DEFAULT_ALL : 0) 189 if (callToNotify != null) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestService.java | 87 if (sClient == null) { 112 mRedeliverObjectsNotImported = null; 117 if (mDevice != null) { 119 if (deviceInfo == null) { 120 setDevice(null); 128 mDevicePrettyName = null; 130 if (mClientActivity != null) { 144 if (mClientActivity == null) { 159 mRedeliverObjectsNotImported = null; 169 if (mDevice != null) { [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
BubbleTextView.java | 111 setCompoundDrawables(null, 112 Utilities.createIconDrawable(b), null, null); 133 if (tag != null) { 150 final boolean backgroundEmptyBefore = mPressedOrFocusedBackground == null; 152 mPressedOrFocusedBackground = null; 155 if (getLayout() == null) { 157 // background to null so that it will get created when the view is drawn. 158 mPressedOrFocusedBackground = null; 166 final boolean backgroundEmptyNow = mPressedOrFocusedBackground == null; [all...] |
/packages/apps/Launcher3/util/com/android/launcher3/ |
DecoderRing.java | 84 Class defaultType = null; 116 } else if (args[i] != null && !args[i].startsWith("-")) { 124 if (defaultType == null && files.isEmpty()) { 129 if (files.size() > 1 && defaultType != null) { 131 defaultType = null; 139 Class type = null; 140 if (defaultType == null) { 142 if (key != null) { 155 BufferedInputStream input = null; 185 MessageNano proto = null; [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
SensorActivity.java | 159 if (binder != null) { 177 if (mSensorHandler != null) { 194 if (mSensorHandler != null) { 196 mSensorHandler = null; 233 if (mSensor != null) { 239 mChk = null; 240 mVal = null; 241 mSensor = null; 246 if (mChk != null && mSensor != null) { [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseCursorTest.java | 62 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 129 Cursor testCursor = mDatabase.query("test", null, null, null, null, null, null); 153 Cursor testCursor = getTestCursor(mDatabase.rawQuery("SELECT data FROM test", null)); 164 Cursor testCursor = getTestCursor(mDatabase.query("test", null, null, null, null, null [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 134 ByteArrayOutputStream out = null; 141 keyTest.load(null, null); 170 keyTest.load(null, null); 207 keyTest.load(null, null); 231 keyTest.load(null, null); 249 cert2 != null && cert2.equals(cert[0])) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
ResourceLoader.java | 88 if ( rClass != null ) { 108 if ( viewLoader != null ) { 111 if ( menuLoader != null ) { 114 if ( preferenceLoader != null ) { 129 if ( resourceDir != null ) { 155 viewLoader = null; 156 menuLoader = null; 157 preferenceLoader = null; 168 return pathToAndroidResources != null ? new File( pathToAndroidResources ) : null; [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
AbstractReferenceMap.java | 62 * This {@link Map} implementation does <i>not</i> allow null elements. 63 * Attempting to add a null key or value to the map will raise a 202 if (entry == null) { 205 return (entry.getValue() != null); 216 if (value == null) { 226 * @return the mapped value, null if no match 231 if (entry == null) { 232 return null; 240 * Neither the key nor the value may be null. 242 * @param key the key to add, must not be null [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledThreadPoolExecutor.java | 413 * @throws NullPointerException if {@code threadFactory} is null 430 * @throws NullPointerException if {@code handler} is null 450 * {@code handler} is null 483 if (head != null) { 498 if (command == null || unit == null) 501 new ScheduledFutureTask<Void>(command, null, 514 if (callable == null || unit == null) 532 if (command == null || unit == null [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
TimerTest.java | 50 Timer timer = null; 66 if (terminateCount == timerCounter && timer != null) { 108 Timer t = null; 117 if (t != null) 127 Timer t = null; 136 if (t != null) 146 Timer t = null; 155 if (t != null) 160 new Timer(null, true); 166 new Timer(null, false) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 115 mHandler.removeCallbacksAndMessages(null); 116 if (mTetherAc != null) { 118 mTetherAc = null; 128 if(mPanDevices != null) { 136 if(mBluetoothIfaceAddresses != null) { 151 handlePanDeviceStateChange(device, null, BluetoothProfile.STATE_CONNECTING, 153 handlePanDeviceStateChange(device, null, 188 if (mTetherAc != null) { 194 mTetherAc.connected(null, this, msg.replyTo); 202 if (mTetherAc != null) { [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredAidCache.java | 72 ComponentName mNextTapComponent = null; 113 return mNextTapComponent != null; 125 return null; 138 if (paymentAids != null && paymentAids.contains(aid)) { 147 AidResolveInfo resolveInfo = null; 164 if (resolveInfo == null || resolveInfo.services == null || 169 if (resolveInfo.defaultService != null) { 189 if (service == null || mServiceCache.hasService(userId, service)) { 192 service != null ? service.flattenToString() : null, userId) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
CustomViewDescriptorService.java | 156 * @return a {@link ViewElementDescriptor} or <code>null</code> if the class was not 164 if (map != null) { 166 if (descriptor != null) { 184 if (type != null && type.exists()) { 194 if (parentDescriptor != null) { 221 if (map == null) { 235 // there was an error accessing any of the IType, we'll just return null; 239 return null; 260 if (mParserCache == null) { 265 if (parser == null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 94 mImageDir = null; 95 mBackground = null; 96 mForeground = null; 104 if (imageDir != null && imageDir.exists()) { 115 * Returns an image descriptor for the given element descriptor, or null if no image 120 * @return an image descriptor, or null if no image could be rendered 136 return null; 176 if (themeName == null || !themeName.startsWith("Theme.Holo")) { //$NON-NLS-1$ 213 Integer overrideBgColor = null; 214 if (layoutLibrary != null) { 306 assert mBackground != null; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
HeaderFactoryImpl.java | 89 if (encoding == null) 90 throw new NullPointerException("the encoding parameter is null"); 110 if (contentType == null || contentSubType == null) 111 throw new NullPointerException("contentType or subtype is null "); 127 if (language == null) 128 throw new NullPointerException("null arg"); 143 if (alertInfo == null) 144 throw new NullPointerException("null arg alertInfo"); 162 if (eventType == null) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseViewRule.java | 128 String width = null; 141 String height = null; 168 if (newAttrValue != null) { 180 if (newAttrValue != null) { 203 final Prop prop = (props != null) ? props.get(actionId) : null; 205 if (prop != null) { 214 String v = null; 230 uri = null; 235 uri = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtils.java | 96 * being added. When not null, this is used to filter overrides. 97 * @param nsUri The URI of the attribute. Can be null if attribute has no namespace. 101 * a "*" to their UI name as a hint for the user.) If not null, must contains 112 if (requiredAttributes != null) { 128 * being added. When not null, this is used to filter overrides. 130 * @param nsUri The URI of the attribute. Can be null if attribute has no namespace. 141 TextAttributeDescriptor attr = null; 150 if (overrides != null) { 158 String overrideAttrLocalName = null; 163 elements = null; [all...] |