/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
FakeSecurityController.java | 45 return null; 50 return null; 55 return null; 60 return null; 85 return null; 90 return null;
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyService.java | 31 private static ProxyServer server = null; 41 if (server == null) { 49 if (server != null) { 51 server = null; 60 if (server != null) { 62 if (portListener != null) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ImportanceExtractor.java | 35 if (record == null || record.getNotification() == null) { 37 return null; 40 if (mConfig == null) { 42 return null; 46 return null;
|
PriorityExtractor.java | 36 if (record == null || record.getNotification() == null) { 38 return null; 41 if (mConfig == null) { 43 return null; 49 return null;
|
VisibilityExtractor.java | 36 if (record == null || record.getNotification() == null) { 38 return null; 41 if (mConfig == null) { 43 return null; 48 return null;
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
SmsManagerPermissionTest.java | 43 SmsManager.getDefault().sendTextMessage(SRC_NUMBER, DEST_NUMBER, MSG_CONTENTS, null, 44 null); 60 MSG_CONTENTS.getBytes(), null, null); 79 null, null);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
TypeNotPresentExceptionTest.java | 27 TypeNotPresentException e = new TypeNotPresentException(null, null); 32 e = new TypeNotPresentException(getClass().getName(), null); 47 TypeNotPresentException e = new TypeNotPresentException(null, null); 50 e = new TypeNotPresentException(getClass().getName(), null);
|
/libcore/ojluni/src/main/java/java/beans/ |
ChangeListenerMap.java | 78 if (this.map == null) { 82 int size = (array != null) 88 if (array != null) { 103 if (this.map != null) { 105 if (array != null) { 118 this.map = null; 135 return (this.map != null) 137 : null; 147 if (listeners != null) { 148 if (this.map == null) { [all...] |
/libcore/ojluni/src/main/java/javax/security/auth/callback/ |
PasswordCallback.java | 67 * @exception IllegalArgumentException if {@code prompt} is null or 71 if (prompt == null || prompt.length() == 0) 110 * @param password the retrieved password, which may be null. 115 this.inputPassword = (password == null ? null : password.clone()); 125 * @return the retrieved password, which may be null. 130 return (inputPassword == null ? null : inputPassword.clone()); 137 if (inputPassword != null) {
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
MimeTypesFileTypeDetector.java | 41 if (fn == null) 42 return null; // no file name 46 return null; // no extension 52 if (mimeType == null) 54 } while (mimeType == null && !ext.isEmpty()); 62 if (name != null && !name.isEmpty()) {
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
KeyManagerFactorySpiImpl.java | 20 if (ks == null && password == null) { 24 if (ks == null) { 28 if (password == null) { 37 if (spec == null) { 47 return null;
|
/libcore/tzdata/shared2/src/main/libcore/tzdata/shared2/ |
StagedDistroOperation.java | 25 new StagedDistroOperation(true /* isUninstall */, null /* stagedVersion */); 36 if (distroVersion == null) { 37 throw new NullPointerException("distroVersion==null"); 51 if (o == null || getClass() != o.getClass()) { 60 return distroVersion != null ? distroVersion.equals(that.distroVersion) 61 : that.distroVersion == null; 67 result = 31 * result + (distroVersion != null ? distroVersion.hashCode() : 0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
SharedBuffer.java | 25 private volatile Buffer mProducer = null; 26 private volatile Buffer mConsumer = null; 27 private volatile Buffer mIntermediate = null; 33 if (mProducer != null 36 mProducer = null; 38 if (mProducer == null) {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
ConversationIdSet.java | 42 return null; 47 ConversationIdSet set = null; 48 if (conversationIdSetString != null) { 60 String joined = null; 61 if (conversationIdSet1 == null) { 63 } else if (conversationIdSet2 != null) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
AssetFileAddress.java | 39 * Makes an AssetFileAddress. This may return null. 42 * @return the address, or null if the file does not exist or the parameters are not valid. 45 if (null == filename) return null; 47 if (!f.isFile()) return null; 52 * Makes an AssetFileAddress. This may return null. 57 * @return the address, or null if the file does not exist or the parameters are not valid. 61 if (null == filename) return null; 63 if (!f.isFile()) return null; [all...] |
/prebuilts/misc/common/swig/include/2.0.11/d/ |
dexception.swg | 20 return $null; %} 26 return $null; %} 30 return $null; %}
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
NullUtil.java | 19 * A class with utility functions to help with dealing with <code>null</code> 23 * Counts <code>null</code> objects in the passed set 28 if (obj == null) count++; 34 * Counts non-<code>null</code> objects in the passed set 39 if (obj != null) count++; 45 * Checks if all objects are null. Uses short-circuit logic, so may be more efficient than 48 * @return <code>false</code> if any passed objects are non-null. <code>true</code> otherwise. 53 if (obj != null) return false; 59 * Checks if exactly one object is non-null. Uses short-circuit logic, so may be more efficient 62 * @return <code>true</code> if there is exactly one non-<code>null</code> object in the list [all...] |
Pair.java | 46 if (this.first == null) { 47 if (pair.first != null) { 53 if (this.second == null) { 54 if (pair.second != null) { 68 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
ContactsFacade.java | 60 private Uri mPhoneContent = null; 78 mPhoneContent = (Uri) phone.getField("CONTENT_URI").get(null); 79 mContactId = (String) phone.getField("CONTACT_ID").get(null); 80 mPrimary = (String) phone.getField("IS_PRIMARY").get(null); 81 mPhoneNumber = (String) phone.getField("NUMBER").get(null); 82 mHasPhoneNumber = (String) phone.getField("HAS_PHONE_NUMBER").get(null); 105 String phoneNumber = null; 107 if (data != null) { 109 Cursor cursor = mService.getContentResolver().query(phoneData, null, null, null, null) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HeaderViewListAdapterTest.java | 70 new HeaderViewListAdapter(header, footer, null); 77 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(null, null, null); 83 headerViewListAdapter = new HeaderViewListAdapter(header, null, null); 89 HeaderViewListAdapter headerViewListAdapter = new HeaderViewListAdapter(null, null, null); 95 headerViewListAdapter = new HeaderViewListAdapter(null, footer, null) [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
PrinterInfoTest.java | 81 "Printer", null 85 NAMED_PRINTERS_NAME_PREFIX, "", null 100 "Description", "", null 107 null 122 null 136 RuntimeException e = null; 137 PrinterId printerId = null; 139 if (localPrinterId == null) { 156 // Expect exception if localId is null 157 if (localPrinterId == null) { 293 }, null, null, invocation -> null, invocation -> null, null, invocation -> { field in class:PrinterInfoTest [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintType.java | 56 null /* sourceX */, BOTTOM, null /* targetX */, TOP, 60 LAYOUT_BELOW(ATTR_LAYOUT_BELOW, null, TOP, null, BOTTOM, false, true, false, true), 61 ALIGN_TOP(ATTR_LAYOUT_ALIGN_TOP, null, TOP, null, TOP, false, true, false, false), 62 ALIGN_BOTTOM(ATTR_LAYOUT_ALIGN_BOTTOM, null, BOTTOM, null, BOTTOM, false, true, false, false), 63 ALIGN_LEFT(ATTR_LAYOUT_ALIGN_LEFT, LEFT, null, LEFT, null, false, false, true, false) [all...] |
/art/test/003-omnibus-opcodes/src/ |
Monitor.java | 28 obj = null; // does NOT cause a failure on exit 29 Main.assertTrue(obj == null); 37 Object obj = null;
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreTest.java | 41 Cursor c = mContentResolver.query(mScannerUri, PROJECTION, null, null, null); 42 if (c != null) { 52 if (mVolumnBackup != null) { 68 selection, selectionArgs, null)); 77 selection, selectionArgs, null); 84 assertEquals(1, mContentResolver.delete(mScannerUri, null, null)); 85 assertNull(mContentResolver.query(mScannerUri, PROJECTION, null, null, null)) [all...] |
/developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/common/logger/ |
MessageOnlyLogFilter.java | 41 if (mNext != null) { 42 getNext().println(Log.NONE, null, msg, null);
|