HomeSort by relevance Sort by last modified time
    Searched refs:null (Results 2226 - 2250 of 19630) sorted by null

<<81828384858687888990>>

  /frameworks/base/core/tests/coretests/src/android/app/activity/
LocalService.java 54 if (intent.getExtras() != null) {
56 if (mReportObject != null) {
63 ServiceTest.STARTED_CODE, data, null, 0);
74 if (mReportObject != null) {
79 ServiceTest.DESTROYED_CODE, data, null, 0);
95 if (mReportObject != null) {
100 ServiceTest.UNBIND_CODE, data, null, 0);
111 if (mReportObject != null) {
116 ServiceTest.REBIND_CODE, data, null, 0);
  /frameworks/base/graphics/java/android/graphics/
Typeface.java 78 * If null is passed for the name, then the "default" font will be chosen.
82 * @param familyName May be null. The name of the font family.
95 * null, this selects from the default font's family.
97 * @param family May be null. The name of the existing type face.
104 if (family != null) {
116 if (styles != null) {
118 if (typeface != null) {
124 if (styles == null) {
183 DEFAULT = create((String) null, 0);
184 DEFAULT_BOLD = create((String) null, Typeface.BOLD)
    [all...]
  /frameworks/base/location/java/android/location/
Geocoder.java 56 * connectivity may still cause these methods to return null or
77 * @throws NullPointerException if Locale is null
80 if (locale == null) {
81 throw new NullPointerException("locale == null");
113 * @return a list of Address objects. Returns null or empty list if no matches were
135 if (ex != null) {
142 return null;
162 * @return a list of Address objects. Returns null or empty list if no matches were
165 * @throws IllegalArgumentException if locationName is null
170 if (locationName == null) {
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaRecorderStressTestRunner.java 74 if (iterations != null ) {
77 if (videoEncoder != null) {
80 if (audioEncoder != null) {
83 if (frameRate != null) {
86 if (videoWidth != null) {
89 if (videoHeight != null) {
92 if (bitRate != null) {
95 if (recordDuration != null) {
98 if (removeVideos != null) {
  /frameworks/base/obex/javax/obex/
ServerOperation.java 162 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null);
179 if (body != null) {
183 if (mListener.getConnectionId() != -1 && requestHeader.mConnectionID != null) {
189 if (requestHeader.mAuthResp != null) {
192 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null);
194 requestHeader.mAuthResp = null;
199 if (requestHeader.mAuthChall != null) {
205 requestHeader.mAuthResp = null;
206 requestHeader.mAuthChall = null;
210 if (body != null) {
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalKeyManager.java 72 if (component != null) {
76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null);
87 return mKeyMapping.get(keyCode) != null;
91 XmlResourceParser parser = null;
95 int version = parser.getAttributeIntValue(null, ATTR_VERSION, 0);
100 if (element == null) {
104 String keyCodeName = parser.getAttributeValue(null, ATTR_KEY_CODE);
105 String componentName = parser.getAttributeValue(null, ATTR_COMPONENT);
121 if (parser != null) {
  /frameworks/base/sax/java/android/sax/
Element.java 67 if (endTextElementListener != null) {
72 if (children == null) {
97 if (requiredChilden == null) {
130 if (this.startElementListener != null) {
141 if (this.endElementListener != null) {
153 if (this.endTextElementListener != null) {
158 if (children != null) {
180 if (requiredChildren != null) {
192 if (requiredChildren != null) {
  /frameworks/base/services/java/com/android/server/am/
CompatModePackages.java 61 FileInputStream fis = null;
65 parser.setInput(fis, null);
78 String pkg = parser.getAttributeValue(null, "name");
79 if (pkg != null) {
80 String mode = parser.getAttributeValue(null, "mode");
82 if (mode != null) {
99 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e);
101 if (fis != null) {
116 return flags != null ? flags : 0;
120 ApplicationInfo ai = null;
    [all...]
PendingIntentRecord.java 68 requestIntent = _i != null ? _i[_i.length-1] : null;
69 requestResolvedType = _it != null ? _it[_it.length-1] : null;
80 if (_w != null) {
83 if (_a != null) {
86 if (requestIntent != null) {
89 if (requestResolvedType != null) {
100 if (otherObj == null) {
118 if (who != null) {
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
PhotoViewFragment.java 165 if (mCallback == null) {
170 if (mAdapter == null) {
171 throw new IllegalStateException("Callback reported null adapter");
179 mCallback = null;
186 if (sPhotoSize == null) {
208 if (bundle == null) {
219 if (savedInstanceState != null) {
221 if (state != null) {
226 if (mIntent != null) {
270 if (mInternetStateReceiver == null) {
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
TrustedCertificateStore.java 132 if (file == null || (isUser(alias) && isTombstone(file))) {
133 return null;
136 if (cert == null || (isSystem(alias)
140 return null;
146 if (alias == null) {
147 throw new NullPointerException("alias == null");
155 return null;
159 return null;
170 return null;
172 InputStream is = null;
    [all...]
  /libcore/luni/src/main/java/java/io/
EmulatedFieldsForDumping.java 45 this.emulatedFields = new EmulatedFields(streamClass.fields(), (ObjectStreamField[]) null);
204 output.writeInt(fieldValue != null ? ((Integer) fieldValue).intValue() : 0);
206 output.writeByte(fieldValue != null ? ((Byte) fieldValue).byteValue() : 0);
208 output.writeChar(fieldValue != null ? ((Character) fieldValue).charValue() : 0);
210 output.writeShort(fieldValue != null ? ((Short) fieldValue).shortValue() : 0);
212 output.writeBoolean(fieldValue != null ? ((Boolean) fieldValue).booleanValue() : false);
214 output.writeLong(fieldValue != null ? ((Long) fieldValue).longValue() : 0);
216 output.writeFloat(fieldValue != null ? ((Float) fieldValue).floatValue() : 0);
218 output.writeDouble(fieldValue != null ? ((Double) fieldValue).doubleValue() : 0);
  /libcore/luni/src/main/java/java/security/spec/
EllipticCurve.java 61 if (this.field == null) {
62 throw new NullPointerException("field == null");
65 if (this.a == null) {
66 throw new NullPointerException("a == null");
69 if (this.b == null) {
70 throw new NullPointerException("b == null");
73 if (seed == null) {
74 this.seed = null;
115 this(field, a, b, null);
149 * or {@code null} if none specified
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
SSLContext.java 59 if (DEFAULT == null) {
68 * #getDefault()} to a non-null initialized value.
70 * @throws NullPointerException on a null argument
74 if (sslContext == null) {
75 throw new NullPointerException("sslContext == null");
91 * if {@code protocol} is {@code null} (instead of
95 if (protocol == null) {
96 throw new NullPointerException("protocol == null");
98 Engine.SpiAndProvider sap = ENGINE.getInstance(protocol, null);
117 * if {@code protocol} is {@code null} (instead o
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SignerTest.java 51 if (denied!=null && denied.implies(permission)) throw new SecurityException();
65 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null),
66 new PrivateKeyStub("private", "SignerTest.testToString", null));
93 Signer s2 = new SignerStub(null);
116 Signer s2 = new SignerStub(null);
123 * verify Signer.getPrivateKey() returns null or private key
128 PublicKeyStub publicKey = new PublicKeyStub("public", "fff", null);
145 // test: NullPointerException if pair is null
147 new SignerStub("name").setKeyPair(null);
153 KeyPair kp = new KeyPair(null, null)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
DeviceAccountLogin.java 73 mAccountManager.getAuthToken(a, mAuthToken, null,
74 mActivity, this, null);
87 if (result == null) {
91 mTab.setDeviceAccountLogin(null);
107 if (mTab.getDeviceAccountLogin() == null) {
110 if (mCallback != null) {
125 mTab.setDeviceAccountLogin(null);
132 mAccounts[accountIndex], mAuthToken, null,
133 mActivity, this, null);
IntentHandler.java 52 /* package */ static final UrlData EMPTY_URL_DATA = new UrlData(null);
70 if (current == null) {
73 if (current == null) {
112 if (uri != null && uri.getScheme().toLowerCase().startsWith("file") &&
138 && (appId != null)
141 if ((appTab != null) && (appTab == mController.getCurrentTab())) {
152 if (appTab != null) {
160 if (appTab != null) {
174 if (tab != null) {
187 current.setAppId(null);
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EasTestAuthenticatorService.java 54 if (options != null && options.containsKey(OPTIONS_PASSWORD)
59 account, options.getString(OPTIONS_PASSWORD), null);
81 return null;
86 return null;
92 return null;
97 // null means we don't have compartmentalized authtoken types
98 return null;
104 return null;
110 return null;
120 return null;
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
AttachmentUtilitiesTests.java 59 assertEquals("message/rfc822", AttachmentUtilities.inferMimeType("a.eml", null));
73 assertEquals("mime/type", AttachmentUtilities.inferMimeType(null, "Mime/TyPe"));
77 assertEquals("image/png", AttachmentUtilities.inferMimeType(FILE_PNG, null));
83 assertEquals("application/abc", AttachmentUtilities.inferMimeType(FILE_ABC, null));
89 assertEquals(DEFAULT_LOWER, AttachmentUtilities.inferMimeType(FILE_NO_EXT, null));
93 assertEquals(DEFAULT_LOWER, AttachmentUtilities.inferMimeType(null, null));
100 assertEquals(TEXT_PLAIN, AttachmentUtilities.inferMimeType(null, TEXT_PLAIN));
112 assertNull(AttachmentUtilities.getFilenameExtension(null));
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
HistoryManager.java 29 private MenuItem mUndoMenuItem = null;
30 private MenuItem mRedoMenuItem = null;
31 private MenuItem mResetMenuItem = null;
46 return null;
85 if (mUndoMenuItem != null) {
88 if (mRedoMenuItem != null) {
91 if (mResetMenuItem != null) {
99 if (drawable != null) {
120 return null;
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 125 if (uri == null) {
129 final Bitmap thumbnail = DEBUG_DISABLE_CACHE ? null : mThumbnailCache.get(uri);
131 final boolean thumbnailExists = (thumbnail != null);
134 final boolean callbackRequired = (callback != null);
147 callback.onItemLoaded(imageLoaded, null);
192 if (mImageCacheService == null) {
193 // No need to call getImageCacheService() to renew the instance if it's null.
200 mImageCacheService = null;
208 if (uri != null) {
219 if (mImageCacheService == null) {
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java 61 mSendUi = null;
75 if (mSendUi != null) {
82 if (mSendUi != null) {
93 if (mSendUi != null) {
114 if (mSendUi != null) {
133 if (!mNdefSent && !mNdefReceived && mSendUi != null) {
142 if (mSendUi != null) {
155 if (mSendUi != null) {
165 if (mSendUi != null) {
  /packages/apps/Settings/src/com/android/settings/users/
UserPreference.java 44 this(context, attrs, USERID_UNKNOWN, null, null);
51 if (deleteListener != null || settingsListener != null) {
64 if (deleteView != null) {
65 if (mDeleteClickListener != null) {
74 if (manageView != null) {
75 if (mSettingsClickListener != null) {
78 if (mDeleteClickListener != null) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SuppressNotificationReceiver.java 62 if (account != null) {
70 // If the current account is null, still register the receiver. This allows the
83 return mContext != null;
91 if (mContext != null) {
93 mContext = null;
94 mMimeType = null;
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType);
121 if (listContext == null) {
122 // A non-null list context was expected
123 LogUtils.e(LOG_TAG, "unexpected null context")
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
FileCleaningTracker.java 67 * @param file the file to be tracked, not null
68 * @param marker the marker object used to track the file, not null
69 * @throws NullPointerException if the file is null
72 track(file, marker, (FileDeleteStrategy) null);
80 * @param file the file to be tracked, not null
81 * @param marker the marker object used to track the file, not null
82 * @param deleteStrategy the strategy to delete the file, null means normal
83 * @throws NullPointerException if the file is null
86 if (file == null) {
87 throw new NullPointerException("The file must not be null");
    [all...]

Completed in 1068 milliseconds

<<81828384858687888990>>