/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
AbstractFakeFileSystem.java | 5 * you may not use this file except in compliance with the License.
39 * exception if its parent directory does not exist. This value defaults to <code>true</code>.
43 * filesystem-specific manner. This property must be initialized by concrete subclasses.
56 * does not exist. This value defaults to <code>true</code>.
62 * method. This must be initialized by concrete subclasses.
77 this.createParentDirectoriesAutomatically = createParentDirectoriesAutomatically;
85 this.directoryListingFormatter = directoryListingFormatter;
89 * Add each of the entries in the specified List to this filesystem. Note that this does not affect
90 * entries already existing within this filesystem. [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/ |
DefaultSession.java | 5 * you may not use this file except in compliance with the License.
90 this.controlSocket = controlSocket;
91 this.commandHandlers = commandHandlers;
92 this.serverHost = controlSocket.getLocalAddress();
96 * Return the InetAddress representing the client host for this session
107 * Return the InetAddress representing the server host for this session
344 this.clientHost = clientHost;
351 this.clientDataPort = dataPort;
356 this.passiveModeDataSocket.close();
379 connectCommandHandler.handleCommand(new Command(CommandNames.CONNECT, new String[0]), this);
[all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
SimpleWebServer.java | 74 + "this list of conditions and the following disclaimer. Redistributions in\n" 75 + "binary form must reproduce the above copyright notice, this list of\n" 78 + "be used to endorse or promote products derived from this software without\n" 81 + "THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n" 90 + "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."; 97 this.quiet = quiet; 98 this.rootDirs = new ArrayList<File>(); 99 this.rootDirs.add(wwwroot); 101 this.init(); 106 this.quiet = quiet [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageChannel.java | 4 * This software was developed by employees of the National Institute of 11 * This software is provided by NIST as a service and is expressly 20 * Permission to use this software is contingent upon your acceptance 21 * of the terms of this agreement 67 * flag be added to this. Niklas Uhrberg suggested that thread pooling support 68 * be added to this for performance and resource management. Peter Parnes found 69 * a bug with this code that was sending it into an infinite loop when a bad 81 * This is the UDP Message handler that gets created when a UDP message needs to 84 * is handed off via a SIP stack request for further processing. This stack 100 * SIP Stack structure for this channel [all...] |
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/ |
MigratorFrame.java | 6 * a copy of this software and associated documentation files (the 13 * The above copyright notice and this permission notice shall be 50 * This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI 56 * PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR 103 this.setTitle("SLF4J migrator"); 109 this.setSize(700, 400); 142 layoutManager.putConstraint(SpringLayout.WEST, migrationLabel, BASIC_PADDING, SpringLayout.EAST, this); 144 layoutManager.putConstraint(SpringLayout.NORTH, migrationLabel, BASIC_PADDING, SpringLayout.NORTH, this); 202 radioJCL.setToolTipText("Select this button if you wish to migrate a Java project using Jakarta Commons Logging to use SLF4J.") [all...] |
/external/svox/pico/lib/ |
picorsrc.c | 5 * you may not use this file except in compliance with the License. 66 picoos_int8 lockCount; /* count of current subscribers of this resource */ 86 * Returns non-zero if 'this' is a valid resource handle, zero otherwise. 88 picoos_int16 picoctrl_isValidResourceHandle(picorsrc_Resource this) 90 return (this != NULL) && CHECK_MAGIC_NUMBER(this); 96 picorsrc_Resource this = picoos_allocate(mm, sizeof(*this)); local 97 if (NULL != this) { 98 SET_MAGIC_NUMBER(this); 146 picorsrc_Voice this = (picorsrc_Voice) picoos_allocate(mm,sizeof(*this)); local 180 picorsrc_VoiceDefinition this = (picorsrc_VoiceDefinition) picoos_allocate(mm,sizeof(*this)); local 230 picorsrc_ResourceManager this = picoos_allocate(mm,sizeof(*this)); local [all...] |
picosa.c | 5 * you may not use this file except in compliance with the License. 153 all but the first will be treated as an (empty) phrase containing just this item. 154 If this (single) item is a flush, creation of SBEG is suppressed. 245 static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) { 255 if (NULL == this || NULL == this->subObj) { 256 return picoos_emRaiseException(this->common->em, 259 sa = (sa_subobj_t *) this->subObj; 261 /* sa->common = this->common; */ 305 fst = picokfst_getFST(this->voice->kbArray[fstKbIds[i]]) 448 picodata_ProcessingUnit this; local [all...] |
picosig.c | 5 * you may not use this file except in compliance with the License. 57 static picodata_step_result_t sigStep(register picodata_ProcessingUnit this, 92 /*-----------------------Definition of the local storage for this PU--------*/ 111 * @param this : sig PU object 117 static pico_status_t sigInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) 120 if (NULL == this || NULL == this->subObj) { 123 sig_subObj = (sig_subobj_t *) this->subObj; 153 this->voice->kbArray[PICOKNOW_KBID_PDF_MGC]); 155 this->voice->kbArray[PICOKNOW_KBID_PDF_LFZ]) 263 picodata_ProcessingUnit this = picodata_newProcessingUnit(mm, common, cbIn, local [all...] |
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | 5 * you may not use this file except in compliance with the License. 67 * There are two flavors of this widget and which one is presented to the user 90 * For an example of using this widget, see {@link android.widget.TimePicker}. 159 * way to do this; it avoids creating temporary objects on every call to 230 * The min height of this widget. 235 * The max height of this widget. 240 * The max width of this widget. 245 * The max width of this widget. 280 * Current value of this NumberPicker 416 * Flag whether this widget has a selector wheel [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
BroadcastTest.java | 5 * you may not use this file except in compliance with the License. 120 synchronized (this) { 227 //System.out.println("Receive in: " + this + ": " + intent); 265 synchronized (BroadcastTest.this) { 267 BroadcastTest.this.notifyAll(); 275 synchronized (this) {
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialSelectorView.java | 5 * you may not use this file except in compliance with the License. 35 * View to show what number is selected. This will draw a blue circle over the number, with a blue 82 * Initialize this selector with the state of the picker. 97 Log.e(TAG, "This RadialSelectorView may only be initialized once."); 345 this, radiusDisappear, fadeOut).setDuration(duration); 361 // The time points are half of what they would normally be, because this animation is 384 this, radiusReappear, fadeIn).setDuration(totalDuration); 395 RadialSelectorView.this.invalidate();
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipAudioCall.java | 5 * you may not use this file except in compliance with the License. 35 * Handles an Internet audio call over SIP. You can instantiate this class with {@link SipManager}, 39 * <p class="note"><strong>Note:</strong> Using this class require the 154 * @param errorCode error code of this error 166 * not re-directed to this callback and are handled in {@link #onError}. 210 * @param listener to listen to the audio call events of this object 220 * calls to this method override the previous listener. 222 * @param listener to listen to the audio call events of this object 233 listener.onError(this, mErrorCode, mErrorMessage); 236 listener.onCallHeld(this); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ImsSMSDispatcher.java | 5 * you may not use this file except in compliance with the License. 60 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this); 65 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler); 70 mCi.registerForOn(this, EVENT_RADIO_ON, null); 71 mCi.registerForImsNetworkStateChanged(this, EVENT_IMS_STATE_CHANGED, null); 86 mCi.unregisterForOn(this); 87 mCi.unregisterForImsNetworkStateChanged(this); 106 mCi.getImsRegistrationState(this.obtainMessage(EVENT_IMS_STATE_DONE)); 195 // This function should be defined in Gsm/CdmaDispatcher. 295 // figure out from tracker if this was sendText/Dat [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
ImageProcessingTest.java | 5 * you may not use this file except in compliance with the License. 73 synchronized(this) { 74 this.notify();
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
ImageProcessingTest.java | 5 * you may not use this file except in compliance with the License. 88 synchronized(this) { 89 this.notify();
|
/frameworks/volley/src/main/java/com/android/volley/ |
Request.java | 5 * you may not use this file except in compliance with the License. 36 * @param <T> The type of parsed response this request expects. 60 /** An event log tracing the lifetime of this request; for debugging. */ 64 * Request method of this request. Currently supports GET, POST, PUT, DELETE, HEAD, OPTIONS, 69 /** URL of this request. */ 78 /** Sequence number of this request, used to enforce FIFO ordering. */ 81 /** The request queue this request is associated with. */ 84 /** Whether or not responses to this request should be cached. */ 87 /** Whether or not this request has been canceled. */ 90 /** Whether or not a response has been delivered for this request yet. * [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInt.java | 5 * you may not use this file except in compliance with the License. 20 * In contrast to BigIntegers this class doesn't fake two's complement representation. 31 if (this.bignum != 0) { 32 NativeBN.BN_free(this.bignum); 33 this.bignum = 0; 42 return this.decString(); 46 return this.bignum; 50 if (this.bignum == 0) { 51 this.bignum = NativeBN.BN_new(); 68 this.makeValid() [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 33 synchronized (this) { 34 this.notify(); 35 this.wait(delay); 90 boolean b = Thread.holdsLock(this); 95 boolean b = Thread.holdsLock(this); 152 // We expect this one. 291 this.isDoYield = isDoYield [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransfer.java | 10 * this list of conditions and the following disclaimer. 13 * this list of conditions and the following disclaimer in the documentation 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 67 * This class run an actual Opp transfer session (from connect target device to 116 mBatch.registerListern(this); 122 this(context, powerManager, batch, null); 287 synchronized (this) { 431 * TODO catch this erro [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertActivity.java | 5 * you may not use this file except in compliance with the License. 51 * This activity is started by an intent that specifies an event id. 180 AlertActivity alertActivity = AlertActivity.this; 187 // Mark this alarm as DISMISSED 193 Intent eventIntent = AlertUtils.buildEventViewIntent(AlertActivity.this, eventId, 197 TaskStackBuilder.create(AlertActivity.this).addParentStack(EventInfoActivity.class) 214 mQueryHandler = new QueryHandler(this); 215 mAdapter = new AlertAdapter(this, R.layout.alert_item); 223 mDismissAllButton.setOnClickListener(this); 249 AlertActivity.this.finish() [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
FilmstripLayout.java | 5 * you may not use this file except in compliance with the License. 52 * If the fling velocity exceeds this threshold, open filmstrip at a constant 69 // We use this to record the current translation position instead of using 148 FilmstripLayout.this.invalidate(); 237 // TODO: Remove this after the touch flow refactor is done in 347 FilmstripLayout.this.onSwipeOutBegin(); 372 // This will only happen once since when this condition holds
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
CompactContactEditorFragment.java | 5 * you may not use this file except in compliance with the License. 124 PhotoSourceDialogFragment.show(CompactContactEditorFragment.this, mPhotoMode); 137 CompactContactEditorFragment.this.startActivityForResult(intent, requestCode); 210 editorView.setListener(this); 353 // Determine if this is an insert (new contact) or edit
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactDelta.java | 5 * you may not use this file except in compliance with the License. 47 * One benefit of this approach is that we can build changes entirely on an 101 * "before" state represented by this {@link RawContactDelta}, discarding any 102 * existing "after" states. This is typically used when re-parenting changes 209 * Return the AccountType that this raw-contact belongs to. 357 * Mark this entire object deleted, including any {@link ValuesDelta}. 360 this.mValues.markDeleted(); 400 * "before" state hasn't changed. This is maintained separately so that all 421 * current "before" {@link Entity} state into the modified state which this 508 // Nothing special about this parce [all...] |
ValuesDelta.java | 5 * you may not use this file except in compliance with the License. 36 * modified version of that state. This allows us to build insert, update, 47 * operation through {@link #fromAfter(android.content.ContentValues)}. This is used so 48 * we can concretely reference this {@link ValuesDelta} before it has 286 * Return set of all keys defined through this object. 328 * discarding any existing "after" state. This is typically used when 354 return this.subsetEquals(other) && other.subsetEquals(this); 377 for (String key : this.keySet()) { 380 builder.append(this.getAsString(key)) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 5 * you may not use this file except in compliance with the License. 48 * In the future this may be inflated from XML defined by a data source. 65 * case resources are stored in this package itself. 88 * Set of {@link DataKind} supported by this source. 110 * Whether this account type was able to be fully initialized. This may be false if 118 * @return Whether this type is an "embedded" type. i.e. any of {@link FallbackAccountType}, 134 * @return True if contacts can be created and edited using this app. If false, 175 * This allows the sync adapter to provide more up-to-date information. 185 * TODO This is way too hacky should be removed [all...] |