Closed Bug 756375 Opened 13 years ago Closed 12 years ago

WebMobileConnection: write tests for ICC locking features

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 860585
blocking-b2g koi+
blocking-basecamp -

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
Component: Marionette → DOM: Device Interfaces
Product: Testing → Core
QA Contact: marionette → device-interfaces
Summary: Marionette JS scripts for WebMobileConnection → Marionette tests for WebMobileConnection
Summary: Marionette tests for WebMobileConnection → WebMobileConnection: write tests for ICC locking features
Not blocking on this for shipping. Can add tests as problems surface.
No longer blocks: webmobileconnection
blocking-basecamp: --- → -
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: nobody → yhuang
(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
In order to test unlock PIN, we need to enable the PIN lock first, but emulator cannot support this(see comment #2).
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
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
listed as must have in v1.2 for COMM team. koi+
blocking-b2g: --- → koi+
You need to log in before you can comment on or make changes to this bug.