Commit Graph

36 Commits

Author SHA1 Message Date
Dave Hylands
7db3f36a0a Bug 1054191 - AutoMounter should accomodate rndis. r=echou 2014-09-05 21:37:27 -07:00
Dave Hylands
1fbacab494 Bug 1059086 - Stop and start MTP server properly when USB cable is unplugged and replugged. r=Alphan 2014-08-28 13:13:10 -07:00
Dave Hylands
3e96440289 Bug 1049243 - Integrate MTP and Device Storage. r=echou 2014-08-28 13:13:06 -07:00
Dave Hylands
335c278dcf Bug 1049240 - Integrate MTP with the AutoMounter. r=echou 2014-08-19 13:41:35 -07:00
Nigel Babu
f8e931cd71 Backed out changeset 19e59c14b0aa (bug 1049240) for xpshell bustage 2014-08-20 12:19:36 +05:30
Dave Hylands
0ff3e02337 Bug 1049240 - Integrate MTP with the AutoMounter. r=echou
--HG--
extra : rebase_source : a4d8cd8413ef1ea7dddb57fed87c723a923ea0bf
2014-08-19 13:41:35 -07:00
Dave Hylands
a91911e8c6 Bug 1029533 - Initial standup of MTP server. r=echou
Note: This will be off by default. Currently, you need to do:

adb shell setprop sys.usb.config mtp,adb

in order to activate the MTP server.
2014-07-11 14:42:15 -07:00
Dave Hylands
46c3624796 Bug 1026320 - Deal with race condition due to slow response from VolumeManager. r=qDot 2014-06-17 13:37:24 -07:00
Dave Hylands
77a57511e0 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
Kyle Huey
eae7486ab4 Bug 991812: B2G Fixups CLOSED TREE. r=me 2014-04-15 15:26:43 -07:00
Kyle Huey
384121563d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
675439ca71 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Alan Huang
4ec2e0e0ce Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Ehsan Akhgari
7e41f47adf Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
Clayton Hughes
9d5f5047d7 Bug 931424 - Fix AutoMounter to use AutoRestore instead of AutoBool. r=dhylands 2013-11-01 18:02:31 -07:00
Alan Huang
85ad595995 Bug 841660 - Implement format interface for volume-based device storage, r=dhylands 2013-09-06 14:11:58 +08:00
Birunthan Mohanathas
4360fad5a0 Bug 784739 - Switch from NULL to nullptr in dom/ (2/2); r=ehsan 2013-10-28 10:04:47 -04:00
Dave Hylands
f599a8dad8 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
6a016e9163 Bug 927961 - Add ums.status so that settings app can determine if files are open. r=gwagner 2013-10-17 15:41:46 -07:00
Dave Hylands
a2da39cd38 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
Viral Wang
0c2d31d582 Bug 890144 - Add function InitVolumeConfig to add volume by configuration file in AutoMounter. r=dhylands 2013-07-23 08:30:35 -04:00
Dave Hylands
331dc12d1a Bug 876782 - Automounter shouldn't unmount so agressively. r=qdot 2013-07-16 13:14:09 -07:00
Dave Hylands
49686d58a2 Bug 852768 - Make AutoMounter use the new settings to support internal/external storage. r=qDot 2013-05-13 17:53:23 -07:00
Vasil Dimov
02a2ed38cd Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Dave Hylands
0644a88aec 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
62aeb83227 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
69566d191b Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
0569240c40 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
e458463bf7 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
Justin Lebar
70ef6eb69a Bug 812880 - Remove some static RefPtrs which were causing deadlocks at shutdown. r=cjones 2012-11-19 20:09:11 -05:00
Dave Hylands
e8c73207ff Bug 792506 - AutoMounter should not allow UMS to be disabled while USB cable is plugged in. r=qDot 2012-09-20 00:02:19 -07:00
Dave Hylands
98cc77a342 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
Dave Hylands
6c49401e4b Bug 766324 - Add a volume IDL to make volumes scriptable r=qdot 2012-07-16 12:38:18 -04:00
Dave Hylands
177b3c4fdd Bug 766296 - Make AutoMounter notice SD Card insertion and removal r=qdot 2012-07-16 12:38:18 -04:00
Dave Hylands
0ab9e9d780 Bug 737153 - Enable mounting storage through USB from a host machine - Add the AutoMounter, sr=cjones r=qDot 2012-05-24 21:03:34 -07:00