Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 1023) sorted by relevance

12345678910>>...41

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DSettingsManager.java45 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 …]
DUIUpdateCallback.java36 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/
DStateManager.java129 public boolean isInStableState(STATE_TYPE state) { in isInStableState()
144 public void goToState(STATE_TYPE state) { in goToState()
151 public void goToState(STATE_TYPE state, boolean animated) { in goToState()
162 public void goToState(STATE_TYPE state, boolean animated, AnimatorListener listener) { in goToState()
169 public void goToState(STATE_TYPE state, long delay, AnimatorListener listener) { in goToState()
176 public void goToState(STATE_TYPE state, long delay) { in goToState()
223 STATE_TYPE state, boolean animated, long delay, AnimatorListener listener) { in goToState()
275 private void goToStateAnimated(STATE_TYPE state, STATE_TYPE fromState, in goToStateAnimated()
322 STATE_TYPE state, long duration) { in createAnimationToNewWorkspace()
327 STATE_TYPE state, long duration, @AnimationFlags int animFlags) { in createAnimationToNewWorkspace()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java314 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/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java67 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/Bluetooth/system/service/
Dlogging_helpers.cc27 const char* BtAvConnectionStateText(const btav_connection_state_t state) { in BtAvConnectionStateText()
38 const char* BtAvAudioStateText(const btav_audio_state_t state) { in BtAvAudioStateText()
58 const char* BtStateText(const bt_state_t state) { in BtStateText()
67 const char* BtDiscoveryStateText(const bt_discovery_state_t state) { in BtDiscoveryStateText()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java54 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/services/Telephony/tests/src/com/android/services/telephony/
DRadioOnStateListenerTest.java108 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/modules/Wifi/framework/java/android/net/wifi/
DSupplicantState.java169 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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DBottomSheetIdlingResource.java51 int state = mBottomSheetBehavior.getState(); in isIdleNow() local
67 private boolean isExpectedState(int state) { in isExpectedState()
72 private boolean isIdleState(int state) { in isIdleState()
80 public void setExpectedState(int state) { in setExpectedState()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java82 void onTetherStateUpdated(@TetheringState int state); in onTetherStateUpdated()
89 public void onInterfaceStateChanged(@NonNull String iface, int state, int role, in onInterfaceStateChanged()
221 int state = getTetheringState(tethered); in updateState() local
280 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering()
298 int state = getTetheringState(null /* tethered */); in stopTethering() local
315 int state = getTetheringState(null /* tethered */); in startTethering() local
354 private boolean handleBluetoothStateChanged(int state) { in handleBluetoothStateChanged()
372 private boolean handleWifiApStateChanged(int state) { in handleWifiApStateChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateAdapter.java52 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/
DProvidersAccess.java50 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/
DMimeTypeChecker.java57 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation()
74 public Description matchSwitch(SwitchTree tree, VisitorState state) { in matchSwitch()
93 public boolean matches(ExpressionTree tree, VisitorState state) { in matches()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java209 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/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java95 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_NoCall() local
107 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_OneCall() local
121 CallLogBackupState state = mCallLogBackupAgent.readState(mDataInput); in testReadState_MultipleCalls() local
130 CallLogBackupState state = new CallLogBackupState(); in testWriteState_NoCalls() local
142 CallLogBackupState state = new CallLogBackupState(); in testWriteState_OneCall() local
156 CallLogBackupState state = new CallLogBackupState(); in testWriteState_MultipleCalls() local
174 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_NoCalls() local
185 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_OneNewCall() local
268 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_MultipleCall() local
287 CallLogBackupState state = new CallLogBackupState(); in testRunBackup_PartialMultipleCall() local
/packages/modules/Bluetooth/system/service/hal/
Dbluetooth_av_interface.cc62 btav_connection_state_t state) { in SourceConnectionStateCallback()
72 btav_audio_state_t state) { in SourceAudioStateCallback()
105 btav_connection_state_t state) { in SinkConnectionStateCallback()
114 btav_audio_state_t state) { in SinkAudioStateCallback()
301 btav_connection_state_t state) { in ConnectionStateCallback()
307 btav_audio_state_t state) { in AudioStateCallback()
328 btav_connection_state_t state) { in ConnectionStateCallback()
334 btav_audio_state_t state) { in AudioStateCallback()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryListInterfaceState.java44 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/Camera2/src/com/android/camera/
DMultiToggleImageButton.java57 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/modules/StatsD/statsd/benchmark/
Dhello_world_benchmark.cpp18 static void BM_StringCreation(benchmark::State& state) { in BM_StringCreation()
25 static void BM_StringCopy(benchmark::State& state) { in BM_StringCopy()
/packages/apps/Dialer/java/com/android/incallui/call/state/
DDialerCallState.java40 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java61 int state = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in onConnectionStateChanged() local
76 int state = HeadsetClientHalConstants.AUDIO_STATE_DISCONNECTED; in onAudioStateChanged() local
87 int state = 1; in onVrStateChanged() local
98 int state = HeadsetClientHalConstants.NETWORK_STATE_NOT_AVAILABLE; in onNetworkState() local
109 int state = HeadsetClientHalConstants.SERVICE_TYPE_ROAMING; in onNetworkRoaming() local
221 int state = HfpClientCall.CALL_STATE_WAITING; in onCurrentCalls() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/data/
DModule.java23 void addState(State state); in addState()
25 void removeState(State state); in removeState()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DPackageInstallInfo.java33 public final int state; field in PackageInstallInfo
45 public PackageInstallInfo(String packageName, int state, int progress, UserHandle user) { in PackageInstallInfo()
57 public static PackageInstallInfo fromState(int state, String packageName, UserHandle user) { in fromState()
/packages/modules/Connectivity/framework-t/src/android/net/
DIEthernetServiceListener.aidl24 void onEthernetStateChanged(int state); in onEthernetStateChanged()
25 void onInterfaceStateChanged(String iface, int state, int role, in onInterfaceStateChanged()

12345678910>>...41