/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 39 private final CachedDeviceState mDeviceState = new CachedDeviceState(); field in CachedDeviceStateService 45 mDeviceState.setCharging( 51 mDeviceState.setScreenInteractive(true); 54 mDeviceState.setScreenInteractive(false); 66 publishLocalService(CachedDeviceState.Readonly.class, mDeviceState.getReadonlyClient()); in onStart() 78 mDeviceState.setCharging(queryIsCharging()); in onBootPhase() 79 mDeviceState.setScreenInteractive(queryScreenInteractive(getContext())); in onBootPhase()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestThreadManager.java | 71 private final CameraDeviceState mDeviceState; field in RequestThreadManager 193 mDeviceState.setError( 198 mDeviceState.setError( 203 mDeviceState.setError( 356 mDeviceState.setError( in configureOutputs() 372 mDeviceState.setError( in configureOutputs() 433 mDeviceState.setError( in configureOutputs() 506 mGLThreadManager = new GLThreadManager(mCameraId, facing, mDeviceState); in configureOutputs() 535 mDeviceState.setError( in configureOutputs() 717 mDeviceState.setError( [all …]
|
D | CaptureCollector.java | 93 CaptureCollector.this.mDeviceState.setCaptureStart(mRequest, mTimestamp, in tryComplete() 102 … CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete() 111 … CaptureCollector.this.mDeviceState.setCaptureResult(mRequest, in tryComplete() 150 CaptureCollector.this.mDeviceState.setCaptureStart(mRequest, mTimestamp, in setJpegTimestamp() 210 CaptureCollector.this.mDeviceState.setCaptureStart(mRequest, mTimestamp, in setPreviewTimestamp() 275 private final CameraDeviceState mDeviceState; field in CaptureCollector 296 mDeviceState = deviceState; in CaptureCollector()
|
D | GLThreadManager.java | 48 private final CameraDeviceState mDeviceState; field in GLThreadManager 127 mDeviceState.setError(CameraDeviceImpl.CameraDeviceCallbacks.ERROR_CAMERA_DEVICE); 144 mDeviceState = state; in GLThreadManager()
|
D | LegacyCameraDevice.java | 68 private final CameraDeviceState mDeviceState = new CameraDeviceState(); field in LegacyCameraDevice 329 mDeviceState.setCameraDeviceCallbacks(mCallbackHandler, mStateListener); in LegacyCameraDevice() 332 new RequestThreadManager(cameraId, camera, characteristics, mDeviceState); in LegacyCameraDevice() 435 if (mDeviceState.setConfiguring()) { in configureOutputs() 437 success = mDeviceState.setIdle(); in configureOutputs()
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | LooperStatsPerfTest.java | 46 private CachedDeviceState mDeviceState; field in LooperStatsPerfTest 53 mDeviceState = new CachedDeviceState(false, false); in setUp() 54 mStats.setDeviceState(mDeviceState.getReadonlyClient()); in setUp() 83 mDeviceState.setCharging(true); in timeCollectionDisabled()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LooperStatsTest.java | 48 private CachedDeviceState mDeviceState; field in LooperStatsTest 64 mDeviceState = new CachedDeviceState(); in setUp() 65 mDeviceState.setCharging(false); in setUp() 66 mDeviceState.setScreenInteractive(true); in setUp() 312 mDeviceState.setCharging(true); in testDataNotCollectedOnCharger() 328 mDeviceState.setScreenInteractive(true); in testScreenStateCollected() 337 mDeviceState.setScreenInteractive(false); in testScreenStateCollected() 493 mDeviceState.setScreenInteractive(false); in testScreenStateTrackingDisabled() 498 mDeviceState.setScreenInteractive(true); in testScreenStateTrackingDisabled() 528 this(samplingInterval, sizeCap, mDeviceState); in TestableLooperStats()
|
D | BinderCallsStatsTest.java | 53 private final CachedDeviceState mDeviceState = new CachedDeviceState(false, true); field in BinderCallsStatsTest 400 bcs.setDeviceState(mDeviceState.getReadonlyClient()); in testNoDataCollectedBeforeInitialDeviceStateSet() 410 mDeviceState.setCharging(true); in testNoDataCollectedOnCharger() 423 mDeviceState.setScreenInteractive(false); in testScreenOff() 440 mDeviceState.setScreenInteractive(true); in testScreenOn() 457 mDeviceState.setCharging(true); in testOnCharger() 470 mDeviceState.setCharging(false); in testOnBattery() 671 mDeviceState.setScreenInteractive(false); in testTrackScreenInteractiveDisabled() 676 mDeviceState.setScreenInteractive(true); in testTrackScreenInteractiveDisabled() 732 mDeviceState.setScreenInteractive(false); in testTrackScreenInteractiveDisabled_sampling() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.cpp | 37 mDeviceState(IDLE) { in StatusTracker() 169 if (prevState != mDeviceState) { in threadLoop() 197 mDeviceState = prevState; in threadLoop()
|
D | StatusTracker.h | 111 ComponentState mDeviceState; variable
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LooperStats.java | 53 private CachedDeviceState.Readonly mDeviceState; field in LooperStats 70 mDeviceState = deviceState; in setDeviceState() 143 return mDeviceState != null && !mDeviceState.isCharging(); in deviceStateAllowsCollection() 231 ? mDeviceState.isScreenInteractive() in findEntry()
|
D | BinderCallsStats.java | 93 private CachedDeviceState.Readonly mDeviceState; field in BinderCallsStats 111 mDeviceState = deviceState; in setDeviceState() 118 if (mDeviceState == null || mDeviceState.isCharging()) { in callStarted() 168 ? mDeviceState.isScreenInteractive() in processCallEnded() 176 if (mDeviceState == null || mDeviceState.isCharging()) { in processCallEnded()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImpl.java | 45 private final DeviceState mDeviceState; field in TimeZoneSuggesterImpl 51 mDeviceState = Objects.requireNonNull(deviceState); in TimeZoneSuggesterImpl() 96 slotIndex, countryIsoCode, mDeviceState.currentTimeMillis()); in getTimeZoneSuggestion()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 84 mDeviceState = static_cast<hardware::hidl_bitfield<provider::V2_5::DeviceState>>( in initialize() 303 mDeviceState = newState; in notifyDeviceStateChange() 308 status_t singleRes = provider->notifyDeviceStateChange(mDeviceState); in notifyDeviceStateChange() 1149 status_t res = providerInfo->initialize(interface, mDeviceState); in addProviderLocked() 1260 __FUNCTION__, mProviderName.c_str(), mDeviceState); in initialize() 1367 __FUNCTION__, mProviderName.c_str(), mDeviceState); in startProviderInterface() 1368 interface_2_5->notifyDeviceStateChange(mDeviceState); in startProviderInterface() 1664 mDeviceState = newDeviceState; in notifyDeviceStateChange() 1674 interface_2_5->notifyDeviceStateChange(mDeviceState); in notifyDeviceStateChange()
|
D | CameraProviderManager.h | 290 android::hardware::hidl_bitfield<hardware::camera::provider::V2_5::DeviceState> mDeviceState; variable 324 hardware::hidl_bitfield<hardware::camera::provider::V2_5::DeviceState> mDeviceState; member
|