Commit Graph

31 Commits

Author SHA1 Message Date
Dave Hylands
0d5981c902 Bug 1085743 - MTP doesn't work on Nexus 4/5. r=alchen 2014-11-13 17:42:38 -08:00
Dave Hylands
8d51374288 Bug 1091174 - Clean up some AutoMounter calls to register/unregister volume observers. r=mikeh
--HG--
extra : rebase_source : 455209e19353fae49031326197b1312af1309e6c
2014-11-03 16:26:59 -08:00
Eden Chuang
f0a4891930 Bug 1074590 - Adding volume accessbility checking before set it as mounted. r=dhylands 2014-10-31 10:30:48 +08:00
Ehsan Akhgari
080e94906d Bug 1072701 - Build some Firefox OS specific DOM code in unified mode; r=baku
--HG--
extra : rebase_source : 4a8812c18341c9851fb3265e1f8e6c77a95911c5
2014-09-25 10:10:42 -04:00
Alphan Chen
5c19f02e1f Bug 1060196 - Mark the volume as if we've started unmounting. r=dhylands 2014-09-22 11:42:33 +08:00
Dave Hylands
4c3f030ade Bug 1049240 - Integrate MTP with the AutoMounter. r=echou 2014-08-19 13:41:35 -07:00
Nigel Babu
d074be59bd Backed out changeset 19e59c14b0aa (bug 1049240) for xpshell bustage 2014-08-20 12:19:36 +05:30
Dave Hylands
05fb00374e Bug 1049240 - Integrate MTP with the AutoMounter. r=echou
--HG--
extra : rebase_source : a4d8cd8413ef1ea7dddb57fed87c723a923ea0bf
2014-08-19 13:41:35 -07:00
Anup-Allamsetty
9212c0ea6c Bug 1030299 - Cleanup a build warning in Volume.cpp. r=dhylands 2014-06-27 18:50:00 -04:00
Dave Hylands
670d469f48 Bug 1015006 - Detect USB cable unplugged and set sharing to false. r=qDot
If the USB cable is pulled after we call SetIsSharing(true) but before we actually initiate the
sharing operation, then the volume doesn't change state, and mIsSharing never gets set back to
false. So we detect this condition now and force mIsSharing to be false when the USB cable is
unplugged.
2014-05-27 15:47:26 -07:00
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Alan Huang
dbb6bb4e64 Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Alan Huang
6381088980 Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Dave Hylands
2ea5e22f1c Bug 928558 - AutoMounter mark volumes as shared a bit early when open files are detected. r=qDot 2013-10-18 20:21:52 -07:00
Dave Hylands
0ffd2e95b8 Bug 878310 - Improve DeviceStorage volume status reporting. r=qDot
This changeset causes tranistory states when changing from mounted to shared,
and back to mounted to be reported as shared instead of unavailable.

We also don't send the same status twice in a row.
2013-08-22 16:12:25 -07:00
Dave Hylands
553eb397ff Bug 852768 - Make AutoMounter use the new settings to support internal/external storage. r=qDot 2013-05-13 17:53:23 -07:00
Dave Hylands
c73c4fb662 Bug 785124 - Pt 5 - Add extra asserts. r=dougt 2013-01-07 17:43:02 +01:00
Dave Hylands
3d4c942e73 Bug 785124 - Pt 4 - Whitespace only change. Change "type &var" to "type& var" and ptrs. r=dougt 2013-01-07 17:43:02 +01:00
Dave Hylands
e9207164c6 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Phil Ringnalda
ed9b0b2817 Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
a09ec02d75 Bug 785124 - Pt 5 - Add extra asserts. r=dougt 2013-01-07 17:43:02 +01:00
Dave Hylands
2c40d02886 Bug 785124 - Pt 4 - Whitespace only change. Change "type &var" to "type& var" and ptrs. r=dougt 2013-01-07 17:43:02 +01:00
Dave Hylands
782c100040 Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Dave Hylands
6f2696298b Bug 822754 - Fix B2G AutoMounter to deal with out-of-order events. r=philikon 2013-01-04 16:19:00 -08:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Dave Hylands
a0645a98d9 Bug 781978 - Automounter should initialize ums.mode to zero. r=gwagner
From 5eb48be9af695ac2135b8508edb8a4b1e83acb56 Mon Sep 17 00:00:00 2001
 r=gwagner
---
 dom/system/gonk/AutoMounter.cpp        |   19 ++++++++++++++++---
 dom/system/gonk/AutoMounterSetting.cpp |    7 +++++--
 dom/system/gonk/Volume.cpp             |   12 +++++++++---
 dom/system/gonk/nsVolumeService.cpp    |   11 +++++++++--
 4 files changed, 39 insertions(+), 10 deletions(-)
2012-08-08 15:44:59 -07:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Dave Hylands
5845e0f261 Bug 766324 - Add a volume IDL to make volumes scriptable r=qdot 2012-07-16 12:38:18 -04:00
Dave Hylands
bcb19904e3 Bug 766296 - Make AutoMounter notice SD Card insertion and removal r=qdot 2012-07-16 12:38:18 -04:00
Dave Hylands
3c9935b46a Bug 764228: Add Volume event notifications r=qDot 2012-07-16 12:38:18 -04:00
Dave Hylands
9acc65b631 Bug 737153 - Enable mounting storage through USB from a host machine - Add the VolumeManager, sr=cjones r=qDot 2012-05-24 21:03:07 -07:00