Searched refs:states (Results 1 - 25 of 86) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DIProcessInfoService.aidl27 void getProcessStatesFromPids(in int[] pids, out int[] states);
32 * in the states array to indicate that no process with the given PID exists.
34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraStateHolder.java117 * @param states Expected states.
121 public boolean waitForStates(final int states) { argument
122 Log.v(TAG, "waitForStates - states = " + Integer.toBinaryString(states));
126 return (states | getState()) == states;
135 * @param states States to avoid.
139 public boolean waitToAvoidStates(final int states) { argument
140 Log.v(TAG, "waitToAvoidStates - states
[all...]
/frameworks/native/include/binder/
H A DProcessInfoService.h37 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states);
46 * for that process into the "states" output array, or
53 /*out*/ int32_t* states) {
55 /*out*/ states);
52 getProcessStatesFromPids(size_t length, int32_t* pids, int32_t* states) argument
H A DIProcessInfoService.h32 /*out*/ int32_t* states) = 0;
36 /*out*/ int32_t* states,
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateWaiter.java34 * requested type arrives. Unobserved states are states that have occurred since
60 * <p>All {@code state}/{@code states} arguments used in other methods must be
63 * @param stateNames an array of string names, used to mark the range of the valid states
104 * Wait until the one of the desired {@code states} is observed, checking all
107 * <p>Any intermediate state transitions that are not in {@code states} are ignored.</p>
111 * @param states Set of desired states to observe a transition to.
117 * @throws TimeoutRuntimeException if none of the states is observed before timeout.
120 public int waitForAnyOfStates(Collection<Integer> states, fina argument
180 appendStateNames(StringBuilder s, Collection<Integer> states) argument
212 checkStateCollectionInRange(Collection<Integer> states) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorStateDrawable.java40 protected boolean onStateChange(int[] states) { argument
42 for (int state : states) {
55 return super.onStateChange(states);
/frameworks/native/libs/binder/
H A DIProcessInfoService.cpp32 /*out*/ int32_t* states)
46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) {
53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores)
72 states, length * sizeof(*states))) != NO_ERROR) {
31 getProcessStatesFromPids(size_t length, int32_t* pids, int32_t* states) argument
52 getProcessStatesAndOomScoresFromPids(size_t length, int32_t* pids, int32_t* states, int32_t* scores) argument
H A DProcessInfoService.cpp30 /*out*/ int32_t* states) {
40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states);
54 ALOGW("%s: Could not retrieve process states from ProcessInfoService after %d retries.",
29 getProcessStatesImpl(size_t length, int32_t* pids, int32_t* states) argument
H A DBufferedTextOutput.cpp87 Vector<sp<BufferedTextOutput::BufferState> > states; member in struct:android::BufferedTextOutput::ThreadState
269 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL);
270 BufferState* bs = ts->states[mIndex].get();
273 ts->states.editItemAt(mIndex) = new BufferState(mIndex);
274 bs = ts->states[mIndex].get();
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothPan.aidl33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothPbapClient.aidl30 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothA2dp.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothA2dpSink.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothAvrcpController.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothMap.aidl33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothSap.aidl33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DBluetoothProfile.java180 * states.
182 * <p> If none of the devices match any of the given states,
187 * @param states Array of states. States can be one of
193 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); argument
H A DIBluetoothHealth.aidl40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothInputDevice.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
/frameworks/base/core/java/android/util/
H A DStateSet.java25 * one or more of those states.
128 * A state set that does not contain any valid states.
145 * prohibited (if negative) {@link android.view.View} states.
146 * @param stateSet an array of {@link android.view.View} states
164 // We use negative values to indicate must-NOT-match states.
172 // We've reached the end of states to match.
177 // Continue checking other must-not-match states.
184 // Continue checking other other must-match states.
193 // We've reached the end of states to match and we didn't
205 * prohibited (if negative) {@link android.view.View} states
231 trimStateSet(int[] states, int newSize) argument
241 dump(int[] states) argument
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateCallback.java35 * requested type arrives. Unobserved states are states that have occurred since
98 * Total number of reachable states
160 * Wait until the one of the desired states is observed, checking all
165 * @param states Set of desired states to observe a transition to.
169 * @throws TimeoutRuntimeException if none of the states is observed before timeout.
172 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { argument
181 appendStates(s, states);
194 if (states
229 appendStates(StringBuilder s, Collection<Integer> states) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DKeyListener.java82 * Remove the given shift states from the edited text.
84 public void clearMetaKeyState(View view, Editable content, int states); argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DThemeUtils.java44 final int[][] states = new int[2][];
49 states[i] = DISABLED_STATE_SET;
54 states[i] = EMPTY_STATE_SET;
58 return new ColorStateList(states, colors);
/frameworks/base/core/java/android/app/
H A DActivityGroup.java33 private static final String STATES_KEY = "android:states";
53 Bundle states = savedInstanceState != null
55 mLocalActivityManager.dispatchCreate(states);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp976 FileState states[4];
980 states[0].modTime_sec = 0xfedcba98;
981 states[0].modTime_nsec = 0xdeadbeef;
982 states[0].mode = 0777; // decimal 511, hex 0x000001ff
983 states[0].size = 0xababbcbc;
984 states[0].crc32 = 0x12345678;
985 states[0].nameLen = -12;
986 r.s = states[0];
990 states[1].modTime_sec = 0x93400031;
991 states[
[all...]

Completed in 876 milliseconds

1234