HomeSort by relevance Sort by last modified time
    Searched refs:sim (Results 1 - 25 of 177) sorted by null

1 2 3 4 5 6 7 8

  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
FakeSimContactDao.java 63 public ArrayList<SimContact> loadContactsForSim(SimCard sim) {
64 return simContacts.get(sim);
84 for (SimCard sim : simCards) {
85 if (sim.getSubscriptionId() == subscriptionId) {
86 return sim;
98 public FakeSimContactDao addSim(SimCard sim, SimContact... contacts) {
99 simCards.add(sim);
100 simContacts.put(sim, new ArrayList<>(Arrays.asList(contacts)));
104 public static FakeSimContactDao singleSimWithContacts(SimCard sim, SimContact... contacts) {
105 return new FakeSimContactDao().addSim(sim, contacts)
    [all...]
  /external/pcre/dist2/
RunTest 28 # "-sim" followed by an argument to run cross-compiled executables under a
31 # RunTest 3 -sim "qemu-arm -s 8388608"
33 # For backwards compatibility, -nojit, -valgrind, -valgrind-log, and -sim may
200 sim=
267 sim|-sim) shift; sim=$1;;
300 $sim ./pcre2test -C linksize >/dev/null
320 $sim ./pcre2test -S 1 /dev/null /dev/null
337 $sim ./pcre2test -C pcre2-8 >/dev/nul
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ImportDialogFragment.java 83 for (SimCard sim : sims) {
84 final List<SimContact> contacts = sim.getContacts();
88 args.putInt(EXTRA_SIM_CONTACT_COUNT_PREFIX + sim.getSimId(), contacts.size());
155 CharSequence getSimSecondaryText(SimCard sim) {
156 int count = getSimContactCount(sim);
158 CharSequence phone = sim.getFormattedPhone();
160 phone = sim.getPhone();
208 // Handle edge case; e.g. SIM card was removed.
217 private int getSimContactCount(SimCard sim) {
218 if (sim.getContacts() != null)
242 final SimCard sim = sims.get(i); local
    [all...]
  /external/autotest/client/site_tests/network_3GIdentifiers/
network_3GIdentifiers.py 10 from autotest_lib.client.cros.cellular.pseudomodem import sim
18 class TestSIM(sim.SIM):
19 """ sim.SIM subclass to set the network as needed. """
21 sim.SIM.__init__(self,
22 sim.SIM.Carrier('att'),
  /external/autotest/client/site_tests/network_LTEActivate/files/
modems.py 11 from autotest_lib.client.cros.cellular.pseudomodem import sim
86 class TestSIM(sim.SIM):
87 """ SIM instantiated with the default test network, for ease of use. """
89 # Shill's activating ICCID store tracks which SIM identifiers are in
90 # the process of activation. If we use the same SIM identifier for
92 # activating ICCD store which will erroneously mark the SIM as pending
93 # activation. So, to avoid this, try to use a unique SIM identifier
96 sim.SIM.__init__
    [all...]
  /system/bt/test/rootcanal/
service.cc 17 #define LOG_TAG "android.hardware.bluetooth@1.0-service.sim"
28 using ::android::hardware::bluetooth::V1_0::sim::BluetoothHci;
bluetooth_hci.h 33 namespace sim { namespace in namespace:android::hardware::bluetooth::V1_0
75 } // namespace sim
  /packages/apps/Contacts/src/com/android/contacts/util/
SharedPreferenceUtil.java 171 for (SimCard sim : sims) {
172 final String id = sim.getSimId();
176 if (sim.isImported()) {
181 if (sim.isDismissed()) {
197 for (SimCard sim : sims) {
198 result.add(sim.withImportAndDismissStates(imported.contains(sim.getSimId()),
199 dismissed.contains(sim.getSimId())));
  /packages/apps/Contacts/src/com/android/contacts/
SimImportService.java 66 * Returns whether an import for sim has been requested
70 boolean isImporting(SimCard sim);
105 public boolean isImporting(SimCard sim) {
106 return SimImportService.isImporting(sim);
111 * Returns whether an import for sim has been requested
115 private static boolean isImporting(SimCard sim) {
117 if (task.getSim().equals(sim)) {
129 * Starts an import of the contacts from the sim into the target account
132 * @param subscriptionId the subscriptionId of the SIM card that is being imported. See
134 * Upon completion the SIM for that subscription ID will be marked a
182 final SimCard sim = dao.getSimBySubscriptionId(subscriptionId); local
    [all...]
  /external/autotest/client/cros/cellular/pseudomodem/
modem.py 77 self.sim = None
164 'Sim' : dbus.types.ObjectPath(mm1_constants.ROOT_PATH)
311 def SetSIM(self, sim):
313 Assigns a SIM object to this Modem. It exposes the SIM object via DBus
314 and sets 'Sim' property of this Modem to the path of the SIM.
316 @param sim: An instance of sim.SIM
    [all...]
modem_3gpp.py 138 if not self.sim or self.sim.locked:
148 dbus.types.UInt32(self.sim.enabled_locks)),
163 sim_path = self.Get(mm1_constants.I_MODEM, 'Sim')
164 if not self.sim:
168 'Cannot scan for networks because no SIM is inserted.')
171 # TODO(armansito): check here for SIM lock?
177 sim_props = self.sim.GetAll(mm1_constants.I_SIM)
184 'access-technology': dbus.types.UInt32(self.sim.access_technology)
280 self.sim.enabled_locks
    [all...]
pseudomodem.py 29 import sim
117 Three main objects are created: the |Modem|, the |Sim|, and the
131 self._sim = sim.SIM(sim.SIM.Carrier('test'),
134 logging.info('Created default 3GPP SIM.')
168 # Unfortunately, setting the SIM has to be deferred until everyone has
182 The user can provide their own implementations of the |Modem|, |Sim| or
346 title='SIM options'
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
TelephonyDevController.java 233 * get sim at index 'index'.
238 loge("getSim: no registered sim device?!?");
243 loge("getSim: out-of-bounds access for sim device " + index + " max: " + getSimCount());
253 * get modem associated with sim index 'simIndex'.
258 loge("getModemForSim: no registered modem/sim device?!?");
263 loge("getModemForSim: out-of-bounds access for sim device " + simIndex + " max: " + getSimCount());
269 HardwareConfig sim = getSim(simIndex); local
271 if (modem.uuid.equals(sim.modemUuid)) {
281 * get all sim's associated with modem at index 'modemIndex'.
286 loge("getAllSimsForModem: no registered sim device?!?")
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/database/
SimContactDao.java 37 * Provides data access methods for loading contacts from a SIM card and and migrating these
38 * SIM contacts to a CP2 account.
42 // Set to true for manual testing on an emulator or phone without a SIM card
59 .addSimCard(new SimCard("fake-sim-id1", 1, "Fake Carrier",
61 new SimContact(1, "Sim One", "15095550111", null),
62 new SimContact(2, "Sim Two", "15095550112", null),
63 new SimContact(3, "Sim Three", "15095550113", null),
64 new SimContact(4, "Sim Four", "15095550114", null),
67 .addSimCard(new SimCard("fake-sim-id2", 2, "Carrier Two",
69 new SimContact(1, "John Sim", "15095550121", null)
    [all...]
SimContactDaoImpl.java 62 * Provides data access methods for loading contacts from a SIM card and and migrating these
63 * SIM contacts to a CP2 account.
68 // Maximum number of SIM contacts to import in a single ContentResolver.applyBatch call.
74 // How many SIM contacts to consider in a single query. This prevents hitting the SQLite
108 // Require SIM_STATE_READY because the TelephonyManager methods related to SIM require
127 public ArrayList<SimContact> loadContactsForSim(SimCard sim) {
128 if (sim.hasValidSubscriptionId()) {
129 return loadSimContacts(sim.getSubscriptionId());
161 public void persistSimState(SimCard sim) {
162 SharedPreferenceUtil.persistSimStates(mContext, Collections.singletonList(sim));
421 mCardsBySubscription.put(sim.getSubscriptionId(), sim); local
    [all...]
  /external/autotest/client/site_tests/cellular_ServiceName/
cellular_ServiceName.py 13 from autotest_lib.client.cros.cellular.pseudomodem import sim
52 class TestSIM(sim.SIM):
54 Test SIM with a specific carrier name that the tests below are expecting.
58 carrier = sim.SIM.Carrier()
63 sim.SIM.__init__(self, carrier,
79 Verifies that shill reports the correct service name depending on the SIM
107 Checks the service name when the SIM and the network is the sam
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallAudioModeStateMachineTest.java 463 "Foreground call transitions from sim to voip",
482 "Foreground call transitions from voip to sim",
501 "Call-waiting hangs up before being answered, with another sim call in " +
  /tools/test/connectivity/acts/tests/google/tel/etc/
manage_sim.py 17 Basic script for managing a JSON "database" file of SIM cards.
37 A dictionary with keys equivalent to the ICCIDs of each SIM containing
38 information about that SIM
48 print('No Valid Sim in {} {}! SimState = {}'.format(
151 for sim in delete_list:
153 print('Deleting the SIM entry: ', sim)
154 del simconf[sim]
186 ' SIM list'))
197 help='(default) Append to the list of SIM entries'
    [all...]
  /external/autotest/client/deps/lansim/src/py/
host.py 29 def __init__(self, sim, hw_addr, ip_addr):
32 @param sim: The Simulator interface where this host lives.
36 self._sim = sim
49 sim.add_match(rule, self.arp_request)
53 sim.add_match(rule, self.arp_request)
  /external/v8/src/crankshaft/
hydrogen-removable-simulates.cc 123 void Remember(HSimulate* sim) {
124 mergelist_.Add(sim, zone_);
  /toolchain/binutils/binutils-2.25/
src-release.sh 288 GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu"
297 # Corresponding to the CVS "sim" module.
302 package=sim
303 tool=sim
328 sim)
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
HTMLEntities.properties 240 sim=8764
  /external/wpa_supplicant_8/src/eap_server/
eap_sim_db.c 2 * hostapd / EAP-SIM database/authenticator gateway
8 * This is an example implementation of the EAP-SIM/AKA database/authentication
12 * EAP-SIM/AKA pseudonyms and re-auth identities. It can be used with different
48 } sim; member in union:eap_sim_db_pending::__anon39545
103 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Adding database table for "
106 wpa_printf(MSG_ERROR, "EAP-SIM DB: SQLite error: %s", err);
129 wpa_printf(MSG_DEBUG, "EAP-SIM DB: Adding database table for "
132 wpa_printf(MSG_ERROR, "EAP-SIM DB: SQLite error: %s", err);
146 wpa_printf(MSG_ERROR, "EAP-SIM DB: Failed to open database "
198 wpa_printf(MSG_ERROR, "EAP-SIM DB: SQLite error: %s", err)
    [all...]
  /external/autotest/client/site_tests/network_SIMLocking/
network_SIMLocking.py 13 from autotest_lib.client.cros.cellular.pseudomodem import sim
20 Test the SIM locking functionality of shill.
23 - Attempt to enable SIM lock with incorrect sim-pin. Verify that the
25 - Successfully pin-lock the SIM.
26 - Unlock a pin-locked SIM.
27 - Attempt to unlock a pin-locked SIM with incorrect sim-pin, until it gets
29 - Unblock a puk-locked SIM.
30 - Attempt to unblock a puk-locked SIM with incorrect sim-puk, until th
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
SimImportActivityTest.java 134 new SimContact(1, "Sim One", "5550101"),
135 new SimContact(2, "Sim Two", null),
143 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT));
145 assertTrue(mDevice.hasObject(By.text("Sim One")));
146 assertTrue(mDevice.hasObject(By.text("Sim Two")));
202 * <li>Load SIM contacts
204 * <li>Deselect 3 specific SIM contacts
248 final SimCard sim = someSimCard();
250 doReturn(Collections.singletonList(sim)).when(spy).getSimCards();
251 doReturn(sim).when(spy).getSimBySubscriptionId(anyInt())
    [all...]

Completed in 1002 milliseconds

1 2 3 4 5 6 7 8