Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1030)

Side by Side Diff: test/mm.sh

Issue 6294001: Added support for GSM in the modemmgr plugin. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flimflam.git@master
Patch Set: Add a string mapping for NETWORK_TECHNOLOGY_GSM Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/service.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/dash 1 #!/bin/dash
2 2
3 IDBUS=org.freedesktop.DBus 3 IDBUS=org.freedesktop.DBus
4 DBUS=/org/freedesktop/DBus 4 DBUS=/org/freedesktop/DBus
5 IDBUS_PROPERTIES=$IDBUS.Properties 5 IDBUS_PROPERTIES=$IDBUS.Properties
6 IMM=org.freedesktop.ModemManager 6 IMM=org.freedesktop.ModemManager
7 IMODEM=$IMM.Modem 7 IMODEM=$IMM.Modem
8 IMODEM_SIMPLE=$IMODEM.Simple 8 IMODEM_SIMPLE=$IMODEM.Simple
9 IMODEM_CDMA=$IMODEM.Cdma 9 IMODEM_CDMA=$IMODEM.Cdma
10 IMODEM_GSM=$IMODEM.Gsm 10 IMODEM_GSM=$IMODEM.Gsm
11 IMODEM_GSM_CARD=$IMODEM_GSM.Card 11 IMODEM_GSM_CARD=$IMODEM_GSM.Card
12 IMODEM_GSM_NETWORK=$IMODEM_GSM.Network 12 IMODEM_GSM_NETWORK=$IMODEM_GSM.Network
13 IMODEM_GOBI=org.chromium.ModemManager.Modem.Gobi 13 IMODEM_GOBI=org.chromium.ModemManager.Modem.Gobi
14 IMODEMS="$IMODEM $IMODEM_SIMPLE $IMODEM_CDMA $IMODEM_GSM $IMODEM_GOBI" 14 IMODEMS="$IMODEM $IMODEM_CDMA $IMODEM_GSM_CARD $IMODEM_GSM_NETWORK $IMODEM_GOBI"
15 15
16 MTYPE_GSM=1 16 MTYPE_GSM=1
17 MTYPE_CDMA=2 17 MTYPE_CDMA=2
18 18
19 iface2rootobj () { 19 iface2rootobj () {
20 echo "/$1" | sed -e 's!\.!/!g' 20 echo "/$1" | sed -e 's!\.!/!g'
21 } 21 }
22 22
23 dbus () { 23 dbus () {
24 local dest=$1 24 local dest=$1
(...skipping 22 matching lines...) Expand all
47 | awk '/[^[:space:]] [^[:space:]]/ {print $N}' 47 | awk '/[^[:space:]] [^[:space:]]/ {print $N}'
48 done 48 done
49 } 49 }
50 50
51 modemprop () { 51 modemprop () {
52 local mm=$1 52 local mm=$1
53 local modem=$2 53 local modem=$2
54 local prop=$3 54 local prop=$3
55 modemprops $mm $modem | grep /$prop | awk '{print $2}' 55 modemprops $mm $modem | grep /$prop | awk '{print $2}'
56 } 56 }
OLDNEW
« no previous file with comments | « src/service.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698