Skip to content

Instantly share code, notes, and snippets.

View rik's full-sized avatar

Anthony Ricaud rik

View GitHub Profile
<6>[ 0.000000] Booting Linux on physical CPU 0
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 3.4.0-gbbf5f38a-00002-g74e9f4b (android-bld@Moon) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Fri Jun 27 16:09:39 CST 2014
<4>[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
<4>[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
<6>[ 0.000000] Machine: Qualcomm MSM 8610 (Flattened Device Tree), model: Qualcomm MSM 8610v2 QRD SKUAA
<6>[ 0.000000] Node qcom,mdss_fb_primary memblock_reserve memory 3200000-3a00000
<6>[ 0.000000] Node qcom,msm-mem-hole removed memory 8800000-de00000
<6>[ 0.000000] qcom,msm-rtb reserved EBI1 size 100000
<6>[ 0.000000] memory pool 3 (start 0x3ff00000 size 100000) initialized
.../communications/dialer/test/unit/dialer_test.js | 43 +++++++++++++---------
1 file changed, 25 insertions(+), 18 deletions(-)
diff --git a/apps/communications/dialer/test/unit/dialer_test.js b/apps/communications/dialer/test/unit/dialer_test.js
index 246dfd2..b279137 100644
--- a/apps/communications/dialer/test/unit/dialer_test.js
+++ b/apps/communications/dialer/test/unit/dialer_test.js
@@ -173,7 +173,7 @@ suite('navigation bar', function() {
suite('> insertion in the call log database', function() {
[~GAIADIR] DEBUG=* ./bin/gaia-test -d 16:28:14 ☁ suggestion-slot-2-1022194 ☂
gaia-test: Using gaia at '/Users/rik24d/code/gaia'.
./node_modules/.bin/mozilla-download \
--verbose \
--product b2g \
--channel tinderbox \
--branch mozilla-central b2g
mozilla-runner:download download +0ms { product: 'b2g',
commands: [],
options:
simPickerElt.addEventListener('focus', function onfocus(e) {
simPickerElt.removeEventListener('focus', onfocus);
assert.equal(e.target, simPickerElt);
done();
});
subject.show(0, '2222', function() {});
apps/communications/dialer/index.html | 3 +
apps/communications/dialer/js/call_button.js | 10 ++-
apps/communications/dialer/js/index.js | 3 +-
.../dialer/locales/sim.en-US.properties | 6 +-
apps/communications/dialer/style/sim.css | 5 ++
.../communications/dialer/test/unit/keypad_test.js | 7 +-
.../dialer/test/unit/mock_call_button.js | 1 -
shared/js/sim_picker.js | 82 ++++++++++++++--------
8 files changed, 79 insertions(+), 38 deletions(-)
apps/system/test/unit/emergency-call/dialer_test.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/apps/system/test/unit/emergency-call/dialer_test.js b/apps/system/test/unit/emergency-call/dialer_test.js
index 18d48ee..c0b9b8b 100644
--- a/apps/system/test/unit/emergency-call/dialer_test.js
+++ b/apps/system/test/unit/emergency-call/dialer_test.js
@@ -3,10 +3,10 @@
/* global CallHandler, KeypadManager, MockNavigatorMozTelephony, MocksHelper,
Promise */
apps/communications/contacts/oauth2/js/flow.js | 3 ++-
apps/communications/contacts/oauth2/js/oauth20.js | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/apps/communications/contacts/oauth2/js/flow.js b/apps/communications/contacts/oauth2/js/flow.js
index 3bb4e27..7afa5ac 100644
--- a/apps/communications/contacts/oauth2/js/flow.js
+++ b/apps/communications/contacts/oauth2/js/flow.js
@@ -83,7 +83,8 @@ if (typeof window.oauthflow === 'undefined') {
'redirect_uri=' + redirect_uri,
@rik
rik / gist:7637394
Last active December 29, 2015 07:39
In node_modules/mozilla-download/lib/download.js, add this in
function saveToTemp(err, url) {
var url = 'http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2013-11-22-04-02-02-mozilla-central/b2g-28.0a1.multi.linux-x86_64.tar.bz2';
then
rm -rf b2g && make b2g && ./bin/gaia-marionette apps/system/test/marionette/media_playback_test.js
09-23 16:06:56.679 E/RILD ( 118): **RIL Daemon Started**
09-23 16:06:56.679 E/RILD ( 118): **RILd param count=1**
09-23 16:06:57.059 E/RILD ( 118): RIL_Init argc = 5 client = 0
09-23 16:06:59.879 E/RILPROXY( 112): Could not connect to rild socket, retrying: Connection refused
09-23 16:07:00.879 E/RILPROXY( 112): Could not connect to rild socket, retrying: Connection refused
09-23 16:07:01.879 E/RILPROXY( 112): Could not connect to rild socket, retrying: Connection refused
09-23 16:07:02.879 E/RILPROXY( 112): Could not connect to rild socket, retrying: Connection refused
09-23 16:07:03.429 W/RILC ( 118): RIL_onUnsolicitedSendResponse called before RIL_register
09-23 16:07:03.439 E/RILC ( 118): RIL_register: RIL version 6
09-23 16:07:03.439 E/RILC ( 118): s_registerCalled = 1, s_started = 1, RIL_getMaxNumClients = 1
@rik
rik / gist:6539602
Last active December 22, 2015 22:19
I have a conference call with 2 participants, I receive a 3rd call. This is the RIL log when I call telephony.active.hold() and incomingCall.answer()
D/RILC ( 113): UI --- RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15) ---> RIL [RID 0, token id 701, data len 0]
D/RILC ( 113): RID 0 corresponds to as_id 0
D/RILC ( 113): [RID 0] ReqList entries :
D/RILC ( 113): RIL_REQUEST_QUERY_AVAILABLE_NETWORKS (48), token id 630
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 698
D/RILC ( 113): RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE (15), token id 701
D/RILC ( 113): RIL=>AMSS [ label = "cm_mm_call_sups_per_subs()" ];
D/RILC ( 113): RID 0 MID 0 Received CM_CALLSVC_COMMAND_CALLBACK : Req ID 852
D/RILC ( 113): RID 0 MID 0 Queued event CM_COMMAND_CALLBACK (12 bytes)
D/RILC ( 113): qcril_event_main(): 1 items on queue