Lines Matching refs:slotId
67 int slotId = in onReceive() local
84 context, currentSubId, slotId, dependencies.jobManager, result)); in onReceive()
94 Context context, int currentSubId, int slotId, JobManager jobManager, in handleCarrierConfigChanged() argument
99 if (isBootUp(context, slotId)) { in handleCarrierConfigChanged()
111 int lastSubId = getAndSetSubId(context, currentSubId, slotId); in handleCarrierConfigChanged()
114 "SubId for slot " + slotId + " changed: " + lastSubId + " -> " + currentSubId); in handleCarrierConfigChanged()
135 boolean isBootUp(Context context, int slotId) { in isBootUp() argument
138 int lastBootCount = preferences.getInt(KEY_LAST_BOOT_COUNT + slotId, 0); in isBootUp()
142 preferences.edit().putInt(KEY_LAST_BOOT_COUNT + slotId, currentBootCount).apply(); in isBootUp()
147 private int getAndSetSubId(Context context, int currentSubId, int slotId) { in getAndSetSubId() argument
151 KEY_LAST_SUB_ID + slotId, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getAndSetSubId()
152 preferences.edit().putInt(KEY_LAST_SUB_ID + slotId, currentSubId).apply(); in getAndSetSubId()