/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/ |
D | battery-monitoring.jd | 49 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/intl/ru/training/monitoring-device-state/ |
D | battery-monitoring.jd | 49 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/intl/ja/training/monitoring-device-state/ |
D | battery-monitoring.jd | 49 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/intl/ko/training/monitoring-device-state/ |
D | battery-monitoring.jd | 49 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcFailBringUp.java | 53 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()
|
D | DcRetryAlarmController.java | 64 int what = intent.getIntExtra(INTENT_RETRY_ALARM_WHAT, Integer.MAX_VALUE); 65 int tag = intent.getIntExtra(INTENT_RETRY_ALARM_TAG, Integer.MAX_VALUE);
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
D | CustomTabsIntentTest.java | 44 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColor() 52 color == intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColorIsNotAResource() 54 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColorIsNotAResource()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 279 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive() 293 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 319 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 345 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 362 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive() 368 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive() 370 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in onReceive() 373 onHandleUserStop(intent, intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 78 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive() 79 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive() 80 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive() 82 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
|
D | WifiSignalController.java | 98 mCurrentState.enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, in handleBroadcast() 120 mCurrentState.rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); in handleBroadcast()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NetInitiatedActivity.java | 97 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in onCreate() 98 …timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeou… in onCreate() 99 …default_response = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_DEFAULT_RESPONSE, GpsNe… in onCreate() 145 int notifId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in handleNIVerify()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 154 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, in onReceive() 211 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, in onReceive() 265 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() 292 int reason = intent.getIntExtra(BluetoothDevice.EXTRA_REASON, in onReceive() 368 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, anythingButUnDocked); in onReceive()
|
D | LocalBluetoothProfileManager.java | 227 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); in onReceive() 228 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0); in onReceive() 249 int role = intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, 0); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 156 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100); in onReceive() 158 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive() 161 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive() 163 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 478 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive() 479 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive() 481 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in onReceive() 483 health = intent.getIntExtra(BatteryManager.EXTRA_HEALTH, in onReceive() 485 status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive() 488 voltage = intent.getIntExtra(BatteryManager.EXTRA_VOLTAGE, 0); in onReceive() 489 temperature = intent.getIntExtra(BatteryManager.EXTRA_TEMPERATURE, 0); in onReceive()
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | battery-monitoring.jd | 63 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/ |
D | ObjectBrowser.java | 113 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate() 114 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
|
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/ |
D | battery-monitoring.jd | 49 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/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridActivity.java | 119 mLayoutId = intent.getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, R.layout.horizontal_grid); in onCreate() 120 mChildLayout = intent.getIntExtra(EXTRA_CHILD_LAYOUT_ID, -1); in onCreate() 162 mNumItems = intent.getIntExtra(EXTRA_NUM_ITEMS, DEFAULT_NUM_ITEMS); in onCreate() 187 int position = intent.getIntExtra("SELECT_POSITION", -1); in onNewIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogController.java | 784 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() 785 final int level = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE, -1); in onReceive() 787 .getIntExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_VALUE, -1); in onReceive() 792 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() 794 .getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_DEVICES, -1); in onReceive() 796 .getIntExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_DEVICES, -1); in onReceive() 801 final int rm = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1); in onReceive() 806 final int rm = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1); in onReceive() 811 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestAlertActivity.java | 18 mId = intent.getIntExtra("id", -1); in onResume()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserTracker.java | 43 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 560 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); 561 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0); 562 final int level = intent.getIntExtra(EXTRA_LEVEL, 0); 563 final int health = intent.getIntExtra(EXTRA_HEALTH, BATTERY_HEALTH_UNKNOWN); 578 intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1), 0)); 588 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 608 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId()), 0)); 678 int slotId = intent.getIntExtra(PhoneConstants.SLOT_KEY, 0); in fromIntent() 679 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in fromIntent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 121 final int enableFlags = intent.getIntExtra("enableFlags", 0); 122 final int disableFlags = intent.getIntExtra("disableFlags", 0); 132 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, 141 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | WakefulBroadcastReceiver.java | 113 final int id = intent.getIntExtra(EXTRA_WAKE_LOCK_ID, 0); in completeWakefulIntent()
|