Searched refs:valid (Results 1 - 25 of 104) sorted by relevance

12345

/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.cpp227 bool valid = true; local
254 valid = false;
257 if (valid && ShouldExportVariable && isSyntheticName(VD->getName()))
259 if (valid && ShouldExportVariable && !processExportVar(VD)) {
260 valid = false;
269 valid = false;
281 if (valid && mExportForEach[0] == nullptr) {
297 valid = false;
301 return valid;
313 bool valid local
[all...]
/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;
90 return valid == other.valid
104 result += prime * result + (valid ? 1 : 0);
118 return "DisplayViewport{valid=" + valid
/frameworks/base/core/java/android/service/autofill/
H A DOptionalValidators.java49 final boolean valid = validator.isValid(finder);
50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid);
51 if (valid) return true;
H A DRequiredValidators.java49 final boolean valid = validator.isValid(finder);
50 if (sDebug) Log.d(TAG, "isValid(" + validator + "): " + valid);
51 if (!valid) return false;
H A DRegexValidator.java33 * Defines if a field is valid based on a regular expression (regex).
67 final boolean valid = mRegex.matcher(value).matches();
68 if (sDebug) Log.d(TAG, "isValid(): " + valid);
69 return valid;
H A DLuhnChecksumValidator.java54 * Checks if the Luhn checksum is valid.
102 boolean valid = isLuhnChecksumValid(number);
103 if (sDebug) Log.d(TAG, "isValid(" + number.length() + " chars): " + valid);
104 return valid;
/frameworks/base/tools/aapt2/
H A DLocale.cpp82 bool valid = false; local
87 valid = true;
91 if (!valid || num_tags == 1) {
92 return valid;
95 // At this point, valid == true && numTags > 1.
105 valid = false;
108 if (!valid || num_tags == 2) {
109 return valid;
112 // At this point, valid == true && numTags > 1.
121 valid
[all...]
/frameworks/native/libs/ui/tests/
H A DGraphicBuffer_test.cpp47 EXPECT_TRUE(channel.valid());
50 EXPECT_FALSE(channel.valid());
52 EXPECT_TRUE(handle->handle().valid());
/frameworks/base/tools/aapt2/configuration/
H A DConfigurationParser.cpp457 bool valid = true; local
464 valid = false;
473 valid = false;
476 if (valid) {
477 // Sorting artifacts requires that all references are valid as it uses them to determine order.
481 if (!valid) {
537 bool valid = true; local
541 valid = false;
554 return valid;
560 valid
588 bool valid = true; local
655 bool valid = true; local
718 bool valid = true; local
777 bool valid = true; local
827 bool valid = true; local
[all...]
H A DConfigurationParser.internal.h54 bool valid = orders.size() == group.size(); local
55 if (!valid) {
58 return valid;
158 bool valid = IsGroupValid(abi_groups, "abi-groups", diag); local
159 valid &= IsGroupValid(screen_density_groups, "screen-density-groups", diag);
160 valid &= IsGroupValid(locale_groups, "locale-groups", diag);
161 valid &= IsGroupValid(device_feature_groups, "device-feature-groups", diag);
162 valid &= IsGroupValid(gl_texture_groups, "gl-texture-groups", diag);
163 return valid;
/frameworks/base/core/java/com/android/internal/os/
H A DKernelUidCpuClusterTimeReader.java103 boolean valid = true;
109 valid = false;
113 if (notify && valid) {
135 boolean valid = true;
142 valid = false;
147 return valid;
208 // Returns if it has read valid info.
H A DKernelUidCpuFreqTimeReader.java184 boolean valid = true;
189 valid = false;
193 if (notify && valid) {
212 boolean valid = true;
217 valid = false;
220 return valid;
/frameworks/base/services/core/jni/
H A Dcom_android_server_lights_LightsService.cpp75 bool valid = true; local
79 valid = false;
86 valid = false;
93 valid = false;
99 valid = false;
102 return valid;
/frameworks/native/include/ui/
H A DDetachedBufferHandle.h41 bool isValid() const { return mHandle.valid(); }
/frameworks/native/libs/ui/include/ui/
H A DDetachedBufferHandle.h41 bool isValid() const { return mHandle.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/base/services/tests/servicestests/src/com/android/server/backup/utils/
H A DFullBackupUtilsTest.java109 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
130 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
145 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
167 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
187 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
207 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
232 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
257 assertThat(mTemporaryFileDescriptor.getFileDescriptor().valid()).isTrue();
/frameworks/av/include/common_time/
H A Dcc_helper.h48 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapFactoryTest.java40 assertTrue("Got invalid FileDescriptor", fd.valid());
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsService.java133 boolean valid = false;
172 valid = true;
186 valid = true;
190 valid = true;
199 valid = true;
207 valid = true;
218 // what we have so far is a valid command
219 valid = true;
227 valid = true;
235 valid
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeySessionLibrary.cpp34 mKeyInfo[0].valid = mKeyInfo[1].valid = false;
/frameworks/av/media/common_time/
H A Dcc_helper.cpp114 CCHELPER_METHOD(isCommonTimeValid(bool* valid, uint32_t* timelineID),
115 isCommonTimeValid(valid, timelineID))

Completed in 678 milliseconds

12345