/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 159 final int currentState = mDevicePolicyManager.getUserProvisioningState(); in isStateUnmanagedOrFinalized() local 160 return currentState == STATE_USER_UNMANAGED in isStateUnmanagedOrFinalized() 161 || currentState == STATE_USER_SETUP_FINALIZED in isStateUnmanagedOrFinalized() 162 || currentState == STATE_USER_PROFILE_FINALIZED; in isStateUnmanagedOrFinalized() 174 final int currentState = mDevicePolicyManager.getUserProvisioningState(); in isUserProvisioningStateProfileFinalized() local 175 return currentState == STATE_USER_PROFILE_FINALIZED; in isUserProvisioningStateProfileFinalized()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | StateMachine.java | 169 State currentState = getCurrentState(); in start() local 171 currentState.processForward(); in start() 173 currentState.processBackward(); in start() 234 State currentState = getCurrentState(); in updateState() local 236 List<Transition> list = mTransitionMap.get(currentState); in updateState() 238 for (Transition transition : mTransitionMap.get(currentState)) { in updateState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStateMachine.java | 297 protected void onConnectionStateChanged(int currentState) { in onConnectionStateChanged() argument 298 if (mMostRecentState == currentState) { in onConnectionStateChanged() 301 if (currentState == BluetoothProfile.STATE_CONNECTED) { in onConnectionStateChanged() 306 + currentState); in onConnectionStateChanged() 310 intent.putExtra(BluetoothProfile.EXTRA_STATE, currentState); in onConnectionStateChanged() 313 mMostRecentState = currentState; in onConnectionStateChanged()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 4032 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4034 itBase->second.currentState.getValues()[0].mValue.int_value); in TEST() 4054 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4056 itBase->second.currentState.getValues()[0].mValue.int_value); in TEST() 4087 itBase->second.currentState.getValues()[0].mValue.int_value); in TEST() 4127 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4129 itBase->second.currentState.getValues()[0].mValue.int_value); in TEST() 4282 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() 4284 itBase->second.currentState.getValues()[0].mValue.int_value); in TEST() 4304 ASSERT_EQ(1, itBase->second.currentState.getValues().size()); in TEST() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConnection.java | 42 private int currentState = STATE_NEW; field in SimulatorConnection 129 stateToString(currentState), in onStateChanged() 131 int oldState = currentState; in onStateChanged() 132 currentState = newState; in onStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientStateMachine.java | 373 IState currentState = getCurrentState(); in getConnectionState() local 374 if (currentState instanceof Disconnected) { in getConnectionState() 376 } else if (currentState instanceof Connecting) { in getConnectionState() 378 } else if (currentState instanceof Connected) { in getConnectionState() 380 } else if (currentState instanceof Disconnecting) { in getConnectionState()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | RecordVoicemailGreetingActivity.java | 47 private int currentState; field in RecordVoicemailGreetingActivity 70 switch (currentState) { in onClick() 88 currentState = state; in setState()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.java | 85 LauncherState currentState = mLauncher.getStateManager().getState(); in setStateWithAnimationInternal() local 86 if (isSplitSelectionState(toState) && !isSplitSelectionState(currentState)) { in setStateWithAnimationInternal() 88 } else if (!isSplitSelectionState(toState) && isSplitSelectionState(currentState)) { in setStateWithAnimationInternal()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ActiveSubscriptionsListener.java | 311 final int currentState = mCacheState.getAndSet(STATE_STOPPING); 312 if (currentState <= STATE_STOPPING) { 313 mCacheState.compareAndSet(STATE_STOPPING, currentState);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1344 int[] direction, ItemConfiguration currentState) { in addViewToTempLocation() argument 1345 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation() 1548 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument 1550 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation() 1579 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1586 currentState.save(); in pushViewsToTempLocation() 1594 for (View v: currentState.sortedViews) { in pushViewsToTempLocation() 1607 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() 1630 currentState.restore(); in pushViewsToTempLocation() 1635 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 1707 IState currentState = getCurrentState(); in updateInternalCallAudioState() local 1708 if (currentState == null) { in updateInternalCallAudioState() 1717 int currentRoute = mStateNameToRouteCode.get(currentState.getName()); in updateInternalCallAudioState() 1827 AudioState currentState = (AudioState) getCurrentState(); in isInActiveState() local 1828 if (currentState == null) { in isInActiveState() 1832 return currentState.isActive(); in isInActiveState() 1885 CallAudioState currentState = getCurrentCallAudioState(); in updateRouteForForegroundCall() local 1888 if ((mAvailableRoutes & currentState.getRoute()) == 0) { in updateRouteForForegroundCall()
|
D | CallAudioModeStateMachine.java | 739 IState currentState = getCurrentState(); in getCurrentStateName() local 740 return currentState == null ? "no state" : currentState.getName(); in getCurrentStateName()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 395 final int currentState = intent.getIntExtra( in onReceive() local 400 if (currentState == BluetoothAdapter.STATE_ON) { in onReceive() 406 if (currentState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/ |
D | RotaryFragment.java | 223 int currentState = pm.getApplicationEnabledSetting(packageName); in enableApplication() local 227 boolean isEnabled = currentState == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in enableApplication() 229 || currentState == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in enableApplication()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MceStateMachine.java | 246 IState currentState = this.getCurrentState(); in getState() local 247 if (currentState == null || currentState.getClass() == Disconnected.class) { in getState() 250 if (currentState.getClass() == Connected.class) { in getState() 253 if (currentState.getClass() == Connecting.class) { in getState() 256 if (currentState.getClass() == Disconnecting.class) { in getState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 1240 protected void broadcastConnectionStateChanged(int currentState) { in broadcastConnectionStateChanged() argument 1241 if (mMostRecentState == currentState) { in broadcastConnectionStateChanged() 1244 if (currentState == BluetoothProfile.STATE_CONNECTED) { in broadcastConnectionStateChanged() 1248 logD("Connection state " + mDevice + ": " + mMostRecentState + "->" + currentState); in broadcastConnectionStateChanged() 1251 intent.putExtra(BluetoothProfile.EXTRA_STATE, currentState); in broadcastConnectionStateChanged() 1254 mMostRecentState = currentState; in broadcastConnectionStateChanged()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConcreteClientModeManager.java | 581 IState currentState = mStateMachine.getCurrentState(); in getCurrentStateName() local 583 if (currentState != null) { in getCurrentStateName() 584 return currentState.getName(); in getCurrentStateName() 597 private void updateConnectModeState(ClientRole role, int newState, int currentState) { in updateConnectModeState() argument 614 intent.putExtra(WifiManager.EXTRA_PREVIOUS_WIFI_STATE, currentState); in updateConnectModeState() 617 + " EXTRA_PREVIOUS_WIFI_STATE=" + currentState; in updateConnectModeState()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 195 private boolean isStateUnmanagedOrFinalizedWithCurrentState(int currentState) { in isStateUnmanagedOrFinalizedWithCurrentState() argument 196 when(mDevicePolicyManager.getUserProvisioningState()).thenReturn(currentState); in isStateUnmanagedOrFinalizedWithCurrentState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 258 int currentState = mCarWifiManager.getWifiState(); in onReceive() local 259 switch (currentState) { in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioStateMachine.java | 495 String currentState = getCurrentState().getName(); in getConnectionState() local 496 switch (currentState) { in getConnectionState() 506 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 486 int currentState; in notifyProjectionStatusChanged() local 493 currentState = mCurrentProjectionState; in notifyProjectionStatusChanged() 498 Slog.d(TAG, "Notify projection status change, state: " + currentState + ", pkg: " in notifyProjectionStatusChanged() 508 currentState, currentPackage, statuses); in notifyProjectionStatusChanged() 515 currentState, currentPackage, statuses); in notifyProjectionStatusChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 1789 IState currentState = getCurrentState(); in getConnectionState() local 1790 if (currentState == mConnecting) { in getConnectionState() 1794 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState() 1798 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState() 1883 IState currentState = getCurrentState(); in isConnected() local 1884 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardSwitcher.java | 342 KeyboardSwitchState currentState = getKeyboardSwitchState(); in onToggleKeyboard() local 343 Log.w(TAG, "onToggleKeyboard() : Current = " + currentState + " : Toggle = " + toggleState); in onToggleKeyboard() 344 if (currentState == toggleState) { in onToggleKeyboard()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 308 final int currentState = mWiFiManager.getWifiState(); in onReceive() local 309 switch (currentState) { in onReceive()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | ValueMetricProducer.h | 233 : baseInfos(), currentState(stateKey), hasCurrentState(false) { in DimensionsInWhatInfo() 237 HashableDimensionKey currentState; member
|