Searched refs:state (Results 126 - 150 of 429) sorted by relevance

1234567891011>>

/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DKeyguardUpdateMonitor.java115 SimArgs(IccCard.State state) { argument
116 simState = state;
120 IccCard.State state;
131 state = IccCard.State.PERM_DISABLED;
133 state = IccCard.State.ABSENT;
136 state = IccCard.State.READY;
141 state = IccCard.State.PIN_REQUIRED;
143 state = IccCard.State.PUK_REQUIRED;
145 state = IccCard.State.UNKNOWN;
148 state
502 onRingerModeChanged(int state) argument
[all...]
/frameworks/base/core/java/android/net/
H A DINetworkPolicyManager.aidl52 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state);
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java272 * @param state Optional instance state to restore on the dialog
274 protected void showDialog(Bundle state) { argument
299 if (state != null) {
300 dialog.onRestoreInstanceState(state);
429 protected void onRestoreInstanceState(Parcelable state) { argument
430 if (state == null || !state.getClass().equals(SavedState.class)) {
431 // Didn't save state for us in onSaveInstanceState
432 super.onRestoreInstanceState(state);
[all...]
H A DEditTextPreference.java65 * We reset the enabled state.
182 // No need to save instance state since it's persistent
192 protected void onRestoreInstanceState(Parcelable state) { argument
193 if (state == null || !state.getClass().equals(SavedState.class)) {
194 // Didn't save state for us in onSaveInstanceState
195 super.onRestoreInstanceState(state);
199 SavedState myState = (SavedState) state;
H A DTwoStatePreference.java33 * enabled/disabled based on the current state.
72 * Sets the checked state and saves it to the {@link SharedPreferences}.
74 * @param checked The checked state.
86 * Returns the checked state.
88 * @return The checked state.
171 * @param disableDependentsState The preference state that should disable dependents.
243 // No need to save instance state since it's persistent
253 protected void onRestoreInstanceState(Parcelable state) { argument
254 if (state == null || !state
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl30 void disable(int state);
/frameworks/base/libs/gui/
H A DLayerState.cpp64 return state.write(output);
69 return state.read(input);
/frameworks/base/media/java/android/media/
H A DIRemoteControlDisplay.aidl43 void setPlaybackState(int generationId, int state, long stateChangeTimeMs);
H A DIAudioService.aidl38 void setStreamSolo(int streamType, boolean state, IBinder cb);
40 void setStreamMute(int streamType, boolean state, IBinder cb);
/frameworks/base/media/jni/mediaeditor/
H A DVideoBrowserInternal.h53 #define CHECK_STATE(fct, state, pC) \
55 if (state != pC->m_state) \
57 M4OSA_TRACE1_1("" #fct " called in bad state %d", pC->m_state) ; \
72 /*--- Video Browser state ---*/
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A De_pv_amrwbdec.h117 int16 state; member in struct:__anon669
126 Decoder_State state; member in struct:__anon670
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp121 state = pointer to a structure of type Cb_gain_averageState
124 Structure pointed to by state is initialized to zeros
139 Resets state memory
154 Word16 Cb_gain_average_reset (Cb_gain_averageState *state)
156 if (state == (Cb_gain_averageState *) NULL){
162 Set_zero (state->cbGainHistory, L_CBGAINHIST);
165 state->hangVar = 0;
166 state->hangCount= 0;
194 Word16 Cb_gain_average_reset(Cb_gain_averageState *state) argument
196 if (state
[all...]
/frameworks/base/native/android/
H A Dstorage_manager.cpp45 const int32_t state);
105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { argument
121 target->cb(filename, state, target->data);
157 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { argument
158 mStorageManager->fireCallback(String8(filename).string(), nonce, state);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java151 * Calls method under test in the given state of the MediaPlayer object.
153 * @param state the MediaPlayer state in which the method under test is called.
155 private void callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState state) { argument
156 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state);
157 setMediaPlayerToState(state);
163 Log.v(TAG, "callMediaPlayerMethodUnderTestInState: wait is interrupted in state " + state);
166 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state "
334 setMediaPlayerToState(MediaPlayerStateErrors.MediaPlayerState state) argument
379 setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) argument
[all...]
/frameworks/base/core/java/android/server/
H A DBluetoothService.java411 // Stop the profile state machine for bonded devices.
481 * @param saveSetting If true, persist the new state of BT in settings
603 * It inits bond state and profile state before STATE_ON intent is broadcasted.
852 // Don't check state since we want to provide address, even if BT is off
858 // Don't check state since we want to provide name, even if BT is off
1004 // Check for bond state only if we are not performing auto
1106 BluetoothDeviceProfileState state = mDeviceProfileState.get(address);
1107 if (state != null) {
1108 state
1126 listInState(int state) argument
1138 setBondState(String address, int state) argument
1142 setBondState(String address, int state, int reason) argument
2090 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int role) argument
2099 handlePanDeviceStateChange(BluetoothDevice device, int state, int role) argument
2573 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
2611 validateProfileConnectionState(int state) argument
2618 convertToAdapterState(int state) argument
2633 updateCountersAndCheckForConnectionStateChange(int state, int prevState) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.cpp157 state = pointer to a pointer to a structure of type cod_amrState
160 Structure pointed to by the pointer pointed to by state is
162 state points to the allocated memory
177 This function allocates memory and initializes state variables.
192 int cod_amr_init (cod_amrState **state, Flag dtx)
196 if (state == (cod_amrState **) NULL){
200 *state = NULL;
204 fprintf(stderr, "cod_amr_init: can not malloc state structure\n");
237 *state = s;
265 Word16 cod_amr_init(cod_amrState **state, Fla argument
631 cod_amr_exit(cod_amrState **state) argument
[all...]
H A Dpitch_fr.cpp762 state = pointer to a pointer of structure type Pitch_fr_State.
780 Purpose: Allocates state memory and initializes state memory
795 int Pitch_fr_init (Pitch_frState **state)
799 if (state == (Pitch_frState **) NULL){
803 *state = NULL;
807 // fprintf(stderr, "Pitch_fr_init: can not malloc state structure\n");
812 *state = s;
839 Word16 Pitch_fr_init(Pitch_frState **state) argument
843 if (state
942 Pitch_fr_reset(Pitch_frState *state) argument
1034 Pitch_fr_exit(Pitch_frState **state) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/server/
H A DMountServiceTests.java62 public int state = -1; field in class:MountServiceTests.ObbObserver
66 public void onObbStateChange(String path, int state) { argument
67 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
70 this.state = state;
77 assertTrue("Expected ObbObserver to have received a state change.", done);
82 assertTrue("Expected ObbObserver to have received a state change.", done);
83 return state;
88 this.state
[all...]
/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java56 if (mKeyStore.state() != KeyStore.State.UNINITIALIZED) {
59 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state());
70 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state());
75 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
143 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
146 assertEquals(KeyStore.State.LOCKED, mKeyStore.state());
151 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java382 * requests will be piled up. This can be done in a Handler as a state
434 if (mInfo.state == LegacyVpnInfo.STATE_CONNECTED && mInterface == null) {
435 mInfo.state = LegacyVpnInfo.STATE_DISCONNECTED;
459 mInfo.state = LegacyVpnInfo.STATE_TIMEOUT;
469 mInfo.state = LegacyVpnInfo.STATE_INITIALIZING;
479 // Clear the previous state.
480 File state = new File("/data/misc/vpn/state");
481 state.delete();
482 if (state
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPresenter.java42 * of menu state so that it does not attempt to hide the action bar
131 * Returns an ID for determining how to save/restore instance state.
137 * Returns a Parcelable describing the current state of the presenter.
140 * @return The saved instance state
145 * Supplies the previously saved instance state to be restored.
146 * @param state The previously saved instance state
148 public void onRestoreInstanceState(Parcelable state); argument
/frameworks/base/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h55 void changeState(const sp<AState> &state);
/frameworks/base/libs/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java52 void updateNetworkState(int state, NetworkInfo info); argument
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java51 Phone.DataState state) {
50 notifyDataConnection(Phone sender, String reason, String apnType, Phone.DataState state) argument

Completed in 4239 milliseconds

1234567891011>>