Searched refs:success (Results 1 - 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/view/
H A DIOnKeyguardExitResult.aidl23 void onKeyguardExitResult(boolean success);
/frameworks/base/opengl/tests/EGLTest/
H A DEGL_test.cpp48 EGLBoolean success = eglTerminate(mEglDisplay); local
49 ASSERT_EQ(EGL_TRUE, success);
58 EGLBoolean success; local
65 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
66 ASSERT_EQ(EGL_TRUE, success);
72 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
73 ASSERT_EQ(EGL_TRUE, success);
75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
76 ASSERT_EQ(EGL_TRUE, success);
78 success
91 EGLBoolean success; local
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DModelInterpreter.java280 boolean success;
282 success = simulatedCallState.triggerRing(number);
284 if (success) {
330 boolean success;
332 success = simulatedCallState.triggerHangupForeground();
334 if (success) {
343 boolean success;
345 success = simulatedCallState.triggerHangupBackground();
347 if (success) {
357 boolean success;
[all...]
H A DSimulatedCommands.java122 Log.i(LOG_TAG, "[SimCmd] supplyIccPin: success!");
164 Log.i(LOG_TAG, "[SimCmd] supplyIccPuk: success!");
206 Log.i(LOG_TAG, "[SimCmd] supplyIccPin2: success!");
247 Log.i(LOG_TAG, "[SimCmd] supplyIccPuk2: success!");
478 * ar.result is null on success and failure
495 * ar.result is null on success and failure
512 * ar.result is String containing IMSI on success
523 * ar.result is String containing IMEI on success
534 * ar.result is String containing IMEISV on success
546 * ar.result is null on success an
1039 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) argument
1043 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) argument
1047 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSmsManager.java56 * The result code will be <code>Activity.RESULT_OK</code> for success,
119 * The result code will be <code>Activity.RESULT_OK</code> for success,
182 * The result code will be <code>Activity.RESULT_OK</code> for success,
243 * @return true for success
248 boolean success = false;
253 success = iccISms.copyMessageToIccEf(status, pdu, smsc);
259 return success;
268 * @return true for success
274 boolean success = false;
281 success
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimPhoneBookTest.java71 boolean success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN,
75 assertTrue(success);
79 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN,
84 assertTrue(success);
89 success = simPhoneBook.updateAdnRecordsInEfBySearch(IccConstants.EF_ADN,
94 assertTrue(success);
98 success = simPhoneBook.updateAdnRecordsInEfByIndex(IccConstants.EF_ADN,
103 assertTrue(success);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccProvider.java134 boolean success = addIccRecordToEf(efType, tag, number, null, pin2);
136 if (!success) {
240 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2);
241 if (!success) {
278 boolean success = updateIccRecordInEf(efType, tag, number,
281 if (!success) {
325 boolean success = false;
336 success = iccIpb.updateAdnRecordsInEfBySearch(efType, "", "",
344 if (DBG) log("addIccRecordToEf: " + success);
345 return success;
[all...]
H A DIccIoResult.java49 public boolean success() { method in class:IccIoResult
54 * Returns exception on error or null if success
57 if (success()) return null;
H A DIccPhoneBookInterfaceManager.java40 protected boolean success; field in class:IccPhoneBookInterfaceManager
73 success = (ar.exception == null);
138 * @return true for success
162 success = false;
170 return success;
188 * @return true for success
206 success = false;
213 return success;
/frameworks/base/core/java/android/webkit/
H A DSslErrorHandlerImpl.java98 boolean success = (outState != null);
99 if (success) {
104 return success;
112 boolean success = (inState != null);
113 if (success) {
114 success = inState.containsKey("ssl-error-handler");
115 if (success) {
120 return success;
/frameworks/base/core/java/android/util/
H A DBase64InputStream.java140 boolean success;
143 success = coder.process(EMPTY, 0, 0, true);
145 success = coder.process(inputBuffer, 0, bytesRead, false);
147 if (!success) {
/frameworks/base/core/java/android/app/
H A DKeyguardManager.java100 * @param success True if the user was able to authenticate, false if
103 void onKeyguardExitResult(boolean success); argument
207 public void onKeyguardExitResult(boolean success) throws RemoteException {
208 callback.onKeyguardExitResult(success);
/frameworks/base/libs/utils/
H A DObbFile.cpp89 bool success = false; local
96 success = readFrom(fd);
99 if (!success) {
104 return success;
229 bool success = false; local
235 success = writeTo(fd);
239 if (!success) {
242 return success;
314 bool success = false; local
320 success
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java197 boolean success = false;
207 success = true;
209 if (!success) {
235 boolean success = false;
248 success = true;
250 if (!success) {
269 success = false;
278 success = true;
280 if (!success) {
299 success
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DIdleHandlerTest.java75 success();
111 success();
146 success();
182 success();
H A DBroadcasterTest.java54 success();
104 success();
153 success();
188 success();
224 success();
H A DHandlerTester.java50 public void success() { method in class:HandlerTester
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java64 * @return Activity.RESULT_OK on success; Intents.RESULT_SMS_GENERIC_ERROR on failure
165 boolean success;
168 success = true;
175 success = false;
178 success = false;
183 if (success) {
194 if (success) {
218 mCI.acknowledgeIncomingGsmSmsWithPdu(success,
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java358 boolean success = mSm.mountObb(obbFilePath, key, obbListener);
359 success &= obbFilePath.equals(doWaitForObbStateChange(obbListener));
360 success &= (expectedState == obbListener.state());
363 success &= obbFilePath.equals(obbListener.officialPath());
364 success &= mSm.isObbMounted(obbListener.officialPath());
366 success &= !mSm.isObbMounted(obbListener.officialPath());
369 if (success) {
418 boolean success = true;
425 success &= stateChanged;
426 success
[all...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java39 private boolean mExpectingAcknowledgeGsmSmsSuccess; // true if expecting ack SMS success
54 * Expect a call to acknowledgeLastIncomingGsmSms with success flag and failure cause.
55 * @param success true if expecting success; false if expecting failure
56 * @param cause the failure cause, if success is false
58 synchronized void expectAcknowledgeGsmSms(boolean success, int cause) { argument
61 mExpectingAcknowledgeGsmSmsSuccess = success;
66 * Expect a call to acknowledgeLastIncomingGsmSmsWithPdu with success flag and PDU.
67 * @param success true if expecting success; fals
70 expectAcknowledgeGsmSmsWithPdu(boolean success, String ackPdu) argument
106 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
121 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
377 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java296 final boolean success = connection.performAccessibilityAction(
299 if (success) {
323 final boolean success = waitForResultTimedLocked(interactionId);
324 AccessibilityNodeInfo result = success ? mFindAccessibilityNodeInfoResult : null;
353 final boolean success = waitForResultTimedLocked(interactionId);
354 List<AccessibilityNodeInfo> result = success ? mFindAccessibilityNodeInfosResult : null;
382 final boolean success = waitForResultTimedLocked(interactionId);
383 final boolean result = success ? mPerformAccessibilityActionResult : false;
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp125 jboolean success = eglInitialize(dpy, NULL, NULL); local
126 if (success && major_minor) {
136 return success;
148 jboolean success = JNI_FALSE; local
152 success = eglQueryContext(dpy, ctx, attribute, base);
155 return success;
168 jboolean success = JNI_FALSE; local
172 success = eglQuerySurface(dpy, sur, attribute, base);
175 return success;
198 jboolean success local
376 jboolean success = JNI_FALSE; local
393 jboolean success = JNI_FALSE; local
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteOpenHelper.java149 boolean success = false;
181 success = true;
185 if (success) {
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java81 boolean success = false;
100 success = true;
102 if (!success) {
/frameworks/media/libvideoeditor/lvpp/
H A DAudioPlayerBase.cpp100 bool success = format->findCString(kKeyMIMEType, &mime); local
101 CHECK(success);
104 success = format->findInt32(kKeySampleRate, &mSampleRate);
105 CHECK(success);
108 success = format->findInt32(kKeyChannelCount, &numChannels);
109 CHECK(success);

Completed in 318 milliseconds

1234