Home
last modified time | relevance | path

Searched refs:STATE_UNKNOWN (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java53 @IntDef({ STATE_NOT_ALLOWED, STATE_UNKNOWN, STATE_MOVE, STATE_COPY })
56 int STATE_UNKNOWN = 0; field
167 private @State int mState = STATE_UNKNOWN;
284 mShadowBuilder.onStateUpdated(STATE_UNKNOWN); in updateShadow()
322 updateState(STATE_UNKNOWN); in updateState()
323 return STATE_UNKNOWN; in updateState()
355 updateState(STATE_UNKNOWN); in resetState()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java49 private static final int STATE_UNKNOWN = -1; field in WifiRequestToggleActivity
69 private int mAction = STATE_UNKNOWN;
70 private int mState = STATE_UNKNOWN;
97 if (mAction == STATE_UNKNOWN) { in onCreate()
239 return STATE_UNKNOWN; in extractActionState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java36 public static final int STATE_UNKNOWN = -1; field in ShadowCarWifiManager
42 private static int sCurrentState = STATE_UNKNOWN;
56 sCurrentState = STATE_UNKNOWN; in reset()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DRequestToggleWiFiActivity.java49 private static final int STATE_UNKNOWN = -1; field in RequestToggleWiFiActivity
66 private int mState = STATE_UNKNOWN;
67 private int mLastUpdateState = STATE_UNKNOWN;
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java49 private static final int STATE_UNKNOWN = -1; field in RequestToggleWiFiActivity
66 private int mState = STATE_UNKNOWN;
67 private int mLastUpdateState = STATE_UNKNOWN;
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java425 if (groupState == null || groupState.mState != GroupState.STATE_UNKNOWN) { in updateIfPermissionsWereGranted()
550 if (state != GroupState.STATE_UNKNOWN) { in onSaveInstanceState()
601 if (groupState.mState == GroupState.STATE_UNKNOWN) { in showNextPermissionGroupGrantRequest()
813 && groupState.mState == GroupState.STATE_UNKNOWN) { in onPermissionGrantResultSingleState()
1006 static final int STATE_UNKNOWN = 0; field in GrantPermissionsActivity.GroupState
1012 int mState = STATE_UNKNOWN;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java282 mShadowBuilder.state.assertLastArgument(DragAndDropManager.STATE_UNKNOWN); in testDefaultToUnknownState()
336 assertEquals(DragAndDropManager.STATE_UNKNOWN, state); in testUpdateState_UpdatesToUnknown_RootDocIsNull()
337 assertStateUpdated(DragAndDropManager.STATE_UNKNOWN); in testUpdateState_UpdatesToUnknown_RootDocIsNull()
582 assertStateUpdated(DragAndDropManager.STATE_UNKNOWN); in testResetState_UpdatesToUnknown()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java91 == DragAndDropManager.STATE_UNKNOWN) { in onDragEntered()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java130 protected int mStkServiceState = STATE_UNKNOWN;
265 static final int STATE_UNKNOWN = -1; field in StkAppService
370 && (mStkContext[i].mStkServiceState == STATE_UNKNOWN in onStart()