Home
last modified time | relevance | path

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

12345678

/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
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java84 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, in RecipientEntry() argument
98 mIsValid = isValid; in RecipientEntry()
102 public boolean isValid() { in isValid() method in RecipientEntry
119 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) { in constructFakeEntry() argument
125 INVALID_CONTACT, null, true, isValid, null /* lookupKey */); in constructFakeEntry()
132 final boolean isValid) { in constructFakePhoneEntry() argument
135 INVALID_CONTACT, null, true, isValid, null /* lookupKey */); in constructFakePhoneEntry()
155 boolean isValid) { in constructGeneratedEntry() argument
158 isValid, null /* lookupKey */); in constructGeneratedEntry()
163 Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, in constructTopLevelEntry() argument
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAutoCompleteTextViewBindingAdapter.java47 final IsValid isValid) { in setListener() argument
48 if (fixText == null && isValid == null) { in setListener()
53 public boolean isValid(CharSequence text) { in setListener()
54 if (isValid != null) { in setListener()
55 return isValid.isValid(text); in setListener()
95 boolean isValid(CharSequence text); in isValid() method
/frameworks/native/libs/ui/
DFence.cpp82 if (f1->isValid() && f2->isValid()) { in merge()
84 } else if (f1->isValid()) { in merge()
86 } else if (f2->isValid()) { in merge()
137 return isValid() ? 1 : 0; in getFdCount()
147 if (isValid()) { in flatten()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java41 int isValid(byte[] params); in isValid() method
193 int isValid(HdmiCecMessage message) { in isValid() method in HdmiCecMessageValidator
221 int errorCode = info.parameterValidator.isValid(message.getParams()); in isValid()
237 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.FixedLengthValidator
254 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.VariableLengthValidator
298 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.PhysicalAddressValidator
308 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.SystemAudioModeRequestValidator
313 return super.isValid(params); in isValid()
319 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.ReportPhysicalAddressValidator
329 public int isValid(byte[] params) { in isValid() method in HdmiCecMessageValidator.RoutingChangeValidator
/frameworks/base/tools/aapt2/
DDebug.cpp49 if (style.parent.name.isValid() || style.parent.id.isValid()) { in visit()
51 if (style.parent.name.isValid()) { in visit()
55 if (style.parent.id.isValid()) { in visit()
62 if (entry.key.name.isValid()) { in visit()
66 if (entry.key.id.isValid()) { in visit()
159 if (style.parent.name.isValid()) { in printStyleGraph()
DResource.h77 bool isValid() const;
104 bool isValid() const;
130 bool isValid() const;
164 inline bool ResourceId::isValid() const { in isValid() function
211 inline bool ResourceName::isValid() const { in isValid() function
262 inline bool ResourceNameRef::isValid() const { in isValid() function
DLinker.cpp133 assert(result.value().isValid()); in doResolveReference()
150 assert(entry.id.isValid()); in doResolveAttribute()
165 if (!reference.id.isValid()) { in visit()
167 assert(reference.id.isValid()); in visit()
240 if (style.parent.name.isValid() || style.parent.id.isValid()) { in visit()
DResourceTable.cpp197 if (resId.isValid() && type->typeId != ResourceTableType::kUnsetTypeId && in addResourceImpl()
214 if (resId.isValid() && entry->entryId != ResourceEntry::kUnsetEntryId && in addResourceImpl()
251 if (resId.isValid()) { in addResourceImpl()
296 if (resId.isValid() && type->typeId != ResourceTableType::kUnsetTypeId && in markPublicImpl()
313 if (resId.isValid() && entry->entryId != ResourceEntry::kUnsetEntryId && in markPublicImpl()
331 if (resId.isValid()) { in markPublicImpl()
DJavaClassGenerator.cpp105 assert((!mOptions.useFinal || attr.id.isValid()) && "no ID set for Styleable entry"); in visit()
106 assert(attr.name.isValid() && "no name set for Styleable entry"); in visit()
152 assert(id.isValid()); in generateType()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDiscoveryRequest.java84 public boolean isValid() { in isValid() method in MediaRouteDiscoveryRequest
86 return mSelector.isValid(); in isValid()
109 result.append(", isValid=").append(isValid()); in toString()
DMediaRouteProviderDescriptor.java76 public boolean isValid() { in isValid() method in MediaRouteProviderDescriptor
81 if (route == null || !route.isValid()) { in isValid()
94 result.append(", isValid=").append(isValid()); in toString()
/frameworks/native/include/gui/
DSurfaceControl.h46 static bool isValid(const sp<SurfaceControl>& surface) { in isValid() function
47 return (surface != 0) && surface->isValid(); in isValid()
50 bool isValid() { in isValid() function
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java53 public boolean isValid() { in isValid() method in RemoteDisplayState
59 if (!displays.get(i).isValid()) { in isValid()
141 public boolean isValid() { in isValid() method in RemoteDisplayState.RemoteDisplayInfo
/frameworks/base/wifi/java/android/net/wifi/
DScanSettings.java47 public boolean isValid() { in isValid() method in ScanSettings
49 if (!channel.isValid()) return false; in isValid()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dbitbuffer.c48 hBitBuf->isValid = 1; in CreateBitBuffer()
62 (*hBitBuf)->isValid = 0; in DeleteBitBuffer()
/frameworks/data-binding/compilerCommon/src/test/java/android/databinding/tool/store/
DLocationTest.java30 assertFalse(new Location().isValid()); in testInvalid()
36 assertTrue(location.isValid()); in testValid()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
DScopedException.java94 public boolean isValid() { in isValid() method in ScopedException
95 return mScopedErrorReport.isValid(); in isValid()
127 if (loc != null && loc.isValid()) { in createFromOutput()
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java85 assertTrue(email + " should be a valid email address", validator.isValid(email)); in testEmailValidator()
89 assertFalse(email + " should not be a valid email address", validator.isValid(email)); in testEmailValidator()
/frameworks/base/core/java/android/view/
DHardwareLayer.java64 public boolean isValid() { in isValid() method in HardwareLayer
72 if (!isValid()) { in destroy()
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java96 public boolean isValid(CharSequence text) { in isValid() method in Rfc822Validator
160 if (mRemoveInvalid && !isValid(text)) { in fixText()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DL.java74 if (ex.isValid()) { in tryToThrowScoped()
79 if (ex.isValid()) { in tryToThrowScoped()

12345678