/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintProgressFragment.java | 36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastController.java | 42 public int state = STATE_DISCONNECTED; field in class:CastController.CastDevice
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IPhoneStateListener.aidl | 36 void onCallStateChanged(int state, String incomingNumber); 37 void onDataConnectionStateChanged(int state, int networkType);
|
/frameworks/native/include/android/ |
H A D | storage_manager.h | 113 * "state" is one of the following constants: 123 typedef void (*AStorageManager_obbCallbackFunc)(const char* filename, const int32_t state, void* data);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | TelephonyEventBuilder.java | 53 public TelephonyEventBuilder setServiceState(TelephonyServiceState state) { argument 55 mEvent.serviceState = state; 59 public TelephonyEventBuilder setImsConnectionState(ImsConnectionState state) { argument 61 mEvent.imsConnectionState = state;
|
/frameworks/rs/driver/ |
H A D | rsdProgramRaster.cpp | 36 switch (pr->mHal.state.cull) {
|
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableCompatLollipop.java | 91 final DrawableContainer.DrawableContainerState state = 93 if (state != null) { 95 for (int i = 0, count = state.getChildCount(); i < count; i++) { 96 child = state.getChild(i);
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_sw.h | 33 SkCanvasState* state; // The externalize state in skia format. member in struct:AwPixelInfo
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaRecorderStateUnitTestTemplate.java | 65 * Calls method under test in the given state of the MediaRecorder object. 67 * @param state the MediaRecorder state in which the method under test is called. 69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { argument 70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 71 setMediaRecorderToState(state); 77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); 82 * object to the corresponding state, give 215 setMediaRecorderToState(MediaRecorderStateErrors.MediaRecorderState state) argument 251 setStateError(MediaRecorderStateErrors.MediaRecorderState state, boolean error) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockIcon.java | 120 int state = getState(); 121 boolean anyFingerprintIcon = state == STATE_FINGERPRINT || state == STATE_FINGERPRINT_ERROR; 124 if (state != mLastState || mDeviceInteractive != mLastDeviceInteractive 127 int iconRes = getAnimationResForTransition(mLastState, state, mLastDeviceInteractive, 143 iconRes = getIconForState(state, mScreenOn, mDeviceInteractive); 174 mLastState = state; 217 private int getIconForState(int state, boolean screenOn, boolean deviceInteractive) { argument 218 switch (state) {
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 207 // Calculate the twilight state based on the current time and location. 211 final TwilightState state = calculateTwilightState(location, currentTimeMillis); 213 Slog.d(TAG, "updateTwilightState: " + state); 216 // Notify listeners if the state has changed. 218 if (!Objects.equals(mLastTwilightState, state)) { 219 mLastTwilightState = state; 227 listener.onTwilightStateChanged(state); 234 // Schedule an alarm to update the state at the next sunrise or sunset. 235 if (state != null) { 236 final long triggerAtMillis = state [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaConnectionTest.java | 78 logd("Testing initial state of GsmCdmaConnection"); 96 logd("Testing initial state of GsmCdmaConnection"); 114 logd("Update the connection state from idle to active"); 115 mDC.state = DriverCall.State.ACTIVE; 118 logd("update connection state from active to holding"); 119 mDC.state = DriverCall.State.HOLDING; 132 logd("Mock connection state from alerting to active "); 133 mDC.state = DriverCall.State.ALERTING; 135 mDC.state = DriverCall.State.ACTIVE; 149 logd("Mock connection state fro [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 143 SLuint32 state; local 144 state = SL_PLAYSTATE_PLAYING; 145 result = (*playerPlay)->SetPlayState(playerPlay, state); 242 state = SL_PLAYSTATE_PAUSED; 245 state = SL_PLAYSTATE_STOPPED; 248 state = SL_PLAYSTATE_PLAYING; 250 result = (*playerPlay)->SetPlayState(playerPlay, state); 255 if (newstate != state) 256 printf("\rSetPlayState(%u) -> GetPlayState(%u)\r\n", (unsigned) state,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleDrawable.java | 49 * Drawable that shows a ripple effect in response to state changes. The 50 * anchoring position of the ripple for a given state may be specified by 51 * calling {@link #setHotspot(float, float)} with the corresponding state 257 for (int state : stateSet) { 258 if (state == R.attr.state_enabled) { 260 } else if (state == R.attr.state_focused) { 262 } else if (state == R.attr.state_pressed) { 264 } else if (state == R.attr.state_hovered) { 383 * @param color Ripple color as a color state list. 467 * Initializes the constant state fro 981 createConstantState(LayerState state, Resources res) argument 1043 RippleDrawable(RippleState state, Resources res) argument [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | JobStatus.java | 36 * Contains current state of the requirements of the job, as well as a function to evaluate 40 * and the receivers that are listening for global state change will all run on the main looper, 119 * For use only by ContentObserverController: state it is maintaining about content URIs 373 boolean setChargingConstraintSatisfied(boolean state) { argument 374 return setConstraintSatisfied(CONSTRAINT_CHARGING, state); 377 boolean setTimingDelayConstraintSatisfied(boolean state) { argument 378 return setConstraintSatisfied(CONSTRAINT_TIMING_DELAY, state); 381 boolean setDeadlineConstraintSatisfied(boolean state) { argument 382 return setConstraintSatisfied(CONSTRAINT_DEADLINE, state); 385 boolean setIdleConstraintSatisfied(boolean state) { argument 389 setConnectivityConstraintSatisfied(boolean state) argument 393 setUnmeteredConstraintSatisfied(boolean state) argument 397 setNotRoamingConstraintSatisfied(boolean state) argument 401 setAppNotIdleConstraintSatisfied(boolean state) argument 405 setContentTriggerConstraintSatisfied(boolean state) argument 409 setDeviceNotDozingConstraintSatisfied(boolean state, boolean whitelisted) argument 414 setConstraintSatisfied(int constraint, boolean state) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 1254 vadState1 *st, /* i/o : VAD state struct */ 1263 /* adapt speed on own state */ 1267 { /* low state */ 1271 { /* high state */ 1372 vadState1 *st, /* i/o : VAD state struct */ 1578 state -- double pointer to type vadState1 -- pointer to memory to 1582 state -- points to initalized area in memory. 1596 Allocates state memory and initializes state memory 1635 Word16 vad1_init(vadState1 **state) argument 1721 vad1_reset(vadState1 *state) argument 1846 vad1_exit(vadState1 **state) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 131 public void onLayoutCompleted(RecyclerView.State state) { 132 super.onLayoutCompleted(state); 276 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 286 RecyclerView.State state) { 405 RecyclerView.State state) { 411 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 448 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 525 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 526 layoutRange(recycler, 0, Math.min(state.getItemCount(), 10)); 531 RecyclerView.State state) { 3606 public void state() throws Throwable { method in class:RecyclerViewLayoutTest 4288 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument [all...] |
H A D | RecyclerViewAnimationsTest.java | 128 RecyclerView.State state) { 129 if (state.isPreLayout()) { 130 super.doLayout(recycler, lm, state); 218 AnimationLayoutManager lm, RecyclerView.State state) { 225 RecyclerView.State state) { 230 super.beforePostLayout(recycler, layoutManager, state); 236 RecyclerView.State state) { 237 super.afterPostLayout(recycler, layoutManager, state); 271 AnimationLayoutManager lm, RecyclerView.State state) { 273 super.beforePreLayout(recycler, lm, state); 1537 findByPos(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int position) argument 1549 collectPositions(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int... positions) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 49 * Manages persistent state recorded by the display manager service as an XML file. 54 * <display-manager-state> 63 * </display-manager-state> 74 // Display state by unique id. 88 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml")); 188 DisplayState state = getDisplayState(device.getUniqueId(), false); 189 if (state == null) { 192 return state.getColorMode(); 199 DisplayState state = getDisplayState(device.getUniqueId(), true); 200 if (state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDetail.java | 193 if (!visibleDiff && mDetailAdapter == adapter) return; // already in right state 246 private void handleToggleStateChanged(boolean state, boolean toggleEnabled) { argument 247 mSwitchState = state; 251 mQsDetailHeaderSwitch.setChecked(state); 256 private void handleScanStateChanged(boolean state) { argument 257 if (mScanState == state) return; 258 mScanState = state; 260 if (state) { 276 public void onToggleStateChanged(final boolean state) { 280 handleToggleStateChanged(state, [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 52 // Connection state 58 // Logical state 274 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { argument 277 Slog.d(TAG, this + ": State changed, state=" + state); 279 setDisplayState(state); 295 private void setDisplayState(RemoteDisplayState state) { argument 296 if (!Objects.equals(mDisplayState, state)) { 297 mDisplayState = state; 322 void onDisplayStateChanged(RemoteDisplayProviderProxy provider, RemoteDisplayState state); argument 406 postStateChanged(final RemoteDisplayState state) argument 436 onStateChanged(RemoteDisplayState state) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 41 // check interface state 43 SLuint8 state = *interfaceStateP; local 44 switch (state) { 48 // change state to indicate we are now adding the interface 64 // re-lock mutex to update state 69 state = INTERFACE_ADDED; 71 state = INTERFACE_INITIALIZED; 78 state = INTERFACE_INITIALIZED; 88 // mutex is locked, update state 89 *interfaceStateP = state; 299 SLuint8 state = *interfaceStateP; local [all...] |
H A D | IPlay.c | 22 static SLresult IPlay_SetPlayState(SLPlayItf self, SLuint32 state) argument 26 switch (state) { 40 if (state != oldState) { 44 // We are comparing the old state (left) vs. new state (right). 45 // Note that the old state is 3 bits wide, but new state is only 2 bits wide. 46 // That is why the old state is on the left and new state is on the right. 47 switch ((oldState << 2) | state) { 126 SLuint32 state = thiz->mState; local [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ServiceState.java | 263 final int state = (mStartedState != STATE_NOTHING || mBoundState != STATE_NOTHING 265 if (mRunState != state) { 269 } else if (state != STATE_NOTHING) { 272 mRunState = state; 293 final int state = started ? memFactor : STATE_NOTHING; 294 if (mStartedState != state) { 301 mStartedState = state; 319 final int state = bound ? memFactor : STATE_NOTHING; 320 if (mBoundState != state) { 327 mBoundState = state; 386 dumpStats(PrintWriter pw, String prefix, String prefixInner, String headerPrefix, String header, int count, int serviceType, int state, long startTime, long now, long totalTime, boolean dumpAll) argument [all...] |