Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 1205) sorted by relevance

12345678910>>...49

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java228 @AppModeFull(reason = "'full' portion of the hostside test")
233 @AppModeInstant(reason = "'instant' portion of the hostside test")
243 @AppModeFull(reason = "'full' portion of the hostside test")
248 @AppModeInstant(reason = "'instant' portion of the hostside test")
258 @AppModeFull(reason = "'full' portion of the hostside test")
263 @AppModeInstant(reason = "'instant' portion of the hostside test")
278 @AppModeFull(reason = "'full' portion of the hostside test")
283 @AppModeInstant(reason = "'instant' portion of the hostside test")
301 @AppModeFull(reason = "'full' portion of the hostside test")
306 @AppModeInstant(reason = "'instant' portion of the hostside test")
[all …]
DIsolatedSplitsTests.java86 @AppModeFull(reason = "'full' portion of the hostside test")
92 @AppModeInstant(reason = "'instant' portion of the hostside test")
103 @AppModeFull(reason = "'full' portion of the hostside test")
109 @AppModeInstant(reason = "'instant' portion of the hostside test")
120 @AppModeFull(reason = "'full' portion of the hostside test")
126 @AppModeInstant(reason = "'instant' portion of the hostside test")
136 @AppModeFull(reason = "'full' portion of the hostside test")
142 @AppModeInstant(reason = "'instant' portion of the hostside test")
153 @AppModeFull(reason = "b/109878606; instant applications can't send broadcasts to manifest "
169 @AppModeFull(reason = "'full' portion of the hostside test")
[all …]
DUseProcessTest.java59 @AppModeFull(reason = "'full' portion of the hostside test")
64 @AppModeInstant(reason = "'instant' portion of the hostside test")
76 @AppModeFull(reason = "'full' portion of the hostside test")
81 @AppModeInstant(reason = "'instant' portion of the hostside test")
93 @AppModeFull(reason = "'full' portion of the hostside test")
98 @AppModeInstant(reason = "'instant' portion of the hostside test")
110 @AppModeFull(reason = "'full' portion of the hostside test")
115 @AppModeInstant(reason = "'instant' portion of the hostside test")
127 @AppModeFull(reason = "'full' portion of the hostside test")
132 @AppModeInstant(reason = "'instant' portion of the hostside test")
[all …]
DPackageResolutionHostTest.java50 @AppModeFull(reason = "'full' portion of the hostside test")
55 @AppModeInstant(reason = "'instant' portion of the hostside test")
68 @AppModeFull(reason = "'full' portion of the hostside test")
73 @AppModeInstant(reason = "'instant' portion of the hostside test")
86 @AppModeFull(reason = "'full' portion of the hostside test")
91 @AppModeInstant(reason = "'instant' portion of the hostside test")
DMajorVersionTest.java53 @AppModeFull(reason = "'full' portion of the hostside test")
58 @AppModeInstant(reason = "'instant' portion of the hostside test")
69 @AppModeFull(reason = "'full' portion of the hostside test")
74 @AppModeInstant(reason = "'instant' portion of the hostside test")
85 @AppModeFull(reason = "'full' portion of the hostside test")
90 @AppModeInstant(reason = "'instant' portion of the hostside test")
110 @AppModeFull(reason = "'full' portion of the hostside test")
115 @AppModeInstant(reason = "'instant' portion of the hostside test")
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicResize.java491 @AppModeFull(reason = "Instant apps cannot query vendor API level")
496 @AppModeFull(reason = "Instant apps cannot query vendor API level")
501 @AppModeFull(reason = "Instant apps cannot query vendor API level")
506 @AppModeFull(reason = "Instant apps cannot query vendor API level")
512 @AppModeFull(reason = "Instant apps cannot query vendor API level")
517 @AppModeFull(reason = "Instant apps cannot query vendor API level")
522 @AppModeFull(reason = "Instant apps cannot query vendor API level")
527 @AppModeFull(reason = "Instant apps cannot query vendor API level")
533 @AppModeFull(reason = "Instant apps cannot query vendor API level")
538 @AppModeFull(reason = "Instant apps cannot query vendor API level")
[all …]
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DOperationSafetyChangedEvent.java32 public final int reason; field in OperationSafetyChangedEvent
35 public OperationSafetyChangedEvent(int reason, boolean isSafe) { in OperationSafetyChangedEvent() argument
36 this.reason = reason; in OperationSafetyChangedEvent()
43 + DevicePolicyManager.operationSafetyReasonToString(reason) + ": " in toString()
DDevicePolicySafetyCheckerIntegrationTester.java120 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testUnsafeStateException() local
124 + ", reason=" + operationSafetyReasonToString(reason) in testUnsafeStateException()
127 setOperationUnsafe(dpm, operation, reason); in testUnsafeStateException()
138 .that(actualReason).isEqualTo(reason); in testUnsafeStateException()
147 int reason = OPERATION_SAFETY_REASON_DRIVING_DISTRACTION; in testOnOperationSafetyStateChanged() local
151 + ", reason=" + operationSafetyReasonToString(reason) in testOnOperationSafetyStateChanged()
156 setOperationUnsafe(dpm, operation, reason); in testOnOperationSafetyStateChanged()
161 assertNextEvent(receiver, operation, reason, /* isSafe= */ false); in testOnOperationSafetyStateChanged()
166 assertNextEvent(receiver, operation, reason, /* isSafe= */ true); in testOnOperationSafetyStateChanged()
173 int reason, boolean isSafe) { in assertNextEvent() argument
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DNoAdminLeakingTest.java65 @Postsubmit(reason = "new test")
73 @Postsubmit(reason = "new test")
81 @Postsubmit(reason = "new test")
89 @Postsubmit(reason = "new test")
97 @Postsubmit(reason = "new test")
105 @Postsubmit(reason = "new test")
113 @Postsubmit(reason = "new test")
121 @Postsubmit(reason = "new test")
129 @Postsubmit(reason = "new test")
137 @Postsubmit(reason = "new test")
[all …]
DSupportMessageTest.java83 @Postsubmit(reason = "new test")
92 @Postsubmit(reason = "new test")
101 @Postsubmit(reason = "new test")
110 @Postsubmit(reason = "new test")
120 @Postsubmit(reason = "new test")
130 @Postsubmit(reason = "new test")
138 @Postsubmit(reason = "new test")
146 @Postsubmit(reason = "new test")
154 @Postsubmit(reason = "new test")
162 @Postsubmit(reason = "new test")
[all …]
DWifiTest.java123 @Postsubmit(reason = "new test")
132 @Postsubmit(reason = "new test")
149 @Postsubmit(reason = "new test")
167 @Postsubmit(reason = "new test")
178 @Postsubmit(reason = "new test")
193 @Postsubmit(reason = "new test")
202 @Postsubmit(reason = "new test")
218 @Postsubmit(reason = "new test")
236 @Postsubmit(reason = "new test")
249 @Postsubmit(reason = "new test")
[all …]
DDevicePolicyResourcesTest.java98 @Postsubmit(reason = "New test")
107 @Postsubmit(reason = "New test")
115 @Postsubmit(reason = "New test")
130 @Postsubmit(reason = "New test")
146 @Postsubmit(reason = "New test")
161 @Postsubmit(reason = "New test")
181 @Postsubmit(reason = "New test")
208 @Postsubmit(reason = "New test")
227 @Postsubmit(reason = "New test")
247 @Postsubmit(reason = "New test")
[all …]
DBluetoothTest.java157 @Postsubmit(reason = "new test")
189 @Postsubmit(reason = "new test")
223 @Postsubmit(reason = "new test")
253 @Postsubmit(reason = "new test")
261 @Postsubmit(reason = "new test")
271 @Postsubmit(reason = "new test")
281 @Postsubmit(reason = "new test")
292 @Postsubmit(reason = "new test")
306 @Postsubmit(reason = "new test")
319 @Postsubmit(reason = "new test")
[all …]
DUnsafeStateExceptionTest.java57 private void assertExceptionWithValidReason(int reason) { in assertExceptionWithValidReason() argument
58 UnsafeStateException exception = new UnsafeStateException(VALID_OPERATION, reason); in assertExceptionWithValidReason()
61 assertWithMessage("reasons").that(exception.getReasons()).containsExactly(reason); in assertExceptionWithValidReason()
64 private void assertExceptionWithInvalidReason(int reason) { in assertExceptionWithInvalidReason() argument
66 () -> new UnsafeStateException(VALID_OPERATION, reason)); in assertExceptionWithInvalidReason()
DTelephonyTest.java89 @Postsubmit(reason = "new test")
98 @Postsubmit(reason = "new test")
114 @Postsubmit(reason = "new test")
132 @Postsubmit(reason = "new test")
141 @Postsubmit(reason = "new test")
149 @Postsubmit(reason = "new test")
158 @Postsubmit(reason = "new test")
174 @Postsubmit(reason = "new test")
192 @Postsubmit(reason = "new test")
201 @Postsubmit(reason = "new test")
[all …]
DResetPasswordWithTokenTest.java95 @Postsubmit(reason = "new test")
109 @Postsubmit(reason = "new test")
121 @Postsubmit(reason = "new test")
129 @Postsubmit(reason = "new test")
140 @Postsubmit(reason = "new test")
155 @Postsubmit(reason = "new test")
182 @Postsubmit(reason = "new test")
210 @Postsubmit(reason = "new test")
227 @Postsubmit(reason = "new test")
255 @Postsubmit(reason = "new test")
[all …]
DKeyManagementTest.java124 @Postsubmit(reason = "new test")
139 @Postsubmit(reason = "new test")
148 @Postsubmit(reason = "new test")
157 @Postsubmit(reason = "new test")
166 @Postsubmit(reason = "new test")
185 @Postsubmit(reason = "new test")
204 @Postsubmit(reason = "new test")
221 @Postsubmit(reason = "new test")
228 @Postsubmit(reason = "new test")
235 @Postsubmit(reason = "new test")
[all …]
DKeyguardTest.java80 @Postsubmit(reason = "New test")
92 @Postsubmit(reason = "New test")
115 @Postsubmit(reason = "New test")
139 @Postsubmit(reason = "New test")
151 @Postsubmit(reason = "New test")
174 @Postsubmit(reason = "New test")
198 @Postsubmit(reason = "New test")
210 @Postsubmit(reason = "New test")
233 @Postsubmit(reason = "New test")
257 @Postsubmit(reason = "New test")
[all …]
DWipeDataTest.java59 @Postsubmit(reason = "new test")
72 @Postsubmit(reason = "new test")
81 @Postsubmit(reason = "new test")
85 @RequireHeadlessSystemUserMode(reason = "tests headless user behaviour")
94 @Postsubmit(reason = "new test")
98 @RequireHeadlessSystemUserMode(reason = "tests headless user behaviour")
112 @Postsubmit(reason = "new test")
124 @Postsubmit(reason = "new test")
129 @RequireHeadlessSystemUserMode(reason = "tests headless user behaviour")
DEnforcingAdminAndAuthorityTest.java57 @Postsubmit(reason = "new test")
66 @Postsubmit(reason = "new test")
75 @Postsubmit(reason = "new test")
84 @Postsubmit(reason = "new test")
94 @Postsubmit(reason = "new test")
104 @Postsubmit(reason = "new test")
114 @Postsubmit(reason = "new test")
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DClassloaderSplitsTest.java60 @AppModeFull(reason = "'full' portion of the hostside test")
65 @AppModeInstant(reason = "'instant' portion of the hostside test")
75 @AppModeFull(reason = "'full' portion of the hostside test")
80 @AppModeInstant(reason = "'instant' portion of the hostside test")
91 @AppModeFull(reason = "'full' portion of the hostside test")
96 @AppModeInstant(reason = "'instant' portion of the hostside test")
109 …@AppModeFull(reason = "b/109878606; instant applications can't send broadcasts to manifest receive…
121 @AppModeFull(reason = "'full' portion of the hostside test")
126 @AppModeInstant(reason = "'instant' portion of the hostside test")
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java71 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
73 mVideoUnavailableReasonMap.put(inputId, reason); in onVideoUnavailable()
150 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune() local
151 return reason != null in testTune()
152 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTune()
153 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTune()
185 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
186 return reason != null in testTuneStress()
187 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTuneStress()
188 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTuneStress()
/cts/common/device-side/bedstead/modules/root/src/main/kotlin/com/android/xts/root/annotations/
DRequireRootInstrumentation.kt26 @RequireAdbRoot(reason = "adb root is a prerequisite of root instrumentation")
28 val reason: String, constant in com.android.xts.root.annotations.RequireRootInstrumentation
52 reason: String,
55 AutoAnnotation_RequireRootInstrumentationKt_requireRootInstrumentation(reason, failureMode)
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java109 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() argument
110 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat()
787 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
788 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
809 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
810 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
831 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
833 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
855 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
857 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
[all …]
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DLogShellCommandRule.java53 public void runAndLog(String reason, String command) { in runAndLog() argument
54 Log.i(TAG, "Running '" + command + "'. Reason: " + reason); in runAndLog()
62 public void runAndLogAll(String reason) { in runAndLogAll() argument
66 Log.w(TAG, "Running " + mCommands.size() + " commands(s). Reason: " + reason); in runAndLogAll()
67 mCommands.forEach(c -> runAndLog(reason, c)); in runAndLogAll()

12345678910>>...49