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

12

/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/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/base/core/jni/android/graphics/
H A DBitmap.h70 bool valid() const { return mPixelStorageType != PixelStorageType::Invalid; } function in class:android::Bitmap
H A DBitmap.cpp388 bool valid() { function in class:LocalScopedBitmap
389 return mBitmap && mBitmap->valid();
857 if (!bitmap.valid()) {
1342 // those 2 bitmaps should be valid (only unrecognized), we return JNI_FALSE
1360 SkPixelRef* pixelRef = bitmap.valid() ? bitmap->peekAtPixelRef() : nullptr;
1367 if (!bitmapHandle.valid()) return;
/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.cpp79 bool valid = false; local
84 valid = true;
88 if (!valid || numTags == 1) {
89 return valid;
92 // At this point, valid == true && numTags > 1.
102 valid = false;
105 if (!valid || numTags == 2) {
106 return valid;
109 // At this point, valid == true && numTags > 1.
117 valid
[all...]
/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/native/opengl/libs/EGL/
H A Degl_display.cpp309 // by construction, these are either 0 or valid (possibly terminated)
335 // by construction, these are either 0 or valid (possibly terminated)
434 void egl_display_t::HibernationMachine::setDisplayValid(bool valid) { argument
436 mDpyValid = valid;
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp602 ; // a valid mPosLoop should be available if ackDone is true.
905 bool valid = false; local
910 valid = true;
919 valid = true;
922 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/java/android/widget/
H A DDatePicker.java295 * Sets the callback that indicates the current date is valid.
567 protected void onValidationChanged(boolean valid) { argument
569 mValidationCallback.onValidationChanged(valid);
693 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.
1387 // its just to stop default (row/col > 0) constraints obliterating valid entries
1523 if (!entry.valid) {
1571 if (!arc.valid) {
1647 arc.valid = false;
2219 public boolean valid = true; field in class:GridLayout.Arc
2228 return span + " " + (!valid ? "+>" : "->") + " " + value;
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DWebViewUpdateServiceTest.java89 true /* valid */, true /* installed */));
102 // Add (enabled and valid) package infos for each provider
140 String packageName, boolean enabled, boolean valid, boolean installed) {
151 if (valid) {
158 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
160 PackageInfo p = createPackageInfo(packageName, enabled, valid, installed);
166 private static PackageInfo createPackageInfo(String packageName, boolean enabled, boolean valid, argument
169 createPackageInfo(packageName, enabled, valid, installed, signatures, updateTime);
223 // Ensure that package with valid signatures is chosen rather than package with invalid
226 String validPackage = "valid packag
139 createPackageInfo( String packageName, boolean enabled, boolean valid, boolean installed) argument
[all...]
/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.cpp158 bool valid = true; local
161 valid = false;
165 valid = (to == HWC2::Composition::Client);
169 valid = (to == HWC2::Composition::Client ||
176 if (!valid) {
390 ALOGE("setActiveColorMode: Display %d is not valid", displayId);
711 ALOGE("setActiveConfig: Display %d is not valid", displayId);
736 ALOGE("setColorTransform: Display %d is not valid", displayId);
782 ALOGE("setOutputBuffer: Display %d is not valid", displayId);
813 ALOGE("clearReleaseFences: Display %d is not valid", displayI
[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) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp218 bool valid = false; local
223 valid = true;
227 if (!valid || numTags == 1) {
228 return valid;
231 // At this point, valid == true && numTags > 1.
241 valid = false;
244 if (!valid || numTags == 2) {
245 return valid;
248 // At this point, valid == true && numTags > 1.
256 valid
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java132 * the corresponding value in any other valid solution.
180 * intended to avoid confusion between valid values whose sign may not be known.
1281 // its just to stop default (row/col > 0) constraints obliterating valid entries
1417 if (!entry.valid) {
1465 if (!arc.valid) {
1541 arc.valid = false;
2112 public boolean valid = true; field in class:GridLayout.Arc
2121 return span + " " + (!valid ? "+>" : "->") + " " + value;
/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) {
2364 LOG_ALWAYS_FATAL("HAL channel mask %#x not valid for output", mChannelMask);
2379 LOG_ALWAYS_FATAL("HAL format %#x not valid for output", mFormat);
2429 // (if a valid mask) to avoid premature downmix.
2489 mMixerBufferFormat = AUDIO_FORMAT_PCM_FLOAT; // also valid: AUDIO_FORMAT_PCM_16_BIT.
3041 // We keep track of the last valid kernel position in case we are in underrun
3059 ALOGVV("getTimestamp error - no valid kerne
7118 const bool valid = local
[all...]

Completed in 1880 milliseconds

12