Searched refs:valid (Results 1 - 25 of 63) sorted by path

123

/frameworks/av/include/common_time/
H A DICommonClock.h72 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) = 0;
H A Dcc_helper.h48 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
/frameworks/av/media/common_time/
H A DICommonClock.cpp54 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) { argument
63 *valid = reply.readInt32();
244 bool valid; local
246 status_t status = isCommonTimeValid(&valid, &timelineID);
249 reply->writeInt32(valid);
H A Dcc_helper.cpp114 CCHELPER_METHOD(isCommonTimeValid(bool* valid, uint32_t* timelineID),
115 isCommonTimeValid(valid, timelineID))
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp602 ; // a valid mPosLoop should be available if ackDone is true.
890 bool valid = false; local
895 valid = true;
904 valid = true;
907 if (!valid || position > mFrameCount) {
/frameworks/av/media/libstagefright/
H A DMP3Extractor.cpp64 // out, even if there _were_ 10 bytes of valid mp3 audio data...
94 bool valid = false; local
160 // We found what looks like a valid frame,
165 valid = true;
169 valid = false;
178 valid = false;
185 valid = false;
194 if (valid) {
201 ALOGV("no dice, no valid sequence of frames found.");
207 } while (!valid);
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.cpp203 // Resync to next valid MP3 frame in the file.
218 // out, even if there _were_ 10 bytes of valid mp3 audio data...
242 bool valid = false; local
304 // We found what looks like a valid frame,
309 valid = true;
315 valid = false;
322 valid = false;
328 valid = false;
335 if (valid) {
346 } while (!valid);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s41 ; * to by *ppBitStream. *pBitOffset is valid within
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s41 ; * to by *ppBitStream. *pBitOffset is valid within
/frameworks/av/services/audioflinger/
H A DThreads.cpp351 bool valid = mCpuUsage.sampleAndEnable(wcNs); local
354 if (valid) {
369 valid = false;
373 if (valid && mCpukHz > 0) {
2211 LOG_ALWAYS_FATAL("HAL channel mask %#x not valid for output", mChannelMask);
2226 LOG_ALWAYS_FATAL("HAL format %#x not valid for output", mFormat);
2276 // (if a valid mask) to avoid premature downmix.
2346 mMixerBufferFormat = AUDIO_FORMAT_PCM_FLOAT; // also valid: AUDIO_FORMAT_PCM_16_BIT.
2895 // We keep track of the last valid kernel position in case we are in underrun
2913 ALOGV("getTimestamp error - no valid kerne
6840 const bool valid = local
[all...]
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java70 boolean valid = false;
108 valid = true;
114 valid = true;
125 valid = true;
133 valid = false;
136 if (valid) {
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java223 public void onValidationChanged(boolean valid) {
226 positive.setEnabled(valid);
/frameworks/base/core/java/android/hardware/display/
H A DDisplayViewport.java32 // True if this viewport is valid.
33 public boolean valid; field in class:DisplayViewport
56 valid = viewport.valid;
68 return "DisplayViewport{valid=" + valid
/frameworks/base/core/java/android/os/
H A DEnvironment.java186 * @deprecated This directory is valid and still exists, but callers should
204 * @deprecated This directory is valid and still exists, but callers should
550 for (String valid : STANDARD_DIRECTORIES) {
551 if (valid.equals(dir)) {
798 * @throws IllegalArgumentException if the path is not a valid storage
842 * @throws IllegalArgumentException if the path is not a valid storage
H A DMemoryFile.java98 * will fail, but {@link #getFileDescriptor()} will still return a valid file descriptor.
124 return !mFD.valid();
253 * @throws IOException If <code>fd</code> is not a valid file descriptor.
/frameworks/base/core/java/android/widget/
H A DDatePicker.java245 * Sets the callback that indicates the current date is valid.
517 protected void onValidationChanged(boolean valid) { argument
519 mValidationCallback.onValidationChanged(valid);
643 void onValidationChanged(boolean valid); argument
H A DGridLayout.java134 * the corresponding value in any other valid solution.
187 * intended to avoid confusion between valid values whose sign may not be known.
1386 // its just to stop default (row/col > 0) constraints obliterating valid entries
1522 if (!entry.valid) {
1570 if (!arc.valid) {
1646 arc.valid = false;
2218 public boolean valid = true; field in class:GridLayout.Arc
2227 return span + " " + (!valid ? "+>" : "->") + " " + value;
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp387 bool valid() { function in class:LocalScopedBitmap
388 return mBitmap && mBitmap->valid();
856 if (!bitmap.valid()) {
1341 // those 2 bitmaps should be valid (only unrecognized), we return JNI_FALSE
1359 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr;
H A DBitmap.h70 bool valid() const { return mPixelStorageType != PixelStorageType::Invalid; } function in class:android::Bitmap
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp142 if (icuLocale.valid()) {
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkTest.java45 assertFalse(fd.valid());
60 assertTrue(fis.getFD().valid());
84 assertTrue(mLocalClient.getFileDescriptor().valid());
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java40 assertTrue("Got invalid FileDescriptor", fd.valid());
/frameworks/base/libs/common_time/
H A Dcommon_clock_service.cpp41 status_t CommonClockService::isCommonTimeValid(bool* valid, argument
43 return mTimeServer.isCommonTimeValid(valid, timelineID);
H A Dcommon_clock_service.h34 virtual status_t isCommonTimeValid(bool* valid, uint32_t *timelineID);
H A Dcommon_time_server.h56 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
235 // network synchronization whenever it has a valid network interface to bind
237 // will only participate in network synchronization when it has both a valid
249 bool mBindIfaceValid; // whether or not the bind Iface is valid.
250 bool mBindIfaceDirty; // whether or not the bind Iface is valid.

Completed in 7877 milliseconds

123