Searched defs:success (Results 51 - 75 of 75) sorted by relevance

123

/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp462 bool success = false; local
477 success = encoder->encodeStream(strm, *bitmap, quality);
482 return success ? JNI_TRUE : JNI_FALSE;
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp131 EGLBoolean success = eglInitialize(dpy, NULL, NULL); local
132 if (success && major_minor) {
142 return EglBoolToJBool(success);
154 EGLBoolean success = EGL_FALSE; local
158 success = eglQueryContext(dpy, ctx, attribute, base);
161 return EglBoolToJBool(success);
174 EGLBoolean success = EGL_FALSE; local
178 success = eglQuerySurface(dpy, sur, attribute, base);
181 return EglBoolToJBool(success);
204 EGLBoolean success local
380 EGLBoolean success = EGL_FALSE; local
397 EGLBoolean success = EGL_FALSE; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp497 const bool success = (!requestTile || !manage_coordinates_ || vertex_count_ != 4) local
504 return success && !GLEnv::CheckGLError("Rendering");
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java980 public void notifySessionFinished(int sessionId, int userId, boolean success) { argument
981 obtainMessage(MSG_SESSION_FINISHED, sessionId, userId, success).sendToTarget();
1030 public void onSessionFinished(final PackageInstallerSession session, boolean success) { argument
1031 mCallbacks.notifySessionFinished(session.sessionId, session.userId, success);
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp1013 const bool success = refs->attemptIncStrong(mProcess.get()); local
1014 ALOG_ASSERT(success && refs->refBase() == obj,
1019 mOut.writeInt32((int32_t)success);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java446 private void sendToClient(int event, boolean success) { argument
447 sendToClient(event, success, null);
450 private void sendToClient(int event, boolean success, int param) { argument
451 sendToClient(event, success, Integer.valueOf(param));
454 private void sendToClient(int event, boolean success, Object param) { argument
455 if (success) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java560 * @param success indicates that last message was successfully received.
564 protected abstract void acknowledgeLastIncomingSms(boolean success, argument
583 * @param success indicates that last message was successfully received.
587 void notifyAndAcknowledgeLastIncomingSms(boolean success, argument
589 if (!success) {
595 acknowledgeLastIncomingSms(success, result, response);
925 * @return true on success; false on failure to write to database
H A DCommandsInterface.java629 * ar.exception and ar.result are null on success
648 * ar.exception and ar.result are null on success
665 * ar.exception and ar.result are null on success
683 * ar.exception and ar.result are null on success
702 * ar.exception and ar.result are null on success
723 * ar.exception and ar.result are null on success
742 * ar.exception and ar.result are null on success
763 * ar.exception and ar.result are null on success
813 * ar.result is null on success and failure
826 * ar.result is null on success an
1159 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
1161 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
1172 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
[all...]
H A DRIL.java1552 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) { argument
1557 rr.mParcel.writeInt(success ? 1 : 0);
1561 + " " + success + " " + cause);
1568 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) { argument
1572 rr.mParcel.writeInt(success ? 0 : 1); //RIL_CDMA_SMS_ErrorClass
1577 + " " + success + " " + cause);
1584 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) { argument
1589 rr.mParcel.writeString(success ? "1" : "0");
1593 + ' ' + success + " [" + ackPdu + ']');
/frameworks/av/camera/
H A DCameraParameters.cpp332 int success = parse_pair(sizeStartPtr, &width, &height, 'x', local
334 if (success == -1 || (*sizeStartPtr != ',' && *sizeStartPtr != '\0')) {
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp451 bool success = meta->findInt32(kKeyDisplayWidth, &displayWidth); local
452 if (success) {
453 success = meta->findInt32(kKeyDisplayHeight, &displayHeight);
455 if (success) {
2393 bool success; local
2398 success = SniffWVM(dataSource, &mimeType, &confidence, &dummy);
2401 if (!success
H A DOMXCodec.cpp305 bool success = meta->findCString(kKeyMIMEType, &mime); local
306 CHECK(success);
881 bool success = meta->findInt32(kKeyWidth, &width); local
882 success = success && meta->findInt32(kKeyHeight, &height);
883 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
884 success = success && meta->findInt32(kKeyBitRate, &bitRate);
885 success
1103 bool success = meta->findInt32(kKeyBitRate, &bitRate); local
1150 bool success = meta->findInt32(kKeyBitRate, &bitRate); local
1202 bool success = meta->findInt32(kKeyBitRate, &bitRate); local
1278 bool success = meta->findInt32(kKeyWidth, &width); local
[all...]
H A DMPEG4Extractor.cpp2997 bool success = mFormat->findCString(kKeyMIMEType, &mime); local
2998 CHECK(success);
H A DMPEG4Writer.cpp1457 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate); local
1458 CHECK(success);
2688 bool success = mMeta->findCString(kKeyMIMEType, &mime); local
2689 CHECK(success);
2711 success = mMeta->findInt32(kKeyWidth, &width);
2712 success = success && mMeta->findInt32(kKeyHeight, &height);
2713 CHECK(success);
2742 bool success = mMeta->findCString(kKeyMIMEType, &mime); local
2743 CHECK(success);
2887 bool success = mMeta->findInt32(kKeyWidth, &width); local
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java864 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, boolean success) { argument
867 if (success) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java276 public void acknowledgeLastIncomingGsmSms(boolean success, int cause, argument
281 public void acknowledgeLastIncomingCdmaSms(boolean success, int cause, argument
286 public void acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java277 public void acknowledgeLastIncomingGsmSms(boolean success, int cause, argument
282 public void acknowledgeLastIncomingCdmaSms(boolean success, int cause, argument
287 public void acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java40 private boolean mExpectingAcknowledgeGsmSmsSuccess; // true if expecting ack SMS success
55 * Expect a call to acknowledgeLastIncomingGsmSms with success flag and failure cause.
56 * @param success true if expecting success; false if expecting failure
57 * @param cause the failure cause, if success is false
59 synchronized void expectAcknowledgeGsmSms(boolean success, int cause) { argument
62 mExpectingAcknowledgeGsmSmsSuccess = success;
67 * Expect a call to acknowledgeLastIncomingGsmSmsWithPdu with success flag and PDU.
68 * @param success true if expecting success; fals
71 expectAcknowledgeGsmSmsWithPdu(boolean success, String ackPdu) argument
107 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
122 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
392 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
[all...]
/frameworks/rs/api/
H A Dgen_runtime.cpp751 bool success = writeAllFunctions(headerFile, versionOfTestFiles); local
757 return success;
772 bool success = true; local
776 success = false;
779 return success;
904 bool success = true; local
978 success = false;
984 if (success) {
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java1006 void onKeyguardExitResult(boolean success); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java126 Rlog.i(LOG_TAG, "[SimCmd] supplyIccPin: success!");
169 Rlog.i(LOG_TAG, "[SimCmd] supplyIccPuk: success!");
212 Rlog.i(LOG_TAG, "[SimCmd] supplyIccPin2: success!");
254 Rlog.i(LOG_TAG, "[SimCmd] supplyIccPuk2: success!");
494 * ar.result is null on success and failure
512 * ar.result is null on success and failure
534 * ar.result is String containing IMSI on success
546 * ar.result is String containing IMEI on success
558 * ar.result is String containing IMEISV on success
571 * ar.result is null on success an
1117 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) argument
1122 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) argument
1127 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java483 * @return a detailed errno error code, or {@code NO_ERROR} on success
1128 boolean success = msg.arg1 == 0 ? false : true;
1129 cb.onAutoFocus(success, mCamera);
1200 * <code>success</code> set to <code>true</code>.
1205 * @param success true if focus was successful, false if otherwise
1210 void onAutoFocus(boolean success, Camera camera); argument
1247 * success sound to the user.</p>
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jar ... osName private boolean deleteDir (java.io.File) boolean success int i String[] children java.io.File dir ...
/frameworks/multidex/gradle/wrapper/
H A Dgradle-wrapper.jar ... osName private boolean deleteDir (java.io.File) boolean success int i String[] children java.io.File dir ...
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... osName private boolean deleteDir (java.io.File) boolean success int i String[] children java.io.File dir ...

Completed in 4575 milliseconds

123