Searched refs:valid (Results 51 - 75 of 104) sorted by relevance

12345

/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/native/libs/vr/libbufferhub/
H A Dbuffer_hub-test.cpp635 // Should acquire a valid fence.
661 // Should acquire a valid fence and it's already signalled.
674 // Should gain a valid fence, which is already signaled.
766 EXPECT_TRUE(handle.valid());
794 EXPECT_FALSE(handle.valid());
897 EXPECT_TRUE(h1.valid());
900 EXPECT_FALSE(h1.valid());
919 EXPECT_TRUE(h1.valid());
923 EXPECT_FALSE(h1.valid());
937 EXPECT_TRUE(h2.valid());
[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.cpp110 bool valid = true; local
113 valid = false;
117 valid = (to == HWC2::Composition::Client);
121 valid = (to == HWC2::Composition::Client ||
128 if (!valid) {
/frameworks/base/core/java/android/os/
H A DEnvironment.java200 * @deprecated This directory is valid and still exists, but callers should
218 * @deprecated This directory is valid and still exists, but callers should
627 for (String valid : STANDARD_DIRECTORIES) {
628 if (valid.equals(dir)) {
947 * @throws IllegalArgumentException if the path is not a valid storage
990 * @throws IllegalArgumentException if the path is not a valid storage
/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp58 bool valid() { return mFd != -1; } function in class:android::uirenderer::FileDescriptor
109 if (!fd.valid()) {
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp157 bool valid = std::all_of(piece.begin() + 1, piece.end(), [](const char c) -> bool { local
161 if (!valid) {
/frameworks/native/services/inputflinger/
H A DEventHub.h80 bool valid; // true if the information is valid, false otherwise member in struct:android::RawAbsoluteAxisInfo
89 valid = false;
H A DInputReader.cpp2055 if (axis.valid) {
3505 // Ensure we have valid X and Y axes.
3506 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) {
3662 if (mRawPointerAxes.touchMajor.valid
3665 } else if (mRawPointerAxes.toolMajor.valid
3718 } else if (mRawPointerAxes.pressure.valid
3737 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid;
3773 if (mRawPointerAxes.orientation.valid) {
[all...]
/frameworks/base/libs/common_time/
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/core/java/com/android/server/
H A DTelephonyRegistry.java759 // there is no need to add a valid subId or slotId.
911 if (VDBG) log("notifySignalStrengthForPhoneId: valid phoneId=" + phoneId);
1554 * a valid subId, in which case this function fires a subId-specific intent, or it
1577 // If a valid subId was specified, we should fire off a subId-specific state
1749 boolean valid = false;
1752 valid = UserHandle.getUserId(r.callerUid) == foregroundUser
1755 log("validateEventsAndUserLocked: valid=" + valid
1762 return valid;
1766 boolean valid
[all...]
H A DBluetoothManagerService.java501 // if the valid flag is not set, don't load the address and name
1991 boolean valid = false;
1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser
1996 if (DBG && !valid) {
1997 Slog.d(TAG, "checkIfCallerIsForegroundUser: valid=" + valid + " callingUser="
2004 return valid;
H A DNetworkManagementService.java933 boolean valid = true;
934 for (int i = 4; (i + 1) < cooked.length && valid; i += 2) {
939 valid = false; // Duplicate interface.
945 valid = false; // Duplicate gateway.
948 valid = false; // Unknown syntax.
951 if (valid) {
H A DGraphicsStatsService.java191 if (!file.getFileDescriptor().valid()) {
H A DDeviceIdleController.java2973 boolean valid = false;
2975 valid = true;
2983 valid = true;
2994 if (!valid) {
3009 boolean valid = false;
3011 valid = true;
3019 valid = true;
3029 if (!valid) {
/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtManagerService.java279 if (fd == null || !fd.getFileDescriptor().valid()) {
367 // Double check that the descriptor is still valid.
370 if (fd.getFileDescriptor().valid()) {
488 // NOTE: '-1' value is reserved for the case where we cannot produce a valid
510 // NOTE: '-1' value is reserved for the case where we cannot produce a valid
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp643 ; // a valid mPosLoop should be available if ackDone is true.
1017 bool valid = false; local
1022 valid = true;
1031 valid = true;
1034 if (!valid || position > mFrameCount) {
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java178 if (!descriptor.valid()) {
427 * a valid frame. The total number of frames available for retrieval can be queried
450 * a valid frame. The total number of frames available for retrieval can be queried
479 * must be that of a valid frame. The total number of frames available for retrieval
506 * must be that of a valid frame. The total number of frames available for retrieval
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java315 final boolean valid;
319 valid = false;
321 valid = true;
324 if (valid) {
/frameworks/native/include/gui/
H A DFrameTimestamps.h77 bool valid{false};
/frameworks/native/libs/gui/include/gui/
H A DFrameTimestamps.h77 bool valid{false};
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java987 + "created from it was not considered valid: " + deviceInfo);
1217 mDefaultViewport.valid = false;
1218 mExternalTouchViewport.valid = false;
1250 if (!mDefaultViewport.valid
1254 if (!mExternalTouchViewport.valid
1284 viewport.valid = true;
/frameworks/base/core/jni/
H A Dandroid_os_HwParcel.cpp302 bool valid = parcel->enforceInterface(interfaceNameCopy.string()); local
304 if (!valid) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java143 * the corresponding value in any other valid solution.
199 * intended to avoid confusion between valid values whose sign may not be known.
1402 // its just to stop default (row/col > 0) constraints obliterating valid entries
1538 if (!entry.valid) {
1586 if (!arc.valid) {
1662 arc.valid = false;
2234 public boolean valid = true; field in class:GridLayout.Arc
2243 return span + " " + (!valid ? "+>" : "->") + " " + value;
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java140 * the corresponding value in any other valid solution.
188 * intended to avoid confusion between valid values whose sign may not be known.
1290 // its just to stop default (row/col > 0) constraints obliterating valid entries
1426 if (!entry.valid) {
1474 if (!arc.valid) {
1550 arc.valid = false;
2121 public boolean valid = true; field in class:GridLayout.Arc
2130 return span + " " + (!valid ? "+>" : "->") + " " + value;

Completed in 1521 milliseconds

12345