/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 171 public void onObbStateChange(String path, int state) { argument 172 Log.i(LOG_TAG, "Storage state changing to: " + state); 176 mState = state; 184 * Tells whether we are done or not (system told us the OBB has changed state) 186 * @return true if the system has told us this OBB's state has changed, false otherwise 193 * The last state of the OBB, according to the system 195 * @return A {@link String} representation of the state of the OBB 197 public int state() { method in class:StorageManagerBaseTest.ObbListener 301 * @param expectedState The expected state resultin [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 160 * Compare the existing headset state with the new state and pass along accordingly. Note 182 Log.e(TAG, "No state change."); 186 // reject all suspect transitions: only accept state changes from: 241 int state; 244 state = 1; 246 state = 0; 265 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected")); 267 mAudioManager.setWiredDeviceConnectionState(device, state, headsetName); 310 " not found while attempting to determine initial switch state"); 387 updateStateLocked(String devPath, String name, int state) argument [all...] |
H A D | UpdateLockService.java | 74 void sendLockChangedBroadcast(boolean state) { argument 79 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
|
H A D | MountService.java | 122 * Internal vold volume state constants 189 /** Map from path to state */ 224 * Mounted OBB tracking information. Used to track the current state of all 526 final String state = entry.getValue(); 528 if (state.equals(Environment.MEDIA_UNMOUNTED)) { 534 } else if (state.equals(Environment.MEDIA_SHARED)) { 536 * Bootstrap UMS enabled state since vold indicates 544 // Push mounted state for all emulated storage 631 private void updatePublicVolumeState(StorageVolume volume, String state) { argument 635 oldState = mVolumeStates.put(path, state); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmConnection.java | 138 parent = parentFromDCState (dc.state); 437 // Returns true if state has changed, false if nothing changed 445 newParent = parentFromDCState(dc.state); 481 /** Some state-transition events */ 666 PostDialState state = postDialState; 669 ar.userObj = state; 686 || parent.state == GsmCall.State.DIALING 687 || parent.state == GsmCall.State.ALERTING; 691 parentFromDCState (DriverCall.State state) { argument 692 switch (state) { [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_gain2_amr_wb.cpp | 55 int16 state, (i) : State of BFH 178 int16 state, /* (i) : State of BFH */ 230 *gain_pit = mult_int16(pdown_unusable[state], *past_gain_pit); 234 *gain_pit = mult_int16(pdown_usable[state], *past_gain_pit); 247 *past_gain_code = mult_int16(cdown_unusable[state], tmp); 251 *past_gain_code = mult_int16(cdown_usable[state], tmp); 169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | ListPreference.java | 285 // No need to save instance state since it's persistent 295 protected void onRestoreInstanceState(Parcelable state) { argument 296 if (state == null || !state.getClass().equals(SavedState.class)) { 297 // Didn't save state for us in onSaveInstanceState 298 super.onRestoreInstanceState(state); 302 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/android/view/ |
H A D | KeyCharacterMap.java | 345 * key state combination. 361 * @param metaState The meta key modifier state. 388 * @param metaState The meta key modifier state. 448 * the one that would be generated with the specified meta key modifier state. 452 * @param metaState The preferred meta key modifier state. 644 * then resets the modifier state when the modifier key is released.</li> 646 * it first toggles into a latched state. When latched, the modifier will apply 647 * to next character key that is pressed and will then reset itself to the initial state. 649 * its own again, then it toggles into a locked state. When locked, the modifier will 651 * the modifier key on its own one more time to reset it to the initial state [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 212 Bundle state = new Bundle(); 213 saveHierarchyState(state); 214 return state; 218 public void onRestoreInstanceState(Parcelable state) { argument 219 restoreHierarchyState((Bundle) state);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | BroadcastRecord.java | 61 int state; field in class:BroadcastRecord 142 if (state != IDLE) { 144 switch (state) { 149 pw.print(prefix); pw.print("state="); pw.print(state); pw.println(stateStr); 189 state = IDLE;
|
H A D | BroadcastQueue.java | 262 // We need to reset the state if we failed to start the receiver. 263 br.state = BroadcastRecord.IDLE; 273 br.state = BroadcastRecord.IDLE; 332 int state = r.state; 333 r.state = BroadcastRecord.IDLE; 334 if (state == BroadcastRecord.IDLE) { 336 Slog.w(TAG, "finishReceiver [" + mQueueName + "] called but state is IDLE"); 361 return state == BroadcastRecord.APP_RECEIVE 362 || state [all...] |
/frameworks/base/native/android/ |
H A D | storage_manager.cpp | 45 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); 166 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { argument 167 mStorageManager->fireCallback(String8(filename).string(), nonce, state);
|
/frameworks/base/core/java/android/os/ |
H A D | StrictMode.java | 107 * propagate its state across process boundaries when doing 1721 ThreadSpanState state = mContainerState; 1722 synchronized (state) { 1735 if (state.mActiveHead == this) { 1736 state.mActiveHead = mNext; 1739 state.mActiveSize--; 1741 if (LOG_V) Log.d(TAG, "Span finished=" + mName + "; size=" + state.mActiveSize); 1750 if (state.mFreeListSize < 5) { 1751 this.mNext = state.mFreeListHead; 1752 state [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiStateTracker.java | 35 * Track the state of wifi for connectivity service. 231 // don't want to send redundent state messages 232 // but send portal check detailed state notice 233 NetworkInfo.State state = mNetworkInfo.getState(); 234 if (mLastState == state && 238 mLastState = state;
|
/frameworks/av/include/media/ |
H A D | IAudioPolicyService.h | 44 audio_policy_dev_state_t state, 48 virtual status_t setPhoneState(audio_mode_t state) = 0;
|
/frameworks/av/media/libstagefright/include/ |
H A D | SimpleSoftOMXComponent.h | 129 virtual OMX_ERRORTYPE getState(OMX_STATETYPE *state); 132 void onChangeState(OMX_STATETYPE state);
|
/frameworks/base/core/java/android/app/ |
H A D | ExpandableListActivity.java | 205 protected void onRestoreInstanceState(Bundle state) { argument 207 super.onRestoreInstanceState(state); 211 * Updates the screen state (current list and other views) when the
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SubActivityScreen.java | 69 protected void onRestoreInstanceState(Bundle state) { argument 70 super.onRestoreInstanceState(state);
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 72 const Vector<ComposerState>& state, 79 Vector<ComposerState>::const_iterator b(state.begin()); 80 Vector<ComposerState>::const_iterator e(state.end()); 81 data.writeInt32(state.size()); 250 Vector<ComposerState> state; local 251 state.setCapacity(count); 254 state.add(s); 265 setTransactionState(state, displays, flags); 71 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Call.java | 48 public State state = State.IDLE; field in class:Call 99 * @return state of class call 102 return state;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCallTracker.java | 85 PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:CdmaCallTracker 141 if (state != PhoneConstants.State.IDLE) { 187 // note that this triggers call state changed notif 191 throw new CallStateException("cannot dial in current state"); 205 // didn't know the state (i.e. Generic was true) we now know 286 // ringing Call state change to idle is in CdmaCall.detach 312 throw new CallStateException("cannot be in the incoming state"); 326 // Should we be checking state? 448 PhoneConstants.State oldState = state; 451 state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipConnectionBase.java | 70 protected void setState(Call.State state) { argument 71 switch (state) {
|
H A D | SipPhoneBase.java | 58 private PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:SipPhoneBase 137 return state; 173 * Notify any interested party of a Phone state change {@link Phone.State} 180 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State} 181 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged. 458 PhoneConstants.State oldState = state; 461 state = PhoneConstants.State.RINGING; 464 state = PhoneConstants.State.IDLE; 466 state = PhoneConstants.State.OFFHOOK; 469 if (state ! [all...] |
/frameworks/rs/driver/ |
H A D | rsdProgram.cpp | 48 for (uint32_t ct=0; ct < p->mHal.state.texturesCount; ct++) { 49 const Allocation *a = p->mHal.state.textures[ct];
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 111 uint32_t state; member in struct:android::__anon468::EqualizerContext 164 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 174 pContext->state = EQUALIZER_STATE_INITIALIZED; 191 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 632 if (pContext->state == EQUALIZER_STATE_UNINITIALIZED) { 635 if (pContext->state == EQUALIZER_STATE_INITIALIZED) { 650 if (pContext == NULL || pContext->state == EQUALIZER_STATE_UNINITIALIZED) { 715 if (pContext->state != EQUALIZER_STATE_INITIALIZED) { 718 pContext->state = EQUALIZER_STATE_ACTIVE; 726 if (pContext->state ! [all...] |