/frameworks/base/core/java/android/speech/tts/ |
AudioPlaybackHandler.java | 31 private volatile PlaybackQueueItem mCurrentWorkItem = null; 42 if (item == null) { 63 if (current != null && (current.getCallerIdentity() == callerIdentity)) { 80 return (mQueue.peek() != null) || (mCurrentWorkItem != null); 121 PlaybackQueueItem item = null; 135 mCurrentWorkItem = null;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerStressTestRunner.java | 64 if (valueStr != null) { 72 if (scanIterationStr != null) { 80 if (ssidStr != null) { 85 if (passwordStr != null) { 90 if (reconnectStr != null) { 98 if (sleepTimeStr != null) { 106 if (wifiOnlyFlag != null) {
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ShortcutManager.java | 62 Settings.Bookmarks.CONTENT_URI, sProjection, null, null, null); 84 Intent intent = null; 90 if (intent == null) continue; 108 * @return The intent that matches the shortcut, or null if not found. 111 Intent intent = null; 120 if (intent == null) {
|
/frameworks/base/services/java/com/android/server/input/ |
PersistentDataStore.java | 87 return state != null ? state.getCurrentKeyboardLayout() : null; 102 if (state == null) { 130 if (state != null && state.switchKeyboardLayout(direction)) { 155 if (state == null && createIfAbsent) { 191 parser.setInput(new BufferedInputStream(is), null); 243 String descriptor = parser.getAttributeValue(null, "descriptor"); 244 if (descriptor == null) { 260 serializer.startDocument(null, true); 262 serializer.startTag(null, "input-manager-state") [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Texture2D.java | 68 mData.texture = tex != null ? tex : SceneManager.getDefaultTex2D(); 69 if (mField != null) { 77 if (mFileName != null && mFileName.length() > 0) { 86 if (mField != null) { 92 if (rs == null || res == null) { 93 return null;
|
TextureCube.java | 69 mData.texture = tex != null ? tex : SceneManager.getDefaultTexCube(); 70 if (mField != null) { 78 if (mFileName != null && mFileName.length() > 0) { 87 if (mField != null) { 93 if (rs == null || res == null) { 94 return null;
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardEntryCommitter.java | 59 if (mOperationList != null) { 76 mOperationList = null; 87 // that it can be found later. do null checking for badly behaving 89 return ((results == null || results.length == 0 || results[0] == null) 90 ? null : results[0].uri); 93 return null; 96 return null;
|
VCardEntryConstructor.java | 59 this(VCardConfig.VCARD_TYPE_V21_GENERIC, null, null); 63 this(vcardType, null, null); 67 this(vcardType, account, null); 100 mCurrentEntry = null; 123 mCurrentEntry = null;
|
/frameworks/volley/src/com/android/volley/toolbox/ |
RequestFuture.java | 73 if (mRequest == null) { 88 return doGet(null); 102 if (mException != null) { 110 if (timeoutMs == null) { 116 if (mException != null) { 129 if (mRequest == null) { 137 return mResultReceived || mException != null || isCancelled();
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
TestRequest.java | 42 return null; 53 super(TEST_URL, null); 62 super(TEST_URL, null); 76 super(Method.GET, TEST_URL, null); 86 super(Method.POST, TEST_URL, null); 111 super(Method.PUT, TEST_URL, null); 133 super(Method.DELETE, TEST_URL, null);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustedCertificateKeyStoreSpi.java | 36 if (alias == null) { 37 throw new NullPointerException("alias == null"); 39 return null; 43 if (alias == null) { 44 throw new NullPointerException("alias == null"); 46 return null; 67 if (alias == null) { 68 throw new NullPointerException("alias == null"); 90 if (alias == null) { 91 throw new NullPointerException("alias == null"); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode01.java | 37 * The ownerElement is set to null. Specified flag is set to true. 55 * @param factory document factory, may not be null 104 assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, null, null, null, system);
|
/libcore/luni/src/main/java/java/security/ |
AlgorithmParameterGenerator.java | 86 * if {@code algorithm} is {@code null}. 90 if (algorithm == null) { 91 throw new NullPointerException("algorithm == null"); 93 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 113 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()} 115 * if {@code algorithm} is {@code null}. 120 if (provider == null || provider.isEmpty()) { 124 if (impProvider == null) { 143 * if {@code algorithm} is {@code null}. 144 * @throws IllegalArgumentException if {@code provider == null} [all...] |
KeyFactory.java | 78 if (algorithm == null) { 79 throw new NullPointerException("algorithm == null"); 81 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 99 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty()} 103 if (provider == null || provider.isEmpty()) { 107 if (p == null) { 125 * @throws IllegalArgumentException if {@code provider == null} 129 if (provider == null) { 130 throw new IllegalArgumentException("provider == null"); 132 if (algorithm == null) { [all...] |
/libcore/luni/src/main/java/java/util/ |
AbstractMap.java | 90 return (key == null ? entry.getKey() == null : key.equals(entry 92 && (value == null ? entry.getValue() == null : value 99 return (key == null ? 0 : key.hashCode()) 100 ^ (value == null ? 0 : value.hashCode()); 153 return (key == null ? entry.getKey() == null : key.equals(entry 155 && (value == null ? entry.getValue() == null : valu [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
SecretKeyFactory.java | 101 * if the specified algorithm is {@code null}. 105 if (algorithm == null) { 106 throw new NullPointerException("algorithm == null"); 108 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); 129 * if the specified provider name is {@code null} or empty. 134 if (provider == null || provider.isEmpty()) { 135 throw new IllegalArgumentException("Provider is null or empty"); 138 if (impProvider == null) { 158 * if the specified provider is {@code null}. 160 * is the specified algorithm name is {@code null} [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
HttpsURLConnection.java | 52 * context.init(null, tmf.getTrustManagers(), null); 86 * context.init(kmf.getKeyManagers(), null, null); 124 * if the specified verifier is {@code null}. 127 if (v == null) { 128 throw new IllegalArgumentException("HostnameVerifier is null"); 148 * if the specified socket factory is {@code null}. 151 if (sf == null) { 152 throw new IllegalArgumentException("SSLSocketFactory is null"); [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConfigurationException.java | 71 * @param cause The cause. A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 83 * @param cause The cause. A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 87 super(cause == null ? null : cause.toString()); 97 if (!isJDK14OrAbove && causeOnJDK13OrBelow != null) { 112 if (!isJDK14OrAbove && causeOnJDK13OrBelow != null) { 127 if (!isJDK14OrAbove && causeOnJDK13OrBelow != null) { 158 if (causeOnJDK13OrBelow == null) { 161 else if (cause == null) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralNames.java | 72 if ((generalNames == null) || (generalNames.size() == 0)) { 73 return null; 83 if (generalNames == null) { 104 encoding = null; 105 if (generalNames == null) { 115 if (encoding == null) { 122 if (generalNames == null) {
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 36 field = new MyMessageFormat(null); 37 assertEquals("field has wrong name", null, field.getName()); 46 ObjectOutputStream out = null; 47 ObjectInputStream in = null; 57 field = new MyMessageFormat(null); 74 fail("Expected InvalidObjectException for subclass instance with null name"); 84 if (out != null) 86 if (in != null)
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldBlobTest.java | 29 private static Blob testBlob = null; 31 private static Database db = null; 42 db.exec("create table B(id integer primary key, val blob)",null); 43 db.exec("insert into B values(1, zeroblob(128))", null); 44 db.exec("insert into B values(2, zeroblob(128))", null); 45 db.exec("insert into B values(3, zeroblob(128))", null); 50 BufferedReader r = null; 62 String s = null; 63 while ((s = r.readLine()) != null) { 116 out.write(null); [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
LocatorImplTest.java | 37 assertEquals(null, l.getPublicId()); 38 assertEquals(null, l.getSystemId()); 61 outer = new LocatorImpl(null); 74 l.setPublicId(null); 75 assertEquals(null, l.getPublicId()); 84 l.setSystemId(null); 85 assertEquals(null, l.getSystemId());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 71 return null; 80 return null; 87 return null; 96 return null; 121 return null; 125 if (certificates == null) { 127 throw new NullPointerException("certificates is null"); 130 return null;
|
/packages/apps/Browser/src/com/android/browser/view/ |
PieItem.java | 59 return mItems != null; 67 if (mItems == null) { 74 if (mView != null) { 80 if (mView != null) { 100 if (mView != null) { 141 return (mPieView != null); 156 return null;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ProfileAndContactsLoader.java | 59 // ContactsCursor.loadInBackground() can return null; MergeCursor 60 // correctly handles null cursors. 61 Cursor cursor = null; 73 return contactsCursor == null ? new Bundle() : contactsCursor.getExtras(); 79 * Loads the profile into a MatrixCursor. On failure returns null, which 82 * @return MatrixCursor containing profile or null on query failure. 86 null, null, null); 87 if (cursor == null) { [all...] |