Searched refs:valid (Results 26 - 50 of 82) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java194 final ArrayMap<Uri, Condition> valid = new ArrayMap<Uri, Condition>(N);
197 if (valid.containsKey(id)) {
201 valid.put(id, conditions[i]);
203 if (valid.size() == 0) return null;
204 if (valid.size() == N) return conditions;
205 final Condition[] rt = new Condition[valid.size()];
207 rt[i] = valid.valueAt(i);
/frameworks/av/include/common_time/
H A DICommonClock.h72 virtual status_t isCommonTimeValid(bool* valid, uint32_t* timelineID) = 0;
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp142 const bool valid = local
149 if (!valid) {
/frameworks/base/core/java/android/app/
H A DDatePickerDialog.java223 public void onValidationChanged(boolean valid) {
226 positive.setEnabled(valid);
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp332 mKeyInfo[keyIndex].valid = (result == 0);
333 if (!mKeyInfo[keyIndex].valid) {
357 if (!mKeyInfo[keyIndex].valid) {
/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/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/base/media/java/android/media/
H A DMediaMetadataRetriever.java173 if (!descriptor.valid()) {
/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp69 status_t CommonTimeServer::isCommonTimeValid(bool* valid, argument
72 *valid = mCommonClock.isValid();
H A Dcommon_time_server.h56 status_t isCommonTimeValid(bool* valid, uint32_t* timelineID);
235 // network synchronization whenever it has a valid network interface to bind
237 // will only participate in network synchronization when it has both a valid
249 bool mBindIfaceValid; // whether or not the bind Iface is valid.
250 bool mBindIfaceDirty; // whether or not the bind Iface is valid.
/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/opengl/java/android/opengl/
H A DGLErrorWrapper.java949 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset,
952 return valid;
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
959 return valid;
1213 boolean valid = mgl11.glIsBuffer(buffer);
1215 return valid;
1220 boolean valid = mgl11.glIsEnabled(cap);
1222 return valid;
1227 boolean valid = mgl11.glIsTexture(texture);
1229 return valid;
[all...]
/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/os/
H A DEnvironment.java186 * @deprecated This directory is valid and still exists, but callers should
204 * @deprecated This directory is valid and still exists, but callers should
603 for (String valid : STANDARD_DIRECTORIES) {
604 if (valid.equals(dir)) {
851 * @throws IllegalArgumentException if the path is not a valid storage
895 * @throws IllegalArgumentException if the path is not a valid storage
H A DMemoryFile.java98 * will fail, but {@link #getFileDescriptor()} will still return a valid file descriptor.
124 return !mFD.valid();
253 * @throws IOException If <code>fd</code> is not a valid file descriptor.
/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;
H A DInputReader.cpp1984 if (axis.valid) {
3376 // Ensure we have valid X and Y axes.
3377 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) {
3533 if (mRawPointerAxes.touchMajor.valid
3536 } else if (mRawPointerAxes.toolMajor.valid
3587 } else if (mRawPointerAxes.pressure.valid
3606 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid;
3642 if (mRawPointerAxes.orientation.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/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java739 // there is no need to add a valid subId or slotId.
891 if (VDBG) log("notifySignalStrengthForPhoneId: valid phoneId=" + phoneId);
1497 * a valid subId, in which case this function fires a subId-specific intent, or it
1523 // If a valid subId was specified, we should fire off a subId-specific state
1709 boolean valid = false;
1712 valid = r.callerUserId == foregroundUser && r.matchPhoneStateListenerEvent(events);
1714 log("validateEventsAndUserLocked: valid=" + valid
1721 return valid;
1725 boolean valid
[all...]
H A DDeviceIdleController.java2766 boolean valid = false;
2768 valid = true;
2776 valid = true;
2787 if (!valid) {
2802 boolean valid = false;
2804 valid = true;
2812 valid = true;
2822 if (!valid) {
H A DBluetoothManagerService.java472 // if the valid flag is not set, don't load the address and name
1875 boolean valid = false;
1878 valid = (callingUser == foregroundUser) ||
1882 if (DBG && !valid) {
1883 Slog.d(TAG, "checkIfCallerIsForegroundUser: valid=" + valid
1891 return valid;
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java877 + "created from it was not considered valid: " + deviceInfo);
1014 mDefaultViewport.valid = false;
1015 mExternalTouchViewport.valid = false;
1047 if (!mDefaultViewport.valid
1051 if (!mExternalTouchViewport.valid
1081 viewport.valid = true;
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp146 if (icuLocale.valid()) {
/frameworks/native/include/gui/
H A DFrameTimestamps.h77 bool valid{false};

Completed in 699 milliseconds

1234