/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | VolumeControlAction.java | 198 void handleTimerEvent(int state) { argument 199 if (state != STATE_WAIT_FOR_NEXT_VOLUME_PRESS) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 138 private static final Condition newCondition(long time, int state) { argument 140 "", "", "", 0, state,Condition.FLAG_RELEVANT_NOW);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_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/services/tests/servicestests/src/com/android/server/ |
H A D | AccessibilityManagerServiceTest.java | 554 public void setState(int state) { argument 555 mState = state; 563 * Ensures accessibility is in a given state by writing the state to the 567 * @param enabled The accessibility state to write to the settings. 656 * arguments) within the {@link #TIMEOUT_BINDER_CALL}. The verified state is
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 55 * @param videoState The video state. 64 * @param videoState The video state. 73 * The video state of the call. 106 int state = source.readInt(); 110 return new VideoProfile(state, quality); 145 * The video state of the call, stored as a bit-field describing whether video transmission and 175 * Whether the video state is audio only. 176 * @param videoState The video state. 177 * @return Returns true if the video state is audio only. 185 * @param videoState The video state 227 hasState(int videoState, int state) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 27 * Contains precise data connection state. 32 * <li>Data connection state. 58 public PreciseDataConnectionState(int state, int networkType, argument 61 mState = state; 92 * Get data connection state 265 sb.append("Data Connection state: " + mState);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccCardConstants.java | 27 /* UNKNOWN means the ICC state is unknown */ 37 //TODO: we can remove this state in the future if Bug 18489776 analysis 62 * UNKNOWN is a transient state, for example, after user inputs ICC pin under 63 * PIN_REQUIRED state, the query for ICC status returns UNKNOWN before it 89 public static State intToState(int state) throws IllegalArgumentException { argument 90 switch(state) {
|
/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
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateCallback.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); 73 * Device has not reported any state yet 78 * Device is in the first-opened state (transitory) 135 * Wait until the desired state i 145 waitForState(int state, long timeout) argument 212 stateToString(int state) argument [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequenceJNI.cpp | 77 FrameSequenceState* state = frameSequence->createState(); local 78 return reinterpret_cast<jlong>(state); 82 // Frame sequence state
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 118 result.appendFormat("%s%s[%02d:%p] state=%-8s", prefix, 165 BufferSlot::BufferState state = mSlots[s].mBufferState; local 166 if (state == BufferSlot::QUEUED || state == BufferSlot::DEQUEUED) {
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_eglapi.cpp | 47 GLTraceState *state = (GLTraceState *)arg; local 48 TCPStream *stream = state->getStream(); 97 state->setCollectFbOnEglSwap(collectFbOnEglSwap); 98 state->setCollectFbOnGlDraw(collectFbOnGlDraw); 99 state->setCollectTextureDataOnGlTexImage(collectTextureData); 140 // initialize tracing state 164 GLTraceState *state = sGLTraceState; local 167 if (state == NULL) return; 169 // update trace state for new EGL context 170 GLTraceContext *traceContext = state 179 GLTraceState *state = sGLTraceState; local [all...] |
/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/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | BaseFragmentPagerAdapter.java | 166 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
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);
|
H A D | HardwareConfig.java | 53 * hardware state of the resource. 78 * state - see DEV_HARDWARE_STATE_ 82 public int state; field in class:HardwareConfig 130 Integer.parseInt(split[2]), /* state */ 142 Integer.parseInt(split[2]), /* state */ 150 public void assignModem(String id, int state, int model, int ratBits, argument 155 state = state; 167 public void assignSim(String id, int state, String link) { argument 171 state [all...] |
H A D | OperatorInfo.java | 63 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
|
H A D | PhoneNotifier.java | 44 PhoneConstants.DataState state); 43 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCall.java | 118 attach(Connection conn, State state) { argument 120 mState = state; 124 attachFake(Connection conn, State state) { argument 125 attach(conn, state); 221 merge(ImsPhoneCall that, State state) { argument 236 c.update(null, state); 268 update (ImsPhoneConnection conn, ImsCall imsCall, State state) { argument 269 State newState = state; 274 if (state == State.ALERTING) { 289 if ((newState != mState) && (state ! [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardStatus.java | 66 public void setCardState(int state) { argument 67 switch(state) { 78 throw new RuntimeException("Unrecognized RIL_CardState: " + state); 82 public void setUniversalPinState(int state) { argument 83 switch(state) { 103 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
/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 | rsProgram.h | 57 State state; member in struct:android::renderscript::Program::Hal
|
H A D | rsProgramFragment.cpp | 48 if (mHal.state.constants[0] == NULL) { 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); 63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument 64 if ((state->mLast.get() == this) && !mDirty) { 67 state->mLast.set(this); 69 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) { 70 if (!mHal.state.textures[ct]) {
|
H A D | rsProgramStore.cpp | 31 mHal.state.ditherEnable = ditherEnable; 33 mHal.state.colorRWriteEnable = colorMaskR; 34 mHal.state.colorGWriteEnable = colorMaskG; 35 mHal.state.colorBWriteEnable = colorMaskB; 36 mHal.state.colorAWriteEnable = colorMaskA; 37 mHal.state.blendSrc = srcFunc; 38 mHal.state.blendDst = destFunc; 40 mHal.state.depthWriteEnable = depthMask; 41 mHal.state.depthFunc = depthFunc; 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { argument [all...] |
H A D | rsType.h | 55 State state; member in struct:android::renderscript::Type::Hal 68 uint32_t getDimX() const {return mHal.state.dimX;} 69 uint32_t getDimY() const {return mHal.state.dimY;} 70 uint32_t getDimZ() const {return mHal.state.dimZ;} 72 bool getDimFaces() const {return mHal.state.faces;} 73 uint32_t getDimYuv() const {return mHal.state.dimYuv;} 76 rsAssert(lod < mHal.state.lodCount); 77 return mHal.state.lodDimX[lod]; 80 rsAssert(lod < mHal.state.lodCount); 81 return mHal.state [all...] |