/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegRespTestCase.java | 50 mP2pMgr.discoverPeers(mChannel, null); 67 if (mP2pMgr != null) { 68 mP2pMgr.cancelConnect(mChannel, null); 69 mP2pMgr.removeGroup(mChannel, null); 96 mP2pMgr.removeGroup(mChannel, null); 101 mP2pMgr.discoverPeers(mChannel, null);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorTestOperation.java | 46 if(mThread != null) { 68 if(mThread == null) { 83 mThread = null; 115 if(mThrowable != null) { 126 mThrowable = null; 128 if(throwable != null) {
|
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
ParameterizedTypeProjection.java | 42 if (ownerType == null) { 43 return null; 48 private IClassReference rawType = null; 56 if (rawType == null) { 65 private List<ITypeReference> arguments = null; 68 if (arguments == null) {
|
/cts/tools/signature-tools/src/signature/model/util/ |
TypePool.java | 58 if (clazz == null) { 71 assert componentType != null; local 77 assert rawType != null; local 78 assert typeArguments != null; local 117 return typeVariablePool.get(key) != null; 122 assert name != null; local 123 assert genericDeclaration != null; local 127 if (sigTypeVariable == null) { 143 assert upperBounds != null; local 158 if (clazz == null) { [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
ExceptionWithContext.java | 27 /** {@code non-null;} human-oriented context of the exception */ 36 * @param ex {@code non-null;} the exception to augment 37 * @param str {@code non-null;} context to add 38 * @return {@code non-null;} an appropriate instance 59 this(message, null); 65 * @param cause {@code null-ok;} exception that caused this one 68 this(null, cause); 75 * @param cause {@code null-ok;} exception that caused this one 78 super((message != null) ? message : 79 (cause != null) ? cause.getMessage() : null [all...] |
/dalvik/dx/tests/099-dex-core-library-error/ |
run | 19 dx --debug --dex --output=blort.dex java/blort/Blort.class >/dev/null 2>&1 25 dx --debug --dex --output=muffins.dex javax/net/Muffins.class >/dev/null 2>&1 31 dx --debug --dex --output=zorch.dex javax/zorch/Zorch.class >/dev/null 2>&1
|
/dalvik/hit/src/com/android/hit/ |
RootObj.java | 34 this(type, 0, 0, null); 38 this(type, id, 0, null); 59 if (theClass == null) { 68 Instance instance = null; 76 if (instance == null) { 89 if (filter != null) {
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleReceiver.java | 49 setResult(Activity.RESULT_CANCELED, null, null);
50 if (intent == null || ! ACTION_SET_LOCALE.equals(intent.getAction())) {
52 Log.d(TAG, "Invalid intent: " + (intent == null ? "null" : intent.toString()));
60 boolean is_ok = locale != null;
76 setResult(Activity.RESULT_OK, locale, null);
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
ActionBarHelperHoneycomb.java | 34 private View mRefreshIndeterminateProgressView = null; 50 if (mOptionsMenu == null) { 55 if (refreshItem != null) { 57 if (mRefreshIndeterminateProgressView == null) { 62 R.layout.actionbar_indeterminate_progress, null); 67 refreshItem.setActionView(null);
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
ForwardingTest.java | 74 startActivity(mStartIntent, null, null); 87 Forwarding activity = startActivity(mStartIntent, null, null); 103 Forwarding activity = startActivity(mStartIntent, null, null);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
RawContact.java | 208 final String userName = !contact.isNull("u") ? contact.getString("u") : null; 212 if ((userName == null) && (serverContactId <= 0)) { 217 final String firstName = !contact.isNull("f") ? contact.getString("f") : null; 218 final String lastName = !contact.isNull("l") ? contact.getString("l") : null; 219 final String cellPhone = !contact.isNull("m") ? contact.getString("m") : null; 220 final String officePhone = !contact.isNull("o") ? contact.getString("o") : null; 221 final String homePhone = !contact.isNull("h") ? contact.getString("h") : null; 222 final String email = !contact.isNull("e") ? contact.getString("e") : null; 223 final String status = !contact.isNull("s") ? contact.getString("s") : null; 224 final String avatarUrl = !contact.isNull("a") ? contact.getString("a") : null; [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 92 * otherwise. A null bitmap will be associated to the ImageView if an error occurs. 98 download(url, imageView, null); 113 if (bitmap == null) { 125 forceDownload(url, view, null); 134 // State sanity: url is guaranteed to never be null in DownloadedDrawable and cache keys. 135 if (url == null) { 136 imageView.setImageDrawable(null); 171 if (bitmapDownloaderTask != null) { 173 if ((bitmapUrl == null) || (!bitmapUrl.equals(url))) { 186 * null if there is no such task [all...] |
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageFetcher.java | 101 mHttpDiskCache = null; 113 if (mHttpDiskCache != null && !mHttpDiskCache.isClosed()) { 122 mHttpDiskCache = null; 133 if (mHttpDiskCache != null) { 150 if (mHttpDiskCache != null) { 154 mHttpDiskCache = null; 175 if (networkInfo == null || !networkInfo.isConnectedOrConnecting()) { 194 FileDescriptor fileDescriptor = null; 195 FileInputStream fileInputStream = null; 205 if (mHttpDiskCache != null) { [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
BaseActivity.java | 18 if (mAccessory != null) { 53 mInputController = null; 64 if (mInputController != null) { 70 if (mInputController != null) { 76 if (mInputController != null) { 82 if (mInputController != null) {
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitTestSuite.java | 35 protected String rule = null; // paeser rule name for unit testing 36 protected String lexicalRule = null; // lexical rule name 37 protected String treeRule = null; // optional, required for testing tree grammar rule 68 if ( input!=null && expect!=null ) { 71 * if rule is null, use lexRule name 74 expect.setTestedRuleName(this.rule ==null ? this.lexicalRule : this.rule);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
MissingTokenException.as | 17 if ( inserted!=null && token!=null ) { 20 if ( token!=null ) {
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/serialization/ |
AuthorizeCallbackTest.java | 44 String msg = null; 46 new AuthorizeCallback("", null), 47 new AuthorizeCallback(null, msgs[0]), 58 if (idC == null) { 63 if (idZ == null) { 68 if (id == null) {
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
StatementEventTest.java | 40 private static StatementEvent st = new StatementEvent(pc, null); 47 StatementEvent st2 = new StatementEvent(pc, null, e); 60 new StatementEvent(null, null); 92 StatementEvent st3 = new StatementEvent(pc, null, new SQLException( 103 if (null != iniSt.getSQLException()) {
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
TrustManagerFactoryImplTest.java | 42 tmf.engineInit((KeyStore) null); 47 tmf.engineInit((KeyStore) null); 51 if (def_keystore == null) { 66 tmf.engineInit((ManagerFactoryParameters) null); 82 ks.load(null, null);
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
KeyManagerFactorySpiTests.java | 58 KeyStore kStore = null; 59 ManagerFactoryParameters mfp = null; 64 kmfSpi.engineInit(kStore, null); 78 assertNull("getKeyManagers() should return null object", 83 kStore.load(null, null); 90 mfp = new MyKeyManagerFactorySpi.Parameters(kStore, null);
|
/external/apache-http/src/org/apache/http/auth/ |
AuthSchemeRegistry.java | 78 if (name == null) { 79 throw new IllegalArgumentException("Name may not be null"); 81 if (factory == null) { 82 throw new IllegalArgumentException("Authentication scheme factory may not be null"); 94 if (name == null) { 95 throw new IllegalArgumentException("Name may not be null"); 114 if (name == null) { 115 throw new IllegalArgumentException("Name may not be null"); 118 if (factory != null) { 142 if (map == null) { [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestProxyAuthentication.java | 65 if (request == null) { 66 throw new IllegalArgumentException("HTTP request may not be null"); 68 if (context == null) { 69 throw new IllegalArgumentException("HTTP context may not be null"); 79 if (authState == null) { 84 if (authScheme == null) { 89 if (creds == null) { 93 if (authState.getAuthScope() != null || !authScheme.isConnectionBased()) {
|
RequestTargetAuthentication.java | 65 if (request == null) { 66 throw new IllegalArgumentException("HTTP request may not be null"); 68 if (context == null) { 69 throw new IllegalArgumentException("HTTP context may not be null"); 79 if (authState == null) { 84 if (authScheme == null) { 89 if (creds == null) { 94 if (authState.getAuthScope() != null || !authScheme.isConnectionBased()) {
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
SchemeRegistry.java | 72 * @return the scheme, never <code>null</code> 79 if (found == null) { 93 * @return the scheme for the given host, never <code>null</code> 99 if (host == null) { 100 throw new IllegalArgumentException("Host must not be null."); 112 * <code>null</code> if there is none by this name 115 if (name == null) 116 throw new IllegalArgumentException("Name must not be null."); 133 * <code>null</code> if none was registered 136 if (sch == null) [all...] |
/external/apache-http/src/org/apache/http/entity/ |
SerializableEntity.java | 50 if (ser == null) { 51 throw new IllegalArgumentException("Source object may not be null"); 70 if (this.objSer == null) { 77 if (this.objSer == null) { 89 return this.objSer == null; 93 if (outstream == null) { 94 throw new IllegalArgumentException("Output stream may not be null"); 97 if (this.objSer == null) {
|