Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java369 .putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_FULL); in getBatteryStatus_batteryLevelIs100_returnFullString()
380 .putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_FULL); in getBatteryStatus_batteryLevelIs100AndUseCompactStatus_returnFullyString()
390 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_batteryLevel99_returnChargingString()
401 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingDock_returnDockChargingString()
412 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWireless_returnWirelessChargingString()
423 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString()
434 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in getBatteryStatus_chargingWirelessAndUseCompactStatus_returnCompactString()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCallMetadataSyncData.java185 private static final String EXTRA_STATUS = field in CallMetadataSyncData.Call
211 call.setStatus(bundle.getInt(EXTRA_STATUS)); in fromBundle()
226 bundle.putInt(EXTRA_STATUS, mStatus); in writeToBundle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java28 import static android.os.BatteryManager.EXTRA_STATUS;
90 status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in BatteryStatus()
172 int status = batteryChangedIntent.getIntExtra(EXTRA_STATUS, BATTERY_STATUS_UNKNOWN); in isCharged()
/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/core/java/android/content/rollback/
DRollbackManager.java129 public static final String EXTRA_STATUS = "android.content.rollback.extra.STATUS"; field in RollbackManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java220 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_CHARGING); in batteryStateChanged_withChargingSourceDock_isChargingSourceDockTrue()
231 intent.putExtra(BatteryManager.EXTRA_STATUS, BatteryManager.BATTERY_STATUS_DISCHARGING); in batteryStateChanged_withChargingSourceNotDock_isChargingSourceDockFalse()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt348 .getIntExtra(PackageInstaller.EXTRA_STATUS, PackageInstaller.STATUS_FAILURE) in <lambda>()
392 .getIntExtra(PackageInstaller.EXTRA_STATUS, PackageInstaller.STATUS_FAILURE) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallFailed.java85 int statusCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate()
DInstallInstalling.java188 failureIntent.putExtra(PackageInstaller.EXTRA_STATUS, statusCode); in launchFailure()
DUninstallFinish.java56 int returnCode = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onReceive()
/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/tests/RollbackTest/SampleRollbackApp/src/com/android/sample/rollbackapp/
DMainActivity.java73 int rollbackStatusCode = intent.getIntExtra(RollbackManager.EXTRA_STATUS, in onCreate()
/frameworks/base/core/java/android/os/
DBatteryManager.java48 public static final String EXTRA_STATUS = "status"; field in BatteryManager
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/
DBackgroundInstallControlServiceTest.java185 PackageInstaller.EXTRA_STATUS, in installPackage()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java632 int status = result.getIntExtra(PackageInstaller.EXTRA_STATUS, in commit()
667 RollbackManager.EXTRA_STATUS, in commit()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/common/
DEventResultPersister.java188 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0); in onEventReceived()
/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/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt350 putExtra(BatteryManager.EXTRA_STATUS, status) in createIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DControllerMetricsStats.java384 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java23 import static android.content.integrity.AppIntegrityManager.EXTRA_STATUS;
224 intent.putExtra(EXTRA_STATUS, success ? STATUS_SUCCESS : STATUS_FAILURE); in updateRuleSet()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java273 assertThat(value.getIntExtra(PackageInstaller.EXTRA_STATUS, 0)).isEqualTo( in archiveApp_packageNotInstalledForUser()
343 assertThat(value.getIntExtra(PackageInstaller.EXTRA_STATUS, 0)).isEqualTo( in archiveApp_storeIconFails()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java463 public static final String EXTRA_STATUS = "android.media.soundtrigger.STATUS"; field in SoundTriggerManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java255 final int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, in onReceive()

12