/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 31 void notifyCallState(int state, String incomingNumber); 32 void notifyServiceState(in ServiceState state); 36 void notifyDataActivity(int state); 37 void notifyDataConnection(int state, boolean isDataConnectivityPossible,
|
H A D | IPhoneStateListener.aidl | 32 void onCallStateChanged(int state, String incomingNumber); 33 void onDataConnectionStateChanged(int state, int networkType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DefaultPhoneNotifier.java | 107 PhoneConstants.DataState state) { 108 doNotifyDataConnection(sender, reason, apnType, state); 112 PhoneConstants.DataState state) { 121 if (state == PhoneConstants.DataState.CONNECTED) { 130 convertDataState(state), 186 public static int convertCallState(PhoneConstants.State state) { argument 187 switch (state) { 201 public static PhoneConstants.State convertCallState(int state) { argument 202 switch (state) { 216 public static int convertDataState(PhoneConstants.DataState state) { argument 106 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 111 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 233 convertDataState(int state) argument 250 convertDataActivityState(Phone.DataActivityState state) argument 269 convertDataActivityState(int state) argument [all...] |
H A D | DriverCall.java | 36 // If you add a state, make sure to look for the switch() 42 public State state; // May be null if unavail field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 66 ret.state = stateFromCLCC(p.nextInt()); 107 + state + "," 119 stateFromCLCC(int state) throws ATParseEx { argument 120 switch(state) { 128 throw new ATParseEx("illegal call state " + state);
|
/frameworks/wilhelm/src/itf/ |
H A D | IObject.c | 35 SLuint8 state; local 37 // check object state 39 state = thiz->mState; 40 switch (state) { 49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED : 53 state = SL_OBJECT_STATE_REALIZED; 59 state = SL_OBJECT_STATE_UNREALIZED; 69 // mutex is locked, update state 70 thiz->mState = state; 79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NUL 89 SLuint8 state; local 178 SLuint8 state; local 233 SLuint8 state; local 293 SLuint8 state = thiz->mState; local 589 SLuint32 state = *--interfaceStateP; local [all...] |
H A D | IBufferQueue.c | 22 /** Determine the state of the audio player or audio recorder associated with a buffer queue. 28 SLuint32 state; local 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState; 39 state = SL_PLAYSTATE_STOPPED; 42 return state; 71 // set enqueue attribute if state is PLAYING and the first buffer is enqueued 128 SLBufferQueueState state; local 131 state.count = thiz->mState.count; 132 state [all...] |
/frameworks/base/core/java/android/net/ |
H A D | INetworkPolicyManager.aidl | 53 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state); 54 boolean isNetworkMetered(in NetworkState state);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | SupplicantStateTracker.java | 32 * Tracks the state changes in supplicant and provides functionality 33 * that is based on these state changes: 84 //start the state machine 99 SupplicantState supState = (SupplicantState) stateChangeResult.state; 101 if (DBG) Log.d(TAG, "Supplicant state: " + supState.toString() + "\n"); 134 Log.e(TAG, "Unknown supplicant state " + supState); 139 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { argument 143 intent.putExtra(WifiManager.EXTRA_NEW_STATE, (Parcelable) state); 171 SupplicantState state = stateChangeResult.state; [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.h | 8 unsigned long state[5]; member in struct:__anon1222
|
/frameworks/rs/ |
H A D | rsMesh.h | 54 State state; member in struct:android::renderscript::Mesh::Hal 69 mHal.state.vertexBuffers[index] = vb; 74 mHal.state.indexBuffers[index] = idx; 75 mHal.state.primitives[index] = prim;
|
H A D | rsProgramRaster.cpp | 28 mHal.state.pointSprite = pointSprite; 29 mHal.state.cull = cull; 46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument 47 if (state->mLast.get() == this && !mDirty) { 50 state->mLast.set(this); 85 if (existing->mHal.state.pointSprite != pointSprite) continue; 86 if (existing->mHal.state.cull != cull) continue;
|
H A D | rsProgramVertex.cpp | 38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument 39 if ((state->mLast.get() == this) && !mDirty) { 44 if (mHal.state.constants[0] == NULL) { 50 rsc, mHal.state.constants[0])); 59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); 62 state->mLast.set(this); 73 if (mHal.state.constants[0] == NULL) { 79 rsc, mHal.state.constants[0])); 82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); 91 if (mHal.state [all...] |
H A D | rsAllocation.cpp | 33 mHal.state.mipmapControl = RS_ALLOCATION_MIPMAP_NONE; 34 mHal.state.usageFlags = usages; 35 mHal.state.mipmapControl = mc; 55 const Type *type = mHal.state.type; 56 mHal.state.dimensionX = type->getDimX(); 57 mHal.state.dimensionY = type->getDimY(); 58 mHal.state.dimensionZ = type->getDimZ(); 59 mHal.state.hasFaces = type->getDimFaces(); 60 mHal.state.hasMipmaps = type->getDimLOD(); 61 mHal.state [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 60 private ColorDrawable(ColorState state) { argument 61 mState = new ColorState(state); 183 ColorState(ColorState state) { argument 184 if (state != null) { 185 mBaseColor = state.mBaseColor; 186 mUseColor = state.mUseColor; 187 mChangingConfigurations = state.mChangingConfigurations;
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 65 bool state = false; local 66 AudioSystem::isMicrophoneMuted(&state); 67 return state; 73 bool state = false; local 74 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 75 return state; 81 bool state = false; local 82 AudioSystem::isSourceActive((audio_source_t) source, &state); 83 return state; 139 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstrin argument 153 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), local 160 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument [all...] |
H A D | android_view_VelocityTracker.cpp | 151 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 152 delete state; 156 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 157 state->clear(); 168 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 169 state->addMovement(event); 174 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 175 state->computeCurrentVelocity(units, maxVelocity); 180 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 182 state 188 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 196 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 123 GeofenceState state = new GeofenceState(geofence, 135 mFences.add(state); 148 GeofenceState state = iter.next(); 149 if (state.mIntent.equals(intent)) { 156 if (fence.equals(state.mFence)) { 174 GeofenceState state = iter.next(); 175 if (state.mPackageName.equals(packageName)) { 187 GeofenceState state = iter.next(); 188 if (state.mExpireAt < time) { 255 for (GeofenceState state [all...] |
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/ |
H A D | MockRilController.java | 87 * @return the radio state if it is valid, otherwise return -1 101 int state = resp.getState(); 102 if ((state >= RilCmds.RADIOSTATE_OFF) && (state <= RilCmds.RADIOSTATE_NV_READY)) 103 return state; 109 * Set the radio state of mock ril to the given state 110 * @param state for given radio state 111 * @return true if the state i 113 setRadioState(int state) argument [all...] |
/frameworks/av/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/libs/androidfw/ |
H A D | VelocityTracker.cpp | 229 ALOGD("VelocityTracker: stopped for %0.3f ms, clearing state.", 716 State& state = mPointerState[id]; local 719 updateState(state, eventTime, position.x, position.y); 721 initState(state, eventTime, position.x, position.y); 733 const State& state = mPointerState[id]; local 734 populateEstimator(state, outEstimator); 741 void IntegratingVelocityTrackerStrategy::initState(State& state, argument 743 state.updateTime = eventTime; 744 state.degree = 0; 746 state 754 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument 796 populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | levinson.cpp | 91 state = pointer to an array of pointers to structures of type 95 pointer pointed to by state points to the newly allocated memory to 110 This function allocates and initializes the state memory used by the 126 int Levinson_init (LevinsonState **state) 130 if (state == (LevinsonState **) NULL){ 134 *state = NULL; 138 //fprint(stderr, "Levinson_init: can not malloc state structure\n"); 143 *state = s; 171 Word16 Levinson_init(LevinsonState **state) argument 175 if (state 279 Levinson_reset(LevinsonState *state) argument 375 Levinson_exit(LevinsonState **state) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceScreen.java | 159 private void showDialog(Bundle state) { argument 182 if (state != null) { 183 dialog.onRestoreInstanceState(state); 238 protected void onRestoreInstanceState(Parcelable state) { argument 239 if (state == null || !state.getClass().equals(SavedState.class)) { 240 // Didn't save state for us in onSaveInstanceState 241 super.onRestoreInstanceState(state); 245 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 36 * <p>The state machine defined here is a hierarchical state machine which processes messages 39 * <p>A state is a <code>State</code> object and must implement 43 * cleanup of the state respectively. The <code>getName</code> method returns the 44 * name of the state the default implementation returns the class name it may be 45 * desirable to have this return the name of the state instance name instead. 46 * In particular if a particular state class has multiple instances.</p> 48 * <p>When a state machine is created <code>addState</code> is used to build the 50 * is the initial state. After construction the programmer calls <code>start</code> 51 * which initializes and starts the state machin 464 LogRec(Message msg, String info, State state, State orgState) argument 474 update(Message msg, String info, State state, State orgState) argument 632 add(Message msg, String messageInfo, State state, State orgState) argument 692 State state; field in class:StateMachine.SmHandler.StateInfo 1084 addState(State state, State parent) argument 1222 addState(State state, State parent) argument 1244 addState(State state) argument 1385 addLogRec(String string, State state) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedActivity.java | 37 protected void onRestoreInstanceState(Bundle state) argument 39 super.onRestoreInstanceState(state);
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|