Home
last modified time | relevance | path

Searched refs:TelephonyIntents (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java57 import com.android.internal.telephony.TelephonyIntents;
148 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testIgnoresSimStateCallback_rebroadcast()
169 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_Absent()
180 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_SimState_CardIOError()
192 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_SimInvalid_ServiceState_InService()
207 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_SimValid_ServiceState_PowerOff()
229 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
247 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_NotReady()
262 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testTelephonyCapable_BootInitState_SimState_Ready()
273 Intent intent = new Intent(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in testTelephonyCapable_BootInitState_ServiceState_PowerOff()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java143 mFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in notifyServiceState()
154 mFilter.addAction(TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED); in notifySignalStrength()
176 if (TelephonyIntents.ACTION_SIGNAL_STRENGTH_CHANGED.equals(action)) { in onReceive()
195 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) { in onReceive()
DRadioBugDetector.java129 Intent intent = new Intent(TelephonyIntents.ACTION_REPORT_RADIO_BUG); in broadcastBug()
131 intent.putExtra(TelephonyIntents.EXTRA_SLOT_ID, mSlotId); in broadcastBug()
132 intent.putExtra(TelephonyIntents.EXTRA_RADIO_BUG_TYPE, mRadioBugStatus); in broadcastBug()
DSimActivationTracker.java81 if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)){ in SimActivationTracker()
92 IntentFilter intentFilter = new IntentFilter(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in SimActivationTracker()
DProxyController.java370 Intent intent = new Intent(TelephonyIntents.ACTION_SET_RADIO_CAPABILITY_FAILED); in onStartRadioCapabilityResponse()
583 intent = new Intent(TelephonyIntents.ACTION_SET_RADIO_CAPABILITY_DONE); in completeRadioCapabilityTransaction()
584 intent.putParcelableArrayListExtra(TelephonyIntents.EXTRA_RADIO_ACCESS_FAMILY, in completeRadioCapabilityTransaction()
593 intent = new Intent(TelephonyIntents.ACTION_SET_RADIO_CAPABILITY_FAILED); in completeRadioCapabilityTransaction()
DCarrierActionAgent.java91 if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)){
105 new IntentFilter(TelephonyIntents.ACTION_SIM_STATE_CHANGED)); in CarrierActionAgent()
DCarrierKeyDownloadManager.java128 filter.addAction(TelephonyIntents.ACTION_CARRIER_CERTIFICATE_DOWNLOAD); in CarrierKeyDownloadManager()
141 } else if (action.equals(TelephonyIntents.ACTION_CARRIER_CERTIFICATE_DOWNLOAD)) {
DCarrierInfoManager.java200 Intent resetIntent = new Intent(TelephonyIntents.ACTION_CARRIER_CERTIFICATE_DOWNLOAD); in resetCarrierKeysForImsiEncryption()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccStateChangedLauncherTest.java38 import com.android.internal.telephony.TelephonyIntents;
114 assertEquals(TelephonyIntents.ACTION_SIM_STATE_CHANGED, in testProvisioningPackageSet()
125 assertEquals(TelephonyIntents.ACTION_SIM_STATE_CHANGED, in testProvisioningPackageSet()
140 assertEquals(TelephonyIntents.ACTION_SIM_STATE_CHANGED, in testProvisioningPackageSet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java32 import com.android.internal.telephony.TelephonyIntents;
127 new IntentFilter(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION)); in update()
129 displayText = i.getStringExtra(TelephonyIntents.EXTRA_PLMN); in update()
DMobileSignalController.java40 import com.android.internal.telephony.TelephonyIntents;
439 if (action.equals(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION)) { in handleBroadcast()
440 updateNetworkName(intent.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_SPN, false), in handleBroadcast()
441 intent.getStringExtra(TelephonyIntents.EXTRA_SPN), in handleBroadcast()
442 intent.getStringExtra(TelephonyIntents.EXTRA_DATA_SPN), in handleBroadcast()
443 intent.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_PLMN, false), in handleBroadcast()
444 intent.getStringExtra(TelephonyIntents.EXTRA_PLMN)); in handleBroadcast()
446 } else if (action.equals(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED)) { in handleBroadcast()
DNetworkControllerImpl.java60 import com.android.internal.telephony.TelephonyIntents;
340 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in registerListeners()
341 filter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED); in registerListeners()
342 filter.addAction(TelephonyIntents.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED); in registerListeners()
343 filter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in registerListeners()
344 filter.addAction(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION); in registerListeners()
535 case TelephonyIntents.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED: in onReceive()
539 case TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED: in onReceive()
549 case TelephonyIntents.ACTION_SIM_STATE_CHANGED: in onReceive()
557 case TelephonyIntents.ACTION_SERVICE_STATE_CHANGED: in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java39 import com.android.internal.telephony.TelephonyIntents;
414 intent.setAction(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION); in createStringsUpdatedIntent()
416 intent.putExtra(TelephonyIntents.EXTRA_SHOW_SPN, showSpn); in createStringsUpdatedIntent()
417 intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); in createStringsUpdatedIntent()
419 intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn); in createStringsUpdatedIntent()
420 intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); in createStringsUpdatedIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccStateChangedLauncher.java27 import com.android.internal.telephony.TelephonyIntents;
92 Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in notifyStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/
DVendorDataResetEventTracker.java21 import com.android.internal.telephony.TelephonyIntents;
96 if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
128 TelephonyIntents.ACTION_SIM_STATE_CHANGED)); in startResetEventTracker()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java37 import com.android.internal.telephony.TelephonyIntents;
320 new IntentFilter(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION)); in updateCarrierText()
324 if (i.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_SPN, false)) { in updateCarrierText()
325 spn = i.getStringExtra(TelephonyIntents.EXTRA_SPN); in updateCarrierText()
327 if (i.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_PLMN, false)) { in updateCarrierText()
328 plmn = i.getStringExtra(TelephonyIntents.EXTRA_PLMN); in updateCarrierText()
DKeyguardUpdateMonitor.java93 import com.android.internal.telephony.TelephonyIntents;
1098 } else if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
1128 } else if (TelephonyIntents.ACTION_SERVICE_STATE_CHANGED.equals(action)) {
1138 } else if (TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED.equals(action)) {
1279 if (!TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(intent.getAction())) { in fromIntent()
1548 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in KeyguardUpdateMonitor()
1549 filter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in KeyguardUpdateMonitor()
1550 filter.addAction(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED); in KeyguardUpdateMonitor()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java495 assertEquals(TelephonyIntents.SPN_STRINGS_UPDATED_ACTION, intent.getAction()); in testSpnUpdateShowPlmnOnly()
500 assertTrue(b.containsKey(TelephonyIntents.EXTRA_SHOW_SPN)); in testSpnUpdateShowPlmnOnly()
501 assertFalse(b.getBoolean(TelephonyIntents.EXTRA_SHOW_SPN)); in testSpnUpdateShowPlmnOnly()
503 assertEquals(null, b.getString(TelephonyIntents.EXTRA_SPN)); in testSpnUpdateShowPlmnOnly()
504 assertEquals(null, b.getString(TelephonyIntents.EXTRA_DATA_SPN)); in testSpnUpdateShowPlmnOnly()
507 assertTrue(b.containsKey(TelephonyIntents.EXTRA_SHOW_PLMN)); in testSpnUpdateShowPlmnOnly()
508 assertTrue(b.getBoolean(TelephonyIntents.EXTRA_SHOW_PLMN)); in testSpnUpdateShowPlmnOnly()
510 assertEquals(SimulatedCommands.FAKE_LONG_NAME, b.getString(TelephonyIntents.EXTRA_PLMN)); in testSpnUpdateShowPlmnOnly()
2398 assertThat(b.getString(TelephonyIntents.EXTRA_PLMN)) in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
2400 assertThat(b.getBoolean(TelephonyIntents.EXTRA_SHOW_PLMN)).isTrue(); in testUpdateSpnDisplay_noService_displayEmergencyCallOnly()
[all …]
DCarrierActionAgentTest.java90 final Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testCarrierActionResetOnAPM()
132 final Intent intent = new Intent(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in testCarrierActionResetOnAPNChange()
DSubscriptionControllerTest.java206 assertEquals(TelephonyIntents.ACTION_SUBINFO_RECORD_UPDATED, in testChangeSIMProperty()
232 assertEquals(TelephonyIntents.ACTION_SUBINFO_RECORD_UPDATED, in testSetGetDisplayNameSrc()
279 assertEquals(TelephonyIntents.ACTION_SUBINFO_RECORD_UPDATED, in testSetGetMCCMNC()
297 assertEquals(TelephonyIntents.ACTION_SUBINFO_RECORD_UPDATED, in testSetGetCarrierId()
313 assertEquals(TelephonyIntents.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED, intent.getAction()); in testSetDefaultDataSubId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAirplaneModeTile.java33 import com.android.internal.telephony.TelephonyIntents;
77 new Intent(TelephonyIntents.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS), 0); in handleClick()
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyIntents.java30 public class TelephonyIntents { class
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java65 import com.android.internal.telephony.TelephonyIntents;
136 filter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in LegacyGlobalActions()
234 new Intent(TelephonyIntents.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS, null); in createDialog()
746 } else if (TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED.equals(action)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java57 import com.android.internal.telephony.TelephonyIntents;
105 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in VendorPhoneSwitcher()
145 if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java40 import com.android.internal.telephony.TelephonyIntents;
169 filter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in PhoneStatusBarPolicy()
609 case TelephonyIntents.ACTION_SIM_STATE_CHANGED:

12