Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailBringUp.java53 mCounter = intent.getIntExtra(COUNTER, DEFAULT_COUNTER); in saveParameters()
55 intent.getIntExtra(FAIL_CAUSE, DEFAULT_FAIL_CAUSE.getErrorCode())); in saveParameters()
57 intent.getIntExtra(SUGGESTED_RETRY_TIME, DEFAULT_SUGGESTED_RETRY_TIME); in saveParameters()
DDcRetryAlarmController.java64 int what = intent.getIntExtra(INTENT_RETRY_ALARM_WHAT, Integer.MAX_VALUE);
65 int tag = intent.getIntExtra(INTENT_RETRY_ALARM_TAG, Integer.MAX_VALUE);
/frameworks/base/docs/html-intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd49 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
79 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd49 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
79 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/frameworks/base/docs/html-intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd49 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
79 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/frameworks/base/docs/html-intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd49 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
79 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java276 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive()
290 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
316 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
342 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
359 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive()
365 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive()
367 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in onReceive()
370 onHandleUserStop(intent, intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); 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()
146 int notifId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in handleNIVerify()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java51 final int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0); in onReceive()
52 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
DBluetoothController.java71 intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR)); in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java93 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive()
94 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive()
96 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in onReceive()
98 health = intent.getIntExtra(BatteryManager.EXTRA_HEALTH, in onReceive()
100 status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
103 voltage = intent.getIntExtra(BatteryManager.EXTRA_VOLTAGE, 0); in onReceive()
104 temperature = intent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE, 0); in onReceive()
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd63 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
68 int chargePlug = batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
103 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
107 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
122 <pre>int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
123 int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/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()
DObjectViewer.java107 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate()
108 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java121 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100);
123 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS,
126 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
128 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0);
/frameworks/base/docs/html-intl/es/training/monitoring-device-state/
Dbattery-monitoring.jd49 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
79 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
96 <pre>int level = battery.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
97 int scale = battery.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DTestAlertActivity.java18 mId = intent.getIntExtra("id", -1); in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DCurrentUserTracker.java46 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java271 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN);
272 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
273 final int level = intent.getIntExtra(EXTRA_LEVEL, 0);
274 final int health = intent.getIntExtra(EXTRA_HEALTH, BATTERY_HEALTH_UNKNOWN);
287 intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1), 0));
296 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0), 0));
309 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId()), 0));
/frameworks/support/v4/java/android/support/v4/content/
DWakefulBroadcastReceiver.java113 final int id = intent.getIntExtra(EXTRA_WAKE_LOCK_ID, 0); in completeWakefulIntent()
/frameworks/base/services/java/com/android/server/
DUiModeManagerService.java116 final int enableFlags = intent.getIntExtra("enableFlags", 0);
117 final int disableFlags = intent.getIntExtra("disableFlags", 0);
127 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
136 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
DAppWidgetService.java112 onUserRemoved(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in systemRunning()
115 onUserStopping(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in systemRunning()
336 int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java221 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR); in updateBluetooth()
224 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, in updateBluetooth()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java40 mMode = getIntent().getIntExtra("mode", mMode); in onCreate()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java680 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
684 mChangedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive()
690 mUpdatedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive()
691 … mUpdatedPrevState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, -1); in onReceive()

1234