/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 50 EGLBoolean success = eglTerminate(mEglDisplay); in TearDown() local 51 ASSERT_EQ(EGL_TRUE, success); in TearDown() 60 EGLBoolean success; in TEST_F() local 67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); in TEST_F() 68 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 74 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); in TEST_F() 75 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 77 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); in TEST_F() 78 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 80 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); in TEST_F() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 281 boolean success; in triggerRing() 283 success = mSimulatedCallState.triggerRing(number); in triggerRing() 285 if (success) { in triggerRing() 337 boolean success; in triggerHangupForeground() 339 success = mSimulatedCallState.triggerHangupForeground(); in triggerHangupForeground() 341 if (success) { in triggerHangupForeground() 351 boolean success; in triggerHangupBackground() 353 success = mSimulatedCallState.triggerHangupBackground(); in triggerHangupBackground() 355 if (success) { in triggerHangupBackground() 366 boolean success; in triggerHangupAll() [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_reduce_backward.java | 70 final boolean success = javaRslt.equals(rsRslt); in result() 73 (success ? "PASSED" : "FAILED")); in result() 74 return success; in result() 78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 83 ": " + (success ? "PASSED" : "FAILED")); in result() 84 return success; in result() 88 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 93 ": " + (success ? "PASSED" : "FAILED")); in result() 94 return success; in result() 177 final boolean success = (input[rsRslt] == 0); in fz() [all …]
|
D | UT_reduce.java | 159 final boolean success = javaRslt.equals(rsRslt); in result() 160 String status = (success ? "PASSED" : "FAILED"); in result() 161 if (success && (t != null)) in result() 164 return success; in result() 215 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 216 String status = (success ? "PASSED" : "FAILED"); in result() 217 if (success && (t != null)) in result() 224 return success; in result() 228 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 229 String status = (success ? "PASSED" : "FAILED"); in result() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ObbFile.cpp | 89 bool success = false; in readFrom() local 96 success = readFrom(fd); in readFrom() 99 if (!success) { in readFrom() 104 return success; in readFrom() 229 bool success = false; in writeTo() local 235 success = writeTo(fd); in writeTo() 239 if (!success) { in writeTo() 242 return success; in writeTo() 314 bool success = false; in removeFrom() local 320 success = removeFrom(fd); in removeFrom() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 197 boolean success = false; in startExpectResult() 207 success = true; in startExpectResult() 209 if (!success) { in startExpectResult() 235 boolean success = false; in bindExpectResult() 248 success = true; in bindExpectResult() 250 if (!success) { in bindExpectResult() 269 success = false; in bindExpectResult() 278 success = true; in bindExpectResult() 280 if (!success) { in bindExpectResult() 299 success = false; in bindExpectResult() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanNative.java | 140 boolean success; in enableAndConfigure() 150 success = ret == WIFI_SUCCESS; in enableAndConfigure() 153 success = false; in enableAndConfigure() 163 boolean success; in disable() 172 success = ret == WIFI_SUCCESS; in disable() 175 success = false; in disable() 187 boolean success; in publish() 201 success = ret == WIFI_SUCCESS; in publish() 204 success = false; in publish() 215 boolean success; in subscribe() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimPhoneBookTest.java | 74 boolean success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN, in testBasic() 78 assertTrue(success); in testBasic() 82 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN, in testBasic() 87 assertTrue(success); in testBasic() 92 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN, in testBasic() 97 assertTrue(success); in testBasic() 101 success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN, in testBasic() 106 assertTrue(success); in testBasic()
|
/frameworks/rs/api/ |
D | Generator.cpp | 199 bool success = true; in main() local 202 success = false; in main() 205 if (success) { in main() 206 success = systemSpecification.generateFiles(forVerification, maxApiLevel); in main() 208 return success ? 0 : -2; in main()
|
D | GenerateDocumentation.cpp | 175 bool success = true; in convertDocumentationRefences() local 193 success = false; in convertDocumentationRefences() 197 return success; in convertDocumentationRefences() 414 bool success = true; in writeOverviewForFile() local 417 success = false; in writeOverviewForFile() 425 return success; in writeOverviewForFile() 433 bool success = true; in generateOverview() local 439 success = false; in generateOverview() 445 return success; in generateOverview() 624 bool success = true; in writeDetailedDocumentationFile() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 121 boolean success = true; in validateGetSurface() 210 success = false; in validateGetSurface() 221 success = false; in validateGetSurface() 224 return success; in validateGetSurface() 538 boolean success = false; in testGetSurfaceApi() 542 success = validateGetSurface( in testGetSurfaceApi() 544 if (!success) { in testGetSurfaceApi() 556 boolean success = false; in testSurfaceRecording() 565 success = recordVideoFromSurface(frameRate, 0, 352, 288, codec, in testSurfaceRecording() 568 if (success) { in testSurfaceRecording() [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_reduce.java | 70 final boolean success = javaRslt.equals(rsRslt); in result() 73 (success ? "PASSED" : "FAILED")); in result() 74 return success; in result() 78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 83 ": " + (success ? "PASSED" : "FAILED")); in result() 84 return success; in result() 161 final boolean success = (input[rsRslt] == 0); in fz() 164 (success ? "PASSED" : "FAILED")); in fz() 165 return success; in fz() 186 final boolean success = (cellVal == 0); in fz2() [all …]
|
D | UT_reduce_backward.java | 70 final boolean success = javaRslt.equals(rsRslt); in result() 73 (success ? "PASSED" : "FAILED")); in result() 74 return success; in result() 78 final boolean success = (javaRslt.x == rsRslt.x) && (javaRslt.y == rsRslt.y); in result() 83 ": " + (success ? "PASSED" : "FAILED")); in result() 84 return success; in result() 161 final boolean success = (input[rsRslt] == 0); in fz() 164 (success ? "PASSED" : "FAILED")); in fz() 165 return success; in fz() 186 final boolean success = (cellVal == 0); in fz2() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityInteractionClient.java | 286 final boolean success = connection.findAccessibilityNodeInfoByAccessibilityId( in findAccessibilityNodeInfoByAccessibilityId() 291 if (success) { in findAccessibilityNodeInfoByAccessibilityId() 334 final boolean success = connection.findAccessibilityNodeInfosByViewId( in findAccessibilityNodeInfosByViewId() 338 if (success) { in findAccessibilityNodeInfosByViewId() 382 final boolean success = connection.findAccessibilityNodeInfosByText( in findAccessibilityNodeInfosByText() 386 if (success) { in findAccessibilityNodeInfosByText() 429 final boolean success = connection.findFocus(accessibilityWindowId, in findFocus() 433 if (success) { in findFocus() 473 final boolean success = connection.focusSearch(accessibilityWindowId, in focusSearch() 477 if (success) { in focusSearch() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 591 goto success; in parse() 597 goto success; in parse() 604 goto success; in parse() 617 goto success; in parse() 624 goto success; in parse() 631 goto success; in parse() 638 goto success; in parse() 645 goto success; in parse() 652 goto success; in parse() 659 goto success; in parse() [all …]
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SampleMediaRouteProvider.java | 292 boolean success = false; in onControlRequest() 294 success = handlePlay(intent, callback); in onControlRequest() 296 success = handleEnqueue(intent, callback); in onControlRequest() 298 success = handleRemove(intent, callback); in onControlRequest() 300 success = handleSeek(intent, callback); in onControlRequest() 302 success = handleGetStatus(intent, callback); in onControlRequest() 304 success = handlePause(intent, callback); in onControlRequest() 306 success = handleResume(intent, callback); in onControlRequest() 308 success = handleStop(intent, callback); in onControlRequest() 310 success = handleStartSession(intent, callback); in onControlRequest() [all …]
|
/frameworks/base/keystore/tests/src/android/security/ |
D | KeyPairGeneratorSpecTest.java | 95 } catch (IllegalArgumentException success) { in testConstructor_NullContext_Failure() 104 } catch (IllegalArgumentException success) { in testConstructor_NullKeystoreAlias_Failure() 113 } catch (IllegalArgumentException success) { in testConstructor_NullSubjectDN_Failure() 122 } catch (IllegalArgumentException success) { in testConstructor_NullSerial_Failure() 131 } catch (IllegalArgumentException success) { in testConstructor_NullStartDate_Failure() 140 } catch (IllegalArgumentException success) { in testConstructor_NullEndDate_Failure() 149 } catch (IllegalArgumentException success) { in testConstructor_EndBeforeStart_Failure()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 201 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() 203 if (!success) { in insert() 329 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete() 330 if (!success) { in delete() 382 boolean success = updateIccRecordInEf(efType, tag, number, in update() 385 if (!success) { in update() 433 boolean success = false; in addIccRecordToEf() 444 success = iccIpb.updateAdnRecordsInEfBySearchForSubscriber(subId, efType, in addIccRecordToEf() 452 if (DBG) log("addIccRecordToEf: " + success); in addIccRecordToEf() 453 return success; in addIccRecordToEf() [all …]
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_vertex_frame.cpp | 43 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(int_ptr), in Java_android_filterfw_core_VertexFrame_setNativeInts() local 46 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeInts() 60 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(float_ptr), in Java_android_filterfw_core_VertexFrame_setNativeFloats() local 63 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeFloats() 78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), in Java_android_filterfw_core_VertexFrame_setNativeData() local 81 return ToJBool(success); in Java_android_filterfw_core_VertexFrame_setNativeData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | LockscreenWallpaper.java | 94 if (result.success) { in getBitmap() 115 return LoaderResult.success(BitmapFactory.decodeFileDescriptor( in loadBitmap() 127 return LoaderResult.success( in loadBitmap() 133 return LoaderResult.success(null); in loadBitmap() 186 if (result.success) { in run() 199 public final boolean success; field in LockscreenWallpaper.LoaderResult 202 LoaderResult(boolean success, Bitmap bitmap) { in LoaderResult() argument 203 this.success = success; in LoaderResult() 207 static LoaderResult success(Bitmap b) { in success() method in LockscreenWallpaper.LoaderResult
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 45 goto success; in parse() 51 goto success; in parse() 59 goto success; in parse() 73 goto success; in parse() 81 goto success; in parse() 89 goto success; in parse() 97 goto success; in parse() 105 goto success; in parse() 113 goto success; in parse() 121 goto success; in parse() [all …]
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 128 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize() local 129 if (success && major_minor) { in jni_eglInitialize() 139 return EglBoolToJBool(success); in jni_eglInitialize() 151 EGLBoolean success = EGL_FALSE; in jni_eglQueryContext() local 155 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext() 158 return EglBoolToJBool(success); in jni_eglQueryContext() 171 EGLBoolean success = EGL_FALSE; in jni_eglQuerySurface() local 175 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface() 178 return EglBoolToJBool(success); in jni_eglQuerySurface() 201 EGLBoolean success = EGL_FALSE; in jni_eglChooseConfig() local [all …]
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 154 const bool success = writeAllBytes(writer->dstFd, buffer, size); in writeBlock() local 155 if (!success) { in writeBlock() 167 const bool success = FPDF_SaveAsCopy(document, &writer, FPDF_NO_INCREMENTAL); in nativeWrite() local 168 if (!success) { in nativeWrite() 256 FPDF_BOOL success = FPDF_VIEWERREF_GetPrintScaling(document); in nativeScaleForPrinting() local 257 return success ? JNI_TRUE : JNI_FALSE; in nativeScaleForPrinting() 276 const FPDF_BOOL success = (pageBox == PAGE_BOX_MEDIA) in nativeGetPageBox() local 282 if (!success) { in nativeGetPageBox() 296 const bool success = nativeGetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_MEDIA, in nativeGetPageMediaBox() local 298 return success ? JNI_TRUE : JNI_FALSE; in nativeGetPageMediaBox() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraStateHolder.java | 81 boolean success(); in success() method 98 while (!stateChecker.success()) { in waitForCondition() 125 public boolean success() { in waitForStates() 143 public boolean success() {
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerBaseTest.java | 358 boolean success = mSm.mountObb(obbFilePath, key, obbListener); in doMountObb_noThrow() 359 success &= obbFilePath.equals(doWaitForObbStateChange(obbListener)); in doMountObb_noThrow() 360 success &= (expectedState == obbListener.state()); in doMountObb_noThrow() 363 success &= obbFilePath.equals(obbListener.officialPath()); in doMountObb_noThrow() 364 success &= mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow() 366 success &= !mSm.isObbMounted(obbListener.officialPath()); in doMountObb_noThrow() 369 if (success) { in doMountObb_noThrow() 418 boolean success = true; in unmountObb_noThrow() 425 success &= stateChanged; in unmountObb_noThrow() 426 success &= (OnObbStateChangeListener.UNMOUNTED == obbListener.state()); in unmountObb_noThrow() [all …]
|