/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_TestDataBuilder.java | 75 Cursor cursor = mProvider.query(mUri, IdQuery.COLUMNS, null, null, null, null); 76 if (cursor != null) { 96 if (mUri == null) { 137 int count = mProvider.delete(getUri(), null, null); 145 int count = mProvider.delete(uri, null, null); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothMap.java | 65 mService = null; 74 if (mService == null) { 95 if (mgr != null) { 109 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 132 if (mgr != null) { 141 if (mService != null) { 143 mService = null; 150 mServiceListener = null; 160 if (mService != null) { 173 * @return The remote Bluetooth device, or null if not in connected o [all...] |
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 44 * {@link #providerInfo} will be non-null. 51 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null. 58 * {@link #serviceInfo}, or {@link #providerInfo} will be non-null. 111 * The actual string retrieve from <var>labelRes</var> or null if none 123 * Optional -- if non-null, the {@link #labelRes} and {@link #icon} 135 if (activityInfo != null) return activityInfo; 136 if (serviceInfo != null) return serviceInfo; 137 if (providerInfo != null) return providerInfo; 153 if (nonLocalizedLabel != null) { 157 if (resolvePackageName != null && labelRes != 0) [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClientConnection.java | 70 private SessionInputBuffer inbuffer = null; 71 private SessionOutputBuffer outbuffer = null; 78 private HttpMessageWriter requestWriter = null; 79 private HttpConnectionMetricsImpl metrics = null; 81 private Socket socket = null; 97 if (socket == null) { 98 throw new IllegalArgumentException("Socket may not be null"); 100 if (params == null) { 101 throw new IllegalArgumentException("HTTP parameters may not be null"); 122 this.requestWriter = new HttpRequestWriter(outbuffer, null, params) [all...] |
/frameworks/base/core/java/android/print/ |
PrinterCapabilitiesInfo.java | 86 if (other.mMediaSizes != null) { 87 if (mMediaSizes != null) { 94 mMediaSizes = null; 97 if (other.mResolutions != null) { 98 if (mResolutions != null) { 105 mResolutions = null; 214 result = prime * result + ((mMinMargins == null) ? 0 : mMinMargins.hashCode()); 215 result = prime * result + ((mMediaSizes == null) ? 0 : mMediaSizes.hashCode()); 216 result = prime * result + ((mResolutions == null) ? 0 : mResolutions.hashCode()); 227 if (obj == null) { [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SearchRecentSuggestionsProviderTest.java | 82 checkResultCounts(null, 1, 1, TEST_LINE1, TEST_LINE2); 89 checkResultCounts("bad filter", 0, 0, null, null); 109 checkResultCounts(TEST_GROUP_1, GROUP_COUNT, GROUP_COUNT, null, null); 110 checkResultCounts(TEST_GROUP_2, GROUP_COUNT, GROUP_COUNT, null, null); 111 checkResultCounts(TEST_LINE2, 2 * GROUP_COUNT, 2 * GROUP_COUNT, null, null); 155 checkResultCounts(GROUP_1_QUERY, newGroup1Count, newGroup1Count, null, GROUP_1_LINE2) [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 63 if (settings == null) { 87 mContext.registerReceiver(mUserReceiver, userFilter, null, null); 107 if (mHostManager != null) { 110 if (mDeviceManager != null) { 116 if (mDeviceManager != null) { 119 if (mHostManager != null) { 127 if (mHostManager != null) { 135 if (mHostManager != null) { 138 return null; [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetrieveTransaction.java | 101 uri, PROJECTION, null, null, null); 104 if (cursor != null) { 140 if (null == retrieveConf) { 144 Uri msgUri = null; 154 MessagingPreferenceActivity.getIsGroupMmsEnabled(mContext), null); 160 msgUri, values, null, null); 174 mUri, null, null) [all...] |
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
LongThreadTest.java | 74 if (stub != null) { 159 return null; 164 return null; 173 return null; 188 return null; 193 return null; 198 return null; 228 return null; 233 return null; 238 return null; [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
MockUiProviderTests.java | 62 Cursor cursor = provider.query(accountsUri, UIProvider.ACCOUNTS_PROJECTION, null, null, 63 null); 65 if (cursor != null) { 80 Cursor foldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, null, 81 null); 134 Cursor childFoldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, 135 null, null); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
SimulatedCommands.java | 89 super(null); // Don't log statistics 119 AsyncResult.forMessage(result, null, ex); 124 if (pin != null && pin.equals(mPinCode)) { 130 if (result != null) { 131 AsyncResult.forMessage(result, null, null); 138 if (result != null) { 150 AsyncResult.forMessage(result, null, ex); 162 AsyncResult.forMessage(result, null, ex); 167 if (puk != null && puk.equals(SIM_PUK_CODE)) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ChoreographerTest.java | 48 Choreographer.CALLBACK_ANIMATION, addedCallback1, null); 50 Choreographer.CALLBACK_ANIMATION, addedCallback2, null); 52 Choreographer.CALLBACK_ANIMATION, removedCallback, null); 54 Choreographer.CALLBACK_ANIMATION, removedCallback, null); 66 Choreographer.CALLBACK_ANIMATION, addedCallback1, null); 75 Choreographer.CALLBACK_ANIMATION, addedCallback1, null); 79 Choreographer.CALLBACK_ANIMATION, null, TOKEN); 97 Choreographer.CALLBACK_ANIMATION, addedCallback1, null); 99 Choreographer.CALLBACK_ANIMATION, addedCallback2, null); 101 Choreographer.CALLBACK_ANIMATION, removedCallback, null); [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 88 * @param parser the parser to use, or <code>null</code> for default 90 * @return array holding the header elements, never <code>null</code> 97 if (value == null) { 99 ("Value to parse may not be null"); 102 if (parser == null) 116 if (buffer == null) { 117 throw new IllegalArgumentException("Char array buffer may not be null"); 119 if (cursor == null) { 120 throw new IllegalArgumentException("Parser cursor may not be null"); 126 if (!(element.getName().length() == 0 && element.getValue() == null)) { [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
ReportProcessor.java | 51 * @param path [null is equivalent to an empty array] 55 if ((path == null) || (path.length == 0)) 62 * @param path [null is equivalent to no source path] 66 if (path == null) 67 m_sourcePath = null; 74 * @param types [may not be null] 78 if (types == null) throw new IllegalArgumentException ("null input: types"); 83 if ($assert.ENABLED) $assert.ASSERT (reportTypes != null && reportTypes.length > 0); 102 if (m_dataPath == null) [all...] |
/external/emma/core/java12/com/vladium/emma/ |
runCommand.java | 58 usageexit (parser, usageRequestLevel, null); 65 if (opts == null) // this means there were args parsing errors 68 usageexit (parser, IOptsParser.SHORT_USAGE, null); 141 if ((freeArgs == null) || (freeArgs.length == 0)) 147 if ($assert.ENABLED) $assert.ASSERT (freeArgs != null && freeArgs.length > 0, "invalid freeArgs"); 161 if (jarMainClass == null) 163 exit (true, "failed to load Main-Class manifest attribute from [" + jarfile.getAbsolutePath () + "]", null, RC_UNEXPECTED); 167 if ($assert.ENABLED) $assert.ASSERT (jarMainClass != null, "invalid jarMainClass"); 177 if ((freeArgs == null) || (freeArgs.length == 0)) 193 if (m_classpath == null) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
Texture.java | 286 private String name = null; 291 private Image image = null; 297 private TextureKey key = null; 334 * if minificationFilter is null 337 if (minificationFilter == null) { 339 "minificationFilter can not be null."); 355 * if magnificationFilter is null 358 if (magnificationFilter == null) { 360 "magnificationFilter can not be null."); 377 * if compareMode is null [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 37 accountManager.invalidateAuthToken(null, null); 46 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); 56 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); [all...] |
ContextTest.java | 48 deleteDir(context.getExternalFilesDir(null)); 85 assertThat(context.obtainStyledAttributes(null), not(nullValue())); 86 assertThat(context.obtainStyledAttributes(0, null), not(nullValue())); 87 assertThat(context.obtainStyledAttributes(null, null), not(nullValue())); 88 assertThat(context.obtainStyledAttributes(null, null, 0, 0), not(nullValue())); 108 FileOutputStream fos = null; 113 if (fos != null) 126 FileOutputStream fos = null; [all...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
CameraManager.java | 82 if (theCamera == null) { 84 if (theCamera == null) { 110 if (camera != null) { 112 camera = null; 115 framingRect = null; 116 framingRectInPreview = null; 125 if (theCamera != null && !previewing) { 135 if (camera != null && previewing) { 137 previewCallback.setHandler(null, 0); 138 autoFocusCallback.setHandler(null, 0) [all...] |
/frameworks/base/core/java/android/transition/ |
TransitionManager.java | 111 * entered. A value of null will result in the default behavior of 127 * entered. A value of null will result in the default behavior of 132 if (sceneTransitionMap == null) { 150 Transition transition = null; 152 if (sceneRoot != null) { 155 if (currScene != null) { 157 if (sceneTransitionMap != null) { 159 if (transition != null) { 166 return (transition != null) ? transition : sDefaultTransition; 187 if (oldScene != null && oldScene.isCreatedFromLayoutResource()) [all...] |
/frameworks/base/media/java/android/media/ |
Ringtone.java | 70 mRemotePlayer = allowRemote ? mAudioManager.getRingtonePlayer() : null; 71 mRemoteToken = allowRemote ? new Binder() : null; 103 if (mTitle != null) return mTitle; 108 Cursor cursor = null; 111 String title = null; 113 if (uri != null) { 128 cursor = res.query(uri, MEDIA_COLUMNS, null, null, null); 135 if (cursor != null && cursor.getCount() == 1) [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardViewStateManager.java | 81 if (mChallengeLayout != null && mKeyguardWidgetPager != null) { 91 if (mChallengeLayout != null) { 98 if (mChallengeLayout != null) { 140 if (mKeyguardHostView != null) { 142 mKeyguardHostView.setOnDismissAction(null); 144 if (mHideHintsRunnable != null) { 146 mHideHintsRunnable = null; 155 if (mKeyguardWidgetPager != null && mChallengeLayout instanceof SlidingChallengeLayout) { 188 if (mKeyguardWidgetPager != null && mChallengeLayout != null) [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageSignatures.java | 35 if (orig != null && orig.mSignatures != null) { 49 if (mSignatures == null) { 52 serializer.startTag(null, tagName); 53 serializer.attribute(null, "count", 56 serializer.startTag(null, "cert"); 64 serializer.attribute(null, "index", Integer.toString(j)); 70 serializer.attribute(null, "index", Integer.toString(numPast)); 71 serializer.attribute(null, "key", sig.toCharsString()); 73 serializer.endTag(null, "cert") [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Renderable.java | 70 if (mField != null) { 79 if (mField != null) { 99 if (mField != null) { 109 if (mField != null) { 116 if (mData.mesh == null) { 121 if (subIndexCount == 1 || mMeshIndexName == null) { 131 if (mField != null) { 144 if (tex != null) { 150 mData.pf_num_textures = pf != null ? Math.min(pf.getTextureCount(), paramIndex) : 0; 151 if (mField != null) { [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicLongFieldUpdater.java | 256 // caller, tclass, null, modifiers); 259 // if ((ccl != null) && (ccl != cl) && 260 // ((cl == null) || !isAncestor(cl, ccl))) { 280 caller != tclass) ? caller : null; 288 if (cclass != null) 293 if (obj == null || obj.getClass() != tclass || cclass != null) fullCheck(obj); 298 if (obj == null || obj.getClass() != tclass || cclass != null) fullCheck(obj); 303 if (obj == null || obj.getClass() != tclass || cclass != null) fullCheck(obj) [all...] |