Home
last modified time | relevance | path

Searched refs:STATUS_ACTIVE (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DOverrideRequestControllerTest.java21 import static com.android.server.devicestate.OverrideRequestController.STATUS_ACTIVE;
66 assertEquals(mStatusListener.getLastStatus(request).intValue(), STATUS_ACTIVE); in addRequest() local
76 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelExistingRequestThroughNewRequest() local
83 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelExistingRequestThroughNewRequest() local
94 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelActiveRequest() local
108 assertEquals(mStatusListener.getLastStatus(request).intValue(), STATUS_ACTIVE); in addBaseStateRequest() local
118 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addBaseStateRequest_cancelExistingBaseStateRequestThroughNewRequest() local
125 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addBaseStateRequest_cancelExistingBaseStateRequestThroughNewRequest() local
136 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addBaseStateRequest_cancelActiveBaseStateRequest() local
156 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in handleBaseStateChanged() local
[all …]
DDeviceStateManagerServiceTest.java338 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestState()
467 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestState_sameAsBaseState()
488 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestState_flagCancelWhenBaseChanges()
531 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestState_becomesUnsupported()
609 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestBaseStateOverride()
669 TestDeviceStateManagerCallback.STATUS_ACTIVE); in requestBaseStateOverride_cancelledByBaseStateUpdate()
831 public static final int STATUS_ACTIVE = 1; field in DeviceStateManagerServiceTest.TestDeviceStateManagerCallback
846 mLastNotifiedStatus.put(token, STATUS_ACTIVE); in onRequestActive()
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java48 static final int STATUS_ACTIVE = 1; field in OverrideRequestController
56 STATUS_ACTIVE,
64 case STATUS_ACTIVE: in statusToString()
109 mListener.onStatusChanged(request, STATUS_ACTIVE); in addRequest()
119 mListener.onStatusChanged(request, STATUS_ACTIVE); in addBaseStateRequest()
242 + ", mStatus=" + statusToString(STATUS_ACTIVE)); in dumpInternal()
DDeviceStateManagerService.java28 import static com.android.server.devicestate.OverrideRequestController.STATUS_ACTIVE;
592 case STATUS_ACTIVE: in onOverrideRequestStatusChangedLocked()
607 case STATUS_ACTIVE: in onOverrideRequestStatusChangedLocked()
634 if (status == STATUS_ACTIVE) { in onOverrideRequestStatusChangedLocked()
968 private static final int STATUS_ACTIVE = 0; field in DeviceStateManagerService.ProcessRecord
975 STATUS_ACTIVE,
1016 && (lastStatus == STATUS_ACTIVE || lastStatus == STATUS_CANCELED)) { in notifyRequestActiveAsync()
1020 mLastNotifiedStatus.put(token, STATUS_ACTIVE); in notifyRequestActiveAsync()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3OfflineSession.cpp74 mStatus = STATUS_ACTIVE; in initialize()
88 if (mStatus != STATUS_ACTIVE) { in processCaptureResult_3_4()
128 if (mStatus != STATUS_ACTIVE) { in processCaptureResult()
167 if (mStatus != STATUS_ACTIVE) { in notify()
202 if (mStatus != STATUS_ACTIVE) { in requestStreamBuffers()
219 if (mStatus != STATUS_ACTIVE) { in returnStreamBuffers()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3OfflineSession.cpp84 mStatus = STATUS_ACTIVE; in initialize()
107 if (mStatus != STATUS_ACTIVE) { in processCaptureResult()
154 if (mStatus != STATUS_ACTIVE) { in notify()
203 if (mStatus != STATUS_ACTIVE) { in requestStreamBuffers()
236 if (mStatus != STATUS_ACTIVE) { in returnStreamBuffers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DKeepaliveTracker.java283 case KeepaliveStatus.STATUS_ACTIVE: in onSocketKeepaliveStarted()
328 case KeepaliveStatus.STATUS_ACTIVE: in onKeepaliveStatus()
330 kr.currentStatus = KeepaliveStatus.STATUS_ACTIVE; in onKeepaliveStatus()
341 case KeepaliveStatus.STATUS_ACTIVE: in onKeepaliveStatus()
352 case KeepaliveStatus.STATUS_ACTIVE: in onKeepaliveStatus()
DKeepaliveStatus.java33 STATUS_ACTIVE,
39 public static final int STATUS_ACTIVE = 0; field in KeepaliveStatus
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallForwardInfo.java101 public static final int STATUS_ACTIVE = 1; field in ImsCallForwardInfo
106 STATUS_ACTIVE})
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java538 case KeepaliveStatus.STATUS_ACTIVE: in handleKeepaliveStarted()
581 case KeepaliveStatus.STATUS_ACTIVE: in handleKeepaliveStatus()
583 kr.currentStatus = KeepaliveStatus.STATUS_ACTIVE; in handleKeepaliveStatus()
594 case KeepaliveStatus.STATUS_ACTIVE: in handleKeepaliveStatus()
605 case KeepaliveStatus.STATUS_ACTIVE: in handleKeepaliveStatus()
/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp213 if (mStatus == STATUS_ACTIVE) { in setSyncStatusLocked()
224 if (mStatus == STATUS_ACTIVE) { in updateMaxDequeueCountLocked()
DC2BqBuffer.cpp397 if (syncVar->getSyncStatusLocked() != C2SyncVariables::STATUS_ACTIVE) { in fetchFromIgbp_l()
709 syncVar->setSyncStatusLocked(C2SyncVariables::STATUS_ACTIVE); in configureProducer()
823 syncVar->getSyncStatusLocked() == C2SyncVariables::STATUS_ACTIVE); in ~C2BufferQueueBlockPoolData()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DKeepAliveTrackerTest.java117 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
131 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3DeviceInjectionMethods.cpp58 if (parent->mStatus == STATUS_ACTIVE) { in injectCamera()
117 if (parent->mStatus == STATUS_ACTIVE) { in stopInjection()
DCamera3Device.cpp263 if (mStatus == STATUS_ACTIVE || in disconnectImpl()
540 mStatus == STATUS_ACTIVE ? "ACTIVE" : in dump()
695 case STATUS_ACTIVE: in checkStatusOkToCaptureLocked()
904 case STATUS_ACTIVE: in clearStreamingRequest()
946 case STATUS_ACTIVE: in createInputStream()
959 assert(mStatus != STATUS_ACTIVE); in createInputStream()
1062 case STATUS_ACTIVE: in createStream()
1075 assert(mStatus != STATUS_ACTIVE); in createStream()
1215 case STATUS_ACTIVE: in getStreamInfo()
1256 case STATUS_ACTIVE: in setStreamTransform()
[all …]
DCamera3OfflineSession.h228 STATUS_ACTIVE, enumerator
DCamera3Device.h517 STATUS_ACTIVE enumerator
/frameworks/av/media/codec2/vndk/include/
DC2SurfaceSyncObj.h33 STATUS_ACTIVE = 1, // When surface configuration finishs. enumerator
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java1209 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
1223 sessionHandle, KeepaliveStatus.STATUS_ACTIVE), null); in checkStartStopNattKeepalive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java4023 return KeepaliveStatus.STATUS_ACTIVE; in convertHalKeepaliveStatusCode()
/frameworks/base/core/api/
Dsystem-current.txt14362 field public static final int STATUS_ACTIVE = 1; // 0x1