/frameworks/base/core/java/android/server/ |
H A D | BluetoothBondState.java | 49 * Local cache of bonding state. 50 * We keep our own state to track the intermediate state BONDING, which 130 public synchronized void setBondState(String address, int state) { argument 131 setBondState(address, state, 0); 134 /** reason is ignored unless state == BOND_NOT_BONDED */ 135 public synchronized void setBondState(String address, int state, int reason) { argument 136 if (DBG) Log.d(TAG, "setBondState " + "address" + " " + state + "reason: " + reason); 139 if (oldState == state) { 144 // If yes, reset the state 242 listInState(int state) argument 451 setProfilePriorities(String address, int state) argument [all...] |
H A D | BluetoothPanProfileHandler.java | 168 int state = panDevice.mState; 169 if (state == BluetoothPan.STATE_CONNECTED && 181 // Restore prev state 182 handlePanDeviceStateChange(device, panDevice.mIface, state, 208 for (int state : states) { 209 if (state == panDeviceState) { 222 int state = getPanDeviceConnectionState(device); 223 if (state != BluetoothPan.STATE_CONNECTED) { 240 // Restore prev state, this shouldn't happen 241 handlePanDeviceStateChange(device, panDevice.mIface, state, panDevic 254 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int role) argument 317 BluetoothPanDevice(int state, String ifaceAddr, String iface, int localRole) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 82 * this object. Will finalize the coder state and 233 * State 6 is the error state; an error has been detected 236 private int state; // state number (0 to 6) field in class:Base64.Decoder 245 state = 0; 260 * @return true if the state machine is still healthy. false if 264 if (this.state == 6) return false; 274 int state = this.state; 295 if (state [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSpinner.java | 420 public void onRestoreInstanceState(Parcelable state) { argument 421 SavedState ss = (SavedState) state;
|
H A D | CompoundButton.java | 36 * or clicked, the state changes automatically. 98 /* When clicked, toggle the state */ 109 * <p>Changes the checked state of this button.</p> 136 * Register a callback to be invoked when the checked state of this button 139 * @param listener the callback to call on checked state change 146 * Register a callback to be invoked when the checked state of this button 149 * @param listener the callback to call on checked state change 157 * Interface definition for a callback to be invoked when the checked state 162 * Called when the checked state of a compound button has changed. 164 * @param buttonView The compound button view whose state ha 339 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 278 public void setFeature(String name, boolean state) throws IllegalArgumentException, argument
|
H A D | TypedProperties.java | 82 ParseException(StreamTokenizer state, String expected) { argument 83 super("expected " + expected + ", saw " + state.toString());
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | TargetDrawable.java | 85 public void setState(int [] state) { argument 88 d.setState(state); 92 public boolean hasState(int [] state) { argument 96 return d.getStateDrawableIndex(state) != -1; 102 * Returns true if the drawable is a StateListDrawable and is in the focused state. 121 * drawable in a valid state. Currently all targets with valid drawables are valid.
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 66 bool state = false; local 67 AudioSystem::isMicrophoneMuted(&state); 68 return state; 74 bool state = false; local 75 AudioSystem::isStreamActive(stream, &state, inPastMs); 76 return state; 132 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument 136 static_cast <audio_policy_dev_state_t>(state), 146 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), local 149 return state; 153 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument [all...] |
H A D | android_view_VelocityTracker.cpp | 144 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 145 delete state; 149 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 150 state->clear(); 161 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 162 state->addMovement(event); 167 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 168 state->computeCurrentVelocity(units, maxVelocity); 173 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 175 state 181 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 189 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local [all...] |
/frameworks/base/core/tests/coretests/src/com/android/server/ |
H A D | MountServiceTests.java | 62 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/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 354 private AnimationDrawable(AnimationState state, Resources res) { argument 355 AnimationState as = new AnimationState(state, this, res); 358 if (state != null) {
|
H A D | ClipDrawable.java | 177 protected boolean onStateChange(int[] state) { argument 178 return mClipState.mDrawable.setState(state); 293 private ClipDrawable(ClipState state, Resources res) { argument 294 mClipState = new ClipState(state, this, res);
|
H A D | InsetDrawable.java | 212 protected boolean onStateChange(int[] state) { argument 213 boolean changed = mInsetState.mDrawable.setState(state); 312 private InsetDrawable(InsetState state, Resources res) { argument 313 mInsetState = new InsetState(state, this, res);
|
H A D | NinePatchDrawable.java | 101 private void setNinePatchState(NinePatchState state, Resources res) { argument 102 mNinePatchState = state; 103 mNinePatch = state.mNinePatch; 104 mPadding = state.mPadding; 106 : state.mTargetDensity; 108 if (state.mDither != DEFAULT_DITHER) { 111 setDither(state.mDither); 373 NinePatchState(NinePatchState state) { argument 374 mNinePatch = new NinePatch(state.mNinePatch); 376 mPadding = state 398 NinePatchDrawable(NinePatchState state, Resources res) argument [all...] |
H A D | RotateDrawable.java | 56 * <p>Create a new rotating drawable with an empty state.</p> 63 * <p>Create a new rotating drawable with the specified state. A copy of 64 * this state is used as the internal state for the newly created 67 * @param rotateState the state for this drawable 157 protected boolean onStateChange(int[] state) { argument 158 boolean changed = mState.mDrawable.setState(state); 289 * <p>Represents the state of a rotation for a given drawable. The same
|
H A D | ScaleDrawable.java | 196 protected boolean onStateChange(int[] state) { argument 197 boolean changed = mScaleState.mDrawable.setState(state); 313 private ScaleDrawable(ScaleState state, Resources res) { argument 314 mScaleState = new ScaleState(state, this, res);
|
/frameworks/base/libs/gui/ |
H A D | ISurfaceComposer.cpp | 81 virtual void setTransactionState(const Vector<ComposerState>& state, argument 86 Vector<ComposerState>::const_iterator b(state.begin()); 87 Vector<ComposerState>::const_iterator e(state.end()); 88 data.writeInt32(state.size()); 201 Vector<ComposerState> state; local 202 state.setCapacity(count); 205 state.add(s); 209 setTransactionState(state, orientation, flags);
|
/frameworks/base/libs/rs/ |
H A D | rsProgramVertex.cpp | 35 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument 36 if ((state->mLast.get() == this) && !mDirty) { 41 if (mHal.state.constants[0] == NULL) { 46 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 57 state->mLast.set(this); 68 if (mHal.state.constants[0] == NULL) { 73 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 84 if (mHal.state.constants[0] == NULL) { 89 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 100 if (mHal.state [all...] |
/frameworks/base/libs/utils/ |
H A D | VectorImpl.cpp | 165 status_t VectorImpl::sort(VectorImpl::compar_r_t cmp, void* state) argument 178 if (cmp(curr, item, state) > 0) { 202 } while (j>=0 && (cmp(curr, temp, state) > 0));
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProvider.java | 116 public void updateNetworkState(int state, NetworkInfo info) { 117 LocationProvider.this.onUpdateNetworkState(state, info); 288 * @return string describing the internal state of the location provider, or null. 314 * Updates the network state for the given provider. This function must 316 * The state is {@link android.location.LocationProvider#TEMPORARILY_UNAVAILABLE} (disconnected) 319 * @param state data state 321 public abstract void onUpdateNetworkState(int state, NetworkInfo info); argument
|
/frameworks/base/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 90 void AudioBiquadFilter::setState(state_t state) { argument 91 switch (state) { 119 mState = state;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 117 state = pointer to a pointer to structures of type Decoder_amrState 120 structure pointed to by the pointer which is pointed to by state is 123 state pointer points to the address of the memory allocated by 138 This function allocates and initializes state memory used by the Decoder_amr 139 function. It stores the pointer to the filter status structure in state. This 156 int Decoder_amr_init (Decoder_amrState **state) 161 if (state == (Decoder_amrState **) NULL){ 165 *state = NULL; 169 fprintf(stderr, "Decoder_amr_init: can not malloc state structure\n"); 200 *state 395 Decoder_amr_reset(Decoder_amrState *state, enum Mode mode) argument [all...] |
/frameworks/base/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 | p_ol_wgh.cpp | 110 state = pointer to a pointer of structure type pitchOLWghtState 128 This function allocates state memory and initializes state memory 143 int p_ol_wgh_init (pitchOLWghtState **state) 147 if (state == (pitchOLWghtState **) NULL){ 151 *state = NULL; 155 // fprintf(stderr, "p_ol_wgh_init: can not malloc state structure\n"); 161 *state = s; 189 Word16 p_ol_wgh_init(pitchOLWghtState **state) argument 193 if (state 391 p_ol_wgh_exit(pitchOLWghtState **state) argument [all...] |