Home
last modified time | relevance | path

Searched refs:getIntExtra (Results 1 – 25 of 228) sorted by relevance

12345678910

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyTester.java259 int code = intent.getIntExtra(EXTRA_FAILURE_CODE, 0); in handleSuppServiceFailedIntent()
356 intent.getIntExtra(EXTRA_DIALOGID, 0), in handleTestDialogEventPackageIntent()
359 intent.getIntExtra(EXTRA_STATE, in handleTestDialogEventPackageIntent()
370 int code = intent.getIntExtra(EXTRA_CODE, -1); in sendTestSuppServiceNotification()
371 int type = intent.getIntExtra(EXTRA_TYPE, -1); in sendTestSuppServiceNotification()
393 ss.setVoiceRegState(mServiceStateTestIntent.getIntExtra(EXTRA_VOICE_REG_STATE, in overrideServiceState()
398 ss.setDataRegState(mServiceStateTestIntent.getIntExtra(EXTRA_DATA_REG_STATE, in overrideServiceState()
414 ss.setNrFrequencyRange(mServiceStateTestIntent.getIntExtra(EXTRA_NR_FREQUENCY_RANGE, in overrideServiceState()
427 nri.setNrState(mServiceStateTestIntent.getIntExtra(EXTRA_NR_STATE, in overrideServiceState()
442 mServiceStateTestIntent.getIntExtra(EXTRA_VOICE_RAT, in overrideServiceState()
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DTextScrollActivity.java43 mHitPercentage = getIntent().getIntExtra(EXTRA_HIT_RATE, in onCreate()
46 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
47 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
48 final int id = getIntent().getIntExtra(BenchmarkRegistry.EXTRA_ID, -1); in onCreate()
DListViewScrollActivity.java45 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
46 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DFullScreenOverdrawActivity.java81 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
82 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DShadowGridActivity.java44 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
45 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DEditTextInputActivity.java37 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
38 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DBitmapUploadActivity.java125 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
126 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailBringUp.java57 mCounter = intent.getIntExtra(COUNTER, DEFAULT_COUNTER); in saveParameters()
59 intent.getIntExtra(FAIL_CAUSE, DEFAULT_FAIL_CAUSE)); in saveParameters()
61 intent.getIntExtra(SUGGESTED_RETRY_TIME, DEFAULT_SUGGESTED_RETRY_TIME); in saveParameters()
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java325 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive()
340 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
366 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
392 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
406 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
415 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive()
421 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive()
423 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in onReceive()
426 onHandleUserStop(intent, intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in onReceive()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java104 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onDisableAllMeteredApns()
112 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onEnableAllMeteredApns()
136 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onRegisterDefaultNetworkAvail()
144 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onDeregisterDefaultNetworkAvail()
152 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onDisableRadio()
160 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onEnableRadio()
203 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onResetAllCarrierActions()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DConnectedDeviceSignalController.java178 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
181 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1); in onReceive()
196 int networkStatus = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_NETWORK_STATUS, in processActionAgEvent()
208 int signalStrength = intent.getIntExtra( in processActionAgEvent()
218 int roamingStatus = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_NETWORK_ROAMING, in processActionAgEvent()
DCarBatteryController.java147 int batteryLevel = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_BATTERY_LEVEL, in onReceive()
156 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
159 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1); in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java98 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in onCreate()
99 …timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeou… in onCreate()
100 …default_response = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_DEFAULT_RESPONSE, GpsNe… in onCreate()
147 int notifId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in handleNIVerify()
DUnlaunchableAppActivity.java58 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate()
59 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java205 int widthDp = activity.getIntent().getIntExtra(EXTRA_CARD_WIDTH_DP, in initRowsAdapterBuilder()
207 int heightDp = activity.getIntent().getIntExtra(EXTRA_CARD_HEIGHT_DP, in initRowsAdapterBuilder()
209 int rows = activity.getIntent().getIntExtra(EXTRA_ROWS, DEFAULT_ROWS); in initRowsAdapterBuilder()
210 int cardsPerRow = activity.getIntent().getIntExtra(EXTRA_CARDS_PER_ROW, in initRowsAdapterBuilder()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java94 batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, /* defaultValue= */ -1) > 0; in isBatteryLevelSufficient()
101 int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, /* defaultValue= */ -1); in calculateBatteryPercentage()
102 int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, /* defaultValue= */ -1); in calculateBatteryPercentage()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/
DCarWizardManagerHelperTest.java49 assertThat(nextIntent.getIntExtra(EXTRA_RESULT_CODE, 0)).isEqualTo(1); in testGetNextIntentWithNullData()
64 assertThat(nextIntent.getIntExtra(EXTRA_RESULT_CODE, 0)).isEqualTo(1); in testGetNextIntentWithData()
65 assertThat(nextIntent.getIntExtra("testExtra", 0)).isEqualTo(1); in testGetNextIntentWithData()
/frameworks/base/core/java/android/app/admin/
DDelegatedAdminReceiver.java126 int uid = intent.getIntExtra(EXTRA_CHOOSE_PRIVATE_KEY_SENDER_UID, -1); in onReceive()
133 int networkLogsCount = intent.getIntExtra(EXTRA_NETWORK_LOGS_COUNT, 0); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java144 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive()
145 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive()
146 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive()
148 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java119 int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE, -1); in onReceive()
133 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive()
177 int varient = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, -1); in onReceive()
194 int state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, -1); in onReceive()
255 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
286 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive()
305 int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onReceive()
337 …int result = intent.getIntExtra(BluetoothMapClient.EXTRA_RESULT_CODE, BluetoothMapClient.RESULT_FA… in onReceive()
341 …int result = intent.getIntExtra(BluetoothMapClient.EXTRA_RESULT_CODE, BluetoothMapClient.RESULT_FA… in onReceive()
482 final int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, in enable()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java182 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onEventReceived()
190 int id = intent.getIntExtra(EXTRA_ID, 0); in onEventReceived()
192 int legacyStatus = intent.getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, 0); in onEventReceived()
DUninstallFinish.java57 int returnCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onReceive()
66 int uninstallId = intent.getIntExtra(EXTRA_UNINSTALL_ID, 0); in onReceive()
93 int legacyStatus = intent.getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, 0); in onReceive()
DInstallFailed.java82 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate()
86 int legacyStatus = getIntent().getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java124 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, targetUserId);
184 return getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getTargetUserId()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectBrowser.java113 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate()
114 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()

12345678910