Home
last modified time | relevance | path

Searched refs:pass (Results 1 – 25 of 50) sorted by relevance

12

/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp869 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local
906 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
911 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
912 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
915 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
923 bool pass = false; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local
939 pass = true; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
947 ALOGI("%s %s", __FUNCTION__, pass ? "pass" : "fail"); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
948 if (!pass) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
951 return pass; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java240 boolean pass = true; in test()
244 pass &= checkEquals(mPackageString, in test()
250 pass &= checkEquals(mIcon1, payload.getInt(JSON_ICON), in test()
252 pass &= checkFlagSet(mFlag1, payload.getInt(JSON_FLAGS), in test()
254 pass &= checkEquals(mId1, payload.getInt(JSON_ID), in test()
256 pass &= checkEquals(mWhen1, payload.getLong(JSON_WHEN), in test()
260 pass &= checkEquals(mIcon2, payload.getInt(JSON_ICON), in test()
262 pass &= checkFlagSet(mFlag2, payload.getInt(JSON_FLAGS), in test()
264 pass &= checkEquals(mId2, payload.getInt(JSON_ID), in test()
266 pass &= checkEquals(mWhen2, payload.getLong(JSON_WHEN), in test()
[all …]
DAttentionManagementVerifierActivity.java254 boolean pass = true; in test()
263 pass = false; in test()
266 pass &= !zen; in test()
269 pass &= !zen; in test()
272 pass &= !zen; in test()
275 pass = false; in test()
279 pass &= found.size() == 3; in test()
280 status = pass ? PASS : FAIL; in test()
347 boolean pass = true; in test()
356 pass = false; in test()
[all …]
/cts/tests/tests/text/src/android/text/style/cts/
DImageSpanTest.java66 Drawable d = mContext.getResources().getDrawable(R.drawable.pass); in testConstructor()
81 new ImageSpan(mContext, R.drawable.pass); in testConstructor()
82 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BOTTOM); in testConstructor()
83 new ImageSpan(mContext, R.drawable.pass, DynamicDrawableSpan.ALIGN_BASELINE); in testConstructor()
97 Drawable d = mContext.getDrawable(R.drawable.pass); in testGetSource()
113 Drawable drawable = mContext.getDrawable(R.drawable.pass); in testGetDrawable()
119 imageSpan = new ImageSpan(mContext, R.drawable.pass); in testGetDrawable()
/cts/tests/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java113 pass(); in testRemoveAllActivity()
148 pass(); in testDispatchDestroy()
175 pass(); in testSaveInstanceState()
189 pass(); in testDispatchPauseFalse()
203 pass(); in testDispatchPauseTrue()
223 pass(); in testDispatchStop()
261 pass(); in testDispatchCreate()
315 pass(); in testStartActivity()
326 pass(); in testDispatchResume()
337 private void pass() { in pass() method in LocalActivityManagerTestHelper
DSearchManagerStubActivity.java86 pass(); in testOnCancelListener()
120 pass(); in testOnDismissListener()
146 pass(); in testStopSearch()
161 private void pass() { in pass() method in SearchManagerStubActivity
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java78 boolean pass = action.equals(PASS); in onReceive()
92 sPassCount.put(widgetId, sPassCount.get(widgetId) + (pass ? 1 : 0)); in onReceive()
268 rv.setTextViewText(R.id.pass, "Start Test"); in updateWidget()
271 rv.setViewVisibility(R.id.pass, View.GONE); in updateWidget()
274 rv.setTextViewText(R.id.pass, "Pass"); in updateWidget()
277 final Intent pass = new Intent(context, WidgetCtsProvider.class); in updateWidget() local
278 pass.setAction(WidgetCtsProvider.PASS); in updateWidget()
279 pass.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); in updateWidget()
280 pass.setData(Uri.parse(pass.toUri(Intent.URI_INTENT_SCHEME))); in updateWidget()
281 final PendingIntent passPendingIntent = PendingIntent.getBroadcast(context, 0, pass, in updateWidget()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMagnitudeVerificationTest.java52 …private void runStats(float expected, float threshold, float[][] values, boolean pass, float magni… in runStats() argument
55 if (pass) { in runStats()
65 assertEquals(pass, stats.getValue(MagnitudeVerification.PASSED_KEY)); in runStats()
DStandardDeviationVerificationTest.java62 private void runVerification(float[] threshold, float[][] values, boolean pass, in runVerification() argument
66 if (pass) { in runVerification()
78 assertEquals(pass, stats.getValue(StandardDeviationVerification.PASSED_KEY)); in runVerification()
DEventGapVerificationTest.java68 private void runVerification(int expected, long[] timestamps, boolean pass, in runVerification() argument
73 if (pass) { in runVerification()
85 assertEquals(pass, stats.getValue(EventGapVerification.PASSED_KEY)); in runVerification()
DEventGapVerification.java79 boolean pass = count <= eventGapThreshold; in verify()
81 stats.addValue(PASSED_KEY, pass); in verify()
85 if (!pass) { in verify()
DTimestampClockSourceVerificationTest.java164 private void runVerification(int expectedUs, long[] timestamps, boolean pass, in runVerification() argument
169 if (pass) { in runVerification()
182 assertEquals(pass, stats.getValue(TimestampClockSourceVerification.PASSED_KEY)); in runVerification()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/
DREADME.txt4 Note: AccountCheckHostSideTest should pass even with a pre-existing ALLOWED account. Meaning, even
6 still pass.
/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java172 boolean pass = false; in decodeTestVectors()
177 pass = true; in decodeTestVectors()
189 mReportLog.addValue("pass", pass, ResultType.NEUTRAL, ResultUnit.NONE); in decodeTestVectors()
195 if (!pass) { in decodeTestVectors()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserPowerLevelActivity.java98 private void pass() { in pass() method in BleAdvertiserPowerLevelActivity
113 pass();
DBleAdvertiserHardwareScanFilterActivity.java110 private void pass() { in pass() method in BleAdvertiserHardwareScanFilterActivity
139 pass();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java237 boolean pass = result.equals(RESULT_PASS); in onReceive()
238 mExecutedScenes.put(key, pass); in onReceive()
239 setTestResult(testId(cameraId, scene), pass ? in onReceive()
284 Boolean pass = mExecutedScenes.get(k); in onReceive() local
285 if (pass == null || pass == false) { in onReceive()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationVerifier.java105 pass(); in onLocationChanged()
235 private void pass() { in pass() method in LocationVerifier
238 mCb.pass(); in pass()
DGpsTestActivity.java37 public void pass(); in pass() method
156 public void pass() { in pass() method in GpsTestActivity
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DREADME4 the native code, make the following change to the NDK to pass through
/cts/tests/app/src/android/app/cts/
DLauncherActivity_IconResizerTest.java44 final Drawable d = mActivity.getResources().getDrawable(R.drawable.pass); in testIconResizer()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java332 final boolean[] pass = {false}; in testAPI1ActivityEviction()
340 pass[0] = true; in testAPI1ActivityEviction()
348 " higher priority client process.", pass[0]); in testAPI1ActivityEviction()
/cts/tests/tests/view/src/android/view/cts/
DMenuInflaterTest.java149 assertEquals("Pass", mMenu.findItem(R.id.pass).getTitle()); in testInflateDrawableFromXml()
150 verifyDrawableContent((BitmapDrawable) mMenu.findItem(R.id.pass).getIcon(), in testInflateDrawableFromXml()
151 R.drawable.pass); in testInflateDrawableFromXml()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh61 // Filters target layer when processing layers in pass one from the back-most to
114 // Filters target layer when processing layers in pass one from the back-most to
150 // Filters the target layer when processing layers in pass two from the
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java338 protected void onPostExecute(Boolean pass) { in onPostExecute() argument
339 if (pass) { in onPostExecute()

12