Home
last modified time | relevance | path

Searched refs:mParam (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java233 public final int mParam; field in PowerHalService.PowerState
237 this.mParam = param; in PowerState()
250 return (mParam != VehicleApPowerStateShutdownParam.SHUTDOWN_IMMEDIATELY in canPostponeShutdown()
251 && mParam != VehicleApPowerStateShutdownParam.SLEEP_IMMEDIATELY in canPostponeShutdown()
252 && mParam != VehicleApPowerStateShutdownParam.HIBERNATE_IMMEDIATELY in canPostponeShutdown()
253 && mParam != VehicleApPowerStateShutdownParam.EMERGENCY_SHUTDOWN); in canPostponeShutdown()
266 return (mParam == VehicleApPowerStateShutdownParam.CAN_HIBERNATE in canSuspend()
267 || mParam == VehicleApPowerStateShutdownParam.HIBERNATE_IMMEDIATELY in canSuspend()
268 || mParam == VehicleApPowerStateShutdownParam.CAN_SLEEP in canSuspend()
269 || mParam == VehicleApPowerStateShutdownParam.SLEEP_IMMEDIATELY); in canSuspend()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DAbstractLogVerifierTest.java471 private final int mParam; field in AbstractLogVerifierTest.TestLogCall
475 mParam = param; in TestLogCall()
480 return (o instanceof TestLogCall other) && other.mParam == mParam; in equals()
487 && (mParam == ANY || other.mParam == ANY || other.mParam == mParam); in isEquivalentInvocation()
492 return Objects.hash(mParam); in hashCode()
497 return "TestLogCall(" + (mParam == ANY ? "*" : mParam) + ")"; in logInvocationToString()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDeleteApiIntegrationTest.java52 private final JSONObject mParam; field in DeleteApiIntegrationTest
66 mParam = param; in DeleteApiIntegrationTest()
129 return mParam.has(name) ? mParam.get(name) : null; in get()
137 if (mParam.isNull(name)) { in getUriList()
140 JSONArray arr = mParam.getJSONArray(name); in getUriList()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportingJobHandlerIntegrationTest.java46 private final JSONObject mParam; field in EventReportingJobHandlerIntegrationTest
67 mParam = param; in EventReportingJobHandlerIntegrationTest()
120 return mParam.has(name) ? mParam.get(name) : null; in get()
DAggregateReportingJobHandlerIntegrationTest.java56 private final JSONObject mParam; field in AggregateReportingJobHandlerIntegrationTest
76 mParam = param; in AggregateReportingJobHandlerIntegrationTest()
144 return mParam.has(name) ? mParam.get(name) : null; in get()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java74 private ImageManager.ImageListParam mParam; field in ImageGallery
398 mParam = allImages(!unmounted && !scanning);
399 mAllImages = ImageManager.makeImageList(getContentResolver(), mParam);
655 intent.putExtra(ViewImage.KEY_IMAGE_LIST, mParam);
DViewImage.java119 private ImageManager.ImageListParam mParam; field in ViewImage
601 mParam = getIntent().getParcelableExtra(KEY_IMAGE_LIST); in onCreate()
892 mAllImages = (mParam == null) in init()
894 : ImageManager.makeImageList(getContentResolver(), mParam); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java233 assertWithMessage("Current power param").that(powerState.mParam).isEqualTo(0); in testGetCurrentPowerState()
751 return mPowerState != null ? mPowerState.mParam : INVALID_VALUE; in getPowerParam()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java757 EventLogHelper.writeCarPowerManagerStateRequest(state.mState, state.mParam); in onApPowerStateChange()