| /packages/apps/Launcher3/tests/src/com/android/launcher3/icons/ |
| D | FastBitmapDrawableTest.java | 76 int[] state = new int[]{}; in testOnStateChange_noState() local 87 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_statePressed() local 105 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHovered() local 123 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHoveredFlagDisabled() local 135 int[] state = new int[]{android.R.attr.state_pressed, android.R.attr.state_hovered}; in testOnStateChange_statePressedAndHovered() local 153 int[] state = new int[]{android.R.attr.state_hovered, android.R.attr.state_pressed}; in testOnStateChange_stateHoveredAndPressed() local 174 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_stateHoveredAndPressedToPressed() local 189 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_stateHoveredAndPressedToHovered() local 203 int[] state = new int[]{android.R.attr.state_pressed}; in testOnStateChange_stateHoveredToPressed() local 217 int[] state = new int[]{android.R.attr.state_hovered}; in testOnStateChange_statePressedToHovered() local [all …]
|
| /packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/ |
| D | SettingsManager.java | 45 public List<PreferenceCompat> getPreferences(int state) { in getPreferences() 51 public PreferenceCompat getPreference(int state, String key) { in getPreference() 76 public void onAttach(State state) { in onAttach() 82 public void onCreate(State state, Bundle extras) { in onCreate() 88 public void onStart(State state) { in onStart() 94 public void onResume(State state) { in onResume() 100 public void onPause(State state) { in onPause() 106 public void onStop(State state) { in onStop() 112 public void onDestroy(State state) { in onDestroy() 118 public boolean onPreferenceClick(State state, String[] key, boolean status) { in onPreferenceClick() [all …]
|
| D | UIUpdateCallback.java | 36 void notifyUpdate(int state, PreferenceCompat preferenceCompat); in notifyUpdate() 45 void notifyUpdateAll(int state, List<PreferenceCompat> preferences); in notifyUpdateAll() 54 void notifyUpdateScreenTitle(int state, String title); in notifyUpdateScreenTitle() 61 void notifyNavigateBackward(int state); in notifyNavigateBackward() 69 void notifyNavigateForward(int state); in notifyNavigateForward()
|
| /packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
| D | StateManager.java | 135 public boolean isInStableState(STATE_TYPE state) { in isInStableState() 150 public void goToState(STATE_TYPE state) { in goToState() 157 public void goToState(STATE_TYPE state, boolean animated) { in goToState() 168 public void goToState(STATE_TYPE state, boolean animated, AnimatorListener listener) { in goToState() 175 public void goToState(STATE_TYPE state, long delay, AnimatorListener listener) { in goToState() 182 public void goToState(STATE_TYPE state, long delay) { in goToState() 229 STATE_TYPE state, boolean animated, long delay, AnimatorListener listener) { in goToState() 285 private void goToStateAnimated(STATE_TYPE state, STATE_TYPE fromState, in goToStateAnimated() 332 STATE_TYPE state, long duration) { in createAnimationToNewWorkspace() 337 STATE_TYPE state, long duration, @AnimationFlags int animFlags) { in createAnimationToNewWorkspace() [all …]
|
| /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 …]
|
| /packages/modules/StatsD/statsd/benchmark/ |
| D | log_event_benchmark.cpp | 58 static void BM_LogEventCreation(benchmark::State& state) { in BM_LogEventCreation() 68 static void BM_LogEventCreationWithPrefetch(benchmark::State& state) { in BM_LogEventCreationWithPrefetch() 83 static void BM_LogEventCreationWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationWithPrefetchOnly() 95 static void BM_LogEventCreationMedium(benchmark::State& state) { in BM_LogEventCreationMedium() 106 static void BM_LogEventCreationMediumWithPrefetch(benchmark::State& state) { in BM_LogEventCreationMediumWithPrefetch() 121 static void BM_LogEventCreationMediumWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationMediumWithPrefetchOnly() 133 static void BM_LogEventCreationLarge(benchmark::State& state) { in BM_LogEventCreationLarge() 144 static void BM_LogEventCreationLargeWithPrefetch(benchmark::State& state) { in BM_LogEventCreationLargeWithPrefetch() 159 static void BM_LogEventCreationLargeWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationLargeWithPrefetchOnly() 171 static void BM_LogEventCreationExtraLarge(benchmark::State& state) { in BM_LogEventCreationExtraLarge() [all …]
|
| D | log_event_filter_benchmark.cpp | 80 static void BM_LogEventFilterUnorderedSet(benchmark::State& state) { in BM_LogEventFilterUnorderedSet() 93 static void BM_LogEventFilterUnorderedSet2Consumers(benchmark::State& state) { in BM_LogEventFilterUnorderedSet2Consumers() 109 static void BM_LogEventFilterSet(benchmark::State& state) { in BM_LogEventFilterSet() 122 static void BM_LogEventFilterSet2Consumers(benchmark::State& state) { in BM_LogEventFilterSet2Consumers()
|
| /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/modules/Uwb/service/support_lib/test/ |
| D | OemExtensionTests.java | 38 int state = 1; in testDeviceState() local 46 assertEquals(deviceState.getDeviceState(), state); in testDeviceState() local 51 assertEquals(fromBundle.getDeviceState(), state); in testDeviceState() local 58 int state = 0; in testSessionStatus() local 72 assertEquals(sessionStatus.getState(), state); in testSessionStatus() local 80 assertEquals(fromBundle.getState(), state); in testSessionStatus() local
|
| /packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
| D | AppStateAlarmsAndRemindersBridgeTest.java | 141 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_SeaGrantedNoUeaNoAllowlist() local 163 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsBothSeaDeniedNoAllowlist() local 183 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsNoneNoAllowlist() local 203 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsOnlyUeaNoAllowlist() local 223 AppStateAlarmsAndRemindersBridge.AlarmsAndRemindersState state = in createPermissionState_requestsNoneButAllowlisted() local
|
| /packages/modules/Bluetooth/system/rust/src/connection/mocks/ |
| D | mock_le_manager.rs | 83 state: RefCell<MockLeManagerInternalState>, field 105 let state = self.state.borrow(); in current_acceptlist() localVariable 111 let state = self.state.borrow(); in current_connection_mode() localVariable 128 let mut state = self.state.borrow_mut(); in on_le_connect() localVariable 137 let mut state = self.state.borrow_mut(); in on_le_disconnect() localVariable 145 let mut state = self.state.borrow_mut(); in add_to_direct_list() localVariable 155 let mut state = self.state.borrow_mut(); in add_to_background_list() localVariable 165 let mut state = self.state.borrow_mut(); in remove_from_all_lists() localVariable
|
| /packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
| D | UserGrantTimeStateTest.java | 29 UserGrantTimeState state = new UserGrantTimeState(1); in testVersion_getReturnsInitedVersion() local 36 UserGrantTimeState state = new UserGrantTimeState(1); in testSharedUser_setSharedUserTime_containsSharedUser() local 46 UserGrantTimeState state = new UserGrantTimeState(1); in testPackage_setPackage_containsSetPackageTime() 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/modules/Wifi/framework/java/android/net/wifi/ |
| D | SupplicantState.java | 169 public static boolean isValidState(SupplicantState state) { in isValidState() 175 public static boolean isHandshakeState(SupplicantState state) { in isHandshakeState() 198 public static boolean isConnecting(SupplicantState state) { in isConnecting() 221 public static boolean isDriverActive(SupplicantState state) { in isDriverActive()
|
| /packages/apps/Settings/src/com/android/settings/network/ |
| D | TetherEnabler.java | 82 void onTetherStateUpdated(@TetheringState int state); in onTetherStateUpdated() 89 public void onInterfaceStateChanged(@NonNull String iface, int state, int role, in onInterfaceStateChanged() 222 int state = getTetheringState(tethered); in updateState() local 281 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() 299 int state = getTetheringState(null /* tethered */); in stopTethering() local 316 int state = getTetheringState(null /* tethered */); in startTethering() local 355 private boolean handleBluetoothStateChanged(int state) { in handleBluetoothStateChanged() 373 private boolean handleWifiApStateChanged(int state) { in handleWifiApStateChanged()
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
| D | BottomSheetIdlingResource.java | 52 int state = mBottomSheetBehavior.getState(); in isIdleNow() local 68 private boolean isExpectedState(int state) { in isExpectedState() 73 private boolean isIdleState(int state) { in isIdleState() 81 public void setExpectedState(int state) { in setExpectedState()
|
| /packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
| D | CallLogBackupAgentTest.java | 126 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_NoCall() local 138 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_OneCall() local 152 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_MultipleCalls() local 161 CallLogBackupState state = new CallLogBackupState(); in testWriteState_NoCalls() local 173 CallLogBackupState state = new CallLogBackupState(); in testWriteState_OneCall() local 187 CallLogBackupState state = new CallLogBackupState(); in testWriteState_MultipleCalls() local 205 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_NoCalls() local 220 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_OneNewCall_ErrorAddingCall() local 237 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_OneNewCall_NullBackupDataOutput() local 252 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_OneNewCall() local [all …]
|
| /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/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/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/providers/MediaProvider/errorprone/src/com/android/providers/media/ |
| D | MimeTypeChecker.java | 57 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation() 74 public Description matchSwitch(SwitchTree tree, VisitorState state) { in matchSwitch() 94 public boolean matches(ExpressionTree tree, VisitorState state) { in matches()
|
| /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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
| D | HfpNativeInterfaceTest.java | 62 int state = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in onConnectionStateChanged() local 77 int state = HeadsetClientHalConstants.AUDIO_STATE_DISCONNECTED; in onAudioStateChanged() local 88 int state = 1; in onVrStateChanged() local 99 int state = HeadsetClientHalConstants.NETWORK_STATE_NOT_AVAILABLE; in onNetworkState() local 110 int state = HeadsetClientHalConstants.SERVICE_TYPE_ROAMING; in onNetworkRoaming() local 222 int state = HfpClientCall.CALL_STATE_WAITING; in onCurrentCalls() 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()
|