/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | StateWaiter.java | 120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) { in waitForAnyOfStates() argument 121 checkStateCollectionInRange(states); in waitForAnyOfStates() 132 appendStateNames(s, states); in waitForAnyOfStates() 143 if (states.contains(nextState)) { in waitForAnyOfStates() 158 if (!states.contains(nextState)) { in waitForAnyOfStates() 162 appendStateNames(s, states); in waitForAnyOfStates() 180 public void appendStateNames(StringBuilder s, Collection<Integer> states) { in appendStateNames() argument 181 checkStateCollectionInRange(states); in appendStateNames() 184 for (Integer state : states) { in appendStateNames() 212 private Collection<Integer> checkStateCollectionInRange(Collection<Integer> states) { in checkStateCollectionInRange() argument [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraStateHolder.java | 121 public boolean waitForStates(final int states) { in waitForStates() argument 122 Log.v(TAG, "waitForStates - states = " + Integer.toBinaryString(states)); in waitForStates() 126 return (states | getState()) == states; in waitForStates() 139 public boolean waitToAvoidStates(final int states) { 140 Log.v(TAG, "waitToAvoidStates - states = " + Integer.toBinaryString(states)); 144 return (states & getState()) == 0;
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 976 FileState states[4]; in backup_helper_test_four() local 980 states[0].modTime_sec = 0xfedcba98; in backup_helper_test_four() 981 states[0].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() 982 states[0].mode = 0777; // decimal 511, hex 0x000001ff in backup_helper_test_four() 983 states[0].size = 0xababbcbc; in backup_helper_test_four() 984 states[0].crc32 = 0x12345678; in backup_helper_test_four() 985 states[0].nameLen = -12; in backup_helper_test_four() 986 r.s = states[0]; in backup_helper_test_four() 990 states[1].modTime_sec = 0x93400031; in backup_helper_test_four() 991 states[1].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() [all …]
|
/frameworks/native/libs/binder/ |
D | IProcessInfoService.cpp | 32 /*out*/ int32_t* states) in getProcessStatesFromPids() argument 46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) { in getProcessStatesFromPids() 53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores) in getProcessStatesAndOomScoresFromPids() argument 72 states, length * sizeof(*states))) != NO_ERROR) { in getProcessStatesAndOomScoresFromPids()
|
D | BufferedTextOutput.cpp | 87 Vector<sp<BufferedTextOutput::BufferState> > states; member 269 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); in getBuffer() 270 BufferState* bs = ts->states[mIndex].get(); in getBuffer() 273 ts->states.editItemAt(mIndex) = new BufferState(mIndex); in getBuffer() 274 bs = ts->states[mIndex].get(); in getBuffer()
|
D | ProcessInfoService.cpp | 30 /*out*/ int32_t* states) { in getProcessStatesImpl() argument 40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states); in getProcessStatesImpl()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingStateCallback.java | 172 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { in waitForAnyOfStates() argument 181 appendStates(s, states); in waitForAnyOfStates() 194 if (states.contains(nextState)) break; in waitForAnyOfStates() 207 if (!states.contains(nextState)) { in waitForAnyOfStates() 211 appendStates(s, states); in waitForAnyOfStates() 229 public static void appendStates(StringBuilder s, Collection<Integer> states) { in appendStates() argument 231 for (Integer state : states) { in appendStates()
|
/frameworks/base/core/java/android/util/ |
D | StateSet.java | 231 public static int[] trimStateSet(int[] states, int newSize) { in trimStateSet() argument 232 if (states.length == newSize) { in trimStateSet() 233 return states; in trimStateSet() 237 System.arraycopy(states, 0, trimmedStates, 0, newSize); in trimStateSet() 241 public static String dump(int[] states) { in dump() argument 244 int count = states.length; in dump() 247 switch (states[i]) { in dump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 965 String states[] = (String[])ar.result; in handleMessage() local 969 if (states.length >= 3) { in handleMessage() 971 if (states[1] != null && states[1].length() > 0) { in handleMessage() 972 lac = Integer.parseInt(states[1], 16); in handleMessage() 974 if (states[2] != null && states[2].length() > 0) { in handleMessage() 975 cid = Integer.parseInt(states[2], 16); in handleMessage() 989 if (states.length > 9) { in handleMessage() 991 if (states[4] != null) { in handleMessage() 992 baseStationId = Integer.parseInt(states[4]); in handleMessage() 994 if (states[5] != null) { in handleMessage() [all …]
|
/frameworks/native/include/binder/ |
D | ProcessInfoService.h | 37 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states); 53 /*out*/ int32_t* states) { in getProcessStatesFromPids() argument 55 /*out*/ states); in getProcessStatesFromPids()
|
D | IProcessInfoService.h | 32 /*out*/ int32_t* states) = 0; 36 /*out*/ int32_t* states,
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorStateDrawable.java | 40 protected boolean onStateChange(int[] states) { in onStateChange() argument 42 for (int state : states) { in onStateChange() 55 return super.onStateChange(states); in onStateChange()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ThemeUtils.java | 44 final int[][] states = new int[2][]; in createDisabledStateList() local 49 states[i] = DISABLED_STATE_SET; in createDisabledStateList() 54 states[i] = EMPTY_STATE_SET; in createDisabledStateList() 58 return new ColorStateList(states, colors); in createDisabledStateList()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | StateListDrawable.java | 174 final int[] states = extractStateSet(attrs); in inflateChildElements() local 191 state.addStateSet(states, dr); in inflateChildElements() 204 int[] states = new int[numAttrs]; in extractStateSet() local 216 states[j++] = attrs.getAttributeBooleanValue(i, false) in extractStateSet() 220 states = StateSet.trimStateSet(states, j); in extractStateSet() 221 return states; in extractStateSet()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 153 public ColorStateList(int[][] states, @ColorInt int[] colors) { in ColorStateList() argument 154 mStateSpecs = states; in ColorStateList() 604 final int[] states = stateSpecs[specIndex]; in hasState() local 605 final int stateCount = states.length; in hasState() 607 if (states[stateIndex] == state || states[stateIndex] == ~state) { in hasState() 632 final int[][] states = mStateSpecs; in onColorsChanged() local 634 final int N = states.length; in onColorsChanged() 639 if (states[i].length == 0) { in onColorsChanged()
|
/frameworks/base/core/java/android/os/ |
D | IProcessInfoService.aidl | 27 void getProcessStatesFromPids(in int[] pids, out int[] states); in getProcessStatesFromPids() argument 34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
|
/frameworks/support/design/eclair-mr1/android/support/design/widget/ |
D | FloatingActionButtonEclairMr1.java | 268 final int[][] states = new int[3][]; in createColorStateList() local 272 states[i] = FOCUSED_ENABLED_STATE_SET; in createColorStateList() 276 states[i] = PRESSED_ENABLED_STATE_SET; in createColorStateList() 281 states[i] = new int[0]; in createColorStateList() 285 return new ColorStateList(states, colors); in createColorStateList()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 417 public void clearMetaKeyState(View view, Editable content, int states) { in clearMetaKeyState() argument 418 clearMetaKeyState(content, states); in clearMetaKeyState() 421 public static void clearMetaKeyState(Editable content, int states) { in clearMetaKeyState() argument 422 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP); in clearMetaKeyState() 423 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT); in clearMetaKeyState() 424 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM); in clearMetaKeyState() 425 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING); in clearMetaKeyState()
|
/frameworks/base/core/java/android/app/ |
D | ActivityGroup.java | 53 Bundle states = savedInstanceState != null in onCreate() local 55 mLocalActivityManager.dispatchCreate(states); in onCreate()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 2243 int firstToken = deltaTimeToken | (cur.states&DELTA_STATE_MASK); in writeHistoryDelta() 2301 + " states=0x" + Integer.toHexString(cur.states)); in writeHistoryDelta() 2386 | (h.states&(~STATE_BATTERY_MASK)); in buildStateInt() 2525 cur.states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~STATE_BATTERY_MASK)); in readHistoryDelta() 2549 + " states=0x" + Integer.toHexString(cur.states)); in readHistoryDelta() 2551 cur.states = (firstToken&DELTA_STATE_MASK) | (cur.states&(~STATE_BATTERY_MASK)); in readHistoryDelta() 2623 final int diffStates = mHistoryLastWritten.states^(cur.states&mActiveHistoryStates); in addHistoryBufferLocked() 2625 final int lastDiffStates = mHistoryLastWritten.states^mHistoryLastLastWritten.states; in addHistoryBufferLocked() 2691 final int curStates = cur.states & HistoryItem.SETTLE_TO_ZERO_STATES in addHistoryBufferLocked() 2693 if (mHistoryLastWritten.states != curStates) { in addHistoryBufferLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogController.java | 324 StreamState ss = mState.states.get(stream); 327 mState.states.put(stream, ss); 835 boolean changed = mState.states.indexOfKey(stream) < 0; in onRemoteUpdate() 874 mState.states.remove(stream); 927 public final SparseArray<StreamState> states = new SparseArray<StreamState>(); 938 for (int i = 0; i < states.size(); i++) { 939 rt.states.put(states.keyAt(i), states.valueAt(i).copy()); 958 for (int i = 0; i < states.size(); i++) { 962 final int stream = states.keyAt(i); 963 final StreamState ss = states.valueAt(i);
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 229 public boolean clearMetaKeyStates(int states) { in clearMetaKeyStates() argument 230 return mTarget.clearMetaKeyStates(states); in clearMetaKeyStates()
|
/frameworks/base/core/java/android/content/ |
D | UndoManager.java | 690 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { in findPrevState() argument 691 final int N = states.size(); in findPrevState() 704 UndoState state = states.get(from); in findPrevState() 714 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { in findNextState() argument 715 final int N = states.size(); in findNextState() 728 UndoState state = states.get(from); in findNextState()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 491 int[] states = KEY_STATE_NORMAL; in getCurrentDrawableState() local 495 states = KEY_STATE_PRESSED_ON; in getCurrentDrawableState() 497 states = KEY_STATE_NORMAL_ON; in getCurrentDrawableState() 502 states = KEY_STATE_PRESSED_OFF; in getCurrentDrawableState() 504 states = KEY_STATE_NORMAL_OFF; in getCurrentDrawableState() 508 states = KEY_STATE_PRESSED; in getCurrentDrawableState() 512 return states; in getCurrentDrawableState()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothManager.java | 169 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates() argument 182 devices = iGatt.getDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|