HomeSort by relevance Sort by last modified time
    Searched defs:slotId (Results 1 - 25 of 45) sorted by null

1 2

  /external/libese/apps/weaver/tests/
weaver_test.cpp 63 const uint32_t slotId = 3;
64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout));
73 const uint32_t slotId = 7;
74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
79 ese_weaver_read(&mSession, slotId, WRONG_KEY, readValue, &timeout));
85 const uint32_t slotId = 0;
86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
87 ASSERT_EQ(ese_weaver_erase_value(&mSession, slotId), ESE_APP_RESULT_OK);
93 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout))
    [all...]
  /frameworks/base/telephony/java/android/telephony/ims/stub/
ImsFeatureConfiguration.java 43 public final int slotId;
45 * The feature that this slotId supports. Supported values are
52 * A mapping from slotId to IMS Feature type.
53 * @param slotId the SIM slot ID associated with this feature.
54 * @param featureType The feature that this slotId supports. Supported values are
58 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) {
59 this.slotId = slotId;
70 if (slotId != that.slotId) return false
    [all...]
  /hardware/interfaces/weaver/1.0/vts/functional/
VtsHalWeaverV1_0TargetTest.cpp 138 constexpr uint32_t slotId = 0;
139 const auto ret = weaver->write(slotId, KEY, VALUE);
147 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) {
166 constexpr uint32_t slotId = 0;
167 const auto initialWriteRet = weaver->write(slotId, WRONG_KEY, VALUE);
171 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE);
179 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) {
197 constexpr uint32_t slotId = 0;
198 const auto ret = weaver->write(slotId, KEY, VALUE);
206 weaver->read(slotId, WRONG_KEY, [&](WeaverReadStatus s, WeaverReadResponse r)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
SubscriptionListData.java 69 final int slotId = selfParticipantData.getDisplaySlotId();
70 final String iconIdentifier = String.format(Locale.getDefault(), "%d", slotId);
73 context.getString(R.string.sim_slot_identifier, slotId) : subscriptionName;
ParticipantData.java 386 final int slotId = subscriptionInfo.getSimSlotIndex();
389 if (mSlotId != slotId || mSubscriptionColor != color || mSubscriptionName != name) {
390 mSlotId = slotId;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
ImeiInfoDialogFragment.java 45 public static void show(@NonNull Fragment host, int slotId, String dialogTitle) {
49 bundle.putInt(SLOT_ID_BUNDLE_KEY, slotId);
65 final int slotId = bundle.getInt(SLOT_ID_BUNDLE_KEY);
68 final ImeiInfoDialogController controller = new ImeiInfoDialogController(this, slotId);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
SimStatusDialogFragment.java 48 public static void show(Fragment host, int slotId, String dialogTitle) {
52 bundle.putInt(SIM_SLOT_BUNDLE_KEY, slotId);
64 final int slotId = bundle.getInt(SIM_SLOT_BUNDLE_KEY);
66 mController = new SimStatusDialogController(this, mLifecycle, slotId);
  /packages/services/Telephony/src/com/android/phone/
TelephonyShellCommand.java 134 int slotId = getDefaultSlot();
142 slotId = Integer.parseInt(getNextArgRequired());
171 boolean result = mInterface.setImsService(slotId, isCarrierService, packageName);
173 Log.v(LOG_TAG, "ims set-ims-service -s " + slotId + " "
178 Log.w(LOG_TAG, "ims set-ims-service -s " + slotId + " "
190 int slotId = getDefaultSlot();
198 slotId = Integer.parseInt(getNextArgRequired());
223 result = mInterface.getImsService(slotId, isCarrierService);
228 Log.v(LOG_TAG, "ims get-ims-service -s " + slotId + " "
236 int slotId = getDefaultSlot()
    [all...]
NotificationMgr.java 482 int slotId = SubscriptionManager.getSlotIndex(subId);
483 resId = (slotId == 0) ? R.drawable.stat_sys_phone_call_forward_sub1
  /external/libese/apps/weaver/card/src/com/android/weaver/
Weaver.java 170 final short slotId = getSlotId(buffer, WRITE_DATA_SLOT_ID_OFFSET);
171 mSlots.write(slotId, buffer, WRITE_DATA_KEY_OFFSET, buffer, WRITE_DATA_VALUE_OFFSET);
196 final short slotId = getSlotId(buffer, READ_DATA_SLOT_ID_OFFSET);
198 final byte err = mSlots.read(slotId, buffer, READ_DATA_KEY_OFFSET, buffer, (short) 1);
224 final short slotId = getSlotId(buffer, READ_DATA_SLOT_ID_OFFSET);
225 mSlots.eraseValue(slotId);
  /external/libese/apps/weaver/card/src/com/android/weaver/core/
CoreSlots.java 55 final short slotId = validateSlotId(rawSlotId);
56 mSlots[slotId].write(key, keyOffset, value, valueOffset);
62 final short slotId = validateSlotId(rawSlotId);
63 return mSlots[slotId].read(key, keyOffset, outValue, outOffset);
68 final short slotId = validateSlotId(rawSlotId);
69 mSlots[slotId].eraseValue();
82 private short validateSlotId(short slotId) {
83 // slotId is unsigned so if the signed version is negative then it is far too big
84 if (slotId < 0 || slotId >= NUM_SLOTS)
    [all...]
  /hardware/google/av/codec2/hidl/client/include/codec2/hidl/
client.h 261 int32_t slotId;
  /hardware/ril/libril/
sap_service.cpp 46 int32_t slotId;
89 RLOGD("SapImpl::setCallback for slotId %d", slotId);
184 sapService[slotId]->checkReturnStatus(retStatus);
    [all...]
  /frameworks/base/telephony/java/android/telephony/
NetworkService.java 88 public NetworkServiceProvider(int slotId) {
89 mSlotId = slotId;
154 final int slotId = message.arg1;
157 NetworkServiceProvider serviceProvider = mServiceMap.get(slotId);
163 mServiceMap.put(slotId, createNetworkServiceProvider(slotId));
170 mServiceMap.remove(slotId);
223 * @param slotId SIM slot id the network service associated with.
226 protected abstract NetworkServiceProvider createNetworkServiceProvider(int slotId);
261 public void createNetworkServiceProvider(int slotId) {
    [all...]
  /frameworks/base/telephony/java/android/telephony/data/
DataService.java 125 * @param slotId SIM slot id the data service provider associated with.
127 public DataServiceProvider(int slotId) {
128 mSlotId = slotId;
334 final int slotId = message.arg1;
335 DataServiceProvider serviceProvider = mServiceMap.get(slotId);
341 mServiceMap.put(slotId, serviceProvider);
347 mServiceMap.remove(slotId);
446 * @param slotId SIM slot id the data service associated with.
449 public abstract DataServiceProvider createDataServiceProvider(int slotId);
479 public void createDataServiceProvider(int slotId) {
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CarrierKeyDownloadMgrTest.java 265 int slotId = mPhone.getPhoneId();
266 editor.putString("CARRIER_KEY_DM_MCC_MNC" + slotId, mccMnc);
290 int slotId = mPhone.getPhoneId();
291 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId);
300 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null);
313 int slotId = mPhone.getPhoneId();
314 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId);
320 + slotId);
323 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DataConnectionTest.java 601 final int slotId = 3;
611 DataConnection.EVENT_KEEPALIVE_START_REQUEST, slotId, interval, kd).sendToTarget();
625 final int slotId = 3;
635 DataConnection.EVENT_KEEPALIVE_START_REQUEST, slotId, interval, kd).sendToTarget();
640 Message kaStarted = mDc.obtainMessage(DataConnection.EVENT_KEEPALIVE_STARTED, slotId, 0);
667 // has a valid mapping between slotId (from network agent) to sessionHandle (from Radio).
668 mDc.obtainMessage(DataConnection.EVENT_KEEPALIVE_STOP_REQUEST, slotId).sendToTarget();
674 DataConnection.EVENT_KEEPALIVE_STOPPED, sessionHandle, slotId);
679 mDc.obtainMessage(DataConnection.EVENT_KEEPALIVE_STOP_REQUEST, slotId).sendToTarget();
704 final int slotId = 3
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierKeyDownloadManager.java 131 int slotId = mPhone.getPhoneId();
132 if (action.equals(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId)) {
136 if (slotId == intent.getIntExtra(PhoneConstants.PHONE_KEY,
142 if (slotId == intent.getIntExtra(PhoneConstants.PHONE_KEY,
193 int slotId = mPhone.getPhoneId();
194 Intent intent = new Intent(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId);
249 int slotId = mPhone.getPhoneId();
254 Intent intent = new Intent(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId);
266 int slotId = mPhone.getPhoneId();
268 return preferences.getString(MCC_MNC_PREF_TAG + slotId, null)
    [all...]
SubscriptionInfoUpdater.java 171 public void updateInternalIccState(String simStatus, String reason, int slotId) {
173 + " slotId " + slotId);
176 sendMessage(obtainMessage(message, slotId, -1, reason));
214 Integer slotId = (Integer)ar.userObj;
218 mPhone[slotId].setNetworkSelectionModeAutomatic(null);
298 private void handleSimLocked(int slotId, String reason) {
299 if (mIccId[slotId] != null && mIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)) {
300 logd("SIM" + (slotId + 1) + " hot plug in")
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
EuiccCardController.java 176 int slotId = controller.getUiccSlotForCardId(cardId);
177 if (slotId != UiccController.INVALID_SLOT_ID) {
178 UiccSlot slot = controller.getUiccSlot(slotId);
180 return (EuiccCard) controller.getUiccCardForSlot(slotId);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
ImsServiceController.java 170 void imsServiceFeatureCreated(int slotId, int feature, ImsServiceController controller);
174 void imsServiceFeatureRemoved(int slotId, int feature, ImsServiceController controller);
213 // Set of a pair of slotId->feature
229 public int slotId;
233 ImsFeatureContainer(int slotId, int featureType, IInterface binder) {
234 this.slotId = slotId;
251 if (slotId != that.slotId) return false;
258 int result = slotId;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccController.java 208 * @param slotId index of physical slot on the device
212 public UiccCard getUiccCardForSlot(int slotId) {
214 UiccSlot uiccSlot = getUiccSlot(slotId);
273 public UiccSlot getUiccSlot(int slotId) {
275 if (isValidSlotIndex(slotId)) {
276 return mUiccSlots[slotId];
289 int slotId = getSlotIdFromPhoneId(phoneId);
290 if (isValidSlotIndex(slotId)) {
291 return mUiccSlots[slotId];
491 int slotId = status.physicalSlotIndex
    [all...]
  /packages/apps/Settings/src/com/android/settings/datausage/
DataUsageList.java 509 final int slotId = SubscriptionManager.getSlotIndex(subId);
510 final boolean isReady = tele.getSimState(slotId) == SIM_STATE_READY;
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 124 int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX;
138 // We can only get the real slotId from the SubInfoRecord, we can't calculate the
139 // slotId from the subId or the phoneId in all instances.
156 slotId = record.getSimSlotIndex();
162 if (SubscriptionManager.isValidSlotIndex(slotId)) {
163 slotIdString = Integer.toString(slotId);
249 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
251 String.valueOf(slotId));
    [all...]
  /frameworks/base/services/core/java/com/android/server/locksettings/
SyntheticPasswordManager.java     [all...]

Completed in 3799 milliseconds

1 2