Home
last modified time | relevance | path

Searched refs:invalid (Results 1 – 25 of 66) sorted by relevance

123

/packages/services/Car/car-lib/src/com/android/car/internal/util/
DAnnotationValidations.java50 invalid(annotation, value); in validate()
57 invalid(annotation, value); in validate()
74 invalid(annotation, value, paramName, param); in validate()
79 invalid(annotation, value, paramName, param); in validate()
104 invalid(annotation, value, paramName, param); in validate()
109 invalid(annotation, value, paramName, param); in validate()
129 if (value < param) invalid(annotation, value, paramName, param); in validate()
132 if (value > param) invalid(annotation, value, paramName, param); in validate()
158 if (param != -1 && value != param) invalid(annotation, value, paramName, param); in validate()
162 if (value < param) invalid(annotation, value, paramName, param); in validate()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DAnnotationValidations.java57 invalid(annotation, value, paramName, param); in validate()
62 invalid(annotation, value, paramName, param); in validate()
85 invalid(annotation, value, paramName, param); in validate()
90 invalid(annotation, value, paramName, param); in validate()
108 if (value < param) invalid(annotation, value, paramName, param); in validate()
111 if (value > param) invalid(annotation, value, paramName, param); in validate()
135 if (param != -1 && value != param) invalid(annotation, value, paramName, param); in validate()
139 if (value < param) invalid(annotation, value, paramName, param); in validate()
143 if (value > param) invalid(annotation, value, paramName, param); in validate()
147 if (value % param != 0) invalid(annotation, value, paramName, param); in validate()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/testutils/
DDeviceInfoUtilsTest.java64 final DeviceInfoUtils.KVersion invalid = new DeviceInfoUtils.KVersion(0, 0, 0); in testGetMajorMinorSubminorVersion() local
65 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("")); in testGetMajorMinorSubminorVersion()
66 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("4")); in testGetMajorMinorSubminorVersion()
67 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("4.")); in testGetMajorMinorSubminorVersion()
68 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("4-beta")); in testGetMajorMinorSubminorVersion()
69 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("1.x.1")); in testGetMajorMinorSubminorVersion()
70 assertEquals(invalid, DeviceInfoUtils.getMajorMinorSubminorVersion("x.1.1")); in testGetMajorMinorSubminorVersion()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DDataServiceImplTest.kt456 assertThat(firstMediaPagingSource.invalid).isFalse() in <lambda>()
476 assertThat(firstMediaPagingSource.invalid).isTrue() in <lambda>()
481 assertThat(secondMediaPagingSource.invalid).isFalse() in <lambda>()
509 assertThat(firstAlbumPagingSource.invalid).isFalse() in <lambda>()
528 assertThat(firstAlbumPagingSource.invalid).isTrue() in <lambda>()
533 assertThat(secondAlbumPagingSource.invalid).isFalse() in <lambda>()
570 assertThat(firstAlbumMediaPagingSource.invalid).isFalse() in testAlbumMediaPagingSourceCacheUpdates()
581 assertThat(secondAlbumMediaPagingSource.invalid).isFalse() in testAlbumMediaPagingSourceCacheUpdates()
597 assertThat(secondAlbumMediaPagingSource.invalid).isTrue() in testAlbumMediaPagingSourceCacheUpdates()
598 assertThat(thirdAlbumMediaPagingSource.invalid).isFalse() in testAlbumMediaPagingSourceCacheUpdates()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java139 for (String invalid : INVALID_HOST_NAMES) { in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
141 mPreference.mEditText.setText(invalid); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
144 assertWithMessage("off: " + invalid).that(mSaveButton.isEnabled()).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
147 assertWithMessage("opportunistic: " + invalid).that(mSaveButton.isEnabled()).isTrue(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
150 assertWithMessage("provider: " + invalid).that(mSaveButton.isEnabled()).isFalse(); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/types/
DParceledArray.kt53 val invalid = value.filterNotNull().firstOrNull { !elementType.isInstance(it) } in validate() constant
54 when (invalid) { in validate()
64 actualType = invalid::class, in validate()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto13 // Default but invalid value.
23 // Default but invalid value.
60 // Default but invalid value.
72 // Default but invalid value.
/packages/modules/StatsD/statsd/src/guardrail/
Dstats_log_enums.proto34 // Not an invalid bucket case, but the bucket is dropped.
36 // Not an invalid bucket case, but the bucket is skipped.
/packages/modules/Wifi/framework/tests/assets/hsr1/
DREADME.txt5 …se64 - base64 encoded installation file with that contains a MIME part with an invalid content type
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java326 boolean invalid = false; in readUserOffComponentsLocked()
335 invalid = true; in readUserOffComponentsLocked()
347 if (invalid) { in readUserOffComponentsLocked()
/packages/apps/Launcher3/tests/assets/ReorderAlgorithmUnitTest/
Dreorder_algorithm_test_cases17 # "x y spanX spanY minSpanX minSpanY type<widget/icon/folder> ifSolutionIsPossible<valid/invalid>"
33 …is "x y spanX spanY minSpanX minSpanY type<widget/icon/folder> ifSolutionIsPossible<valid/invalid>"
632 arguments: 2 1 1 6 1 5 icon invalid
769 arguments: 1 0 1 2 1 2 icon invalid
949 arguments: 1 1 3 1 3 1 icon invalid
1610 arguments: 1 3 1 4 1 2 icon invalid
1798 …is "x y spanX spanY minSpanX minSpanY type<widget/icon/folder> ifSolutionIsPossible<valid/invalid>"
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DConntrackMessageTest.java356 for (byte invalid : new byte[]{(byte) 0x00, (byte) 0xff}) { in testParseTruncationWithInvalidByte()
359 Arrays.fill(truncated, (byte) invalid); in testParseTruncationWithInvalidByte()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
Dhistory_item_action_module_info.proto40 // Whether the number can be reported as invalid through People API
/packages/apps/Car/DebuggingRestrictionController/
Dgradlew.bat41 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/modules/Bluetooth/android/leaudio/
Dgradlew.bat41 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/inputmethods/LatinIME/
Dgradlew.bat41 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp56 bool invalid(const Model& model, Version version, bool strictSlicing) { in invalid() function
497 slice.mState = invalid(slice.mModel, version, mStrictSlicing) ? SliceState::INVALID in makeSlice()
/packages/services/Telephony/testapps/TestSliceApp/
Dgradlew.bat60 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/modules/common/build/mainline_modules_sdks_test_data/
Dwifi_latest_Android.bp.expected88 jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-wifi.jar"],
Dwifi_Android.bp.input91 jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-wifi.jar"],
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAppWidgetsRestoredReceiverTest.kt67 fun `AppWidgetsRestoredReceiver does not set widget ids when Intent action is invalid`() { in AppWidgetsRestoredReceiver does not set widget ids when Intent action is invalid()
/packages/providers/MediaProvider/tools/photopicker-gradle/
Dgradlew.bat60 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/apps/Car/Launcher/
Dgradlew.bat60 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/
Dgradlew.bat60 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
/packages/apps/Dialer/java/com/android/dialer/calllog/database/contract/
Dnumber_attributes.proto54 // Can the number be reported as invalid through People API

123