/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintEnrollFindSensor.java | 137 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 139 if (resultCode == RESULT_OK) { 148 if (resultCode == RESULT_FINISHED) { 151 } else if (resultCode == RESULT_SKIP) { 154 } else if (resultCode == RESULT_TIMEOUT) { 170 super.onActivityResult(requestCode, resultCode, data);
|
/system/security/keystore/ |
key_store_service.cpp | 410 if (result.resultCode != ::NO_ERROR) { 411 ALOGW("export failed: %d", result.resultCode); 412 return translateResultToLegacyResult(result.resultCode); 785 result->resultCode = ::PERMISSION_DENIED; 796 result->resultCode = responseCode; 804 result->resultCode = KM_ERROR_UNIMPLEMENTED; 811 result->resultCode = rc ? rc : ::NO_ERROR; 822 result->resultCode = ::PERMISSION_DENIED; 827 result->resultCode = ::PERMISSION_DENIED; 831 result->resultCode = KM_ERROR_INVALID_ARGUMENT [all...] |
/external/libchrome/sandbox/win/src/ |
crosscall_client.h | 25 // ResultCode CrossCall(IPCProvider& ipc_provider, 315 ResultCode CrossCall(IPCProvider& ipc_provider, 322 ResultCode result = ipc_provider.DoCall(call_params, answer); 334 ResultCode CrossCall(IPCProvider& ipc_provider, 343 ResultCode result = ipc_provider.DoCall(call_params, answer); 355 ResultCode CrossCall(IPCProvider& ipc_provider, 366 ResultCode result = ipc_provider.DoCall(call_params, answer); 383 ResultCode CrossCall(IPCProvider& ipc_provider, 396 ResultCode result = ipc_provider.DoCall(call_params, answer); 415 ResultCode CrossCall(IPCProvider& ipc_provider [all...] |
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
RcsService.java | 57 import com.android.ims.RcsManager.ResultCode; 199 * @return the resultCode which is defined by ResultCode. 208 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 221 * @return the resultCode which is defined by ResultCode. 228 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 243 * @see RcsManager.ResultCode 244 * @see ResultCode.SUBSCRIBE_TOO_FREQUENTLY 250 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE [all...] |
RcsStackAdaptor.java | 62 import com.android.ims.RcsManager.ResultCode; 206 return ResultCode.ERROR_SERVICE_NOT_ENABLED; 210 if (ret != ResultCode.SUCCESS) { 218 return ResultCode.ERROR_SERVICE_NOT_PUBLISHED; 221 return ResultCode.SUCCESS; 262 return ResultCode.ERROR_SERVICE_NOT_ENABLED; 269 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 274 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 279 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 284 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
WizardManagerHelper.java | 39 private static final String EXTRA_RESULT_CODE = "com.android.setupwizard.ResultCode"; 84 * @param resultCode The result code of the step. See {@link ResultCodes}. 89 public static Intent getNextIntent(Intent originalIntent, int resultCode) { 90 return getNextIntent(originalIntent, resultCode, null); 98 * @param resultCode The result code of the step. See {@link ResultCodes}. 104 public static Intent getNextIntent(Intent originalIntent, int resultCode, Intent data) { 107 intent.putExtra(EXTRA_RESULT_CODE, resultCode);
|
/packages/services/Car/car-support-lib/src/android/support/car/app/ |
CarActivity.java | 66 abstract public void setResult(int resultCode); 67 abstract public void setResult(int resultCode, Intent data); 158 public void setResult(int resultCode){ 159 mProxy.setResult(resultCode); 162 public void setResult(int resultCode, Intent data) { 163 mProxy.setResult(resultCode, data); 336 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
CarProxyActivity.java | 145 public void setResult(int resultCode) { 146 CarProxyActivity.this.setResult(resultCode); 150 public void setResult(int resultCode, Intent data) { 151 CarProxyActivity.this.setResult(resultCode, data); 244 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 245 super.onActivityResult(requestCode, resultCode, data); 246 handleCmd(CarActivity.CMD_ON_ACTIVITY_RESULT, requestCode, resultCode, data);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 145 private void handleResultCode(int resultCode, String action) { 146 if (resultCode == Activity.RESULT_OK) { 151 String reason = getErrorReason(resultCode); 169 private String getErrorReason(int resultCode) { 170 switch (resultCode) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ReceiveResult.java | 104 * @param resultCode From sending activity as per setResult(). 108 protected void onActivityResult(int requestCode, int resultCode, 118 // This is a standard resultCode that is sent back if the 121 if (resultCode == RESULT_CANCELED) { 128 text.append(Integer.toString(resultCode));
|
RedirectMain.java | 61 protected void onActivityResult(int requestCode, int resultCode, 66 if (resultCode == RESULT_CANCELED) { 80 if (resultCode != RESULT_CANCELED) {
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
InstallApk.java | 75 public void onActivityResult(int requestCode, int resultCode, Intent intent) { 77 if (resultCode == Activity.RESULT_OK) { 79 } else if (resultCode == Activity.RESULT_CANCELED) { 85 if (resultCode == Activity.RESULT_OK) { 87 } else if (resultCode == Activity.RESULT_CANCELED) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
BerTlv.java | 96 ResultCode.CMD_DATA_NOT_UNDERSTOOD, 104 ResultCode.CMD_DATA_NOT_UNDERSTOOD, 116 throw new ResultException(ResultCode.REQUIRED_VALUES_MISSING, 120 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, e.explanation()); 125 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD,
|
ComprehensionTlv.java | 159 ResultCode.CMD_DATA_NOT_UNDERSTOOD, 170 ResultCode.CMD_DATA_NOT_UNDERSTOOD, 182 ResultCode.CMD_DATA_NOT_UNDERSTOOD, 188 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD, 198 throw new ResultException(ResultCode.CMD_DATA_NOT_UNDERSTOOD,
|
/packages/apps/Settings/tests/app/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 118 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 120 Log.e(TAG, "Unexpected onActivityResult " + requestCode + " " + resultCode); 124 if (resultCode == Activity.RESULT_CANCELED) { 126 } else if (resultCode == Activity.RESULT_OK) { 129 addMsg("Result = " + resultCode);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothToggleActivity.java | 97 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 98 super.onActivityResult(requestCode, resultCode, data); 101 boolean enabledBluetooth = RESULT_OK == resultCode;
|
/developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SendMessageActivity.java | 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 80 if (resultCode == RESULT_OK) { 91 super.onActivityResult(requestCode, resultCode, data);
|
/developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/ |
SendMessageActivity.java | 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 80 if (resultCode == RESULT_OK) { 91 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
SendMessageActivity.java | 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 80 if (resultCode == RESULT_OK) { 91 super.onActivityResult(requestCode, resultCode, data);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
QuickContactTestsActivity.java | 96 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 97 super.onActivityResult(requestCode, resultCode, data); 98 if (resultCode == Activity.RESULT_CANCELED) return;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
Wallpaper.java | 142 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 143 if (resultCode != RESULT_OK) { 144 setResult(resultCode);
|
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictedProfileSettings.java | 98 public void onActivityResult(int requestCode, int resultCode, Intent data) { 99 super.onActivityResult(requestCode, resultCode, data); 101 mEditUserInfoController.onActivityResult(requestCode, resultCode, data);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestDialerActivity.java | 62 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 64 if (resultCode == RESULT_OK) { 66 } else if (resultCode == RESULT_CANCELED) {
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 139 super.onActivityResult(requestCode, resultCode, data); 142 handleRecordingResult(resultCode, data); 168 private void handleRecordingResult(int resultCode, Intent data) { 169 if (resultCode != RESULT_OK) { 170 handleError(new Exception("Failed to do recording. Error Code: " + resultCode));
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityMetricsLogger.java | 106 * @param resultCode one of the ActivityManager.START_* flags, indicating the result of the 110 void notifyActivityLaunched(int resultCode, ActivityRecord launchedActivity) { 127 notifyActivityLaunched(resultCode, componentName, processRunning, processSwitch); 147 * @param resultCode one of the ActivityManager.START_* flags, indicating the result of the 155 private void notifyActivityLaunched(int resultCode, @Nullable String componentName, 158 if (resultCode < 0 || componentName == null || !processSwitch) {
|