/frameworks/base/core/java/android/net/ |
LocalSocketImpl.java | 5 * you may not use this file except in compliance with the License. 68 LocalSocketImpl.this.close(); 116 LocalSocketImpl.this.close(); 221 this.fd = fd; 237 // need this for LocalServerSocket.accept() 268 synchronized (LocalSocketImpl.this) { 294 * Binds this socket to an endpoint name. May only be called on an instance 336 * Retrieves the input stream for this instance. 347 synchronized (this) { 357 * Retrieves the output stream for this instance [all...] |
/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 5 * use this file except in compliance with the License. You may obtain a copy of 35 * This class provides a base class for recognition service implementations. This class should be 37 * implementation of this service is stateless. 48 * This meta-data should reference an XML resource containing a 60 private RecognitionServiceBinder mBinder = new RecognitionServiceBinder(this); 113 RecognitionService.this.onStartListening(intent, mCurrentCallback); 120 Log.i(TAG, "concurrent startListening received - ignoring this call"); 133 RecognitionService.this.onStopListening(mCurrentCallback); 146 RecognitionService.this.onCancel(mCurrentCallback) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | 5 * you may not use this file except in compliance with the License. 61 * <p>A View that displays web pages. This class is the basis upon which you 71 * <p>This must be a child of the <a 82 * to display some HTML as a part of your UI, this is probably fine; 99 * WebView webview = new WebView(this); 106 * // if there is an error loading this page (see below). 112 * // ... although note that there are restrictions on what this HTML can do. 122 * This class is called when something that might impact a 137 * {@link android.webkit.WebView#addJavascriptInterface} method. This 152 * final Activity activity = this; [all...] |
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 5 * you may not use this file except in compliance with the License. 79 this(context, null); 83 this(context, attrs, 0); 87 this(context, attrs, defStyleAttr, 0); 102 setOnClickListener(this); 123 /** This call has no effect anymore, as there is only one QuickContact mode */ 181 * Assign the contact uri that this QuickContactBadge should be associated 182 * with. Note that this is only used for displaying the QuickContact window and 197 * Assign a contact based on an email address. This should only be used when 202 * @param lazyLookup If this is true, the lookup query will not be performe [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 5 * you may not use this file except in compliance with the License. 31 * This class is a container for a Drawable with multiple animated properties. 48 this(drawable, 0.0f, 0.0f); 68 * @param replace if true, replace the current animation with this one. 75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); 79 this.addAnimation(anim, replace); 109 * Adds the given animation to the list of animations for this object. 119 return this; 123 * Draw this object to the canvas using the properties defined in this class [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerService.java | 5 * you may not use this file except in compliance with the License. 116 mHandlerCaller = new HandlerCaller(this, getMainLooper(), 120 mNotificationController = new NotificationController(PrintSpoolerService.this); 128 sInstance = this; 363 // this case we assume the print job failed and let the user 406 File file = generateFileForPrintJob(PrintSpoolerService.this, printJobId); 467 File file = generateFileForPrintJob(PrintSpoolerService.this, printJobId); 497 MetricsLogger.histogram(this, "print_job_state", state); 651 // This has to run on the tread that is persisting the current state 652 // since this call may result in the system unbinding from the spoole [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 5 * you may not use this file except in compliance with the License. 34 * This class is provides the same interface and functionality as android.media.AsyncPlayer 78 synchronized(this) { 110 // is wrong, as we kill this thread whenever a new sound is to be played. This 112 // done playing. This class should be modified to use a single thread, on which 114 player.setOnCompletionListener(NotificationPlayer.this); 124 this.notify(); 137 // This is were we deviate from the AsyncPlayer implementation and create the 213 // doing this check after we're done prevents the case where the [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncOperation.java | 5 * you may not use this file except in compliance with the License. 29 * TODO: This is the class to flesh out with all the scheduling data - metered/unmetered, 63 /** Identifying info for the target for this operation. */ 65 /** Why this sync was kicked off. {@link #REASON_NAMES} */ 67 /** Where this sync was initiated. */ 74 /** Bare-bones version of this operation that is persisted across reboots. */ 76 /** Elapsed real time in millis at which to run this sync. */ 83 * Elapsed real time in millis when this sync will be run. 87 /** Amount of time before {@link #effectiveRunTime} from which this sync can run. */ 90 /** Descriptive string key for this operation * [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
RadialTextsView.java | 5 * you may not use this file except in compliance with the License. 85 Log.e(TAG, "This RadialTextsView may only be initialized once."); 306 this, radiusDisappear, fadeOut).setDuration(duration); 331 this, radiusReappear, fadeIn).setDuration(totalDuration); 356 RadialTextsView.this.invalidate();
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
BlasBenchmark.java | 5 * you may not use this file except in compliance with the License. 56 // In demo mode this is used to count updates in the pipeline. It's 114 // Send our RS message handler a message so we know when this work has completed 142 // this is to let any power management do its job and respond 158 synchronized(this) { 202 // Send our RS message handler a message so we know when this work has completed 212 synchronized(this) { 217 this.join(); 236 tb.createBaseTest(this); 248 TextView textView = new TextView(this); [all...] |
/libcore/libart/src/main/java/java/lang/ |
ThreadGroup.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 28 * This class is obsolete. See <i>Effective Java</i> Item 73, "Avoid thread groups" for details. 33 // Name of this ThreadGroup 34 // VM needs this field name for debugging. 37 // Maximum priority for Threads inside this ThreadGroup 40 // The ThreadGroup to which this ThreadGroup belongs 41 // VM needs this field name for debugging. 45 * Weak references to the threads in this group [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.java | 5 * you may not use this file except in compliance with the License. 43 * <p>Iterators of this list never throw {@link 45 * copy of the list's contents. It is always safe to iterate this list, but 48 * <p>Iterators returned by this list and its sub lists cannot modify the 53 * <p>This class offers extended API beyond the {@link List} interface. It 63 * Holds the latest snapshot of the list's data. This field is volatile so 65 * writes to this field must be atomic; it is an error to modify the 66 * contents of an array after it has been assigned to this field. 68 * Synchronization is required by all update operations. This defends 73 * Maintainers should be careful to read this field only once i [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMonitorTest.java | 5 * you may not use this file except in compliance with the License. 28 synchronized (this) { 51 synchronized (this) { 69 synchronized (this) { 87 synchronized (this) { 110 this.waiter = waiter; 198 synchronized (this) { 206 this.wait(); 218 synchronized (this) { 226 this.wait(1000) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.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 54 this.sleepTime = sleepTime; 55 this.iterations = iterations; 59 synchronized (this) { 60 this.notify();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
ObexServerSockets.java | 4 * you may not use this file except in compliance with the License. 39 * A reference to an object of this type cannot be reused, and the {@link BluetoothServerSocket} 40 * object references passed to this object will be closed by this object, hence cannot be reused 41 * either (This is needed, as the only way to interrupt an accept call is to close the socket...) 128 // Need to break out of this loop if BT is being turned off. 158 * Returns the channel number assigned to the RFCOMM socket. This will be a static value, that 167 * Returns the channel number assigned to the L2CAP socket. This will be a static value, that 202 * This is the entry point that needs to synchronize between the accept 212 mConAccepted = true; // TODO: Reset this when ready to accept new connectio [all...] |
/packages/apps/Browser/src/com/android/browser/ |
CrashRecoveryHandler.java | 5 * you may not use this file except in compliance with the License. 42 /* This is the duration for which we will prompt to restore 100 synchronized (CrashRecoveryHandler.this) { 103 CrashRecoveryHandler.this.notifyAll(); 192 synchronized (CrashRecoveryHandler.this) { 195 CrashRecoveryHandler.this.wait(); 209 synchronized (CrashRecoveryHandler.this) {
|
/packages/apps/Camera2/src/com/android/camera/ |
MultiToggleImageButton.java | 5 * you may not use this file except in compliance with the License. 108 * all the operations required to change the state of the button. This 154 mOnStatePreChangeListener.stateChanged(MultiToggleImageButton.this, mState); 210 * Enable or disable click reactions for this button 239 mOnStateChangeListener.stateChanged(MultiToggleImageButton.this, getState()); 252 this.setOnClickListener(new View.OnClickListener() { 298 * Override the image ids of this button. 320 * Override the content descriptions of this button. 339 * this button. Used for offset calculations during animation.
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategoryAdapter.java | 5 * you may not use this file except in compliance with the License. 49 this(context, 0); 72 action.setAdapter(this); 98 view.setAction(action, this); 229 this.notifyDataSetChanged();
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 5 * you may not use this file except in compliance with the License. 33 * This class is provides the same interface and functionality as android.media.AsyncPlayer 38 * This file has been copied from com.android.server.NotificationPlayer. The only modification is 40 * all the functionality in this class, at which point this one can be deleted. 84 synchronized (this) { 101 player.setOnCompletionListener(NotificationPlayer.this); 111 this.notify(); 126 // This is were we deviate from the AsyncPlayer implementation and create the 208 // doing this check after we're done prevents the case where the [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionServiceSystemTest.java | 5 * you may not use this file except in compliance with the License. 94 final TestChatActionMonitor monitor = new TestChatActionMonitor(null, tracker, this, this); 147 final TestChatActionMonitor monitor = new TestChatActionMonitor(null, tracker, this, this); 236 final TestChatActionMonitor monitor = new TestChatActionMonitor(null, tracker, this, this); 293 mContext = new FakeContext(getContext(), this); 312 this.startService(intent); 317 this.getService().onStartCommand(intent, flags, startId) [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryEntry.java | 5 * you may not use this file except in compliance with the License. 131 this.context = context; 132 this.sipper = sipper; 192 if ((name == null || iconId == 0) && this.sipper.uidObj != null) { 193 getQuickNameIconForUid(this.sipper.uidObj.getUid()); 233 mRequestQueue.add(this); 284 // Look for an official name for this UID. 328 sHandler.sendMessage(sHandler.obtainMessage(MSG_UPDATE_NAME_ICON, this));
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSource.java | 5 * you may not use this file except in compliance with the License. 46 // This should be large enough for BitmapFactory to decode the header so 61 return PhotoSource.this.getStream(this, longSide); 64 return PhotoSource.this.naturalNext(this); 67 return PhotoSource.this.naturalPrevious(this); 70 PhotoSource.this.donePaging(this); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToUnknownStream.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. 40 *This class wraps another SerializationHandler. The wrapped object will either 45 * This class effectively caches the first few calls to it then passes them 49 * The user of this class doesn't know if the output is ultimatley XML or HTML. 51 * This class is not a public API, it is public because it is used within Xalan. 136 * Initially this object wraps an XML Stream object, so _handler is never null. 155 return this; 263 * @param XSLAttribute true if this attribute is coming from an xsl:attribute elemen [all...] |
/external/bison/ |
maint.mk | 2 # This Makefile fragment tries to be general-purpose enough to be 7 ## This program is free software: you can redistribute it and/or modify 12 ## This program is distributed in the hope that it will be useful, 18 ## along with this program. If not, see <http://www.gnu.org/licenses/>. 20 # This is reported not to work with make-3.79.1 65 # You can override this variable in cfg.mk to set your own regexp 69 # This is to preprocess robustly the output of $(VC_LIST), so that even 83 # (i.e., with no $(srcdir) prefix), this definition is careful to 103 this-vc-tag = v$(VERSION) 104 this-vc-tag-regexp = v$(VERSION_REGEXP [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
Camera.java | 10 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer in the 17 * may be used to endorse or promote products derived from this software 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 77 * of this camera's view frustum. 163 * Percent value on display where horizontal viewing starts for this camera. 168 * Percent value on display where horizontal viewing ends for this camera. 173 * Percent value on display where vertical viewing ends for this camera. 178 * Percent value on display where vertical viewing begins for this camera [all...] |