/system/media/opensles/libopensles/ |
IMIDIMessage.c | 5 * you may not use this file except in compliance with the License. 30 //IMIDIMessage *this = (IMIDIMessage *) self; 43 IMIDIMessage *this = (IMIDIMessage *) self; local 44 interface_lock_exclusive(this); 45 this->mMetaEventCallback = callback; 46 this->mMetaEventContext = pContext; 47 interface_unlock_exclusive(this); 59 IMIDIMessage *this = (IMIDIMessage *) self; local 60 interface_lock_exclusive(this); 61 this->mMessageCallback = callback 85 IMIDIMessage *this = (IMIDIMessage *) self; local 105 IMIDIMessage *this = (IMIDIMessage *) self; local 125 IMIDIMessage *this = (IMIDIMessage *) self; local [all...] |
IMIDITempo.c | 5 * you may not use this file except in compliance with the License. 29 IMIDITempo *this = (IMIDITempo *) self; local 30 interface_lock_poke(this); 31 this->mTicksPerQuarterNote = tpqn; 32 interface_unlock_poke(this); 47 IMIDITempo *this = (IMIDITempo *) self; local 48 interface_lock_peek(this); 49 SLuint32 ticksPerQuarterNote = this->mTicksPerQuarterNote; 50 interface_unlock_peek(this); 67 IMIDITempo *this = (IMIDITempo *) self local 85 IMIDITempo *this = (IMIDITempo *) self; local 106 IMIDITempo *this = (IMIDITempo *) self; local [all...] |
IPitch.c | 5 * you may not use this file except in compliance with the License. 26 IPitch *this = (IPitch *) self; local 28 if (!(this->mMinPitch <= pitch && pitch <= this->mMaxPitch)) { 31 interface_lock_poke(this); 32 this->mPitch = pitch; 33 interface_unlock_poke(this); 48 IPitch *this = (IPitch *) self; local 49 interface_lock_peek(this); 50 SLpermille pitch = this->mPitch 70 IPitch *this = (IPitch *) self; local 92 IPitch *this = (IPitch *) self; local [all...] |
IPresetReverb.c | 5 * you may not use this file except in compliance with the License. 23 * returns true if this interface is not associated with an initialized PresetReverb effect 34 IPresetReverb *this = (IPresetReverb *) self; local 43 interface_lock_poke(this); 44 this->mPreset = preset; 48 if (NO_PRESETREVERB(this)) { 51 android::status_t status = android_prev_setPreset(this->mPresetReverbEffect, preset); 55 interface_unlock_poke(this); 72 IPresetReverb *this = (IPresetReverb *) self; local 73 interface_lock_peek(this); 100 IPresetReverb *this = (IPresetReverb *) self; local 113 IPresetReverb *this = (IPresetReverb *) self; local 122 IPresetReverb *this = (IPresetReverb *) self; local [all...] |
IRatePitch.c | 5 * you may not use this file except in compliance with the License. 26 IRatePitch *this = (IRatePitch *) self; local 27 if (!(this->mMinRate <= rate && rate <= this->mMaxRate)) { 30 interface_lock_poke(this); 31 this->mRate = rate; 32 interface_unlock_poke(this); 47 IRatePitch *this = (IRatePitch *) self; local 48 interface_lock_peek(this); 49 SLpermille rate = this->mRate 69 IRatePitch *this = (IRatePitch *) self; local 91 IRatePitch *this = (IRatePitch *) self; local [all...] |
ISeek.c | 5 * you may not use this file except in compliance with the License. 34 ISeek *this = (ISeek *) self; local 35 interface_lock_exclusive(this); 36 this->mPos = pos; 37 // at this point the seek is merely pending, so do not yet update other fields 38 interface_unlock_exclusive_attributes(this, ATTR_POSITION); 59 ISeek *this = (ISeek *) self; local 60 interface_lock_exclusive(this); 65 this->mLoopEnabled = SL_BOOLEAN_FALSE != loopEnable; // normalize 67 /*this->mStartPos = 0 96 ISeek *this = (ISeek *) self; local 120 ISeek *this = (ISeek *) self; local [all...] |
sync.c | 5 * you may not use this file except in compliance with the License. 30 CEngine *this = (CEngine *) arg; local 37 object_lock_exclusive(&this->mObject); 38 if (this->mEngine.mShutdown) { 39 this->mEngine.mShutdownAck = SL_BOOLEAN_TRUE; 40 // broadcast not signal, because this condition is also used for other purposes 41 object_cond_broadcast(&this->mObject); 42 object_unlock_exclusive(&this->mObject); 45 if (this->m3DCommit.mWaiting) { 46 this->m3DCommit.mWaiting = 0 [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityOutputStream.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 63 this.out = out; 72 if (!this.closed) { 73 this.closed = true; 74 this.out.flush(); 79 this.out.flush(); 83 if (this.closed) [all...] |
AbstractSessionOutputBuffer.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 76 this.outstream = outstream; 77 this.buffer = new ByteArrayBuffer(buffersize); 78 this.charset = HttpProtocolParams.getHttpElementCharset(params); 79 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) 80 || this.charset.equalsIgnoreCase(HTTP.ASCII) [all...] |
ContentLengthOutputStream.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 84 this.out = out; 85 this.contentLength = contentLength; 94 if (!this.closed) { 95 this.closed = true; 96 this.out.flush(); 101 this.out.flush() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
PriorityParser.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 77 this.lexer.SPorHT(); 78 /*this.lexer.match(TokenTypes.ID); 83 // This is in violation of the RFC but 85 priority.setPriority(this.lexer.ttokenSafe()); 87 this.lexer.SPorHT(); 88 this.lexer.match('\n') [all...] |
Pipeline.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 64 this.pipeline = pipeline; 68 if (this.isCancelled) 80 this.isCancelled = true; 95 this.length = length; 96 this.bytes = bytes; 107 if (this.readTimeout == -1 [all...] |
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/ |
DTMTreeWalker.java | 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 31 * This class does a pre-order walk of the DTM tree, calling a ContentHandler 35 * I think normally this class should not be needed, because 45 /** DomHelper for this TreeWalker */ 93 this.m_contentHandler = contentHandler; 108 // %REVIEW% Why isn't this just traverse(pos,pos)? 110 int top = pos; // Remember the root of this subtree 131 // %REVIEW% This condition isn't tested in traverse(pos,top [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.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 62 this.inTransportMetric = inTransportMetric; 63 this.outTransportMetric = outTransportMetric; 69 if (this.inTransportMetric != null) { 70 return this.inTransportMetric.getBytesTransferred(); 77 if (this.outTransportMetric != null) { 78 return this.outTransportMetric.getBytesTransferred() [all...] |
SocketHttpClientConnection.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 68 if (this.open) { 74 if (!this.open) { 102 this.socket = socket; 111 this.open = true; 115 return this.open; 119 return this.socket [all...] |
SocketHttpServerConnection.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 68 if (this.open) { 74 if (!this.open) { 100 this.socket = socket; 109 this.open = true; 113 return this.socket; 117 return this.open [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.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 77 /** The route for which this entry gets allocated. */ 93 * @param connOperator the Connection Operator for this entry 103 this.connOperator = connOperator; 104 this.connection = connOperator.createConnection(); 105 this.route = route; 106 this.tracker = null [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.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 65 this.localAddr1 = new InetSocketAddress("127.0.0.1", 67 this.channel1 = SocketChannel.open(); 68 this.channel2 = SocketChannel.open(); 69 this.server1 = new ServerSocket(localAddr1.getPort()); 74 if (null != this.channel1) { 76 this.channel1.close(); 81 if (null != this.channel2) [all...] |
/libcore/support/src/test/java/tests/util/ |
CallVerificationStack.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 83 if (!eles[i].getClassName().equals(this.getClass().getName())) { 87 this.callStack.push(eles[i]); 96 return this.callStack.peek().getClassName(); 105 return this.callStack.peek().getMethodName(); 114 this.callStack.clear(); 125 * Pushes a boolean onto the top of this stack. 131 this.push(new BaseTypeWrapper(val)) [all...] |
/external/apache-http/src/org/apache/http/conn/params/ |
ConnPerRouteBean.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 39 * This class maintains a map of HTTP routes to maximum number of connections allowed 40 * for those routes. This class can be used by pooling 61 this.maxPerHostMap = new HashMap<HttpRoute, Integer>(); 66 this(DEFAULT_MAX_CONNECTIONS_PER_ROUTE); 70 return this.defaultMax; 78 this.defaultMax = max [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
WaitingThread.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 40 * This class implements throwaway objects. It is instantiated whenever 46 * Instances of this class do <i>not</i> synchronize access! 62 /** True if this was interrupted. */ 79 this.cond = cond; 80 this.pool = pool; 91 return this.cond [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.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 58 this.handlerMap = new HashMap(); 68 this.handlerMap.put(pattern, handler); 75 this.handlerMap.remove(pattern); 82 this.handlerMap.clear(); 83 this.handlerMap.putAll(map); 97 Object handler = this.handlerMap.get(requestURI) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PAssertedService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 56 if(this.subServiceIds!=null) 60 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
PPreferredService.java | 5 * This software was developed by employees of the National Institute of 12 * This software is provided by NIST as a service and is expressly 21 * Permission to use this software is contingent upon your acceptance 22 * of the terms of this agreement 55 if(this.subServiceIds!=null) 59 retval.append(this.getSubserviceIdentifiers()); 63 else if(this.subAppIds!=null) 66 retval.append(this.getApplicationIdentifiers()); 78 if(this.subAppIds.charAt(0)=='.') 80 return this.subAppIds.substring(1) [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProviderInfo.java | 5 * you may not use this file except in compliance with the License. 24 * Describes the meta data for an installed AppWidget provider. The fields in this class 29 * Identity of this AppWidget component. This component should be a {@link 33 * <p>This field corresponds to the <code>android:name</code> attribute in 41 * <p>This field corresponds to the <code>android:minWidth</code> attribute in 49 * <p>This field corresponds to the <code>android:minHeight</code> attribute in 55 * How often, in milliseconds, that this AppWidget wants to be updated. 58 * <p>This field corresponds to the <code>android:updatePeriodMillis</code> attribute in 67 * The resource id of the initial layout for this AppWidget. This should b [all...] |