/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 80 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_NoCall() local 92 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_OneCall() local 106 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_MultipleCalls() local 115 CallLogBackupState state = new CallLogBackupState(); in testWriteState_NoCalls() local 127 CallLogBackupState state = new CallLogBackupState(); in testWriteState_OneCall() local 141 CallLogBackupState state = new CallLogBackupState(); in testWriteState_MultipleCalls() local 159 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_NoCalls() local 170 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_OneNewCall() local 182 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_MultipleCall() local 201 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_PartialMultipleCall() local
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 314 final @State int state = mManager.updateState( in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate() local 333 final @State int state = mManager.updateState( in testUpdateState_UpdatesToUnknown_RootDocIsNull() local 352 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot() local 371 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_DifferentRoot() local 393 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed() local 453 final @State int state = mManager.updateState( in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed() local 475 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed() local 497 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed() local 522 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased() local 547 final @State int state = mManager.updateState( in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased() local [all …]
|
D | MetricsTest.java | 25 final State state = new State(); in logActivityLaunch_storageAuthority_shouldNotCrash() local 34 final State state = new State(); in logActivityLaunch_mediaAuthority_shouldNotCrash() local
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 67 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) { in getInfo() 144 private static CharSequence getLabelForIncoming(Context context, PrimaryCallState state) { in getLabelForIncoming() 158 private static Spannable getColoredConnectionLabel(Context context, PrimaryCallState state) { in getColoredConnectionLabel() 191 private static CharSequence getLabelForDialing(Context context, PrimaryCallState state) { in getLabelForDialing() 231 private static CharSequence getCallingViaLabel(Context context, PrimaryCallState state) { in getCallingViaLabel() 247 private static CharSequence getConnectionLabel(PrimaryCallState state) { in getConnectionLabel() 258 private static CharSequence getLabelForVideoRequest(Context context, PrimaryCallState state) { in getLabelForVideoRequest() 278 private static boolean isAccount(PrimaryCallState state) { in isAccount()
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StateManager.java | 116 public boolean isInStableState(STATE_TYPE state) { in isInStableState() 124 public void goToState(STATE_TYPE state) { in goToState() 131 public void goToState(STATE_TYPE state, boolean animated) { in goToState() 142 public void goToState(STATE_TYPE state, boolean animated, Runnable onCompleteRunnable) { in goToState() 149 public void goToState(STATE_TYPE state, long delay, Runnable onCompleteRunnable) { in goToState() 156 public void goToState(STATE_TYPE state, long delay) { in goToState() 180 private void goToState(STATE_TYPE state, boolean animated, long delay, in goToState() 234 private void goToStateAnimated(STATE_TYPE state, STATE_TYPE fromState, in goToStateAnimated() 281 STATE_TYPE state, long duration) { in createAnimationToNewWorkspace() 286 STATE_TYPE state, long duration, @AnimationFlags int animComponents) { in createAnimationToNewWorkspace() [all …]
|
D | StatefulActivity.java | 54 public boolean isInState(STATE_TYPE state) { in isInState() 84 public void onStateSetStart(STATE_TYPE state) { in onStateSetStart() 93 public void onStateSetEnd(STATE_TYPE state) { } in onStateSetEnd()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 108 ServiceState state = new ServiceState(); in testPhoneChangeState_OkToCallTrue() local 132 ServiceState state = new ServiceState(); in testPhoneChangeState_NoOkToCall_Timeout() local 157 ServiceState state = new ServiceState(); in testTimeout_RetryFailure() local 178 ServiceState state = new ServiceState(); in testTimeout_RetryFailure_ForEmergency() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | StateManager.java | 54 ActivityState state = null; in startState() local 80 ActivityState state = null; in startStateForResult() local 165 void finishState(ActivityState state) { in finishState() 176 void finishState(ActivityState state, boolean fireOnPause) { in finishState() 244 ActivityState state = null; in switchState() local 277 Bundle state = bundle.getBundle(KEY_STATE); in restoreFromState() local 306 Bundle state = new Bundle(); in saveState() local 333 public StateEntry(Bundle data, ActivityState state) { in StateEntry()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateAdapter.java | 52 State state = getItem(position); in getView() local 67 public boolean contains(State state) { in contains() 90 State state = getItem(i); in same() local 109 public void remove(State state) { in remove()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersAccess.java | 50 Collection<RootInfo> getMatchingRootsBlocking(State state); in getMatchingRootsBlocking() 54 RootInfo getDefaultRootBlocking(State state); in getDefaultRootBlocking() 68 public static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) { in getMatchingRoots() 150 static @Nullable RootInfo getDefaultRoot(Collection<RootInfo> roots, State state) { in getDefaultRoot()
|
/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/ |
D | MimeTypeChecker.java | 55 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation() 72 public Description matchSwitch(SwitchTree tree, VisitorState state) { in matchSwitch() 85 public boolean matches(ExpressionTree tree, VisitorState state) { in matches()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaButtonController.java | 152 private void onPlaybackStateChanged(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in onPlaybackStateChanged() 197 private int convertMainAction(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in convertMainAction() 225 private void updateCustomActions(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in updateCustomActions() 269 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onNextClicked() local 276 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onPrevClicked() local
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 78 void onTetherStateUpdated(@TetheringState int state); in onTetherStateUpdated() 198 int state = getTetheringState(tethered); in updateState() local 257 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() 275 int state = getTetheringState(null /* tethered */); in stopTethering() local 292 int state = getTetheringState(null /* tethered */); in startTethering() local 331 private boolean handleBluetoothStateChanged(int state) { in handleBluetoothStateChanged() 349 private boolean handleWifiApStateChanged(int state) { in handleWifiApStateChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | PackageInstallInfo.java | 32 public final int state; field in PackageInstallInfo 44 public PackageInstallInfo(String packageName, int state, int progress, UserHandle user) { in PackageInstallInfo() 56 public static PackageInstallInfo fromState(int state, String packageName, UserHandle user) { in fromState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryListInterfaceState.java | 44 final State state = mWordlistToState.get(wordlistId); in isOpen() local 50 final State state = mWordlistToState.get(wordlistId); in getStatus() local 57 final State state = mWordlistToState.get(wordlistId); in setOpen() local
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaPlayer.java | 98 PlaybackStateCompat.Builder state = new PlaybackStateCompat.Builder() in setPlaybackState() local 119 private void setActiveItemState(PlaybackStateCompat.Builder state) { in setActiveItemState() 178 PlaybackStateCompat.Builder state = new PlaybackStateCompat.Builder() in prepareMediaItem() local 309 PlaybackStateCompat state = new PlaybackStateCompat.Builder() in startPlayBack() local 327 PlaybackStateCompat.Builder state = new PlaybackStateCompat.Builder() in pausePlayback() local 343 PlaybackStateCompat.Builder state = new PlaybackStateCompat.Builder() in sendStopPlaybackState() local
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 82 private static String powerStateReportName(int state) { in powerStateReportName() 98 private static String powerStateReqName(int state) { in powerStateReqName() 115 void onApPowerStateChange(PowerState state); in onApPowerStateChange() 130 public PowerState(int state, int param) { in PowerState() 298 private void setPowerState(int state, int additionalParam) { in setPowerState() 313 int[] state; in getCurrentPowerState() local 422 int state = v.value.int32Values.get(VehicleApPowerStateReqIndex.STATE); in dispatchEvents() local
|
/packages/apps/Dialer/java/com/android/incallui/call/state/ |
D | DialerCallState.java | 40 public static boolean isConnectingOrConnected(int state) { in isConnectingOrConnected() 57 public static boolean isDialing(int state) { in isDialing() 61 public static String toString(int state) { in toString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | BluetoothUpdateWorker.java | 63 public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onAclConnectionStateChanged() 78 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() 83 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, in onProfileConnectionStateChanged()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 209 final RawContactDelta state = getRawContact(TEST_ID); in testValidTypes() local 254 final RawContactDelta state = getRawContact(TEST_ID); in testValidTypesWhenUpdating() local 289 final RawContactDelta state = getRawContact(TEST_ID); in testCanInsert() local 321 final RawContactDelta state = getRawContact(TEST_ID); in testBestValidType() local 363 final RawContactDelta state = getRawContact(TEST_ID); in testIsEmptyDirectFields() local 380 final RawContactDelta state = getRawContact(TEST_ID); in testTrimEmptySingle() local 425 final RawContactDelta state = RawContactDeltaListTests.buildBeforeEntity(mContext, TEST_ID, in testTrimEmptySpaces() local 451 final RawContactDelta state = RawContactDeltaListTests.buildBeforeEntity(mContext, TEST_ID, in testTrimLeaveValid() local 480 final RawContactDelta state = getRawContact(TEST_ID); in testTrimEmptyUntouched() local 509 final RawContactDelta state = getRawContact(TEST_ID, before); in testTrimEmptyAfterUpdate() local [all …]
|
/packages/apps/Dialer/java/com/android/incallui/videotech/utils/ |
D | VideoUtils.java | 27 public static boolean hasSentVideoUpgradeRequest(@SessionModificationState int state) { in hasSentVideoUpgradeRequest() 34 public static boolean hasReceivedVideoUpgradeRequest(@SessionModificationState int state) { in hasReceivedVideoUpgradeRequest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | Config.java | 37 public boolean canSelectType(String docMimeType, int docFlags, State state) { in canSelectType() 57 public boolean isDocumentEnabled(String mimeType, int docFlags, State state) { in isDocumentEnabled()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 57 public abstract void stateChanged(View view, int state); in stateChanged() 132 public void setState(int state) { in setState() 142 public void setState(final int state, final boolean callListener) { in setState() 152 private void setStateAnimatedInternal(final int state, final boolean callListener) { in setStateAnimatedInternal() 219 private void setStateInternal(int state, boolean callListener) { in setStateInternal() 244 int state = mState + 1; in nextState() local 360 private void setImageByState(int state) { in setImageByState()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionUiStateManager.java | 166 public void onStateTransitionComplete(LauncherState state) { in onStateTransitionComplete() 180 private void scheduleApplyPredictedApps(PredictionState state) { in scheduleApplyPredictedApps() 189 private void applyState(PredictionState state) { in applyState() 232 PredictionState state = new PredictionState(); in parseLastState() local 258 private void updateDependencies(PredictionState state) { in updateDependencies()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ActivityConfig.java | 31 public boolean canSelectType(String docMimeType, int docFlags, State state) { in canSelectType() 35 public boolean isDocumentEnabled(String docMimeType, int docFlags, State state) { in isDocumentEnabled()
|