/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cod_amr.cpp | 157 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 D | pitch_fr.cpp | 762 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/java/android/preference/ |
H A D | MultiCheckPreference.java | 153 * Get the boolean state of a given value. 160 * Set the boolean state of a given value. 162 public void setValue(int index, boolean state) { argument 163 mSetValues[index] = state; 284 // No need to save instance state since it's persistent 294 protected void onRestoreInstanceState(Parcelable state) { argument 295 if (state == null || !state.getClass().equals(SavedState.class)) { 296 // Didn't save state for us in onSaveInstanceState 297 super.onRestoreInstanceState(state); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Display.java | 209 * Display state: The display state is unknown. 216 * Display state: The display is off. 223 * Display state: The display is on. 230 * Display state: The display is dozing in a low power state; it is still 240 * Display state: The display is dozing in a suspended low power state; it is still 724 * Gets the state of the display, such as whether it is on or off. 726 * @return The state o 831 stateToString(int state) argument 853 isSuspendedState(int state) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 39 * on the device, including service state, signal strength, message 42 * Override the methods for the state that you wish to receive updates for, and 62 * Listen for changes to the network service state (cellular). 122 * Listen for changes to the device call state. 131 * Listen for changes to the data connection state (cellular). 208 * Listen for changes to LTE network state 224 * Subscription used to listen to the phone state changes 333 * Callback invoked when device service state changes. 380 * Callback invoked when device call state changes. 386 public void onCallStateChanged(int state, Strin argument 398 onDataConnectionStateChanged(int state) argument 405 onDataConnectionStateChanged(int state, int networkType) argument [all...] |
H A D | PhoneNumberUtils.java | 1263 int state = NANP_STATE_DIGIT; 1269 if (numDigits == 0 || state == NANP_STATE_PLUS) { 1270 state = NANP_STATE_ONE; 1283 if (state == NANP_STATE_PLUS) { 1287 } else if (state == NANP_STATE_ONE) { 1290 } else if (state != NANP_STATE_DASH && (numDigits == 3 || numDigits == 6)) { 1294 state = NANP_STATE_DIGIT; 1299 state = NANP_STATE_DASH; 1305 state = NANP_STATE_PLUS; 2480 int state [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 25 * Playback state for a {@link MediaSessionCompat}. This includes a state like 123 * This is the default playback state and indicates that no media has been 174 * State indicating this item is currently in an error state. The error 175 * message should also be set when entering this state. 184 * state when the connection finishes or enter {@link #STATE_NONE}. If 219 private PlaybackStateCompat(int state, long position, long bufferedPosition, argument 221 mState = state; 243 bob.append("state=").append(mState); 271 * Get the current state o 468 setState(int state, long position, float playbackRate) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewBasicTest.java | 200 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument 212 public void onRestoreInstanceState(Parcelable state) { argument 213 super.onRestoreInstanceState(state); 214 if (state instanceof LayoutManagerSavedState) { 215 mUuid = ((LayoutManagerSavedState) state).mUuid; 239 RecyclerView.State state) { 245 RecyclerView.State state) { 238 scrollHorizontallyBy(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument 244 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayAdapter.java | 205 int densityDpi, boolean secure, int state, 215 mState = state; 238 public void setStateLocked(int state) { argument 239 mState = state; 262 mInfo.state = mState; 305 long presentationDeadlineNanos, int state) { 310 mDensityDpi, mSecure, state, surfaceTexture); 329 public void onStateChanged(int state) { argument 332 mDevice.setStateLocked(state); 346 // Try to dump the window state 203 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, long presentationDeadlineNanos, int densityDpi, boolean secure, int state, SurfaceTexture surfaceTexture) argument 304 onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, long presentationDeadlineNanos, int state) argument [all...] |
H A D | DisplayPowerController.java | 51 * Controls the power state of the display. 57 * In particular, it does not share any state and it only communicates 83 // screen state returns. Playing the animation can also be somewhat slow. 177 // The important parts are mainly the screen state. Brightness changes may occur 182 // Set to true if a power state update is required. 186 /* The following state must only be accessed by the handler thread. */ 188 // The currently requested power state. 189 // The power controller will progressively update its internal state to match 190 // the requested power state. Initially null until the first update. 193 // The current power state 722 setScreenState(int state) argument 1076 proximityToString(int state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | TimerRecordingAction.java | 163 void handleTimerEvent(int state) { argument 164 if (mState != state) { 165 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiSettingsStore.java | 36 /* Persisted state that tracks the wifi & airplane interaction from settings */ 38 /* Tracks current airplane mode state */ 47 /* Tracks if we have checked the saved wi-fi state after boot */ 95 // When wifi state is disabled, we do not care 117 /* On airplane mode disable, restore wifi state if necessary */ 135 private void persistWifiState(int state) { argument 137 mPersistWifiState = state; 138 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); 158 * The settings app tracks the saved state, but the framework has to check it at boot to
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | LooperIdlingResource.java | 61 QueueState state = queueInterrogator.determineQueueState(); 62 boolean idle = state == QueueState.EMPTY || state == QueueState.TASK_DUE_LONG;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitor.java | 121 // Telephony state 131 // Device provisioning state 386 Log.v(TAG, "action " + action + " state" + 395 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 396 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state)); 455 SimArgs(IccCardConstants.State state) { argument 456 simState = state; 460 IccCardConstants.State state; 471 state = IccCardConstants.State.PERM_DISABLED; 473 state 1191 isSimLocked(IccCardConstants.State state) argument 1201 isSimPinSecure(IccCardConstants.State state) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | BackStackRecord.java | 968 * When custom fragment transitions are used, this sets up the state for each transition 1000 TransitionState state = new TransitionState(); 1005 state.nonExistentView = new View(mManager.mActivity); 1010 configureTransitions(containerId, state, isBack, firstOutFragments, 1018 configureTransitions(containerId, state, isBack, firstOutFragments, 1022 return state; 1072 private ArrayMap<String, View> remapSharedElements(TransitionState state, Fragment outFragment, argument 1088 setBackNameOverrides(state, namedViews, false); 1092 setNameOverrides(state, namedViews, false); 1102 * We will add to the views before the end state o 1109 addTransitionTargets(final TransitionState state, final Transition enterTransition, final Transition sharedElementTransition, final Transition overallTransition, final View container, final Fragment inFragment, final Fragment outFragment, final ArrayList<View> hiddenFragmentViews, final boolean isBack, final ArrayList<View> sharedElementTargets) argument 1166 callSharedElementEnd(TransitionState state, Fragment inFragment, Fragment outFragment, boolean isBack, ArrayMap<String, View> namedViews) argument 1176 setEpicenterIn(ArrayMap<String, View> namedViews, TransitionState state) argument 1187 mapSharedElementsIn(TransitionState state, boolean isBack, Fragment inFragment) argument 1273 configureTransitions(int containerId, TransitionState state, boolean isBack, SparseArray<Fragment> firstOutFragments, SparseArray<Fragment> lastInFragments) argument 1438 mapEnteringSharedElements(TransitionState state, Fragment inFragment, boolean isBack) argument 1489 setSharedElementEpicenter(Transition transition, final TransitionState state) argument 1504 popFromBackStack(boolean doStateMove, TransitionState state, SparseArray<Fragment> firstOutFragments, SparseArray<Fragment> lastInFragments) argument 1620 setNameOverrides(TransitionState state, ArrayList<String> sourceNames, ArrayList<String> targetNames) argument 1631 setBackNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument 1649 setNameOverrides(TransitionState state, ArrayMap<String, View> namedViews, boolean isEnd) argument [all...] |
H A D | StatusBarManager.java | 190 public static String windowStateToString(int state) { argument 191 if (state == WINDOW_STATE_HIDING) return "WINDOW_STATE_HIDING"; 192 if (state == WINDOW_STATE_HIDDEN) return "WINDOW_STATE_HIDDEN"; 193 if (state == WINDOW_STATE_SHOWING) return "WINDOW_STATE_SHOWING";
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 98 // default behavior only affects immediate, deferrable state, issue directly to renderer 151 renderer.restoreDisplayState(*(ops[i].state), true); 158 * When this method is invoked the state field is initialized to have the 159 * final rendering state. We can thus use it to process data as it will be 168 const DeferredDisplayState& state) {} 207 inline bool isOpaqueOverBounds(const DeferredDisplayState& state) { argument 209 if (!state.mMatrix.isSimple()) return false; 211 if (state.mRoundRectClipState) return false; 213 // check state/paint for transparency 223 if (state 167 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 692 const DeferredDisplayState& state = *(ops[i].state); local 725 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 771 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 796 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 821 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 897 const DeferredDisplayState* state = ops[i].state; local 959 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1015 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1041 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1067 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1092 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1238 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1274 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1315 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1381 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument 1417 const DeferredDisplayState& state = *(ops[i].state); local 1550 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument [all...] |
H A D | LayerCache.cpp | 86 layer->state = Layer::kState_DeletedFromCache; 110 layer->state = Layer::kState_RemovedFromCache; 171 layer->state = Layer::kState_InCache; 175 layer->state = Layer::kState_FailedToCache;
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHierarchicalStateMachine.h | 55 void changeState(const sp<AState> &state);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 91 void StatusTracker::markComponent(int id, ComponentState state, argument 94 state == IDLE ? "idle" : "active"); 99 state, 138 // Wait for state updates 147 ALOGE("%s: Error waiting on state changes: %s (%d)", 164 // Collect all pending state updates and see if the device 170 // Only collect changes to overall device state 173 // For each pending component state update, check if we've transitioned 174 // to a new overall device state 180 // Update single component state [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPresenter.java | 41 * of menu state so that it does not attempt to hide the action bar 130 * Returns an ID for determining how to save/restore instance state. 136 * Returns a Parcelable describing the current state of the presenter. 139 * @return The saved instance state 144 * Supplies the previously saved instance state to be restored. 145 * @param state The previously saved instance state 147 public void onRestoreInstanceState(Parcelable state); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SignalTileView.java | 104 protected void handleStateChanged(QSTile.State state) { argument 105 super.handleStateChanged(state); 106 final SignalState s = (SignalState) state; 120 if (state.autoMirrorDrawable && drawable != null) {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DataConnectionStats.java | 87 boolean visible = (simReadyOrUnknown || isCdma()) // we only check the sim state for GSM 96 Log.w(TAG, "Error noting data connection state", e); 138 public void onServiceStateChanged(ServiceState state) { 139 mServiceState = state; 144 public void onDataConnectionStateChanged(int state, int networkType) { 145 mDataState = state;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableConnection.java | 53 int state, 67 mState = state; 144 .append(", state:") 158 int state = source.readInt(); 176 state, 51 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds) argument
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 136 holder.state = (TextView) convertView.findViewById(android.R.id.text2); 147 if (holder.state != null) { 148 holder.state.setText(eventToString(event.getEventType())); 177 public TextView state; field in class:UsageLogActivity.ViewHolder
|