Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 2272) sorted by relevance

12345678910>>...91

/frameworks/opt/calendar/tests/src/com/android/calendarcommon/
DEventRecurrenceTest.java40 /* String until */ null, in test0()
43 /* int[] bysecond */ null, in test0()
44 /* int[] byminute */ null, in test0()
45 /* int[] byhour */ null, in test0()
46 /* int[] byday */ null, in test0()
47 /* int[] bydayNum */ null, in test0()
48 /* int[] bymonthday */ null, in test0()
49 /* int[] byyearday */ null, in test0()
50 /* int[] byweekno */ null, in test0()
51 /* int[] bymonth */ null, in test0()
[all …]
DRecurrenceProcessorTest.java155 if (last != null && last.length() > 0) { in verifyRecurrence()
176 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly0()
188 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly1()
202 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly2()
218 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly3()
239 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly4()
261 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly5()
278 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly6()
294 null /* rdate */, null /* exrule */, null /* exdate */, in testMonthly7()
309 null /* exrule */, null /* exdate */, in testMonthly8()
[all …]
DRecurrenceSetTest.java40 verifyPopulateContentValues(recurrence, "FREQ=DAILY;UNTIL=20080222T000000Z", null, in testRecurrenceSet0()
41 null, "20080222T120000Z", 1203595200000L, "America/New_York", "P43200S", 0, false); in testRecurrenceSet0()
49 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, in testRecurrenceSet1()
50 null, null, 1250812800000L, "UTC", "P1D", 1, false); in testRecurrenceSet1()
58 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU", null, in testRecurrenceSet2()
59 null, null, 1250812800000L, "UTC", "P2D", 1, false); in testRecurrenceSet2()
69 verifyPopulateContentValues(recurrence, "FREQ=YEARLY;WKST=SU\nFREQ=MONTHLY;COUNT=3", null, in testRecurrenceSet3()
70 null, null, 1250812800000L, "UTC", "P2H", 1 /*allDay*/, false); in testRecurrenceSet3()
80 verifyPopulateContentValues(recurrence, null, in testRecurrenceSet4()
83 null, null, 1250841723000L, "America/Los_Angeles", "P2H", 0 /*allDay*/, false); in testRecurrenceSet4()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifierElem.java63 return addExpectedNodeWithOrder(propName, propValue, null, null, null, null, null); in addExpectedNodeWithOrder()
68 return addExpectedNodeWithOrder(propName, propValue, null, in addExpectedNodeWithOrder()
69 null, contentValues, null, null); in addExpectedNodeWithOrder()
74 return addExpectedNodeWithOrder(propName, null, propValueList, in addExpectedNodeWithOrder()
75 null, contentValues, null, null); in addExpectedNodeWithOrder()
80 return addExpectedNodeWithOrder(propName, propValue, propValueList, null, in addExpectedNodeWithOrder()
81 null, null, null); in addExpectedNodeWithOrder()
88 null, null, null, null); in addExpectedNodeWithOrder()
93 return addExpectedNodeWithOrder(propName, propValue, null, in addExpectedNodeWithOrder()
94 null, null, paramMap_TYPE, null); in addExpectedNodeWithOrder()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java41 null, null, null, null, null, null, null, null, // 0-7
42 null, null, null, null, null, null, null, null, // 8-15
43 null, null, null, null, null, null, null, null, // 16-23
44 null, null, null, null, null, null, null, null, // 24-31
45 null, null, """, null, null, null, "&", null, // 32-39
46 null, null, null, null, null, null, null, null, // 40-47
47 null, null, null, null, null, null, null, null, // 48-55
48 null, null, null, null, "<", null, ">", null, // 56-63
126 if (escape == null) continue; in escapeAndAppendString()
144 if (escape == null) continue; in escapeAndAppendString()
[all …]
DXmlUtils.java54 if (null != value) { in convertValueToList()
69 if (null == value) in convertValueToBoolean()
83 if (null == charSeq) in convertValueToInt()
129 if (null == value) in convertValueToUnsignedInt()
183 serializer.startDocument(null, true); in writeMapXml()
185 writeMapXml(val, null, serializer); in writeMapXml()
206 serializer.startDocument(null, true); in writeListXml()
208 writeListXml(val, null, serializer); in writeListXml()
229 if (val == null) { in writeMapXml()
230 out.startTag(null, "null"); in writeMapXml()
[all …]
/frameworks/base/core/java/android/app/
DPendingIntent.java155 if (mHandler == null) { in performReceive()
191 return getActivity(context, requestCode, intent, flags, null); in getActivity()
221 String resolvedType = intent != null ? intent.resolveTypeIfNeeded( in getActivity()
222 context.getContentResolver()) : null; in getActivity()
228 null, null, requestCode, new Intent[] { intent }, in getActivity()
229 resolvedType != null ? new String[] { resolvedType } : null, in getActivity()
231 return target != null ? new PendingIntent(target) : null; in getActivity()
234 return null; in getActivity()
280 return getActivities(context, requestCode, intents, flags, null); in getActivities()
336 null, null, requestCode, intents, resolvedTypes, flags, options); in getActivities()
[all …]
DFragmentManager.java420 Bundle mStateBundle = null;
421 SparseArray<Parcelable> mStateArray = null;
444 popBackStackState(mActivity.mHandler, null, -1, 0); in popBackStack()
453 return popBackStackState(mActivity.mHandler, null, -1, 0); in popBackStackImmediate()
479 popBackStackState(mActivity.mHandler, null, id, flags); in popBackStack()
491 return popBackStackState(mActivity.mHandler, null, id, flags); in popBackStackImmediate()
496 return mBackStack != null ? mBackStack.size() : 0; in getBackStackEntryCount()
506 if (mBackStackChangeListeners == null) { in addOnBackStackChangedListener()
514 if (mBackStackChangeListeners != null) { in removeOnBackStackChangedListener()
532 return null; in getFragment()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java63 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
105 assertEquals(1, mDatabase.update("test", values, "_id=1", null)); in testUpdate()
106 Cursor c = mDatabase.query("test", null, "_id=1", null, null, null, null); in testUpdate()
124 c = mDatabase.query("phones", null, in testPhoneNumbersEqual()
125 "PHONE_NUMBERS_EQUAL(num, '504-555-7683')", null, null, null, null); in testPhoneNumbersEqual()
126 assertTrue(c == null || c.getCount() == 0); in testPhoneNumbersEqual()
129 c = mDatabase.query("phones", null, in testPhoneNumbersEqual()
130 "PHONE_NUMBERS_EQUAL(num, '911')", null, null, null, null); in testPhoneNumbersEqual()
138 c = mDatabase.query("phones", null, in testPhoneNumbersEqual()
139 "PHONE_NUMBERS_EQUAL(num, '5555')", null, null, null, null); in testPhoneNumbersEqual()
[all …]
DDatabaseStatementTest.java50 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); in setUp()
85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement()
139 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding()
161 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding()
184 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementClearBindings()
206 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testSimpleStringBinding()
231 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in testStatementMultipleBindings()
266 Cursor c = mDatabase.query("test", null, null, null, null, null, "ROWID"); in run()
315 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementConstraint()
/frameworks/base/core/java/android/webkit/
DWebViewDatabaseClassic.java54 private static WebViewDatabaseClassic sInstance = null;
56 private static SQLiteDatabase sDatabase = null;
114 if (sInstance == null) { in getInstance()
137 sDatabase = context.openOrCreateDatabase(DATABASE_FILE, 0, null); in initDatabase()
142 null); in initDatabase()
148 if (sDatabase == null) { in initDatabase()
189 Cursor c = sDatabase.query(mTableNames[TABLE_FORMURL_ID], null, null, in upgradeDatabaseFromV10ToV11()
190 null, null, null, null); in upgradeDatabaseFromV10ToV11()
284 return sDatabase != null; in checkInitialized()
292 Cursor cursor = null; in hasEntries()
[all …]
/frameworks/base/core/java/android/os/
DMessageQueue.java82 if (handler == null) { in addIdleHandler()
129 return null; in next()
134 Message prevMsg = null; in next()
136 if (msg != null && msg.target == null) { in next()
141 } while (msg != null && !msg.isAsynchronous()); in next()
143 if (msg != null) { in next()
150 if (prevMsg != null) { in next()
155 msg.next = null; in next()
169 && (mMessages == null || now < mMessages.when)) { in next()
178 if (mPendingIdleHandlers == null) { in next()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java228 if (connectionPool == null) { in SQLiteSession()
241 return mTransactionStack != null; in hasTransaction()
250 return mTransactionStack != null && mTransactionStack.mParent != null; in hasNestedTransaction()
259 return mConnection != null; in hasConnection()
305 if (cancellationSignal != null) { in beginTransactionUnchecked()
309 if (mTransactionStack == null) { in beginTransactionUnchecked()
310 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked()
315 if (mTransactionStack == null) { in beginTransactionUnchecked()
319 mConnection.execute("BEGIN IMMEDIATE;", null, in beginTransactionUnchecked()
323 mConnection.execute("BEGIN EXCLUSIVE;", null, in beginTransactionUnchecked()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java297 Bitmap bm = null; in decodeFile()
298 InputStream stream = null; in decodeFile()
301 bm = decodeStream(stream, null, opts); in decodeFile()
307 if (stream != null) { in decodeFile()
326 return decodeFile(pathName, null); in decodeFile()
336 if (opts == null) { in decodeResourceStream()
340 if (opts.inDensity == 0 && value != null) { in decodeResourceStream()
349 if (opts.inTargetDensity == 0 && res != null) { in decodeResourceStream()
369 Bitmap bm = null; in decodeResource()
370 InputStream is = null; in decodeResource()
[all …]
/frameworks/base/obex/javax/obex/
DHeaderSet.java256 if (headerValue == null) { in setHeader()
257 mCount = null; in setHeader()
269 if ((headerValue != null) && (!(headerValue instanceof String))) { in setHeader()
275 if ((headerValue != null) && (!(headerValue instanceof String))) { in setHeader()
282 if (headerValue == null) { in setHeader()
283 mLength = null; in setHeader()
295 if ((headerValue != null) && (!(headerValue instanceof Calendar))) { in setHeader()
301 if ((headerValue != null) && (!(headerValue instanceof Calendar))) { in setHeader()
307 if ((headerValue != null) && (!(headerValue instanceof String))) { in setHeader()
313 if (headerValue == null) { in setHeader()
[all …]
/frameworks/base/services/java/com/android/server/
DDevicePolicyManagerService.java184 String globalProxySpec = null;
185 String globalProxyExclusionList = null;
195 out.startTag(null, "policies"); in writeToXml()
197 out.endTag(null, "policies"); in writeToXml()
199 out.startTag(null, "password-quality"); in writeToXml()
200 out.attribute(null, "value", Integer.toString(passwordQuality)); in writeToXml()
201 out.endTag(null, "password-quality"); in writeToXml()
203 out.startTag(null, "min-password-length"); in writeToXml()
204 out.attribute(null, "value", Integer.toString(minimumPasswordLength)); in writeToXml()
205 out.endTag(null, "min-password-length"); in writeToXml()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DCatService.java74 private CatCmdMessage mCurrntCmd = null;
75 private CatCmdMessage mMenuCmd = null;
77 private RilMessageDecoder mMsgDecoder = null;
106 if (ci == null || ir == null || context == null || fh == null in CatService()
107 || ic == null) { in CatService()
118 mCmdIf.setOnCatSessionEnd(this, MSG_ID_SESSION_END, null); in CatService()
119 mCmdIf.setOnCatProactiveCmd(this, MSG_ID_PROACTIVE_COMMAND, null); in CatService()
120 mCmdIf.setOnCatEvent(this, MSG_ID_EVENT_NOTIFY, null); in CatService()
121 mCmdIf.setOnCatCallSetUp(this, MSG_ID_CALL_SETUP, null); in CatService()
127 ic.registerForReady(this, MSG_ID_SIM_READY, null); in CatService()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java125 DrmEvent event = null; in handleMessage()
126 DrmErrorEvent error = null; in handleMessage()
137 if (null != status && DrmInfoStatus.STATUS_OK == status.statusCode) { in handleMessage()
139 getEventType(status.infoType), null, attributes); in handleMessage()
141 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); in handleMessage()
143 getErrorType(infoType), null, attributes); in handleMessage()
149 event = new DrmEvent(mUniqueId, DrmEvent.TYPE_ALL_RIGHTS_REMOVED, null); in handleMessage()
152 DrmErrorEvent.TYPE_REMOVE_ALL_RIGHTS_FAILED, null); in handleMessage()
160 if (null != mOnEventListener && null != event) { in handleMessage()
163 if (null != mOnErrorListener && null != error) { in handleMessage()
[all …]
/frameworks/base/core/java/android/widget/
DQuickContactBadge.java54 protected String[] mExcludeMimes = null;
76 this(context, null); in QuickContactBadge()
98 if (mOverlay != null && mOverlay.isStateful()) { in drawableStateChanged()
118 if (mOverlay == null || mOverlay.getIntrinsicWidth() == 0 || in onDraw()
139 return mContactUri != null || mContactEmail != null || mContactPhone != null; in isAssigned()
146 if (mDefaultAvatar == null) { in setImageToDefault()
163 mContactEmail = null; in assignContactUri()
164 mContactPhone = null; in assignContactUri()
180 mQueryHandler.startQuery(TOKEN_EMAIL_LOOKUP, null, in assignContactFromEmail()
182 EMAIL_LOOKUP_PROJECTION, null, null, null); in assignContactFromEmail()
[all …]
/frameworks/base/core/java/android/content/
DContentResolver.java215 if (provider != null) { in getType()
219 return null; in getType()
222 return null; in getType()
229 return null; in getType()
238 return null; in getType()
241 return null; in getType()
264 if (provider == null) { in getStreamTypes()
265 return null; in getStreamTypes()
273 return null; in getStreamTypes()
313 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
[all …]
DIntentFilter.java236 private ArrayList<String> mCategories = null;
237 private ArrayList<String> mDataSchemes = null;
238 private ArrayList<AuthorityEntry> mDataAuthorities = null;
239 private ArrayList<PatternMatcher> mDataPaths = null;
240 private ArrayList<String> mDataTypes = null;
248 if (set == null) return -1; in findStringInSet()
259 if (set == null) { in addStringToSet()
290 set[N-1] = null; in removeStringFromSet()
388 if (o.mCategories != null) { in IntentFilter()
391 if (o.mDataTypes != null) { in IntentFilter()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DSettings.java207 if(p != null) { in setInstallStatus()
217 if(p != null) { in setInstallerPackageName()
225 if (s == null) { in getSharedUserLPw()
227 return null; in getSharedUserLPw()
244 if(p == null) { in disableSystemPackageLPw()
250 if (dp == null) { in disableSystemPackageLPw()
251 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { in disableSystemPackageLPw()
269 if(p == null) { in enableSystemPackageLPw()
271 return null; in enableSystemPackageLPw()
274 if((p.pkg != null) && (p.pkg.applicationInfo != null)) { in enableSystemPackageLPw()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java61 super(null, null, null, 0); in BridgeTypedArray()
94 if (data != null) { in sealArray()
106 if (mResourceData[i] != null) { in sealArray()
139 return null; in getText()
142 if (mResourceData[index] != null) { in getText()
147 return null; in getText()
161 return null; in getString()
164 if (mResourceData[index] != null) { in getString()
168 return null; in getString()
185 if (mResourceData[index] == null) { in getBoolean()
[all …]
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduParser.java61 private ByteArrayInputStream mPduDataStream = null;
66 private PduHeaders mHeaders = null;
71 private PduBody mBody = null;
76 private static byte[] mTypeParam = null;
81 private static byte[] mStartParam = null;
106 if (mPduDataStream == null) { in parse()
107 return null; in parse()
112 if (null == mHeaders) { in parse()
114 return null; in parse()
123 return null; in parse()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/test/
DSimulatedCommands.java88 super(null); // Don't log statistics in SimulatedCommands()
116 AsyncResult.forMessage(result, null, ex); in supplyIccPin()
121 if (pin != null && pin.equals(mPinCode)) { in supplyIccPin()
127 if (result != null) { in supplyIccPin()
128 AsyncResult.forMessage(result, null, null); in supplyIccPin()
135 if (result != null) { in supplyIccPin()
147 AsyncResult.forMessage(result, null, ex); in supplyIccPin()
158 AsyncResult.forMessage(result, null, ex); in supplyIccPuk()
163 if (puk != null && puk.equals(SIM_PUK_CODE)) { in supplyIccPuk()
169 if (result != null) { in supplyIccPuk()
[all …]

12345678910>>...91