Searched refs:state (Results 176 - 200 of 570) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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/java/android/net/
H A DDummyDataStateTracker.java26 * A dummy data state tracker for use when we don't have a real radio
130 * Record the detailed state of a network, and if it is a
131 * change from the previous state, send a notification to
133 * @param state the new {@code DetailedState}
134 * @param reason a {@code String} indicating a reason for the state change,
136 * @param extraInfo optional {@code String} providing extra information about the state change
138 private void setDetailedState(NetworkInfo.DetailedState state, String reason, argument
140 if (DBG) log("setDetailed state, old ="
141 + mNetworkInfo.getDetailedState() + " and new state=" + state);
[all...]
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiSettingsStore.java36 /* 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/base/services/java/com/android/server/
H A DTelephonyRegistry.java161 // we keep a copy of all of the state so we can send it out when folks
327 public void notifyCallState(int state, String incomingNumber) { argument
332 mCallState = state;
337 r.callback.onCallStateChanged(state, incomingNumber);
345 broadcastCallStateChanged(state, incomingNumber);
348 public void notifyServiceState(ServiceState state) { argument
353 mServiceState = state;
357 r.callback.onServiceStateChanged(new ServiceState(state));
365 broadcastServiceStateChanged(state);
458 public void notifyDataActivity(int state) { argument
477 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument
642 broadcastServiceStateChanged(ServiceState state) argument
677 broadcastCallStateChanged(int state, String incomingNumber) argument
701 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, boolean roaming) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h55 void changeState(const sp<AState> &state);
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorBuffer.h56 VIDEOEDITOR_BUFFER_State state; /**< Buffer state */ member in struct:__anon324
108 * @brief Returns a buffer in a given state
111 * @param desiredState : IN The buffer state
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp94 void StatusTracker::markComponent(int id, ComponentState state, argument
97 state == IDLE ? "idle" : "active");
102 state,
141 // Wait for state updates
150 ALOGE("%s: Error waiting on state changes: %s (%d)",
167 // Collect all pending state updates and see if the device
173 // Only collect changes to overall device state
176 // For each pending component state update, check if we've transitioned
177 // to a new overall device state
183 // Update single component state
[all...]
/frameworks/base/core/java/android/app/
H A DStatusBarManager.java188 public static String windowStateToString(int state) { argument
189 if (state == WINDOW_STATE_HIDING) return "WINDOW_STATE_HIDING";
190 if (state == WINDOW_STATE_HIDDEN) return "WINDOW_STATE_HIDDEN";
191 if (state == WINDOW_STATE_SHOWING) return "WINDOW_STATE_SHOWING";
H A DListActivity.java152 * // requerying or closing it as the activity changes state.
217 protected void onRestoreInstanceState(Bundle state) { argument
219 super.onRestoreInstanceState(state);
232 * Updates the screen state (current list and other views) when the
/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
H A DIconMenuPresenter.java163 Bundle state = new Bundle();
164 saveHierarchyState(state);
166 state.putInt(OPEN_SUBMENU_KEY, mOpenSubMenuId);
168 return state;
172 public void onRestoreInstanceState(Parcelable state) { argument
173 restoreHierarchyState((Bundle) state);
/frameworks/base/services/java/com/android/server/connectivity/
H A DDataConnectionStats.java87 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/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneNotifier.java42 PhoneConstants.DataState state);
41 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
H A DOperatorInfo.java63 State state) {
69 mState = state;
82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
95 "RIL impl error: Invalid network state '" + s + "'");
145 (State) in.readSerializable()); /*state*/
60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java55 PhoneConstants.DataState state) {
54 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
/frameworks/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1648
H A DrsGrallocConsumer.cpp44 if (a->mHal.state.yuv) {
45 bq->setDefaultBufferFormat(a->mHal.state.yuv);
128 mAlloc->mHal.state.type->getElementSizeBytes();
129 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer();
130 mAlloc->mHal.state.timestamp = b.mTimestamp;
144 if (mAlloc->mHal.state.yuv) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPresenter.java44 * Called when a submenu opens. Useful for notifying the application of menu state so that
134 * Returns an ID for determining how to save/restore instance state.
141 * Returns a Parcelable describing the current state of the presenter. It will be passed to the
145 * @return The saved instance state
150 * Supplies the previously saved instance state to be restored.
152 * @param state The previously saved instance state
154 public void onRestoreInstanceState(Parcelable state); argument
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h101 status_t onOutputFormatChanged(size_t trackIndex, CodecState *state);
104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java60 public void disable(int state) { argument
92 public void setWindowState(int window, int state) { argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnosticEngine.h124 State& state() function in class:mcld::DiagnosticEngine
127 const State& state() const function in class:mcld::DiagnosticEngine
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java137 ParcelFileDescriptor state = ParcelFileDescriptor.open(
138 new File(getFilesDir(), "state"),
145 h.performBackup(null, data, state);
147 state.close();
161 ParcelFileDescriptor state = ParcelFileDescriptor.open(
166 dispatch.performRestore(data, 0, state);
168 state.close();
/frameworks/wilhelm/src/itf/
H A DIRecord.c22 static SLresult IRecord_SetRecordState(SLRecordItf self, SLuint32 state) argument
26 switch (state) {
33 thiz->mState = state;
35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); local
59 SLuint32 state = thiz->mState; local
61 *pState = state;
/frameworks/base/libs/hwui/
H A DDisplayListOp.h95 // default behavior only affects immediate, deferrable state, issue directly to renderer
148 renderer.restoreDisplayState(*(ops[i].state), true);
155 * When this method is invoked the state field is initialized to have the
156 * final rendering state. We can thus use it to process data as it will be
165 const DeferredDisplayState& state) {}
197 inline bool isOpaqueOverBounds(const DeferredDisplayState& state) { argument
199 if (!state.mMatrix.isSimple()) return false;
201 // check state/paint for transparency
202 if (state.mDrawModifiers.mShader ||
203 state
164 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
780 const DeferredDisplayState& state = *(ops[i].state); local
813 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
857 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
887 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
913 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
938 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1014 const DeferredDisplayState* state = ops[i].state; local
1076 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1130 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1156 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1182 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1295 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1331 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1368 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1434 onDefer(OpenGLRenderer& renderer, DeferInfo& deferInfo, const DeferredDisplayState& state) argument
1467 const DeferredDisplayState& state = *(ops[i].state); local
[all...]

Completed in 776 milliseconds

1234567891011>>