Closed
Bug 756375
Opened 13 years ago
Closed 12 years ago
WebMobileConnection: write tests for ICC locking features
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
DUPLICATE
of bug 860585
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
We need test cases for WebMobileConnection (Bug 729173)
which also includes SIM PIN lock (Bug 731786)
or maybe Manually select networks (Bug 744344) when it's landed
Updated•13 years ago
|
Blocks: webmobileconnection, 731786
Component: Marionette → DOM: Device Interfaces
Product: Testing → Core
QA Contact: marionette → device-interfaces
Summary: Marionette JS scripts for WebMobileConnection → Marionette tests for WebMobileConnection
Updated•13 years ago
|
Summary: Marionette tests for WebMobileConnection → WebMobileConnection: write tests for ICC locking features
Comment 1•13 years ago
|
||
Not blocking on this for shipping. Can add tests as problems surface.
No longer blocks: webmobileconnection
blocking-basecamp: --- → -
Assignee | ||
Comment 2•13 years ago
|
||
I've checked the icc implementation on emulator,
only unlock PIN/PIN2/PUK/PUK2 and change PIN/PIN2 are supported. [1]
enable/disable sim lock is not supported.
The default pin/pin2 is 0000
puk/puk2 is 12345678, see [2]
Also I notice there is a bug when try to change PIN/PIN2.
When change PIN/PIN2 in [3],
the argument dataLen will be 12, which is the size of 3 pointers to chars(oldPin, newPin, newPin_again respectively), but it wll bail out to error in [4],
will try to report this in b.android.com
[1]: http://androidxref.com/source/xref/hardware/ril/reference-ril/reference-ril.c#1541
[2]: http://androidxref.com/source/xref/external/qemu/telephony/sim_card.c#45
[3]: http://androidxref.com/source/xref/hardware/ril/reference-ril/reference-ril.c#1215
[4]: http://androidxref.com/source/xref/hardware/ril/reference-ril/reference-ril.c#1227
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → yhuang
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Yoshi Huang[:yoshi] from comment #2)
> will try to report this in b.android.com
http://code.google.com/p/android/issues/detail?id=32656
Assignee | ||
Comment 4•13 years ago
|
||
In order to test unlock PIN, we need to enable the PIN lock first, but emulator cannot support this(see comment #2).
Assignee | ||
Comment 5•13 years ago
|
||
To Enable PIN lock on emulator, we need to modify the card status to A_SIM_STATUS_PIN [1].
[1]: http://androidxref.com/source/xref/external/qemu/telephony/sim_card.c#43
Comment 6•12 years ago
|
||
We will add marionette test cases for cardLock API in bug 860585. So mark this bug as a duplicate of bug 860585.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•