/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityScreen.java | 85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); 98 setResult(RESULT_OK, res); 115 setResult(RESULT_OK); 122 setResult(RESULT_CANCELED, (new Intent()).setAction( 129 setResult(RESULT_CANCELED, (new Intent()).setAction( 132 setResult(RESULT_CANCELED, (new Intent()).setAction( 135 setResult(RESULT_CANCELED, (new Intent()).setAction( 138 setResult(RESULT_CANCELED, (new Intent()).setAction( 144 setResult(RESULT_CANCELED, (new Intent()).setAction(
|
ClearTop.java | 43 setResult(RESULT_OK); 45 setResult(RESULT_CANCELED, new Intent().setAction(
|
TestedActivity.java | 60 setResult(RESULT_OK); 71 setResult(RESULT_OK);
|
TestedScreen.java | 51 setResult(RESULT_OK, (new Intent()).setAction( 104 setResult(RESULT_OK); 121 setResult(RESULT_OK);
|
/cts/tests/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 73 LocalActivityManagerTestHelper.setResult(this); 114 LocalActivityManagerTestHelper.setResult(this); 132 LocalActivityManagerTestHelper.setResult(this); 143 LocalActivityManagerTestHelper.setResult(this); 154 LocalActivityManagerTestHelper.setResult(this); 165 LocalActivityManagerTestHelper.setResult(this); 176 LocalActivityManagerTestHelper.setResult(this); 187 LocalActivityManagerTestHelper.setResult(this); 198 LocalActivityManagerTestHelper.setResult(this); 203 public void setResult(final int resultCode) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
MiniPreferenceActivity.java | 33 setResult(RESULT_OK); 61 setResult(RESULT_OK); 63 setResult(RESULT_CANCELED);
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
ExpressionTranslator.java | 147 private void setResult(JavaExpression javaExpression) { 157 setResult(varName); 167 setResult(string(value)); 176 setResult(integer(value)); 188 setResult(integer(value)); 197 setResult(cast(Type.INT, node.getExpression())); 202 setResult(prefix(Type.BOOLEAN, Type.BOOLEAN, "!", node.getExpression())); 215 setResult(call(Type.BOOLEAN, "exists", currentJavaExpression)); 220 setResult(bool(true)); 228 setResult(callOn(Type.BOOLEAN, left, "equals", right)) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
ValueAwareMachine.java | 79 setResult((TypeBearer) getAuxCst()); 84 setResult(arg(0)); 122 setResult(getAuxType()); 141 setResult(new ReturnAddress(getAuxTarget())); 153 setResult(type); 166 setResult(type); 172 setResult(type.asUninitialized(offset)); 179 setResult(type); 184 setResult(type.getArrayType()); 188 setResult(Type.INT) [all...] |
/cts/tests/src/android/widget/cts/ |
ViewGroupStubActivity.java | 31 public static void setResult(CTSResult result) { 58 sResult.setResult(CTSResult.RESULT_OK); 66 sResult.setResult(CTSResult.RESULT_FAIL);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SendResult.java | 63 // To send a result, simply call setResult() before your 65 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 74 // To send a result, simply call setResult() before your 76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SendResult.java | 63 // To send a result, simply call setResult() before your 65 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 74 // To send a result, simply call setResult() before your 76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
/cts/tests/src/android/app/cts/ |
ClearTop.java | 40 setResult(RESULT_OK); 42 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent
|
TestedScreen.java | 46 setResult(RESULT_OK, new Intent().setAction(LaunchpadActivity.RETURNED_RESULT)); 96 setResult(RESULT_OK); 111 setResult(RESULT_OK);
|
CTSResult.java | 22 public void setResult(int resultCode);
|
/external/llvm/lib/MC/MCDisassembler/ |
EDInst.cpp | 64 return StringifyResult.setResult(-1); 68 return StringifyResult.setResult(0); 105 return ParseResult.setResult(-1); 127 return ParseResult.setResult(0); 170 return TokenizeResult.setResult(-1); 173 return TokenizeResult.setResult(-1); 175 return TokenizeResult.setResult(EDToken::tokenize(Tokens,
|
/cts/tests/src/android/media/cts/ |
AudioManagerStub.java | 58 mCTSResult.setResult(CTSResult.RESULT_FAIL); 72 mCTSResult.setResult(CTSResult.RESULT_FAIL); 88 mCTSResult.setResult(CTSResult.RESULT_OK);
|
/packages/apps/Contacts/src/com/android/contacts/socialwidget/ |
SocialWidgetConfigureActivity.java | 30 setResult(RESULT_CANCELED); 59 setResult(RESULT_OK, resultValue);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
CertificateRequestor.java | 60 setResult(RESULT_CANCELED); 64 setResult(RESULT_OK, data);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetTypeChooser.java | 37 setResult(RESULT_OK, data); 54 setResult(RESULT_CANCELED);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
RequestPermissionActivity.java | 182 setResult(RESULT_CANCELED); 187 setResult(resultCode); 211 setResult(RESULT_CANCELED); 241 setResult(returnCode); 267 setResult(RESULT_CANCELED); 274 setResult(RESULT_CANCELED); 292 setResult(RESULT_CANCELED);
|
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 63 setResult(Activity.RESULT_CANCELED); 77 setResult(Activity.RESULT_CANCELED); 87 setResult(Activity.RESULT_CANCELED); 150 setResult(RESULT_OK, result); 156 setResult(RESULT_CANCELED);
|
/packages/apps/Phone/src/com/android/phone/ |
InCallScreenShowActivation.java | 62 setResult(RESULT_CANCELED); 111 setResult(OtaUtils.RESULT_INTERACTIVE_OTASP_STARTED); 124 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_STARTED); 127 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_FAILED); 132 setResult(RESULT_CANCELED);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResult.java | 26 * {@link Activity#setResult(int)} so that {@link TestListActivity} 45 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId, 51 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_FAILED, testId,
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
CreateGestureActivity.java | 91 setResult(RESULT_OK); 97 setResult(RESULT_CANCELED); 106 setResult(RESULT_CANCELED);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
JoinContactActivity.java | 80 setResult(RESULT_CANCELED); 110 setResult(RESULT_OK, intent); 133 setResult(RESULT_CANCELED);
|