/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/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/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/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 294 mChangeUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, in onReceive() 308 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 334 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 360 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 374 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive() 383 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive() 389 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive() 391 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 0)); in onReceive() 394 onHandleUserStop(intent, intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); in onReceive()
|
/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()
|
/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()
|
D | UnlaunchableAppActivity.java | 63 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate() 64 mUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL); in onCreate()
|
/frameworks/support/customtabs/tests/src/android/support/customtabs/ |
D | CustomTabsIntentTest.java | 57 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColor() 66 color == intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColorIsNotAResource() 68 assertEquals(color, intent.getIntExtra(CustomTabsIntent.EXTRA_TOOLBAR_COLOR, 0)); in testToolbarColorIsNotAResource()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 108 * intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0) in onReceive() 109 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, 100)); in onReceive() 110 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive() 112 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/ |
D | BrowseFragmentTestActivity.java | 41 BrowseTestFragment.NUM_ROWS = intent.getIntExtra(EXTRA_NUM_ROWS, in onCreate() 43 BrowseTestFragment.REPEAT_PER_ROW = intent.getIntExtra(EXTRA_REPEAT_PER_ROW, in onCreate()
|
D | BrowseSupportFragmentTestActivity.java | 43 BrowseTestSupportFragment.NUM_ROWS = intent.getIntExtra(EXTRA_NUM_ROWS, in onCreate() 45 BrowseTestSupportFragment.REPEAT_PER_ROW = intent.getIntExtra(EXTRA_REPEAT_PER_ROW, in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 114 int level = batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0); in getBatteryLevel() 115 int scale = batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_SCALE, 100); in getBatteryLevel() 125 int plugType = batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in getBatteryStatus() 126 int status = batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_STATUS, in getBatteryStatus()
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 147 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100); in onReceive() 149 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive() 152 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive() 154 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0); in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 37 enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, in handleBroadcast() 59 rssi = intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, -200); in handleBroadcast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarBatteryController.java | 140 int batteryLevel = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_BATTERY_LEVEL, in onReceive() 149 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() 152 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1); in onReceive()
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | battery-monitoring.jd | 65 int status = batteryStatus.getIntExtra(BatteryManager.EXTRA_STATUS, -1); 70 int chargePlug = batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); 105 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1); 109 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1); 124 <pre>int level = batteryStatus.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); 125 int scale = batteryStatus.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridActivity.java | 134 mLayoutId = intent.getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, R.layout.horizontal_grid); in onCreate() 135 mChildLayout = intent.getIntExtra(EXTRA_CHILD_LAYOUT_ID, -1); in onCreate() 150 mNinePatchShadow = intent.getIntExtra(EXTRA_NINEPATCH_SHADOW, 0); in onCreate() 180 mNumItems = intent.getIntExtra(EXTRA_NUM_ITEMS, DEFAULT_NUM_ITEMS); in onCreate() 205 int position = intent.getIntExtra("SELECT_POSITION", -1); in onNewIntent()
|
/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/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/services/core/java/com/android/server/pm/ |
D | BackgroundDexOptService.java | 105 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1); in getBatteryLevel() 106 int scale = intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1); in getBatteryLevel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | WapPushOverSmsTest.java | 97 assertEquals(0xFF, intent.getIntExtra("transactionId", 0)); in testDispatchWapPdu() 98 assertEquals(0x06, intent.getIntExtra("pduType", 0)); in testDispatchWapPdu()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogController.java | 769 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() 770 final int level = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE, -1); in onReceive() 772 .getIntExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_VALUE, -1); in onReceive() 777 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() 779 .getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_DEVICES, -1); in onReceive() 781 .getIntExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_DEVICES, -1); in onReceive() 787 final int rm = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1); in onReceive() 792 final int rm = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1); in onReceive() 797 final int stream = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 619 final int status = intent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); 620 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0); 621 final int level = intent.getIntExtra(EXTRA_LEVEL, 0); 622 final int health = intent.getIntExtra(EXTRA_HEALTH, BATTERY_HEALTH_UNKNOWN); 624 final int maxChargingMicroAmp = intent.getIntExtra(EXTRA_MAX_CHARGING_CURRENT, -1); 625 int maxChargingMicroVolt = intent.getIntExtra(EXTRA_MAX_CHARGING_VOLTAGE, -1); 654 intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1), 0)); 664 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 685 intent.getIntExtra(Intent.EXTRA_USER_HANDLE, getSendingUserId()), 0)); 703 int userId = intent.getIntExtra(USER_ID, -1); [all …]
|