/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | FakeSimContactDao.java | 63 public ArrayList<SimContact> loadContactsForSim(SimCard sim) { in loadContactsForSim() argument 64 return simContacts.get(sim); in loadContactsForSim() 84 for (SimCard sim : simCards) { in getSimBySubscriptionId() 85 if (sim.getSubscriptionId() == subscriptionId) { in getSimBySubscriptionId() 86 return sim; in getSimBySubscriptionId() 98 public FakeSimContactDao addSim(SimCard sim, SimContact... contacts) { in addSim() argument 99 simCards.add(sim); in addSim() 100 simContacts.put(sim, new ArrayList<>(Arrays.asList(contacts))); in addSim() 104 public static FakeSimContactDao singleSimWithContacts(SimCard sim, SimContact... contacts) { in singleSimWithContacts() argument 105 return new FakeSimContactDao().addSim(sim, contacts); in singleSimWithContacts()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ImportDialogFragment.java | 91 for (SimCard sim : sims) { in show() 92 final List<SimContact> contacts = sim.getContacts(); in show() 96 args.putInt(EXTRA_SIM_CONTACT_COUNT_PREFIX + sim.getSimId(), contacts.size()); in show() 163 CharSequence getSimSecondaryText(SimCard sim) { in onCreateDialog() 164 int count = getSimContactCount(sim); in onCreateDialog() 166 CharSequence phone = sim.getFormattedPhone(); in onCreateDialog() 168 phone = sim.getPhone(); in onCreateDialog() 232 private int getSimContactCount(SimCard sim) { in getSimContactCount() argument 233 if (sim.getContacts() != null) { in getSimContactCount() 234 return sim.getContacts().size(); in getSimContactCount() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 120 public ArrayList<SimContact> loadContactsForSim(SimCard sim) { in loadContactsForSim() argument 121 if (sim.hasValidSubscriptionId()) { in loadContactsForSim() 122 return loadSimContacts(sim.getSubscriptionId()); in loadContactsForSim() 150 public void persistSimState(SimCard sim) { in persistSimState() argument 151 SharedPreferenceUtil.persistSimStates(mContext, Collections.singletonList(sim)); in persistSimState() 165 for (SimCard sim : getSimCards()) { in getSimBySubscriptionId() 166 if (sim.getSubscriptionId() == subscriptionId) { in getSimBySubscriptionId() 167 return sim; in getSimBySubscriptionId() 254 private List<SimContact> getContactsForSim(SimCard sim) { in getContactsForSim() argument 255 final List<SimContact> contacts = sim.getContacts(); in getContactsForSim() [all …]
|
D | SimContactDao.java | 94 public abstract ArrayList<SimContact> loadContactsForSim(SimCard sim); in loadContactsForSim() argument 107 public void persistSimState(SimCard sim) { in persistSimState() argument 108 persistSimStates(Collections.singletonList(sim)); in persistSimState()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportService.java | 72 boolean isImporting(SimCard sim); in isImporting() argument 107 public boolean isImporting(SimCard sim) { 108 return SimImportService.isImporting(sim); 117 private static boolean isImporting(SimCard sim) { in isImporting() argument 119 if (task.getSim().equals(sim)) { in isImporting() 184 final SimCard sim = dao.getSimBySubscriptionId(subscriptionId); in createTaskForIntent() local 185 if (sim != null) { in createTaskForIntent() 186 return new ImportTask(sim, contacts, targetAccount, dao, startId); in createTaskForIntent() 269 public ImportTask(SimCard sim, List<SimContact> contacts, AccountWithDataSet targetAccount, in ImportTask() argument 271 mSim = sim; in ImportTask()
|
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/ |
D | SmartForwardingActivity.java | 17 package com.android.settings.sim.smartForwarding; 19 import static com.android.settings.sim.smartForwarding.EnableSmartForwardingTask.FeatureResult; 20 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.TAG; 21 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.backupPrevStatus; 22 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.clearAllBackupData; 23 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getAllSlotCallForwardin… 24 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getAllSlotCallWaitingSt…
|
D | SmartForwardingFragment.java | 17 package com.android.settings.sim.smartForwarding; 19 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.TAG; 20 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getPhoneNumber;
|
D | MDNHandlerFragment.java | 17 package com.android.settings.sim.smartForwarding; 19 import static com.android.settings.sim.smartForwarding.MDNHandlerHeaderFragment.KEY_SLOT0_PHONE_NUM… 20 import static com.android.settings.sim.smartForwarding.MDNHandlerHeaderFragment.KEY_SLOT1_PHONE_NUM…
|
D | DisableSmartForwardingTask.java | 17 package com.android.settings.sim.smartForwarding; 19 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.TAG;
|
D | MDNHandlerHeaderFragment.java | 17 package com.android.settings.sim.smartForwarding; 19 import static com.android.settings.sim.smartForwarding.SmartForwardingUtils.getPhoneNumber;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SharedPreferenceUtil.java | 171 for (SimCard sim : sims) { in persistSimStates() 172 final String id = sim.getSimId(); in persistSimStates() 176 if (sim.isImported()) { in persistSimStates() 181 if (sim.isDismissed()) { in persistSimStates() 197 for (SimCard sim : sims) { in restoreSimStates() 198 result.add(sim.withImportAndDismissStates(imported.contains(sim.getSimId()), in restoreSimStates() 199 dismissed.contains(sim.getSimId()))); in restoreSimStates()
|
/packages/apps/Settings/src/com/android/settings/sim/receivers/ |
D | SimCompleteBootReceiver.java | 17 package com.android.settings.sim.receivers; 24 import com.android.settings.sim.SimActivationNotifier; 25 import com.android.settings.sim.SimNotificationService;
|
D | SimSlotChangeHandler.java | 17 package com.android.settings.sim.receivers; 38 import com.android.settings.sim.ChooseSimActivity; 39 import com.android.settings.sim.DsdsDialogActivity; 40 import com.android.settings.sim.SimActivationNotifier; 41 import com.android.settings.sim.SimNotificationService; 42 import com.android.settings.sim.SwitchToEsimConfirmDialogActivity;
|
D | SuwFinishReceiver.java | 17 package com.android.settings.sim.receivers;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimSelectNotificationTest.java | 16 package com.android.settings.sim; 31 import static com.android.settings.sim.SimDialogActivity.DATA_PICK; 32 import static com.android.settings.sim.SimDialogActivity.INVALID_PICK; 33 import static com.android.settings.sim.SimSelectNotification.ENABLE_MMS_NOTIFICATION_CHANNEL; 34 import static com.android.settings.sim.SimSelectNotification.ENABLE_MMS_NOTIFICATION_ID; 35 import static com.android.settings.sim.SimSelectNotification.SIM_WARNING_NOTIFICATION_CHANNEL; 36 import static com.android.settings.sim.SimSelectNotification.SIM_WARNING_NOTIFICATION_ID;
|
D | PreferredSimDialogFragmentTest.java | 17 package com.android.settings.sim; 19 import static com.android.settings.sim.SimDialogActivity.PREFERRED_PICK; 20 import static com.android.settings.sim.SimDialogActivity.PREFERRED_SIM;
|
D | SimListDialogFragmentTest.java | 17 package com.android.settings.sim; 19 import static com.android.settings.sim.SimDialogActivity.DATA_PICK; 20 import static com.android.settings.sim.SimDialogActivity.SMS_PICK;
|
D | SimDialogFragmentTestBase.java | 17 package com.android.settings.sim; 19 import static com.android.settings.sim.SimDialogActivity.DIALOG_TYPE_KEY;
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 790 IccCard sim = phone.getIccCard(); in registerIccStatus() local 791 if (sim != null) { in registerIccStatus() 793 sim.registerForNetworkLocked(handler, event, phone); in registerIccStatus() 803 IccCard sim = phones[phoneId].getIccCard(); in registerIccStatus() local 804 if (sim != null) { in registerIccStatus() 808 sim.registerForNetworkLocked(handler, event, phones[phoneId]); in registerIccStatus() 817 IccCard sim = phones[phoneId].getIccCard(); in unregisterIccStatus() local 818 if (sim != null) { in unregisterIccStatus() 822 sim.unregisterForNetworkLocked(handler); in unregisterIccStatus()
|
/packages/modules/Bluetooth/tools/rootcanal/hal/ |
D | Android.bp | 26 name: "android.hardware.bluetooth@1.1-service.sim", 59 init_rc: ["android.hardware.bluetooth@1.1-service.sim.rc"], 63 name: "android.hardware.bluetooth@1.1-impl-sim",
|
D | android.hardware.bluetooth@1.1-service.sim.rc | 1 service vendor.bluetooth-1-1 /vendor/bin/hw/android.hardware.bluetooth@1.1-service.sim
|
D | service.cc | 30 using ::android::hardware::bluetooth::V1_1::sim::BluetoothHci;
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/sim/ |
D | OWNERS | 1 include /src/com/android/settings/sim/OWNERS
|
/packages/modules/Bluetooth/android/pandora/server/scripts/ |
D | setup.sh | 22 adb shell ./vendor/bin/hw/android.hardware.bluetooth@1.1-service.sim &
|
/packages/services/Telecomm/flags/ |
D | telecom_default_phone_account_flags.aconfig | 16 …description: "Telecom is requesting the user to select a sim account to place the outgoing call on…
|