Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 695) sorted by relevance

12345678910>>...28

/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp107 size_t available = mCapacity - sizeused - 32; in write() local
108 if (available < num) { in write()
109 int32_t newcapacity = mCapacity + (num - available); in write()
135 int32_t available = (mWriteHead - mReadHead); in read() local
136 if (available < 0) available += mCapacity; in read()
138 available -= mBackPadding; in read()
139 if (available <=0) { in read()
142 if (available < int32_t(num)) { in read()
143 num = available; in read()
160 return available; in read()
[all …]
/frameworks/ex/variablespeed/jni/
Dsola_time_scaler.cc186 int SolaTimeScaler::available() { in available() function in video_editing::SolaTimeScaler
189 int available = output_buffer_->available(kOutputConsumer); in available() local
190 if (available > min_output_to_hold_) { in available()
191 available -= min_output_to_hold_; in available()
194 available = output_buffer_->available(kOutputConsumer); in available()
195 if (available > min_output_to_hold_) { in available()
196 available -= min_output_to_hold_; in available()
199 available = 0; in available()
201 return available; in available()
232 num_frames = min(available(), num_frames); in RetrieveSamples()
[all …]
/frameworks/av/media/libnbaio/
DAudioBufferProviderSource.cpp65 size_t available = mBuffer.frameCount - mConsumed; in read() local
66 if (CC_UNLIKELY(count > available)) { in read()
67 count = available; in read()
118 size_t available = mBuffer.frameCount - mConsumed; in readVia() local
119 if (CC_UNLIKELY(count > available)) { in readVia()
120 count = available; in readVia()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java246 private void dispatchAvailabilityChanged(boolean available) { in dispatchAvailabilityChanged() argument
247 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available); in dispatchAvailabilityChanged()
364 private void setCameraAvailable(boolean available) {
367 changed = mCameraAvailable != available;
368 mCameraAvailable = available;
371 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")");
372 dispatchAvailabilityChanged(available);
393 void onFlashlightAvailabilityChanged(boolean available); in onFlashlightAvailabilityChanged() argument
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java75 mStats.get(GPS).available = mLocationManager.isProviderEnabled(GPS); in FusionEngine()
77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK); in FusionEngine()
118 public boolean available; field in FusionEngine.ProviderStats
125 s.append(available ? "AVAILABLE" : "UNAVAILABLE"); in toString()
134 if (stats.available) { in enableProvider()
283 stats.available = true; in onProviderEnabled()
292 stats.available = false; in onProviderDisabled()
/frameworks/base/core/java/android/bluetooth/
DBluetoothInputStream.java39 public int available() throws IOException { in available() method in BluetoothInputStream
40 return mSocket.available(); in available()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java450 int available = w - mPaddingLeft - mPaddingRight;
453 available -= thumbWidth;
456 available += mThumbOffset * 2;
458 final int thumbPos = (int) (scale * available + 0.5f);
470 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos;
634 final int available = width - mPaddingLeft - mPaddingRight;
644 scale = (float)(available - x + mPaddingLeft) / (float)available;
653 scale = (float)(x - mPaddingLeft) / (float)available;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduParser.java243 while (keepParsing && (pduDataStream.available() > 0)) { in parseHeaders()
847 int startPos = pduDataStream.available(); in parseParts()
875 int endPos = pduDataStream.available(); in parseParts()
1363 int startPos = pduDataStream.available(); in parseContentTypeParams()
1408 tempPos = pduDataStream.available(); in parseContentTypeParams()
1432 tempPos = pduDataStream.available(); in parseContentTypeParams()
1476 tempPos = pduDataStream.available(); in parseContentTypeParams()
1495 tempPos = pduDataStream.available(); in parseContentTypeParams()
1543 int startPos = pduDataStream.available(); in parseContentType()
1566 int endPos = pduDataStream.available(); in parseContentType()
[all …]
/frameworks/base/core/java/android/os/storage/
DStorageManager.java91 public void onUsbMassStorageConnectionChanged(boolean available) { in onUsbMassStorageConnectionChanged() argument
94 mListeners.get(i).sendShareAvailabilityChanged(available); in onUsbMassStorageConnectionChanged()
231 public boolean available; field in StorageManager.UmsConnectionChangedStorageEvent
235 available = a; in UmsConnectionChangedStorageEvent()
271 mStorageEventListener.onUsbMassStorageConnectionChanged(ev.available); in ListenerDelegate()
286 void sendShareAvailabilityChanged(boolean available) { in sendShareAvailabilityChanged() argument
287 UmsConnectionChangedStorageEvent e = new UmsConnectionChangedStorageEvent(available); in sendShareAvailabilityChanged()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_inter_prediction.c58 u32 available; member
516 (!a[0].available || !a[1].available || in MvPrediction16x16()
526 if (!a[2].available) in MvPrediction16x16()
601 if (!a[2].available) in MvPrediction16x8()
639 a[1].available = HANTRO_TRUE; in MvPrediction16x8()
708 if (!a[2].available) in MvPrediction8x16()
742 if (!a[2].available) in MvPrediction8x16()
750 a[0].available = HANTRO_TRUE; in MvPrediction8x16()
862 if (!a[2].available) in MvPrediction()
966 n->available = HANTRO_FALSE; in GetInterNeighbour()
[all …]
/frameworks/base/docs/html/tools/help/
Dsdk-manager.jd27 SDK packages that are available, already installed, or for which an update is available.</p>
30 <p>There are several different packages available for the Android SDK. The table below describes
31 most of the available packages and where they're located in your SDK directory
67 a platform version as old as Android 1.6. All of the activity templates available when creating
74 samples packages are available &mdash; one for each Android platform version. When
99 <p>By default, <strong>Available Packages</strong> displays packages available from the
107 available under <em>Third party Add-ons</em>. </p>
118 <p>Any SDK packages available from the site will now be listed under a new item named
/frameworks/base/samples/training/network-usage/
DREADME.txt11 when any network connection is available, or only when a Wi-Fi connection is available.
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp194 GLint available; in getNextGlDuration() local
196 GL_QUERY_RESULT_AVAILABLE_EXT, &available); in getNextGlDuration()
197 if (!available) { in getNextGlDuration()
/frameworks/support/v4/java/android/support/v4/util/
DAtomicFile.java179 int avail = stream.available(); in readFully()
191 avail = stream.available(); in readFully()
/frameworks/base/docs/html/
Dlegal.jd10 <p>Android is an open platform that's freely available to you as an app developer. You can
15 href="http://www.openhandsetalliance.com/">Open Handset Alliance</a>. We've made it available to you
51 documentation content on this web site is made available to you as part of the <a
76 development and debugging. Certain code within the ADT plugin and other packages available
81 <dd>Google Play is a publicly available service through which you can distribute your apps for
82 Android-powered devices. Google Play not only makes your app available to millions of devices, but
121 <p>Any and all other services available for Android but not documented on <a
/frameworks/base/docs/html/training/beam-files/
Dsend-files.jd40 Android Beam file transfer for large files is only available in Android 4.1 (API level 16)
124 Since Android Beam file transfer is only available in Android 4.1 (API level 16) and later,
160 // Flag to indicate that Android Beam is available
166 // NFC isn't available on the device
177 // If Android Beam isn't available, don't continue.
183 // Android Beam file transfer is available, continue
241 // Instance that returns available files from this app
247 // Android Beam file transfer is available, continue
292 Log.e("My Activity", "No File URI available for file.");
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java90 avail = bufferedStream.available(); in readAndClose()
104 while ((avail = bufferedStream.available()) > 0) { in readAndClose()
/frameworks/base/core/java/android/speech/srec/
DUlawEncoderInputStream.java184 public int available() throws IOException { in available() method in UlawEncoderInputStream
185 return (mIn.available() + mBufCount) / 2; in available()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java60 boolean available, boolean canConnect, boolean remembered) { in WifiDisplay() argument
71 mIsAvailable = available; in WifiDisplay()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java264 List<ResolveInfo> available = in findAvailInteractor() local
267 int numAvailable = available.size(); in findAvailInteractor()
277 ServiceInfo cur = available.get(i).serviceInfo; in findAvailInteractor()
334 List<ResolveInfo> available = in findAvailRecognizer() local
337 int numAvailable = available.size(); in findAvailRecognizer()
345 ServiceInfo serviceInfo = available.get(i).serviceInfo; in findAvailRecognizer()
355 ServiceInfo serviceInfo = available.get(0).serviceInfo; in findAvailRecognizer()
/frameworks/base/docs/html/google/play-services/
Dlocation.jd26 …and details are available in the <a href="{@docRoot}reference/com/google/android/gms/location/pack…
47 …<em>Immediately available</em>: Gives your apps immediate access to the best, most recent location.
50 …es your app's use of power. Based on all incoming location requests and available sensors, fused l…
91 post-processing, this API also makes available confidence values for each of the activities.
/frameworks/base/core/java/android/util/
DAtomicFile.java224 int avail = stream.available(); in readFully()
236 avail = stream.available(); in readFully()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java154 int avail = stream.available(); in readFully()
166 avail = stream.available(); in readFully()
/frameworks/base/docs/html/guide/faq/
Dlicensingandoss.jd12 <p>The source code for the full Android stack is available from the <a href="http://source.android.…
14 <p>Other mirrored GPL and LGPL'd components are available at <a href="http://code.google.com/p/andr…
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorCallback.java44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { in onMonitoringSystemChange() argument

12345678910>>...28