/frameworks/base/services/jni/ |
H A D | com_android_server_LightsService.cpp | 110 light_state_t state; local 116 memset(&state, 0, sizeof(light_state_t)); 117 state.color = colorARGB; 118 state.flashMode = flashMode; 119 state.flashOnMS = onMS; 120 state.flashOffMS = offMS; 121 state.brightnessMode = brightnessMode; 125 devices->lights[light]->set_light(devices->lights[light], &state);
|
/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/support/v4/eclair/android/support/v4/view/ |
H A D | KeyEventCompatEclair.java | 28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument 30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 126 GeofenceState state = new GeofenceState(geofence, 138 mFences.add(state); 151 GeofenceState state = iter.next(); 152 if (state.mIntent.equals(intent)) { 159 if (fence.equals(state.mFence)) { 177 GeofenceState state = iter.next(); 178 if (state.mPackageName.equals(packageName)) { 190 GeofenceState state = iter.next(); 191 if (state.mExpireAt < time) { 258 for (GeofenceState state [all...] |
H A D | GeofenceState.java | 25 * Represents state associated with a geofence 43 int mState; // current state 101 String state; 104 state = "IN"; 107 state = "OUT"; 110 state = "?"; 112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DefaultPhoneNotifier.java | 111 PhoneConstants.DataState state) { 112 doNotifyDataConnection(sender, reason, apnType, state); 116 PhoneConstants.DataState state) { 125 if (state == PhoneConstants.DataState.CONNECTED) { 134 convertDataState(state), 190 public static int convertCallState(PhoneConstants.State state) { argument 191 switch (state) { 205 public static PhoneConstants.State convertCallState(int state) { argument 206 switch (state) { 220 public static int convertDataState(PhoneConstants.DataState state) { argument 110 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 115 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 237 convertDataState(int state) argument 254 convertDataActivityState(Phone.DataActivityState state) argument 273 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()); 108 + state + "," 120 stateFromCLCC(int state) throws ATParseEx { argument 121 switch(state) { 129 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/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 30 void disable(int state); 41 void setWindowState(int window, int state);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | SupplicantStateTracker.java | 35 * Tracks the state changes in supplicant and provides functionality 36 * that is based on these state changes: 92 //start the state machine 107 SupplicantState supState = (SupplicantState) stateChangeResult.state; 109 if (DBG) Log.d(TAG, "Supplicant state: " + supState.toString() + "\n"); 142 Log.e(TAG, "Unknown supplicant state " + supState); 147 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { argument 151 intent.putExtra(WifiManager.EXTRA_NEW_STATE, (Parcelable) state); 179 SupplicantState state = stateChangeResult.state; [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.h | 8 unsigned long state[5]; member in struct:__anon1249
|
/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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 60 private ColorDrawable(ColorState state) { argument 61 mState = new ColorState(state); 184 ColorState(ColorState state) { argument 185 if (state != null) { 186 mBaseColor = state.mBaseColor; 187 mUseColor = state.mUseColor; 188 mChangingConfigurations = state.mChangingConfigurations;
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 99 ptr += xoff * alloc->mHal.state.elementSizeBytes; 114 if (alloc->mHal.state.hasFaces) { 130 if (alloc->mHal.state.hasFaces) { 136 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) { 140 if (alloc->mHal.state.hasFaces) { 146 alloc->mHal.state.type->getLODDimX(lod), 147 alloc->mHal.state.type->getLODDimY(lod), 151 alloc->mHal.state.type->getLODDimX(lod), 152 alloc->mHal.state.type->getLODDimY(lod), 158 if (alloc->mHal.state 255 DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) argument [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateListener.java | 32 * A camera device listener that implements blocking operations on state changes. 34 * <p>Provides wait calls that block until the next unobserved state of the 55 private void setCurrentState(int state) { argument 56 if (VERBOSE) Log.v(TAG, "Camera device state now " + stateToString(state)); 58 mRecentStates.put(state); 60 throw new RuntimeException("Unable to set device state", e); 77 * Device has not reported any state yet 82 * Device is in the first-opened state (transitory) 183 * Wait until the desired state i 193 waitForState(int state, long timeout) argument 260 stateToString(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/core/jni/ |
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/native/libs/input/ |
H A D | VelocityTracker.cpp | 228 ALOGD("VelocityTracker: stopped for %0.3f ms, clearing state.", 715 State& state = mPointerState[id]; local 718 updateState(state, eventTime, position.x, position.y); 720 initState(state, eventTime, position.x, position.y); 732 const State& state = mPointerState[id]; local 733 populateEstimator(state, outEstimator); 740 void IntegratingVelocityTrackerStrategy::initState(State& state, argument 742 state.updateTime = eventTime; 743 state.degree = 0; 745 state 753 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument 795 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;
|