summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpUtils.cpp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-05-14 10:10:36 -0400
committerMike Lockwood <lockwood@android.com>2010-05-14 10:10:36 -0400
commit7850ef999740f214a1990a9c090d3f3865d435aa (patch)
tree2320628e762e31b799c21f3a2d8177c271e47656 /media/mtp/MtpUtils.cpp
parent3c6d0f4c956494241c0c243b079f42049d832d7d (diff)
downloadframeworks_av-7850ef999740f214a1990a9c090d3f3865d435aa.zip
frameworks_av-7850ef999740f214a1990a9c090d3f3865d435aa.tar.gz
frameworks_av-7850ef999740f214a1990a9c090d3f3865d435aa.tar.bz2
Move MTP code to the android namespace
Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpUtils.cpp')
-rw-r--r--media/mtp/MtpUtils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/mtp/MtpUtils.cpp b/media/mtp/MtpUtils.cpp
index a472781..77692cd 100644
--- a/media/mtp/MtpUtils.cpp
+++ b/media/mtp/MtpUtils.cpp
@@ -19,6 +19,8 @@
#include <cutils/tztime.h>
#include "MtpUtils.h"
+namespace android {
+
/*
DateTime strings follow a compatible subset of the definition found in ISO 8601, and
take the form of a Unicode string formatted as: "YYYYMMDDThhmmss.s". In this
@@ -70,4 +72,4 @@ void formatDateTime(time_t seconds, char* buffer, int bufferLength) {
tm.tm_year + 1900, tm.tm_mon, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
}
-
+} // namespace android