/cts/tests/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 57 LocalActivityManagerTestHelper.setResult(this); 71 LocalActivityManagerTestHelper.setResult(this); 77 LocalActivityManagerTestHelper.setResult(this); 83 LocalActivityManagerTestHelper.setResult(this); 89 LocalActivityManagerTestHelper.setResult(this); 95 LocalActivityManagerTestHelper.setResult(this); 101 LocalActivityManagerTestHelper.setResult(this); 107 LocalActivityManagerTestHelper.setResult(this); 113 LocalActivityManagerTestHelper.setResult(this); 118 public void setResult(final int resultCode) [all...] |
/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);
|
/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);
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
MockableCheckVoiceData.java | 41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); 54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal);
|
/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/tests/media/src/android/media/cts/ |
AudioManagerStub.java | 59 mCTSResult.setResult(CTSResult.RESULT_FAIL); 73 mCTSResult.setResult(CTSResult.RESULT_FAIL); 89 mCTSResult.setResult(CTSResult.RESULT_OK);
|
/cts/libs/util/src/android/app/cts/ |
CTSResult.java | 22 public void setResult(int resultCode);
|
/packages/apps/Settings/src/com/android/settings/ |
AllowBindAppWidgetActivity.java | 55 setResult(RESULT_CANCELED); 61 setResult(RESULT_OK); 77 setResult(RESULT_CANCELED); 101 setResult(RESULT_CANCELED);
|
/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 | 187 setResult(RESULT_CANCELED); 192 setResult(resultCode); 216 setResult(RESULT_CANCELED); 246 setResult(returnCode); 272 setResult(RESULT_CANCELED); 279 setResult(RESULT_CANCELED); 297 setResult(RESULT_CANCELED);
|
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 62 setResult(Activity.RESULT_CANCELED); 76 setResult(Activity.RESULT_CANCELED); 86 setResult(Activity.RESULT_CANCELED); 165 setResult(RESULT_OK, result); 171 setResult(RESULT_CANCELED);
|
/packages/apps/Phone/src/com/android/phone/ |
InCallScreenShowActivation.java | 63 setResult(RESULT_CANCELED); 112 setResult(OtaUtils.RESULT_INTERACTIVE_OTASP_STARTED); 125 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_STARTED); 128 setResult(OtaUtils.RESULT_NONINTERACTIVE_OTASP_FAILED); 133 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);
|