The Android Open Source Project | 8ac3a13 | 2009-01-20 14:04:01 -0800 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright (C) 2008 The Android Open Source Project |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | #ifndef _CMD_DISPATCH_H |
| 19 | #define _CMD_DISPATCH_H |
| 20 | |
| 21 | // These must match the strings in java/android/android/os/UsbListener.java |
| 22 | #define VOLD_CMD_ENABLE_UMS "enable_ums" |
| 23 | #define VOLD_CMD_DISABLE_UMS "disable_ums" |
| 24 | #define VOLD_CMD_SEND_UMS_STATUS "send_ums_status" |
| 25 | |
| 26 | // these commands should contain a volume mount point after the colon |
| 27 | #define VOLD_CMD_MOUNT_VOLUME "mount_volume:" |
| 28 | #define VOLD_CMD_EJECT_MEDIA "eject_media:" |
The Android Open Source Project | 13f797d | 2009-02-10 15:44:07 -0800 | [diff] [blame] | 29 | #define VOLD_CMD_FORMAT_MEDIA "format_media:" |
The Android Open Source Project | 8ac3a13 | 2009-01-20 14:04:01 -0800 | [diff] [blame] | 30 | |
| 31 | #endif |