/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResultReceiverTest.java | 20 assertEquals(5, testResultReceiver.resultCode); 25 int resultCode; 33 protected void onReceiveResult(int resultCode, Bundle resultData) { 34 this.resultCode = resultCode;
|
/packages/apps/Camera/src/com/android/camera/ |
ProxyLauncher.java | 37 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 38 super.onActivityResult(requestCode, resultCode, data); 39 if (resultCode == RESULT_CANCELED) { 40 resultCode = RESULT_USER_CANCELED; 42 setResult(resultCode, data);
|
/packages/apps/Camera2/src/com/android/camera/ |
ProxyLauncher.java | 37 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 38 super.onActivityResult(requestCode, resultCode, data); 39 if (resultCode == RESULT_CANCELED) { 40 resultCode = RESULT_USER_CANCELED; 42 setResult(resultCode, data);
|
/frameworks/base/core/java/android/os/ |
ResultReceiver.java | 37 MyRunnable(int resultCode, Bundle resultData) { 38 mResultCode = resultCode; 48 public void send(int resultCode, Bundle resultData) { 50 mHandler.post(new MyRunnable(resultCode, resultData)); 52 onReceiveResult(resultCode, resultData); 71 * @param resultCode Arbitrary result code to deliver, as defined by you. 74 public void send(int resultCode, Bundle resultData) { 77 mHandler.post(new MyRunnable(resultCode, resultData)); 79 onReceiveResult(resultCode, resultData); 86 mReceiver.send(resultCode, resultData) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
AbstractTestListActivity.java | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 45 super.onActivityResult(requestCode, resultCode, data); 48 handleLaunchTestResult(resultCode, data); 56 private void handleLaunchTestResult(int resultCode, Intent data) { 57 if (resultCode == RESULT_OK) { 58 TestResult testResult = TestResult.fromActivityResult(resultCode, data);
|
/cts/tests/tests/os/src/android/os/cts/ |
ResultReceiverTest.java | 34 int resultCode = 1; 35 sender.send(resultCode, bundle); 37 assertEquals(resultCode, sender.getResultCode()); 60 protected void onReceiveResult(int resultCode, Bundle resultData) { 61 super.onReceiveResult(resultCode, resultData); 63 mResultCode = resultCode;
|
/external/chromium_org/sandbox/win/src/ |
sandbox_policy_base.h | 42 virtual ResultCode SetTokenLevel(TokenLevel initial, 44 virtual ResultCode SetJobLevel(JobLevel job_level, 46 virtual ResultCode SetAlternateDesktop(bool alternate_winstation) OVERRIDE; 48 virtual ResultCode CreateAlternateDesktop(bool alternate_winstation) OVERRIDE; 50 virtual ResultCode SetIntegrityLevel(IntegrityLevel integrity_level) OVERRIDE; 51 virtual ResultCode SetDelayedIntegrityLevel( 53 virtual ResultCode SetAppContainer(const wchar_t* sid) OVERRIDE; 54 virtual ResultCode SetCapability(const wchar_t* sid) OVERRIDE; 55 virtual ResultCode SetProcessMitigations(MitigationFlags flags) OVERRIDE; 57 virtual ResultCode SetDelayedProcessMitigations [all...] |
handle_interception.cc | 16 ResultCode DuplicateHandleProxy(HANDLE source_handle, 29 ResultCode code = CrossCall(ipc, IPC_DUPLICATEHANDLEPROXY_TAG,
|
app_container.h | 32 ResultCode SetAppContainer(const string16& app_container_sid, 40 ResultCode ShareForStartup( 56 ResultCode CreateAppContainer(const string16& sid, const string16& name); 60 ResultCode DeleteAppContainer(const string16& sid);
|
handle_interception.h | 15 ResultCode DuplicateHandleProxy(HANDLE source_handle,
|
app_container.cc | 51 ResultCode AppContainerAttributes::SetAppContainer( 77 ResultCode AppContainerAttributes::ShareForStartup( 97 ResultCode CreateAppContainer(const string16& sid, const string16& name) { 112 ResultCode operation_result = SBOX_ERROR_GENERIC; 124 ResultCode DeleteAppContainer(const string16& sid) { 137 ResultCode operation_result = SBOX_ERROR_GENERIC;
|
broker_services.h | 47 virtual ResultCode Init() OVERRIDE; 49 virtual ResultCode SpawnTarget(const wchar_t* exe_path, 53 virtual ResultCode WaitForAllTargets() OVERRIDE; 54 virtual ResultCode AddTargetPeer(HANDLE peer_process) OVERRIDE; 55 virtual ResultCode InstallAppContainer(const wchar_t* sid, 57 virtual ResultCode UninstallAppContainer(const wchar_t* sid) OVERRIDE;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResultException.java | 26 private ResultCode mResult; 30 public ResultException(ResultCode result) { 57 public ResultException(ResultCode result, String explanation) { 62 public ResultException(ResultCode result, int additionalInfo) { 73 public ResultException(ResultCode result, int additionalInfo, String explanation) { 78 public ResultCode result() {
|
CatResponseMessage.java | 21 ResultCode mResCode = ResultCode.OK; 32 public void setResultCode(ResultCode resCode) {
|
/external/chromium_org/chrome/browser/extensions/api/dns/ |
dns_apitest.cc | 70 int resultCode; 71 EXPECT_TRUE(value->GetInteger("resultCode", &resultCode)); 72 EXPECT_EQ(net::OK, resultCode); 97 int resultCode; 98 EXPECT_TRUE(value->GetInteger("resultCode", &resultCode)); 99 EXPECT_EQ(net::OK, resultCode);
|
/external/chromium_org/chrome/common/extensions/api/ |
dns.idl | 10 long resultCode; 12 // A string representing the IP address literal. Supplied only if resultCode
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResultReceiver.java | 19 public void send(int resultCode, android.os.Bundle resultData) { 23 onReceiveResult.invoke(realResultReceiver, resultCode, resultData);
|
/frameworks/base/core/java/android/app/ |
IInstrumentationWatcher.aidl | 26 void instrumentationStatus(in ComponentName name, int resultCode, 28 void instrumentationFinished(in ComponentName name, int resultCode,
|
/frameworks/base/services/java/com/android/server/am/ |
ActivityResult.java | 30 int requestCode, int resultCode, Intent data) { 31 super(resultWho, requestCode, resultCode, data);
|
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
IAutomationSupport.java | 31 * @param resultCode 35 public void sendStatus(int resultCode, Bundle status);
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
IAutomationSupport.java | 31 * @param resultCode 35 public void sendStatus(int resultCode, Bundle status);
|
/cts/tests/deviceadmin/src/android/deviceadmin/cts/ |
CtsDeviceAdminActivationTestActivity.java | 33 void onActivityResult(int requestCode, int resultCode, Intent data); 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 58 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data); 62 super.onActivityResult(requestCode, resultCode, data);
|
/external/chromium_org/android_webview/browser/ |
aw_result_codes.h | 12 enum ResultCode {
|
/external/chromium_org/content/public/common/ |
result_codes.h | 10 enum ResultCode {
|
/cts/tests/src/android/app/cts/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 113 public void finishWithResult(int resultCode, Intent data) { 116 finishWithResult(resultCode, data, where); 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|