Home
last modified time | relevance | path

Searched refs:EXTRA_STATUS (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java29 import static android.os.BatteryManager.EXTRA_STATUS;
67 status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in BatteryStatus()
190 int status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in isCharged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java338 final Intent intent = new Intent().putExtra(BatteryManager.EXTRA_STATUS, in getBatteryStatus_batteryLevelIs100_returnFullString()
348 final Intent intent = new Intent().putExtra(BatteryManager.EXTRA_STATUS, in getBatteryStatus_batteryLevelIs100AndUseCompactStatus_returnFullyString()
359 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_batteryLevel99_returnChargingString()
370 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingDock_returnDockChargingString()
381 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWireless_returnWirelessChargingString()
392 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString()
403 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java86 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, in installPackage()
112 .getIntExtra(PackageInstaller.EXTRA_STATUS, PackageInstaller.STATUS_FAILURE); in uninstall()
/frameworks/base/core/java/android/content/integrity/
DAppIntegrityManager.java58 public static final String EXTRA_STATUS = "android.content.integrity.extra.STATUS"; field in AppIntegrityManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java171 .putExtra(SmsManager.EXTRA_STATUS, SmsManager.RESULT_STATUS_SUCCESS) in handleSmsReceivedIntent()
200 .putExtra(SmsManager.EXTRA_STATUS, in removeExpiredTokenLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java206 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue()
217 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_DISCHARGING); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
/frameworks/base/core/java/android/content/rollback/
DRollbackManager.java129 public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; field in RollbackManager
/frameworks/base/core/java/android/os/
DBatteryManager.java41 public static final String EXTRA_STATUS = "status"; field in BatteryManager
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallFailed.java82 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate()
DEventResultPersister.java182 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onEventReceived()
DUninstallFinish.java57 int returnCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onReceive()
DInstallInstalling.java214 failureIntent.putExtra(PackageInstaller.EXTRA_STATUS, statusCode); in launchFailure()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java19 import static android.content.integrity.AppIntegrityManager.EXTRA_STATUS;
269 assertEquals(STATUS_SUCCESS, intentCaptor.getValue().getIntExtra(EXTRA_STATUS, -1)); in updateRuleSet_correctMethodCall()
290 assertEquals(STATUS_FAILURE, intentCaptor.getValue().getIntExtra(EXTRA_STATUS, -1)); in updateRuleSet_fail()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java602 int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in commit()
637 RollbackManager.EXTRA_STATUS, in commit()
DRollbackPackageHealthObserver.java382 int status = result.getIntExtra(RollbackManager.EXTRA_STATUS, in rollbackPackage()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java294 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, Integer.MIN_VALUE); in handleCommitCallback()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java318 public static final String EXTRA_STATUS = "android.media.soundtrigger.STATUS"; field in SoundTriggerManager
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java23 import static android.content.integrity.AppIntegrityManager.EXTRA_STATUS;
225 intent.putExtra(EXTRA_STATUS, success ? STATUS_SUCCESS : STATUS_FAILURE); in updateRuleSet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java218 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
/frameworks/base/telephony/java/android/telephony/ims/
DProvisioningManager.java1752 public static final String EXTRA_STATUS = "android.telephony.ims.extra.STATUS"; field in ProvisioningManager
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java691 intent.putExtra(BatteryManager.EXTRA_STATUS, mHealthInfo.batteryStatus); in sendBatteryChangedIntentLocked()
722 event.putInt(BatteryManager.EXTRA_STATUS, mHealthInfo.batteryStatus); in sendBatteryLevelChangedIntentLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java213 final int status = batteryChangedIntent.getIntExtra(BatteryManager.EXTRA_STATUS, in getBatteryStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java296 mBatteryStatus = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java506 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in uninstallSystemUpdates()
577 final int status = result.getIntExtra(RollbackManager.EXTRA_STATUS, in runRollbackApp()
1666 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in runInstallExisting()
2214 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in runUninstall()
3712 final int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in doCommitSession()
DPackageInstallerService.java1360 fillIn.putExtra(PackageInstaller.EXTRA_STATUS,
1386 fillIn.putExtra(PackageInstaller.EXTRA_STATUS,

12