/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/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);
|
D | docking-monitoring.jd | 48 <pre>int dockState = battery.getIntExtra(EXTRA_DOCK_STATE, -1);
|
/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/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/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 280 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive() 294 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 320 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 346 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 363 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive() 369 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive() 371 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in onReceive() 374 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()
|
/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/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 | 101 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive() 102 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive() 104 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in onReceive() 106 health = intent.getIntExtra(BatteryManager.EXTRA_HEALTH, in onReceive() 108 status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive() 111 voltage = intent.getIntExtra(BatteryManager.EXTRA_VOLTAGE, 0); in onReceive() 112 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()
|
D | ObjectViewer.java | 107 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate() 108 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/base/tests/StatusBar/src/com/android/statusbartest/ |
D | TestAlertActivity.java | 18 mId = intent.getIntExtra("id", -1); in onResume()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 443 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); 444 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0); 445 final int level = intent.getIntExtra(EXTRA_LEVEL, 0); 446 final int health = intent.getIntExtra(EXTRA_HEALTH, BATTERY_HEALTH_UNKNOWN); 461 intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1), 0)); 467 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0), 0)); 482 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId()), 0)); 537 int slotId = intent.getIntExtra(PhoneConstants.SLOT_KEY, 0); in fromIntent() 538 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in fromIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | CurrentUserTracker.java | 43 mCurrentUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0); in onReceive()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | WakefulBroadcastReceiver.java | 113 final int id = intent.getIntExtra(EXTRA_WAKE_LOCK_ID, 0); in completeWakefulIntent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 120 final int enableFlags = intent.getIntExtra("enableFlags", 0); 121 final int disableFlags = intent.getIntExtra("disableFlags", 0); 131 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, 140 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 689 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() 693 mChangedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive() 699 mUpdatedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive() 700 … mUpdatedPrevState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, -1); in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 40 mMode = getIntent().getIntExtra("mode", mMode); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 82 int user = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in PermissionMonitor() 83 int appUid = intent.getIntExtra(Intent.EXTRA_UID, -1); in PermissionMonitor()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 111 int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE, -1); in onReceive() 125 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() 169 int varient = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, -1); in onReceive() 187 int state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, -1); in onReceive() 245 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() 276 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive() 295 int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onReceive()
|