/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteStatementTest.java | 42 null, 58 mDatabase = getContext().openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null); 80 mDatabase.insert("blob_test", null, values); 88 assertEquals(0, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null)); 101 assertEquals(2, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null)); 112 assertEquals(1, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null)); 130 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ActionAnalysis.g | 74 X_Y : '$' x=ID '.' y=ID {enclosingRule!=null}? 76 AttributeScope scope = null; 77 String refdRuleName = null; 83 else if ( enclosingRule.getRuleLabel($x.text)!=null ) { 89 if ( refdRule!=null ) { 93 else if ( enclosingRule.getRuleRefsInAlt(x.getText(), outerAltNum)!=null ) { 97 if ( refdRule!=null ) { 101 if ( scope!=null && 111 X : '$' x=ID {enclosingRule!=null && enclosingRule.getRuleLabel($x.text)!=null} [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
MergeProcessor.java | 47 * @param path [null is equivalent to an empty array] 51 if ((path == null) || (path.length == 0)) 61 * @param fileName [null unsets the previous override setting] 65 if (fileName == null) 66 m_sdataOutFile = null; 85 if (m_dataPath == null) 88 // [m_sdataOutFile can be null] 90 // [m_propertyOverrides can be null] 103 // [assertion: m_dataPath != null] 123 if (sdataOutFile == null) [all...] |
/frameworks/base/core/java/android/net/ |
SamplingDataTracker.java | 51 BufferedReader reader = null; 60 while ((line = reader.readLine()) != null) { 117 if (kvpair.getValue() == null) { 128 if (reader != null) { 161 if (mLastSample != null) { 166 mLastSample = null; 183 mLastSample = null; 189 if (mBeginningSample != null && mEndingSample != null) { 199 if (mBeginningSample != null && mEndingSample != null) [all...] |
/frameworks/base/core/java/android/view/ |
AccessibilityIterators.java | 61 return null; 78 if (sInstance == null) { 100 return null; 103 return null; 112 return null; 117 return null; 126 return null; 129 return null; 138 return null; 143 return null; [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 74 if (mtpDevice == null) { 77 if (mtpDevice != null) { 83 if (mtpDevice != null) { 94 if (mtpDevice == null) { 97 if (mtpDevice != null) { 177 if (connection != null) { 186 return null; 226 * @return the MtpDevice, or null if it does not exist 239 * @return the MtpDevice, or null if it does not exist 257 if (mDevices.get(usbDevice.getDeviceName()) == null) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 65 * be created with a looper running so its event handler is not null. 86 if ((mCmd.uri != null) && (mCmd.uri.getEncodedPath() != null) 90 if (mAudioManagerWithAudioFocus == null) { 93 audioManager.requestAudioFocus(null, mCmd.stream, 96 audioManager.requestAudioFocus(null, mCmd.stream, 113 if (mPlayer != null) { 140 if((mLooper != null) 169 Command cmd = null; 183 if (mPlayer != null) { [all...] |
/libcore/luni/src/main/java/java/security/ |
Provider.java | 156 if (serviceTable != null) { 159 if (propertyServiceTable != null) { 162 if (aliasTable != null) { 165 if (propertyAliasTable != null) { 168 changedProperties = null; 195 if (changedProperties == null) { 210 if (changedProperties.remove(key) == null) { 245 * ,or {@code null} if it did not have one. 251 return null; 257 if (changedProperties != null && changedProperties.remove(key) == null) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListFilter.java | 71 return new ContactListFilter(filterType, null, null, null, null); 103 return "account: " + accountType + (dataSet != null ? "/" + dataSet : "") 127 if (accountType != null) { 131 if (dataSet != null) { 164 if (filter != null && filter.filterType == FILTER_TYPE_SINGLE_CONTACT) { 168 .putInt(KEY_FILTER_TYPE, filter == null ? FILTER_TYPE_DEFAULT : filter.filterType) 169 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarDatabaseHelperTest.java | 43 mBadDb = SQLiteDatabase.create(null); 45 mGoodDb = SQLiteDatabase.create(null); 67 "hidden INTEGER NOT NULL DEFAULT 0," + 70 "selected INTEGER NOT NULL DEFAULT 1," + 71 "sync_events INTEGER NOT NULL DEFAULT 0," + 93 // TODO remove NOT NULL when upgrade rebuilds events to have 95 "calendar_id INTEGER NOT NULL," + 101 "selfAttendeeStatus INTEGER NOT NULL DEFAULT 0," + 107 "allDay INTEGER NOT NULL DEFAULT 0," + 108 "visibility INTEGER NOT NULL DEFAULT 0," [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElementTest.java | 40 String strExpected = expected == null ? "(null)" : Arrays.toString(expected); 41 String strActual = actual == null ? "(null)" : Arrays.toString(actual); 45 expected == null ? 0 : expected.length, 47 actual == null ? 0 : actual.length, 126 null, null, null) }, 134 null, null) } [all...] |
/cts/tools/signature-tools/src/signature/compare/ |
ApiComparator.java | 129 SigApiDelta delta = null; 130 if (packageDeltas != null) { 162 SigPackageDelta delta = null; 163 if (classDeltas != null) { 171 if (annotationDeltas != null) { 172 if (delta != null) { 186 SigClassDefinitionDelta classDelta = null; 191 if (modifierDeltas != null) { 192 if (classDelta == null) { 201 if (superTypeDelta != null) { [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpEngine.java | 82 result.put(null, Collections.singletonList("HTTP/1.1 504 Gateway Timeout")); 126 /** Null until a response is received from the network or the cache. */ 129 // The cache response currently being validated on a conditional get. Null 132 // body. If it fails, these be closed and set to null. 180 if (responseSource != null) { 187 if (responseCache != null) { 207 } else if (connection != null) { 209 connection = null; 222 if (responseCache == null) return; 226 if (candidate == null) return [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactoryTest.java | 62 null 73 String message = "getInstance(" + (algorithm == null ? "null" : "\"" + algorithm + "\"") + ")"; 79 checkException(message, null, exceptions[i]); 100 { null, TEST_PROVIDER_NAME }, 101 { TEST_KEYFACTORY_NAME, null }, 102 { null, null} 123 checkException(message, null, exceptions[i]); 139 null, [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
BridgeResources.java | 110 ((BridgeResources)(Resources.mSystem)).mContext = null; 111 ((BridgeResources)(Resources.mSystem)).mProjectCallback = null; 113 Resources.mSystem = null; 131 if (resourceInfo != null) { 140 if (mProjectCallback != null) { 143 if (resourceInfo != null) { 152 return null; 159 if (value != null) { 167 return null; 174 if (value != null) { 217 assert resValue != null; local 329 assert resValue != null; local 363 assert resValue != null; local 391 assert resValue != null; local 419 assert resValue != null; local 451 assert resValue != null; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccCardProxy.java | 96 private UiccController mUiccController = null; 97 private UiccCard mUiccCard = null; 98 private UiccCardApplication mUiccApplication = null; 99 private IccRecords mIccRecords = null; 100 private CdmaSubscriptionSourceManager mCdmaSSM = null; 112 ci, this, EVENT_CDMA_SUBSCRIPTION_SOURCE_CHANGED, null); 114 mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null); 115 ci.registerForOn(this,EVENT_RADIO_ON, null); 116 ci.registerForOffOrNotAvailable(this, EVENT_RADIO_OFF_OR_UNAVAILABLE, null); 125 mUiccController = null; [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
BrowserTest.java | 76 Cursor cursor = mProvider.query(Bookmarks.CONTENT_URI, null, null, null, null, null); 111 cursor = mProvider.query(Browser.SEARCHES_URI, null, null, null, null, null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RulesEngine.java | 94 * @param project A non-null open project. 131 * @param element The view element to target. Can be null. 132 * @return Null if the rule failed, there's no rule or the rule does not want to override 139 if (rule != null) { 150 return null; 156 * @param selectedNode The node selected. Never null. 157 * @return Null if the rule failed, there's no rule or the rule does not provide 165 if (rule != null) { 180 return null; 193 if (rule != null) { [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
ApiService.java | 247 if (item == null) { // Last callback uses null 262 completeRequest(intent, null, null, null, null, true); 466 if (pp != null && pp.equals(projectPath)) { 2673 ImageUtils.buildOverlayBitmap(getApplicationContext(), null, local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Arrays.java | 24 if (a == null || b == null) 54 if (a == null || b == null) 84 if (a == null || b == null) 122 if (a == null || b == null) 151 if (a == null || b == null) [all...] |
/external/smack/src/org/apache/harmony/javax/security/auth/login/ |
LoginContext.java | 96 init(name, null, null, null); 101 if (cbHandler == null) { 104 init(name, null, cbHandler, null); 109 if (subject == null) { 112 init(name, subject, null, null); 118 if (subject == null) { [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Message.java | 54 private String thread = null; 100 * @throws IllegalArgumentException if null is passed in as the type 103 if (type == null) { 104 throw new IllegalArgumentException("Type cannot be null."); 110 * Returns the default subject of the message, or null if the subject has not been set. 120 return getSubject(null); 124 * Returns the subject corresponding to the language. If the language is null, the method result 125 * will be the same as {@link #getSubject()}. Null will be returned if the language does not have 133 return subject == null ? null : subject.subject [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ValuesDelta.java | 73 entry.mBefore = null; 87 return ((mAfter != null && mAfter.containsKey(key)) || 88 (mBefore != null && mBefore.containsKey(key))); 92 if (mAfter != null && mAfter.containsKey(key)) { 94 } else if (mBefore != null && mBefore.containsKey(key)) { 97 return null; 102 if (mAfter != null && mAfter.containsKey(key)) { 104 } else if (mBefore != null && mBefore.containsKey(key)) { 107 return null; 112 if (mAfter != null && mAfter.containsKey(key)) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FilenameUtils.java | 174 * If the double dot has no parent path segment to work with, <code>null</code>
186 * /../ --> null
187 * ../foo --> null
189 * foo/../../bar --> null
192 * //server/../bar --> null
194 * C:\..\bar --> null
196 * ~/../bar --> null
200 * @param filename the filename to normalize, null returns null
201 * @return the normalized filename, or null if invalid [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextAction.java | 95 if (file == null) { 99 if (project == null) { 103 if (document == null) { 107 if (selection == null) { 113 if (resource == null) { 117 if (resource != null) { 123 RenameResourceWizard.renameResource(shell, project, type, name, null, canClear); 128 if (className != null) { 131 if (type != null) { 165 else if (mEditor != null) [all...] |