Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp144 size_t available = mCapacity - sizeused - 32; in write() local
145 if (available < num) { in write()
146 int32_t newcapacity = mCapacity + (num - available); in write()
172 int32_t available = (mWriteHead - mReadHead); in read() local
173 if (available < 0) available += mCapacity; in read()
175 available -= mBackPadding; in read()
176 if (available <=0) { in read()
179 if (available < int32_t(num)) { in read()
180 num = available; in read()
197 return available; in read()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DByteStream.java88 if (available() > 0) { in peekByte()
102 if (available() > 0) { in getByte()
116 if (available() > 0) { in getUnsignedByte()
133 if (available() >= 2) { in unpackUsbShort()
151 if (available() >= 3) { in unpackUsbTriple()
167 if (available() >= 4) { in unpackUsbInt()
220 public int available() { in available() method in ByteStream
/frameworks/av/media/libnbaio/
DAudioBufferProviderSource.cpp63 size_t available = mBuffer.frameCount - mConsumed; in read() local
64 if (CC_UNLIKELY(count > available)) { in read()
65 count = available; in read()
115 size_t available = mBuffer.frameCount - mConsumed; in readVia() local
116 if (CC_UNLIKELY(count > available)) { in readVia()
117 count = available; in readVia()
/frameworks/base/core/tests/coretests/src/android/util/
DTokenBucketTest.java94 while (tb.available() < 10) { in testRefill()
100 while (tb.available() < 10) { in testRefill()
137 total += tb.get(tb.available()); in testBurst()
146 assertTrue(tb.available() >= n); in getOneByOne()
148 assertTrue(tb.available() >= n - 1); in getOneByOne()
155 assertEquals(0, tb.available()); in assertEmpty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java165 private void dispatchAvailabilityChanged(boolean available) { in dispatchAvailabilityChanged() argument
166 dispatchListeners(DISPATCH_AVAILABILITY_CHANGED, available); in dispatchAvailabilityChanged()
220 private void setCameraAvailable(boolean available) {
223 changed = mTorchAvailable != available;
224 mTorchAvailable = available;
227 if (DEBUG) Log.d(TAG, "dispatchAvailabilityChanged(" + available + ")");
228 dispatchAvailabilityChanged(available);
/frameworks/support/design/src/android/support/design/widget/
DHeaderScrollingViewBehavior.java109 final Rect available = mTempRect1; in layoutChild() local
110 available.set(parent.getPaddingLeft() + lp.leftMargin, in layoutChild()
122 available.left += parentInsets.getSystemWindowInsetLeft(); in layoutChild()
123 available.right -= parentInsets.getSystemWindowInsetRight(); in layoutChild()
128 child.getMeasuredHeight(), available, out, layoutDirection); in layoutChild() local
/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/accessibilityservice/
DAccessibilityButtonController.java170 void dispatchAccessibilityButtonAvailabilityChanged(boolean available) { in dispatchAccessibilityButtonAvailabilityChanged() argument
187 handler.post(() -> callback.onAvailabilityChanged(this, available)); in dispatchAccessibilityButtonAvailabilityChanged()
215 boolean available) { in onAvailabilityChanged() argument
DAccessibilityService.java381 void onAccessibilityButtonAvailabilityChanged(boolean available); in onAccessibilityButtonAvailabilityChanged() argument
1373 private void onAccessibilityButtonAvailabilityChanged(boolean available) { in onAccessibilityButtonAvailabilityChanged() argument
1375 available); in onAccessibilityButtonAvailabilityChanged()
1580 public void onAccessibilityButtonAvailabilityChanged(boolean available) { in onBind() argument
1581 AccessibilityService.this.onAccessibilityButtonAvailabilityChanged(available); in onBind()
1692 public void onAccessibilityButtonAvailabilityChanged(boolean available) {
1694 DO_ACCESSIBILITY_BUTTON_AVAILABILITY_CHANGED, (available ? 1 : 0));
1826 final boolean available = (message.arg1 != 0);
1827 mCallback.onAccessibilityButtonAvailabilityChanged(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/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/native/cmds/installd/
Dotapreopt.rc1 # When /data is available, look for A/B artifacts for the current slot and move them
6 # But now the relabeling is annoying as there is no force option available here. So
/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/services/core/java/com/android/server/
DRecoverySystemService.java83 final boolean available = checkAndWaitForUncryptService(); in uncrypt()
84 if (!available) { in uncrypt()
261 final boolean available = checkAndWaitForUncryptService(); in setupOrClearBcb()
262 if (!available) { in setupOrClearBcb()
/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/base/core/java/android/util/jar/
DStrictJarFile.java376 public int available() throws IOException { in available() method in StrictJarFile.JarFileInputStream
380 return super.available(); in available()
418 @Override public int available() throws IOException { in available() method in StrictJarFile.ZipInflaterInputStream
425 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
450 @Override public int available() throws IOException { in available() method in StrictJarFile.FDStream
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake64 /* Define if the neat program is available */
99 /* Define if dlopen() is available on this platform. */
105 /* Define if the dot program is available */
108 /* Define if the dotty program is available */
126 /* Define if the neat program is available */
132 /* Define if libffi is available on this platform. */
183 /* Define if the Graphviz program is available */
186 /* Define if the gv program is available */
253 /* Define if mallinfo() is available on this platform. */
299 /* Define if the neat program is available */
[all …]
/frameworks/support/compat/java/android/support/v4/util/
DAtomicFile.java179 int avail = stream.available(); in readFully()
191 avail = stream.available(); in readFully()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java96 Context context, ArrayList<String> available, ArrayList<String> active) { in sendTetherStateChanged() argument
98 intent.putExtra(ConnectivityManager.EXTRA_AVAILABLE_TETHER, available); in sendTetherStateChanged()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplay.java60 boolean available, boolean canConnect, boolean remembered) { in WifiDisplay() argument
71 mIsAvailable = available; in WifiDisplay()
/frameworks/native/vulkan/tools/
Dvkinfo.cpp163 bool available = HasExtension(info.extensions, desired_ext); in GatherGpuInfo() local
165 for (size_t i = 0; !available && i < info.layer_extensions.size(); in GatherGpuInfo()
167 available = HasExtension(info.layer_extensions[i], desired_ext); in GatherGpuInfo()
169 if (available) in GatherGpuInfo()
239 bool available = HasExtension(info->extensions, desired_ext); in GatherInfo() local
241 for (size_t i = 0; !available && i < info->layer_extensions.size(); in GatherInfo()
243 available = in GatherInfo()
246 if (available) in GatherInfo()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java154 int avail = stream.available(); in readFully()
166 avail = stream.available(); in readFully()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java114 avail = bufferedStream.available(); in readAndClose()
128 while ((avail = bufferedStream.available()) > 0) { in readAndClose()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorCallback.java44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) { in onMonitoringSystemChange() argument
/frameworks/base/native/android/
Dlibandroid_net.map.txt2 # They are also all available to vendor code.

12345678910>>...12