Home
last modified time | relevance | path

Searched refs:bootReason (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/
DSessionAnnotation.java38 public final String bootReason; field in SessionAnnotation
46 String bootReason, in SessionAnnotation() argument
53 this.bootReason = bootReason; in SessionAnnotation()
60 bootReason, bootCount); in hashCode()
76 .append(bootReason) in toString()
101 && Objects.equals(bootReason, other.bootReason) in equals()
116 bundle.putString(Constants.ANNOTATION_BUNDLE_KEY_BOOT_REASON, bootReason); in addAnnotationsToBundle()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionControllerUnitTest.java186 assertThat(annotation.bootReason).isNull(); in testGetSessionAnnotation_defaultState()
203 assertThat(mSessionController.getSessionAnnotation().bootReason).isNull(); in testGetSessionAnnotation_populatesBootReason()
209 assertThat(mSessionController.getSessionAnnotation().bootReason).isNotNull(); in testGetSessionAnnotation_populatesBootReason()
/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp73 void injectBootReason(const std::string& bootReason) { mHandler->mBootReason = bootReason; } in injectBootReason() argument
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java102 @Nullable String bootReason) { in SilentModeHandler() argument
113 String reason = bootReason; in SilentModeHandler()
DCarPowerManagementService.java508 public Builder setBootReason(String bootReason) { in setBootReason() argument
509 mBootReason = bootReason; in setBootReason()