Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 105) sorted by relevance

12345

/frameworks/base/drm/java/android/drm/
DDrmStore.java140 /* package */ static boolean isValid(int playbackStatus) { in isValid() method in DrmStore.Playback
141 boolean isValid = false; in isValid()
148 isValid = true; in isValid()
150 return isValid; in isValid()
197 /* package */ static boolean isValid(int action) { in isValid() method in DrmStore.Action
198 boolean isValid = false; in isValid()
209 isValid = true; in isValid()
211 return isValid; in isValid()
DDrmInfoRequest.java70 if (!isValid()) { in DrmInfoRequest()
144 boolean isValid() { in isValid() method in DrmInfoRequest
150 boolean isValid = false; in isValidType()
157 isValid = true; in isValidType()
160 return isValid; in isValidType()
DDrmInfo.java52 if (!isValid()) { in DrmInfo()
79 if (!isValid()) { in DrmInfo()
165 boolean isValid() { in isValid() method in DrmInfo
DDrmRights.java104 if (!isValid()) { in instantiate()
128 if (!isValid()) { in DrmRights()
176 /*package*/ boolean isValid() { in isValid() method in DrmRights
DDrmManagerClient.java358 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { in getConstraints()
427 if (null == drmRights || !drmRights.isValid()) { in saveRights()
488 if (null == drmInfo || !drmInfo.isValid()) { in processDrmInfo()
508 if (null == drmInfoRequest || !drmInfoRequest.isValid()) { in acquireDrmInfo()
661 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { in checkRightsStatus()
/frameworks/native/include/gui/
DSurface.h49 static bool isValid(const sp<SurfaceControl>& surface) { in isValid() function
50 return (surface != 0) && surface->isValid(); in isValid()
52 bool isValid() { in isValid() function
127 static bool isValid(const sp<Surface>& surface) { in isValid() function
128 return (surface != 0) && surface->isValid(); in isValid()
131 bool isValid();
/frameworks/base/core/java/android/view/
DGLES20RenderLayer.java52 boolean isValid() { in isValid() method in GLES20RenderLayer
58 if (!isValid() || width <= 0 || height <= 0) return false; in resize()
76 return isValid(); in resize()
DGLES20TextureLayer.java46 boolean isValid() { in isValid() method in GLES20TextureLayer
52 return isValid(); in resize()
/frameworks/native/libs/gui/
DISurfaceTexture.cpp124 bool hasFence = fence.get() && fence->isValid(); in cancelBuffer()
221 bool hasFence = fence.get() && fence->isValid(); in onTransact()
292 static bool isValid(const sp<Fence>& fence) { in isValid() function
293 return fence.get() && fence->isValid(); in isValid()
307 + (isValid(fence) ? fence->getFlattenedSize() : 0); in getFlattenedSize()
312 return isValid(fence) ? fence->getFdCount() : 0; in getFdCount()
319 bool haveFence = isValid(fence); in flatten()
DSurface.cpp65 if (isValid()) { in destroy()
177 if (SurfaceControl::isValid(control)) { in writeSurfaceToParcel()
245 if (Surface::isValid(surface)) { in writeToParcel()
327 bool Surface::isValid() { in isValid() function in android::Surface
/frameworks/compile/linkloader/include/impl/
DELFReloc.hxx42 if (!sh->isValid()) { in readRela()
70 if (!sh->isValid()) { in readRel()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dbitbuffer.c71 hBitBuf->isValid = 1; in CreateBitBuffer()
85 (*hBitBuf)->isValid = 0; in DeleteBitBuffer()
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java37 assertTrue(email + " should be a valid email address", validator.isValid(email)); in testEmailValidator()
45 assertFalse(email + " should not be a valid email address", validator.isValid(email)); in testEmailValidator()
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java65 public boolean isValid(CharSequence text) { in isValid() method in Rfc822Validator
130 if (mRemoveInvalid && !isValid(text)) { in fixText()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp110 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
117 ASSERT_TRUE(mFGSurfaceControl->isValid()); in SetUp()
125 ASSERT_TRUE(mSyncSurfaceControl->isValid()); in SetUp()
/frameworks/base/services/input/
DSpriteController.cpp374 if (surfaceControl == NULL || !surfaceControl->isValid() in obtainSurface()
375 || !surfaceControl->getSurface()->isValid()) { in obtainSurface()
404 if (icon.isValid()) { in setIcon()
407 if (!mLocked.state.icon.isValid() in setIcon()
416 } else if (mLocked.state.icon.isValid()) { in setIcon()
DSpriteController.h78 inline bool isValid() const { in isValid() function
201 return visible && alpha > 0.0f && icon.isValid(); in wantSurfaceVisible()
/frameworks/support/renderscript/v8/rs_support/
DrsContext.h39 if (!ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
45 if (o && !ObjectBase::isValid(rsc, (const ObjectBase *)o)) { \
/frameworks/compile/linkloader/include/
DELFHeader.h164 if (!header->isValid()) { in read()
174 bool isValid() const { in isValid() function
/frameworks/native/opengl/libs/EGL/
Degl_display.h96 inline bool isValid() const { return magic == '_dpy'; } in isValid() function
97 inline bool isAlive() const { return isValid(); } in isAlive()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp48 static inline int32_t validOrNeg1(bool isValid, int32_t value) { in validOrNeg1() argument
50 SkASSERT((int)isValid == 0 || (int)isValid == 1); in validOrNeg1()
51 return ((int32_t)isValid - 1) | value; in validOrNeg1()
445 if (!stream->isValid()) { in nativeDecodeFileDescriptor()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java309 if (!speechItem.isValid()) { in enqueueSpeechItem()
419 public abstract boolean isValid(); in isValid() method in TextToSpeechService.SpeechItem
550 public boolean isValid() { in isValid() method in TextToSpeechService.SynthesisSpeechItem
671 public boolean isValid() { in isValid() method in TextToSpeechService.AudioSpeechItem
697 public boolean isValid() { in isValid() method in TextToSpeechService.SilenceSpeechItem
/frameworks/base/opengl/java/android/opengl/
DETC1.java124 public static native boolean isValid(Buffer header); in isValid() method in ETC1
/frameworks/base/services/common_time/
Dcommon_clock.h38 bool isValid() const { return cur_trans_valid_; } in isValid() function
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dbitbuffer.h60 Word16 isValid; /*!< indicates whether the instance has been initialized */ member

12345