Home
last modified time | relevance | path

Searched refs:newDeviceState (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/core/java/android/hardware/devicestate/
H A DDeviceStateManagerGlobal.java371 void notifyStateChanged(int newDeviceState) { in notifyStateChanged() argument
372 mExecutor.execute(() -> mDeviceStateCallback.onStateChanged(newDeviceState)); in notifyStateChanged()
/aosp12/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.h437 newDeviceState);
448 newDeviceState);
H A DCameraProviderManager.cpp2045 hardware::hidl_bitfield<provider::V2_5::DeviceState> newDeviceState) { in notifyDeviceInfoStateChangeLocked() argument
2048 (*it)->notifyDeviceStateChange(newDeviceState); in notifyDeviceInfoStateChangeLocked()
2053 hardware::hidl_bitfield<provider::V2_5::DeviceState> newDeviceState) { in notifyDeviceStateChange() argument
2054 mDeviceState = newDeviceState; in notifyDeviceStateChange()
/aosp12/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp2173 hardware::hidl_bitfield<DeviceState> newDeviceState{}; in notifyDeviceStateChange() local
2175 newDeviceState |= DeviceState::BACK_COVERED; in notifyDeviceStateChange()
2178 newDeviceState |= DeviceState::FRONT_COVERED; in notifyDeviceStateChange()
2181 newDeviceState |= DeviceState::FOLDED; in notifyDeviceStateChange()
2185 newDeviceState |= vendorBits; in notifyDeviceStateChange()
2187 ALOGV("%s: New device state 0x%" PRIx64, __FUNCTION__, newDeviceState); in notifyDeviceStateChange()
2188 mCameraProviderManager->notifyDeviceStateChange(newDeviceState); in notifyDeviceStateChange()