Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java199 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
225 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
248 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); in onReceive()
264 intent.getIntExtra(Intent.EXTRA_UID, 0), false); in onReceive()
270 intent.getIntExtra(Intent.EXTRA_UID, 0), true); in onReceive()
272 onUidRemoved(intent.getIntExtra(Intent.EXTRA_UID, 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()
DHeavyWeightSwitcherActivity.java71 mCurTask = getIntent().getIntExtra(KEY_CUR_TASK, 0); in onCreate()
/frameworks/base/services/java/com/android/server/
DWatchdog.java150 mReqRebootNoWait = intent.getIntExtra("nowait", 0) != 0; in onReceive()
151 mReqRebootInterval = intent.getIntExtra("interval", -1); in onReceive()
152 mReqRebootStartTime = intent.getIntExtra("startTime", -1); in onReceive()
153 mReqRebootWindow = intent.getIntExtra("window", -1); in onReceive()
154 mReqMinScreenOff = intent.getIntExtra("minScreenOff", -1); in onReceive()
155 mReqMinNextAlarm = intent.getIntExtra("minNextAlarm", -1); in onReceive()
156 mReqRecheckInterval = intent.getIntExtra("recheckInterval", -1); in onReceive()
DUiModeManagerService.java129 final int enableFlags = intent.getIntExtra("enableFlags", 0);
130 final int disableFlags = intent.getIntExtra("disableFlags", 0);
203 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
212 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileState.java66 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
72 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
78 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
DBluetoothDeviceProfileState.java134 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
135 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
150 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
151 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
166 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0);
168 intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
187 int val = intent.getIntExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT,
195 int state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
211 int state = i.getIntExtra(Intent.EXTRA_DOCK_STATE, Intent.EXTRA_DOCK_STATE_UNDOCKED); in isPhoneDocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java58 final int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0); in onReceive()
59 final boolean plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive()
DBluetoothController.java55 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java112 mBatteryLevel = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 100);
114 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS,
117 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1);
119 mInvalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0);
/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.java106 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate()
107 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DTestAlertActivity.java18 mId = intent.getIntExtra("id", -1); in onResume()
/frameworks/base/core/java/android/server/
DBluetoothA2dpService.java76 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
94 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
101 intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE, 0);
103 intent.getIntExtra(AudioManager.EXTRA_PREV_VOLUME_STREAM_VALUE, 0);
120 int state = i.getIntExtra(Intent.EXTRA_DOCK_STATE, Intent.EXTRA_DOCK_STATE_UNDOCKED); in isPhoneDocked()
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java675 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
679 mChangedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive()
685 mUpdatedState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onReceive()
686 … mUpdatedPrevState = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_PREVIOUS_STATE, -1); in onReceive()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java40 mMode = getIntent().getIntExtra("mode", mMode); in onCreate()
/frameworks/support/v13/java/android/support/v13/dreams/
DBasicDream.java65 boolean plugged = (1 == intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0));
/frameworks/base/policy/src/com/android/internal/policy/impl/
DKeyguardUpdateMonitor.java260 .getIntExtra("status", BATTERY_STATUS_UNKNOWN); in KeyguardUpdateMonitor()
261 int batteryLevel = intent.getIntExtra("level", 0); in KeyguardUpdateMonitor()
273 intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1), 0)); in KeyguardUpdateMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java262 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR); in updateBluetooth()
265 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, in updateBluetooth()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java110 int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE, -1); in onReceive()
124 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive()
168 int varient = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, -1); in onReceive()
186 int state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, -1); in onReceive()
244 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
275 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive()
294 int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, in onReceive()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java173 int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DTestsListActivity.java118 int nextTestToRun = intent.getIntExtra("crashedTestIndex", -1) + 1; in onCrashIntent()
/frameworks/base/media/java/android/media/
DAudioService.java2347 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, in onReceive()
2369 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, in onReceive()
2411 int state = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, in onReceive()
2458 int state = intent.getIntExtra("state", 0); in onReceive()
2459 int microphone = intent.getIntExtra("microphone", 0); in onReceive()
2493 int state = intent.getIntExtra("state", 0); in onReceive()
2508 int state = intent.getIntExtra("state", 0); in onReceive()
2522 int state = intent.getIntExtra("state", 0); in onReceive()
2540 int btState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DTestShellActivity.java187 mTotalTestCount = intent.getIntExtra(TOTAL_TEST_COUNT, mTotalTestCount); in executeIntent()
188 mCurrentTestNumber = intent.getIntExtra(CURRENT_TEST_NUMBER, mCurrentTestNumber); in executeIntent()
200 mTimeoutInMillis = intent.getIntExtra(TIMEOUT_IN_MILLIS, 0); in executeIntent()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnectionTracker.java322 final boolean enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE,
331 mFailDataSetupCounter = intent.getIntExtra(FAIL_DATA_SETUP_COUNTER, 1);
333 intent.getIntExtra(FAIL_DATA_SETUP_FAIL_CAUSE,

123