/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
DeviceListActivity.java | 5 * you may not use this file except in compliance with the License. 40 * This Activity appears as a dialog. It lists any paired devices and 90 new ArrayAdapter<String>(this, R.layout.device_name); 91 mNewDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 105 this.registerReceiver(mReceiver, filter); 109 this.registerReceiver(mReceiver, filter); 139 this.unregisterReceiver(mReceiver); 181 // Set result and finish this Activity
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
DeviceListActivity.java | 5 * you may not use this file except in compliance with the License. 41 * This Activity appears as a dialog. It lists any paired devices and 81 mPairedDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 82 mNewDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 96 this.registerReceiver(mReceiver, filter); 100 this.registerReceiver(mReceiver, filter); 130 this.unregisterReceiver(mReceiver); 169 // Set result and finish this Activity
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
DeviceListActivity.java | 5 * you may not use this file except in compliance with the License. 40 * This Activity appears as a dialog. It lists any paired devices and 90 new ArrayAdapter<String>(this, R.layout.device_name); 91 mNewDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 105 this.registerReceiver(mReceiver, filter); 109 this.registerReceiver(mReceiver, filter); 139 this.unregisterReceiver(mReceiver); 181 // Set result and finish this Activity
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
ActivityB.java | 5 * you may not use this file except in compliance with the License. 90 Intent intent = new Intent(ActivityB.this, DialogActivity.class); 95 Intent intent = new Intent(ActivityB.this, ActivityA.class); 100 Intent intent = new Intent(ActivityB.this, ActivityC.class); 105 ActivityB.this.finish();
|
ActivityC.java | 5 * you may not use this file except in compliance with the License. 90 Intent intent = new Intent(ActivityC.this, DialogActivity.class); 95 Intent intent = new Intent(ActivityC.this, ActivityA.class); 100 Intent intent = new Intent(ActivityC.this, ActivityB.class); 105 ActivityC.this.finish();
|
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/ |
GpsLocationTest.java | 5 * you may not use this file except in compliance with the License. 38 * Prior to running this test the GPS location must be set to the following 58 synchronized ( this ){ 61 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this, 63 this.wait(TIMEOUT); 72 locationManager.removeUpdates(this); 76 synchronized ( this ){ 78 this.notify();
|
/external/apache-http/src/org/apache/commons/codec/language/ |
Metaphone.java | 5 * you may not use this file except in compliance with the License. 37 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 71 * Find the metaphone value of a String. This is similar to the 135 while ((code.length() < this.getMaxCodeLen()) && 159 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) ) { 167 (this.frontv.indexOf(local.charAt(n + 1)) >= 0)) { 191 (this.frontv.indexOf(local.charAt(n + 2)) >= 0)) { // DGE DGI DGY -> J 218 (this.frontv.indexOf(local.charAt(n + 1)) >= 0) && 230 (this.varson.indexOf(local.charAt(n - 1)) >= 0)) { 307 if (code.length() > this.getMaxCodeLen()) { [all...] |
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 48 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 56 * HttpClient the use of this parameter will be discontinued. 77 * In the future versions of HttpClient the use of this parameter will be 114 this.host = (host == null) ? ANY_HOST: host.toLowerCase(Locale.ENGLISH); 115 this.port = (port < 0) ? ANY_PORT: port; 116 this.realm = (realm == null) ? ANY_REALM: realm [all...] |
/external/apache-http/src/org/apache/http/conn/ |
BasicManagedEntity.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 56 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 75 * afterwards, since the content will be taken by this 89 this.managedConn = conn; 90 this.attemptReuse = reuse; 105 return new EofSensorInputStream(wrappedEntity.getContent(), this); 118 // this will not trigger a callback from EofSensorInputStrea [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 101 * This class replaces the <code>HttpMethodDirector</code> in HttpClient 3. 112 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 229 this.requestExec = requestExec; 230 this.connManager = conman; 231 this.reuseStrategy = reustrat; 232 this.keepAliveStrategy = kastrat [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
IdleConnectionHandler.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 46 * <p>This class is not synchronized.</p> 53 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 71 * Registers the given connection with this handler. The connection will be held until 91 * This will return true if the connection is still valid, and false 108 * Removes all connections referenced by this handler. 111 this.connectionToTimes.clear() [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
RouteSpecificPool.java | 10 * this work for additional information regarding copyright ownership. 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 24 * This software consists of voluntary contributions made by many 47 * The methods in this class are unsynchronized. It is expected that the 51 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 59 /** The route this pool is for. */ 62 /** the maximum number of entries allowed for this pool */ 67 * This list is managed LIFO, to increase idle times and 72 /** The list of threads waiting for this pool. * [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BrowserCompatSpec.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 60 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 90 this.datepatterns = datepatterns.clone(); 92 this.datepatterns = DATE_PATTERNS; 100 this.datepatterns)); 105 this(null); 126 DateUtils.parseDate(headervalue.substring(i1, i2), this.datepatterns) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 53 * Note that this class NEVER closes the underlying stream, even when close 72 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 95 /** True if this stream is closed */ 105 this.in = in; 106 this.pos = 0; 107 this.buffer = new CharArrayBuffer(16) [all...] |
/external/apache-http/src/org/apache/http/message/ |
HeaderGroup.java | 9 * distributed with this work for additional information 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 25 * This software consists of voluntary contributions made by many 44 * This class allows for multiple headers with the same name and 52 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 58 /** The list of headers for this group, in the order in which they were added */ 65 this.headers = new ArrayList(16); 76 * Adds the given header to the group. The order in which this header was 111 for (int i = 0; i < this.headers.size(); i++) [all...] |
/external/bison/src/ |
LR0.c | 6 This file is part of Bison, the GNU Compiler Compiler. 8 This program is free software: you can redistribute it and/or modify 13 This program is distributed in the hope that it will be useful, 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 286 /* This is "reduce 0", i.e., accept. */ 310 state_list *this = first_state; 316 state *s = this->state; 324 first_state = this->next; 325 free (this); 346 item of this initial rule. * 308 state_list *this = first_state; local [all...] |
/external/blktrace/btt/ |
devs.c | 6 * This program is free software; you can redistribute it and/or modify 11 * This program is distributed in the hope that it will be useful, 17 * along with this program; if not, write to the Free Software 185 void (*fnc)(struct io *iop, struct io *this), int rm_after) 189 struct io *this; local 194 this = list_entry(p, struct io, f_head); 195 list_del(&this->f_head); 196 io_release(this);
|
proc.c | 6 * This program is free software; you can redistribute it and/or modify 11 * This program is distributed in the hope that it will be useful, 17 * along with this program; if not, write to the Free Software 67 struct pn_info *this; local 71 this = rb_entry(n, struct pn_info, rb_node); 72 if (pid < this->u.pid) 74 else if (pid > this->u.pid) 77 return this->pip; 86 struct pn_info *this; local 90 this = rb_entry(n, struct pn_info, rb_node) 105 struct pn_info *this; local 132 struct pn_info *this; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1GeneralizedTime.java | 82 * The correct format for this is YYYYMMDDHHMMSS[.f]Z, or without the Z 93 this.time = Strings.toByteArray(time); 96 this.getDate(); 116 this.time = Strings.toByteArray(dateF.format(time)); 120 * Base constructor from a java.util.date and Locale - you may need to use this if the default locale 134 this.time = Strings.toByteArray(dateF.format(time)); 140 this.time = bytes; 220 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) 265 d = this.getTime();
|
ASN1UTCTime.java | 17 * This datatype is valid only from 1950-01-01 00:00:00 UTC until 2049-12-31 23:59:59 UTC. 96 * The correct format for this is YYMMDDHHMMSSZ (it used to be that seconds were 99 * the input stream... (this is why the input format is different from the getTime() 108 this.time = Strings.toByteArray(time); 111 this.getDate(); 130 this.time = Strings.toByteArray(dateF.format(time)); 134 * Base constructor from a java.util.date and Locale - you may need to use this if the default locale 148 this.time = Strings.toByteArray(dateF.format(time)); 154 this.time = time; 201 * <b>Note:</b> In some cases, due to the local date processing, this [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeWrapEngine.java | 25 * <li>this is based on a draft, and as such is subject to change - don't use this class for anything requiring long term storage. 26 * <li>if you are using this to wrap triple-des keys you need to set the 71 this.forWrapping = forWrapping; 72 this.engine = new CBCBlockCipher(new DESedeEngine()); 88 this.param = (KeyParameter)param; 90 if (this.forWrapping) 95 this.iv = new byte[8]; 98 this.paramPlusIV = new ParametersWithIV(this.param, this.iv) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
PKCS12BagAttributeCarrierImpl.java | 25 this.pkcs12Attributes = attributes; 26 this.pkcs12Ordering = ordering; 31 this(new Hashtable(), new Vector()); 88 Enumeration e = this.getBagAttributeKeys(); 109 this.pkcs12Attributes = (Hashtable)obj; 110 this.pkcs12Ordering = (Vector)in.readObject(); 120 this.setBagAttribute(oid, aIn.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEDHPrivateKey.java | 47 this.x = key.getX(); 48 this.dhSpec = key.getParams(); 54 this.x = spec.getX(); 55 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); 66 this.info = info; 67 this.x = derX.getValue(); 75 this.dhSpec = new DHParameterSpec(params.getP(), params.getG(), params.getL().intValue()); 79 this.dhSpec = new DHParameterSpec(params.getP(), params.getG()); 86 this.dhSpec = new DHParameterSpec(params.getP().getValue(), params.getG().getValue()); 97 this.x = params.getX() [all...] |
JCEDHPublicKey.java | 36 this.y = spec.getY(); 37 this.dhSpec = new DHParameterSpec(spec.getP(), spec.getG()); 43 this.y = key.getY(); 44 this.dhSpec = key.getParams(); 50 this.y = params.getY(); 51 this.dhSpec = new DHParameterSpec(params.getParameters().getP(), params.getParameters().getG(), params.getParameters().getL()); 58 this.y = y; 59 this.dhSpec = dhSpec; 65 this.info = info; 77 this.y = derY.getValue() [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
GenerateResults.java | 3 * All rights reserved. This program and the accompanying materials 5 * which accompanies this distribution, and is available at 48 * This field is set using <b>-baseline.prefix</b> argument. 59 * This field is set using <b>-output</b> argument. 68 * This field is set using <b>-dataDir</b> argument. 77 * This field is set using <b>-config</b> and/or <b>-config.properties</b> arguments. 92 * <li>if only <b>-config.properties</b> is set, then all configurations defined with this argument are generated 101 * This field is set using <b>-scenarioPattern</b> argument. 103 * Note that this pattern uses SQL conventions, not RegEx ones, 114 * This field is set using <b>-currentPrefix</b> argument [all...] |