/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProvider.java | 403 ProviderState currentState = ProviderState.createStartingState(this); in initialize() local 404 currentState = currentState.newState( in initialize() 407 setCurrentState(currentState, false); in initialize() 414 currentState = currentState in initialize() 417 setCurrentState(currentState, true); in initialize() 436 ProviderState currentState = mCurrentState.get(); in destroy() local 437 if (!currentState.isTerminated()) { in destroy() 438 ProviderState destroyedState = currentState in destroy() 539 ProviderState currentState = mCurrentState.get(); in startUpdates() local 540 ProviderState newState = currentState.newState( in startUpdates() [all …]
|
D | BinderLocationTimeZoneProvider.java | 84 ProviderState currentState = mCurrentState.get(); in handleProviderLost() local 85 switch (currentState.stateEnum) { in handleProviderLost() 92 + ", currentState=" + currentState; in handleProviderLost() 96 ProviderState newState = currentState.newState( in handleProviderLost() 98 currentState.currentUserConfiguration, msg); in handleProviderLost() 105 + ", currentState=" + currentState in handleProviderLost() 113 + ", currentState=" + currentState in handleProviderLost() 118 throw new IllegalStateException("Unknown currentState=" + currentState); in handleProviderLost() 128 ProviderState currentState = mCurrentState.get(); in handleOnProviderBound() local 129 switch (currentState.stateEnum) { in handleOnProviderBound() [all …]
|
/frameworks/base/core/java/android/hardware/devicestate/ |
D | DeviceStateInfo.java | 71 public final int currentState; field in DeviceStateInfo 82 this.currentState = state; in DeviceStateInfo() 91 info.baseState, info.currentState); in DeviceStateInfo() 100 && currentState == that.currentState in equals() 106 int result = Objects.hash(baseState, currentState); in hashCode() 121 if (currentState != other.currentState) { in diff() 135 dest.writeInt(currentState); in writeToParcel() 152 final int currentState = source.readInt(); 154 return new DeviceStateInfo(supportedStates, baseState, currentState);
|
D | DeviceStateManagerGlobal.java | 203 wrapper.notifyStateChanged(mLastReceivedInfo.currentState); in registerDeviceStateCallback() 281 callbacks.get(i).notifyStateChanged(info.currentState); in handleDeviceStateInfoChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderTest.java | 92 ProviderState currentState = assertAndReturnProviderState( in lifecycle() local 94 assertNull(currentState.currentUserConfiguration); in lifecycle() 95 assertSame(provider, currentState.provider); in lifecycle() 107 currentState = assertAndReturnProviderState( in lifecycle() 109 assertSame(provider, currentState.provider); in lifecycle() 110 assertEquals(config, currentState.currentUserConfiguration); in lifecycle() 111 assertNull(currentState.event); in lifecycle() 131 currentState = assertAndReturnProviderState( in lifecycle() 133 assertSame(provider, currentState.provider); in lifecycle() 134 assertEquals(event, currentState.event); in lifecycle() [all …]
|
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/ |
D | DeviceStateInfoTest.java | 45 final int currentState = 2; in create() local 47 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in create() 51 assertEquals(currentState, info.currentState); in create() 58 final int currentState = 2; in equals() local 60 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in equals() 64 currentState); in equals() 68 currentState); in equals() 76 final int currentState = 2; in diff_sameObject() local 78 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in diff_sameObject()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 47 private var currentState: TransitionViewState = TransitionViewState() variable 121 val contentTranslationX = currentState.contentTranslation.x.toInt() in applyCurrentState() 122 val contentTranslationY = currentState.contentTranslation.y.toInt() in applyCurrentState() 125 val widgetState = currentState.widgetStates.get(child.id) ?: continue in applyCurrentState() 172 translationX = currentState.translation.x in applyCurrentState() 173 translationY = currentState.translation.y in applyCurrentState() 175 CrossFadeHelper.fadeIn(this, currentState.alpha) in applyCurrentState() 202 val widgetState = currentState.widgetStates.get(child.id) ?: continue in onMeasure() 237 setLeftTopRightBottom(layoutLeft, layoutTop, layoutLeft + currentState.width, in updateBounds() 238 layoutTop + currentState.height) in updateBounds() [all …]
|
D | TransitionLayoutController.kt | 44 private var currentState = TransitionViewState() variable 65 currentState = getInterpolatedState( in updateStateFromAnimation() 69 reusedState = currentState) in updateStateFromAnimation() 70 applyStateToLayout(currentState) in updateStateFromAnimation() 275 val animated = animate && currentState.width != 0 in setState() 280 currentState = state.copy(reusedState = currentState) in setState() 282 animationStartState = currentState.copy() in setState() 288 currentState = state.copy(reusedState = currentState) in setState()
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 252 State_t currentState = STATE_INITIAL; in main() local 253 while (STATE_TERMINAL != currentState) { in main() 257 if (currentState != transitionTable[i].mEntryState) in main() 263 fprintf(stderr, "No matching transitions in state %d\n", currentState); in main() 269 "but with probability 0\n", currentState); in main() 276 if (currentState != transitionTable[i].mEntryState) in main() 284 transitionTable[i].mActionName, currentState, transitionTable[i].mCount); in main() 287 currentState = nextState; in main()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/ |
D | UceDeviceState.java | 282 DeviceStateResult currentState = getCurrentState(); in refreshDeviceState() local 287 if (!currentState.isRequestForbidden()) { in refreshDeviceState() 289 } else if (!currentState.isDeviceStateEqual(previousState)) { in refreshDeviceState() 290 saveDeviceStateToPreference(currentState); in refreshDeviceState() 293 logd("refreshDeviceState: previous: " + previousState + ", current: " + currentState); in refreshDeviceState() 303 DeviceStateResult currentState = getCurrentState(); in resetDeviceState() local 308 logd("resetDeviceState: previous=" + previousState + ", current=" + currentState); in resetDeviceState()
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 102 bool currentState = mSensorDevice.isSensorActive(mSensor.getHandle()); in activate() local 103 if (currentState != lastState) { in activate() 104 mSensorService.onProximityActiveLocked(currentState); in activate()
|
/frameworks/base/core/java/android/os/ |
D | SystemService.java | 114 final State currentState = getState(service); in waitForState() local 115 if (state.equals(currentState)) { in waitForState() 120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
|
/frameworks/native/services/surfaceflinger/ |
D | FpsReporter.cpp | 58 auto& currentState = layer->getDrawingState(); in dispatchLayerFps() local 59 if (currentState.metadata.has(METADATA_TASK_ID)) { in dispatchLayerFps() 60 int32_t taskId = currentState.metadata.getInt32(METADATA_TASK_ID, 0); in dispatchLayerFps()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | NetworkState.java | 47 public NetworkState(State currentState) { in NetworkState() argument 49 mStateDepository.add(currentState); in NetworkState() 84 public void recordState(State currentState) { in recordState() argument 85 mStateDepository.add(currentState); in recordState()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimplePlayer.h | 225 aaudio_stream_state_t currentState = AAudioStream_getState(mStream); in waitUntilPaused() local 227 while (result == AAUDIO_OK && currentState == AAUDIO_STREAM_STATE_PAUSING) { in waitUntilPaused() 229 ¤tState, NANOS_PER_SECOND); in waitUntilPaused() 230 inputState = currentState; in waitUntilPaused() 235 return (currentState == AAUDIO_STREAM_STATE_PAUSED) in waitUntilPaused()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | AccessPointControllerImplTest.kt | 94 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED) in testInitialLifecycleStateCreated() 100 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.STARTED) in testLifecycleStartedAfterFirstCallback() 108 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED) in testLifecycleBackToCreatedAfterRemovingOnlyCallback() 117 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.STARTED) in testLifecycleStillStartedAfterRemovingSecondCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaHostStatesManager.kt | 50 val currentState = mediaHostStates.get(location) in updateHostState() constant 51 if (!hostState.equals(currentState)) { in updateHostState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/ |
D | DeviceStateManagerServiceTest.java | 197 assertEquals(info.currentState, DEFAULT_DEVICE_STATE.getIdentifier()); in getDeviceStateInfo() 208 assertEquals(callback.getLastNotifiedInfo().currentState, in registerCallback() 214 assertEquals(callback.getLastNotifiedInfo().currentState, in registerCallback() 223 assertEquals(callback.getLastNotifiedInfo().currentState, in registerCallback() 231 assertEquals(callback.getLastNotifiedInfo().currentState, in registerCallback() 242 assertEquals(callback.getLastNotifiedInfo().currentState, in registerCallback_emitsInitialValue() 270 assertEquals(callback.getLastNotifiedInfo().currentState, in requestState() 286 assertEquals(callback.getLastNotifiedInfo().currentState, in requestState()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoDialog.java | 53 int currentState = prefs.getFoodState(); in onFoodSelected() local 54 if (currentState == 0 && food.getType() != 0) { in onFoodSelected()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 230 CaptureState currentState; in threadLoop() local 233 currentState = mCaptureState; in threadLoop() 236 currentState = (this->*kStateManagers[currentState])(client); in threadLoop() 239 if (currentState != mCaptureState) { in threadLoop() 243 mCaptureState = currentState; in threadLoop()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothAdapter.java | 220 int currentState = mAdapter.getState(); in syncBluetoothState() local 221 if (currentState != mState) { in syncBluetoothState()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 166 final int currentState = r.getLifecycleState(); in getClosestOfStates() local 169 getLifecyclePath(currentState, finalStates[i], false /* excludeLastState */); in getClosestOfStates()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 673 int currentState = oldState; in requestDisplayStateLocked() 678 currentState = state; in requestDisplayStateLocked() 682 currentState = Display.STATE_DOZE; in requestDisplayStateLocked() 686 currentState = Display.STATE_ON; in requestDisplayStateLocked() 699 if ((state == Display.STATE_VR || currentState == Display.STATE_VR) && in requestDisplayStateLocked() 700 currentState != state) { in requestDisplayStateLocked() 713 if (state != currentState) { in requestDisplayStateLocked()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.cpp | 389 aaudio_result_t AudioStream::waitForStateChange(aaudio_stream_state_t currentState, in waitForStateChange() argument 400 while (state == currentState && timeoutNanoseconds > 0) { in waitForStateChange() 417 return (state == currentState) ? AAUDIO_ERROR_TIMEOUT : AAUDIO_OK; in waitForStateChange()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnContext.java | 311 DctConstants.State currentState = getState(); in isDisconnected() local 312 return ((currentState == DctConstants.State.IDLE) || in isDisconnected() 313 currentState == DctConstants.State.FAILED); in isDisconnected()
|