/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
ScreenCaptureFragment.java | 121 public void onActivityResult(int requestCode, int resultCode, Intent data) { 123 if (resultCode != Activity.RESULT_OK) { 133 mResultCode = resultCode;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
VoiceRecognition.java | 138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 139 if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { 147 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
MediaProjectionDemo.java | 103 public void onActivityResult(int requestCode, int resultCode, Intent data) { 108 if (resultCode != RESULT_OK) { 113 mMediaProjection = mProjectionManager.getMediaProjection(resultCode, data);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
KeyChainDemoActivity.java | 241 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 243 switch (resultCode) { 248 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
DeviceScanActivity.java | 131 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 133 if (requestCode == REQUEST_ENABLE_BT && resultCode == Activity.RESULT_CANCELED) { 137 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
PolicySetupActivity.java | 100 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 101 if (requestCode == REQ_ACTIVATE_DEVICE_ADMIN && resultCode == RESULT_OK) { 105 super.onActivityResult(requestCode, resultCode, data);
|
/external/chromium_org/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ |
ContentShellActivity.java | 191 public void onActivityResult(int requestCode, int resultCode, Intent data) { 192 super.onActivityResult(requestCode, resultCode, data); 193 mWindowAndroid.onActivityResult(requestCode, resultCode, data);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 144 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 145 super.onActivityResult(requestCode, resultCode, data); 148 handleAddDeviceAdminResult(resultCode, data); 153 private void handleAddDeviceAdminResult(int resultCode, Intent data) { 154 if (resultCode == RESULT_OK) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
PowerTestHostLink.java | 272 SensorTestDetails.ResultCode resultCode = SensorTestDetails.ResultCode.FAIL; 280 resultCode = SensorTestDetails.ResultCode.PASS; 285 resultCode = SensorTestDetails.ResultCode.FAIL; 290 resultCode = SensorTestDetails.ResultCode.SKIPPED; 307 new SensorTestDetails(testName, resultCode, fullMessage)) [all...] |
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
OtherMetadataFragment.java | 157 public void onActivityResult(int requestCode, int resultCode, Intent data) { 158 super.onActivityResult(requestCode, resultCode, data); 161 if (resultCode == Activity.RESULT_OK) {
|
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
OtherMetadataFragment.java | 157 public void onActivityResult(int requestCode, int resultCode, Intent data) { 158 super.onActivityResult(requestCode, resultCode, data); 161 if (resultCode == Activity.RESULT_OK) {
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 110 public void onActivityResult(int requestCode, int resultCode, Intent data) { 118 if (resultCode == RESULT_OK) { 131 if (resultCode == RESULT_OK) {
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
OtherMetadataFragment.java | 157 public void onActivityResult(int requestCode, int resultCode, Intent data) { 158 super.onActivityResult(requestCode, resultCode, data); 161 if (resultCode == Activity.RESULT_OK) {
|
/external/chromium_org/remoting/webapp/ |
xmpp_connection.js | 197 if (readInfo.resultCode < 0) { 199 'Failed to receive from XMPP socket: ' + readInfo.resultCode); 282 * @param {number} resultCode 285 remoting.XmppConnection.prototype.onTlsStarted_ = function(resultCode) { 289 if (resultCode < 0) { 291 'Failed to start TLS: ' + resultCode);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResult.java | 85 static TestResult fromActivityResult(int resultCode, Intent data) {
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyNetworkMonitor.java | 43 public void performReceive(Intent intent, int resultCode, String data, Bundle extras,
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 88 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
MainActivity.java | 177 int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); 178 if (ConnectionResult.SUCCESS == resultCode) {
|
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
MainActivity.java | 177 int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); 178 if (ConnectionResult.SUCCESS == resultCode) {
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader5.java | 185 protected void onActivityResult(int requestCode, int resultCode, Intent data){ 186 if(resultCode == RESULT_OK){
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
MainActivity.java | 177 int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); 178 if (ConnectionResult.SUCCESS == resultCode) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodFlowTestActivity.java | 133 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 135 super.onActivityResult(requestCode, resultCode, data); 136 if (requestCode == REQUEST_STATUS && resultCode == RESULT_OK) {
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
CustomLocaleActivity.java | 130 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 131 super.onActivityResult(requestCode, resultCode, data); 133 if (requestCode == UPDATE_LIST && resultCode == RESULT_OK && data != null) {
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
GestureBuilderActivity.java | 122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 123 super.onActivityResult(requestCode, resultCode, data); 125 if (resultCode == RESULT_OK) {
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPActivity.java | 245 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 248 if (resultCode == Activity.RESULT_OK) {
|