/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 …]
|
D | SimulatedCommands.java | 578 boolean success; in hangupConnection() 580 success = simulatedCallState.onChld('1', (char)('0'+gsmIndex)); in hangupConnection() 582 if (!success){ in hangupConnection() 601 boolean success; in hangupWaitingOrBackground() 603 success = simulatedCallState.onChld('0', '\0'); in hangupWaitingOrBackground() 605 if (!success){ in hangupWaitingOrBackground() 623 boolean success; in hangupForegroundResumeBackground() 625 success = simulatedCallState.onChld('1', '\0'); in hangupForegroundResumeBackground() 627 if (!success){ in hangupForegroundResumeBackground() 645 boolean success; in switchWaitingOrHoldingAndActive() [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/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/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/base/core/java/android/view/accessibility/ |
D | AccessibilityInteractionClient.java | 286 final boolean success = connection.findAccessibilityNodeInfoByAccessibilityId( in findAccessibilityNodeInfoByAccessibilityId() 290 if (success) { in findAccessibilityNodeInfoByAccessibilityId() 332 final boolean success = connection.findAccessibilityNodeInfosByViewId( in findAccessibilityNodeInfosByViewId() 335 if (success) { in findAccessibilityNodeInfosByViewId() 378 final boolean success = connection.findAccessibilityNodeInfosByText( in findAccessibilityNodeInfosByText() 381 if (success) { in findAccessibilityNodeInfosByText() 423 final boolean success = connection.findFocus(accessibilityWindowId, in findFocus() 426 if (success) { in findFocus() 465 final boolean success = connection.focusSearch(accessibilityWindowId, in focusSearch() 468 if (success) { in focusSearch() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccProvider.java | 199 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() 201 if (!success) { in insert() 327 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete() 328 if (!success) { in delete() 380 boolean success = updateIccRecordInEf(efType, tag, number, in update() 383 if (!success) { in update() 429 boolean success = false; in addIccRecordToEf() 440 success = iccIpb.updateAdnRecordsInEfBySearchForSubscriber(subId, efType, in addIccRecordToEf() 448 if (DBG) log("addIccRecordToEf: " + success); in addIccRecordToEf() 449 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/opt/telephony/src/java/android/telephony/ |
D | SmsManager.java | 567 boolean success = false; in copyMessageToIcc() 575 success = iccISms.copyMessageToIccEfForSubscriber(getSubscriptionId(), in copyMessageToIcc() 583 return success; in copyMessageToIcc() 598 boolean success = false; in deleteMessageFromIcc() 605 success = iccISms.updateMessageOnIccEfForSubscriber(getSubscriptionId(), in deleteMessageFromIcc() 613 return success; in deleteMessageFromIcc() 631 boolean success = false; in updateMessageOnIcc() 636 success = iccISms.updateMessageOnIccEfForSubscriber(getSubscriptionId(), in updateMessageOnIcc() 644 return success; in updateMessageOnIcc() 694 boolean success = false; in enableCellBroadcast() [all …]
|
/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/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/jni/android/graphics/pdf/ |
D | PdfEditor.cpp | 152 const bool success = writeAllBytes(writer->dstFd, buffer, size); in writeBlock() local 153 if (success < 0) { in writeBlock() 165 const bool success = FPDF_SaveAsCopy(document, &writer, FPDF_NO_INCREMENTAL); in nativeWrite() local 166 if (!success) { in nativeWrite() 250 FPDF_BOOL success = FPDF_VIEWERREF_GetPrintScaling(document); in nativeScaleForPrinting() local 251 return success ? JNI_TRUE : JNI_FALSE; in nativeScaleForPrinting() 270 const FPDF_BOOL success = (pageBox == PAGE_BOX_MEDIA) in nativeGetPageBox() local 276 if (!success) { in nativeGetPageBox() 290 const bool success = nativeGetPageBox(env, thiz, documentPtr, pageIndex, PAGE_BOX_MEDIA, in nativeGetPageMediaBox() local 292 return success ? JNI_TRUE : JNI_FALSE; in nativeGetPageMediaBox() [all …]
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 131 EGLBoolean success = eglInitialize(dpy, NULL, NULL); in jni_eglInitialize() local 132 if (success && major_minor) { in jni_eglInitialize() 142 return EglBoolToJBool(success); in jni_eglInitialize() 154 EGLBoolean success = EGL_FALSE; in jni_eglQueryContext() local 158 success = eglQueryContext(dpy, ctx, attribute, base); in jni_eglQueryContext() 161 return EglBoolToJBool(success); in jni_eglQueryContext() 174 EGLBoolean success = EGL_FALSE; in jni_eglQuerySurface() local 178 success = eglQuerySurface(dpy, sur, attribute, base); in jni_eglQuerySurface() 181 return EglBoolToJBool(success); in jni_eglQuerySurface() 204 EGLBoolean success = EGL_FALSE; in jni_eglChooseConfig() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 119 boolean success = true; in validateGetSurface() 208 success = false; in validateGetSurface() 219 success = false; in validateGetSurface() 222 return success; in validateGetSurface() 500 boolean success = false; in testGetSurfaceApi() 504 success = validateGetSurface( in testGetSurfaceApi() 506 if (!success) { in testGetSurfaceApi() 518 boolean success = false; in testSurfaceRecording() 527 success = recordVideoFromSurface(frameRate, 0, 352, 288, codec, in testSurfaceRecording() 530 if (success) { in testSurfaceRecording() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Base64InputStream.java | 140 boolean success; in refill() 143 success = coder.process(EMPTY, 0, 0, true); in refill() 145 success = coder.process(inputBuffer, 0, bytesRead, false); in refill() 147 if (!success) { in refill()
|
/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 …]
|
/frameworks/minikin/libs/minikin/ |
D | CmapCoverage.cpp | 160 bool success = false; in getCoverage() local 164 success = getCoverageFormat4(coverageVec, tableData, tableSize); in getCoverage() 166 success = getCoverageFormat12(coverageVec, tableData, tableSize); in getCoverage() 168 if (success) { in getCoverage() 175 ALOGD("success = %d", success); in getCoverage() 177 return success; in getCoverage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 203 boolean success; in sendSmsAckForEnvelopeResponse() 206 success = true; in sendSmsAckForEnvelopeResponse() 213 success = false; in sendSmsAckForEnvelopeResponse() 216 success = false; in sendSmsAckForEnvelopeResponse() 221 if (success) { in sendSmsAckForEnvelopeResponse() 232 if (success) { in sendSmsAckForEnvelopeResponse() 256 mCi.acknowledgeIncomingGsmSmsWithPdu(success, in sendSmsAckForEnvelopeResponse()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BroadcasterTest.java | 54 success(); in test1() 104 success(); in handleMessage() 153 success(); in test4() 188 success(); in test5() 224 success(); in test6()
|
D | IdleHandlerTest.java | 75 success(); in testOneShotFirst() 111 success(); in testOneShotLater() 146 success(); in testRepeatedFirst() 182 success(); in testRepeatedLater()
|
/frameworks/compile/mclinker/lib/Support/ |
D | Demangle.cpp | 55 int internal_status = success; in isCtorOrDtor() 57 if (internal_status == success && in isCtorOrDtor() 70 if (internal_status != success) { in isCtorOrDtor()
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | RawDocumentFile.java | 160 boolean success = true; in deleteContents() 164 success &= deleteContents(file); in deleteContents() 168 success = false; in deleteContents() 172 return success; in deleteContents()
|
/frameworks/base/core/java/android/print/ |
D | IPrintSpoolerCallbacks.aidl | 32 void onSetPrintJobStateResult(boolean success, int sequence); in onSetPrintJobStateResult() argument 33 void onSetPrintJobTagResult(boolean success, int sequence); in onSetPrintJobTagResult() argument
|