Searched defs:valid (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/compile/slang/
H A Dslang_rs_special_func.cpp58 bool valid = true; local
72 valid = false;
81 valid = false;
89 valid = false;
97 valid = false;
103 return valid;
H A Dslang_rs_export_foreach.cpp57 bool valid = true; local
77 valid &= validateAndConstructKernelParams(Context, FD);
79 valid &= validateAndConstructOldStyleParams(Context, FD);
82 valid &= setSignatureMetadata(Context, FD);
83 return valid;
92 bool valid = true; local
101 valid = false;
107 valid &= processSpecialParameters(Context, FD, &IndexOfFirstSpecialParameter);
122 valid = false;
136 valid
167 bool valid = true; local
271 bool valid = true; local
[all...]
H A Dslang_rs_special_kernel_param.cpp113 bool valid = true; local
147 valid = false;
162 valid = false;
174 valid = false;
186 valid = false;
199 valid = false;
214 valid = false;
231 return valid;
H A Dslang_rs_context.cpp226 bool valid = true; local
253 valid = false;
256 if (valid && ShouldExportVariable && isSyntheticName(VD->getName()))
258 if (valid && ShouldExportVariable && !processExportVar(VD)) {
259 valid = false;
268 valid = false;
280 if (valid && mExportForEach[0] == nullptr) {
296 valid = false;
300 return valid;
312 bool valid local
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.h51 bool valid; member in struct:android::clearkeycas::ClearKeyCasSession::KeyInfo
/frameworks/base/core/java/android/hardware/display/
H A DDisplayViewport.java33 // True if this viewport is valid.
34 public boolean valid; field in class:DisplayViewport
60 valid = viewport.valid;
87 return valid == other.valid &&
101 result += prime * result + (valid ? 1 : 0);
115 return "DisplayViewport{valid=" + valid
/frameworks/base/services/core/jni/
H A Dcom_android_server_lights_LightsService.cpp74 bool valid = true; local
78 valid = false;
85 valid = false;
92 valid = false;
98 valid = false;
101 return valid;
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dchannel_handle.h35 bool valid() const { return value_ >= 0; } function in class:android::pdx::ChannelHandleBase
36 explicit operator bool() const { return valid(); }
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp142 const bool valid = local
149 if (!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_time_server_api.cpp69 status_t CommonTimeServer::isCommonTimeValid(bool* valid, argument
72 *valid = mCommonClock.isValid();
/frameworks/base/tools/aapt2/
H A DLocale.cpp81 bool valid = false; local
86 valid = true;
90 if (!valid || num_tags == 1) {
91 return valid;
94 // At this point, valid == true && numTags > 1.
104 valid = false;
107 if (!valid || num_tags == 2) {
108 return valid;
111 // At this point, valid == true && numTags > 1.
120 valid
[all...]
/frameworks/native/services/displayservice/
H A DDisplayEventReceiver.cpp64 if (!valid()) {
71 bool DisplayEventReceiver::AttachedEvent::valid() const { function in class:android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver::AttachedEvent
129 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN;
/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);
/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/native/libs/binder/
H A DDebug.cpp99 bool valid; local
102 // valid = isasciitype(c[3]);
103 valid = true;
106 while (valid && i<3) {
108 if (!zero) valid = false;
111 //if (!isasciitype(c[i])) valid = false;
115 // if all zeros, not a valid type code.
116 if (zero) valid = false;
118 valid = isident(c[3]) ? true : false;
121 while (valid
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp602 ; // a valid mPosLoop should be available if ackDone is true.
907 bool valid = false; local
912 valid = true;
921 valid = true;
924 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/base/core/jni/
H A Dandroid_os_HwParcel.cpp313 bool valid = parcel->enforceInterface(interfaceNameCopy.string()); local
315 if (!valid) {
/frameworks/native/services/inputflinger/
H A DEventHub.h82 bool valid; // true if the information is valid, false otherwise member in struct:android::RawAbsoluteAxisInfo
91 valid = false;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp124 bool valid = true; local
127 valid = false;
131 valid = (to == HWC2::Composition::Client);
135 valid = (to == HWC2::Composition::Client ||
142 if (!valid) {
365 ALOGE("setActiveColorMode: Display %d is not valid", displayId);
723 ALOGE("setActiveConfig: Display %d is not valid", displayId);
748 ALOGE("setColorTransform: Display %d is not valid", displayId);
794 ALOGE("setOutputBuffer: Display %d is not valid", displayId);
825 ALOGE("clearReleaseFences: Display %d is not valid", displayI
[all...]
/frameworks/base/core/java/android/widget/
H A DDatePicker.java324 * Sets the callback that indicates the current date is valid.
627 protected void onValidationChanged(boolean valid) { argument
629 mValidationCallback.onValidationChanged(valid);
764 void onValidationChanged(boolean valid); argument
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DWebViewUpdateServiceTest.java112 true /* enabled */, true /* valid */, true /* installed */));
125 // Add (enabled and valid) package infos for each provider
162 String packageName, boolean enabled, boolean valid, boolean installed) {
173 if (valid) {
177 // Default to this package being valid in terms of targetSdkVersion.
182 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
184 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed);
190 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
193 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime);
202 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
161 createPackageInfo( String packageName, boolean enabled, boolean valid, boolean installed) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp64 bool valid() { function in class:android::BitmapWrapper
74 LOG_ALWAYS_FATAL_IF(!valid(), "Error, cannot access an invalid/free'd bitmap here!");
161 bool valid() { function in class:android::LocalScopedBitmap
162 return mBitmapWrapper && mBitmapWrapper->valid();
278 if (!localBitmap->valid()) return nullptr;
297 if (!localBitmap->valid()) return false;
934 if (!bitmap.valid()) {
1306 if (!bitmapHolder.valid()) return JNI_TRUE;
1316 if (!bitmapHolder.valid()) return JNI_FALSE;
1559 // those 2 bitmaps should be valid (onl
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java203 public synchronized void registerPeopleAffinity(NotificationRecord notification, boolean valid, argument
207 if (valid) {

Completed in 2629 milliseconds

12