/frameworks/base/core/java/android/util/ |
D | StateSet.java | 143 public static int[] trimStateSet(int[] states, int newSize) { in trimStateSet() argument 144 if (states.length == newSize) { in trimStateSet() 145 return states; in trimStateSet() 149 System.arraycopy(states, 0, trimmedStates, 0, newSize); in trimStateSet() 153 public static String dump(int[] states) { in dump() argument 156 int count = states.length; in dump() 159 switch (states[i]) { in dump()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceStateTracker.java | 319 String states[] = (String[])ar.result; in handleMessage() local 326 if (states.length > 9) { in handleMessage() 328 if (states[4] != null) { in handleMessage() 329 baseStationId = Integer.parseInt(states[4]); in handleMessage() 331 if (states[5] != null) { in handleMessage() 332 baseStationLatitude = Integer.parseInt(states[5]); in handleMessage() 334 if (states[6] != null) { in handleMessage() 335 baseStationLongitude = Integer.parseInt(states[6]); in handleMessage() 342 if (states[8] != null) { in handleMessage() 343 systemId = Integer.parseInt(states[8]); in handleMessage() [all …]
|
D | CdmaLteServiceStateTracker.java | 123 String states[] = (String[])ar.result; in handlePollStateResultMessage() local 127 if (states.length > 0) { in handlePollStateResultMessage() 129 regState = Integer.parseInt(states[0]); in handlePollStateResultMessage() 132 if (states.length >= 4 && states[3] != null) { in handlePollStateResultMessage() 133 type = Integer.parseInt(states[3]); in handlePollStateResultMessage()
|
/frameworks/base/libs/utils/ |
D | BackupHelpers.cpp | 978 FileState states[4]; in backup_helper_test_four() local 982 states[0].modTime_sec = 0xfedcba98; in backup_helper_test_four() 983 states[0].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() 984 states[0].mode = 0777; // decimal 511, hex 0x000001ff in backup_helper_test_four() 985 states[0].size = 0xababbcbc; in backup_helper_test_four() 986 states[0].crc32 = 0x12345678; in backup_helper_test_four() 987 states[0].nameLen = -12; in backup_helper_test_four() 988 r.s = states[0]; in backup_helper_test_four() 992 states[1].modTime_sec = 0x93400031; in backup_helper_test_four() 993 states[1].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() [all …]
|
D | BufferedTextOutput.cpp | 84 Vector<sp<BufferedTextOutput::BufferState> > states; member 266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); in getBuffer() 267 BufferState* bs = ts->states[mIndex].get(); in getBuffer() 270 ts->states.editItemAt(mIndex) = new BufferState(mIndex); in getBuffer() 271 bs = ts->states[mIndex].get(); in getBuffer()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmServiceStateTracker.java | 323 String states[] = (String[])ar.result; in handleMessage() local 326 if (states.length >= 3) { in handleMessage() 328 if (states[1] != null && states[1].length() > 0) { in handleMessage() 329 lac = Integer.parseInt(states[1], 16); in handleMessage() 331 if (states[2] != null && states[2].length() > 0) { in handleMessage() 332 cid = Integer.parseInt(states[2], 16); in handleMessage() 526 String states[]; in handlePollStateResult() local 557 states = (String[])ar.result; in handlePollStateResult() 563 if (states.length > 0) { in handlePollStateResult() 565 regState = Integer.parseInt(states[0]); in handlePollStateResult() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1243 && ((mHistoryLastWritten.states^mHistoryCur.states)&mChangedBufferStates) == 0) { in addHistoryBufferLocked() 1258 mChangedBufferStates |= mHistoryLastWritten.states^mHistoryCur.states; in addHistoryBufferLocked() 1278 || ((mHistoryEnd.states^mHistoryCur.states) in addHistoryBufferLocked() 1325 && ((mHistoryEnd.states^mHistoryCur.states)&mChangedStates) == 0) { in addHistoryRecordLocked() 1337 mChangedStates |= mHistoryEnd.states^mHistoryCur.states; in addHistoryRecordLocked() 1358 || ((mHistoryEnd.states^mHistoryCur.states) in addHistoryRecordLocked() 1497 mHistoryCur.states |= HistoryItem.STATE_WAKE_LOCK_FLAG; in noteStartWakeLocked() 1499 + Integer.toHexString(mHistoryCur.states)); in noteStartWakeLocked() 1517 mHistoryCur.states &= ~HistoryItem.STATE_WAKE_LOCK_FLAG; in noteStopWakeLocked() 1519 + Integer.toHexString(mHistoryCur.states)); in noteStopWakeLocked() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | StateListDrawable.java | 157 int[] states = new int[numAttrs]; in inflate() local 164 states[j++] = attrs.getAttributeBooleanValue(i, false) in inflate() 169 states = StateSet.trimStateSet(states, j); in inflate() 186 mStateListState.addStateSet(states, dr); in inflate()
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 78 public ColorStateList(int[][] states, int[] colors) { in ColorStateList() argument 79 mStateSpecs = states; in ColorStateList() 82 if (states.length > 0) { in ColorStateList() 85 for (int i = 0; i < states.length; i++) { in ColorStateList() 86 if (states[i].length == 0) { in ColorStateList()
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
D | block_switch.c | 34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]); 339 static Word16 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]) in IIRFilter() argument 345 accu3 = accu1 - states[0]; in IIRFilter() 346 accu2 = fixmul( coeff[0], states[1] ); in IIRFilter() 349 states[0] = accu1; in IIRFilter() 350 states[1] = out; in IIRFilter()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 358 public void clearMetaKeyState(View view, Editable content, int states) { in clearMetaKeyState() argument 359 clearMetaKeyState(content, states); in clearMetaKeyState() 362 public static void clearMetaKeyState(Editable content, int states) { in clearMetaKeyState() argument 363 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP); in clearMetaKeyState() 364 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT); in clearMetaKeyState() 365 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM); in clearMetaKeyState() 366 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING); in clearMetaKeyState()
|
D | KeyListener.java | 78 public void clearMetaKeyState(View view, Editable content, int states); in clearMetaKeyState() argument
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 472 public int states; field in BatteryStats.HistoryItem 497 dest.writeInt(states); in writeToParcel() 510 states = src.readInt(); in readFromParcel() 548 | (states&DELTA_STATE_MASK); in writeDelta() 587 + " states=0x" + Integer.toHexString(states)); in writeDelta() 601 | (states&(~DELTA_STATE_MASK)); in buildStateInt() 641 states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~DELTA_STATE_MASK)); in readDelta() 650 + " states=0x" + Integer.toHexString(states)); in readDelta() 652 states = (firstToken&DELTA_STATE_MASK) | (states&(~DELTA_STATE_MASK)); in readDelta() 665 states = 0; in clear() [all …]
|
/frameworks/base/core/java/android/server/ |
D | BluetoothInputProfileHandler.java | 132 List<BluetoothDevice> getInputDevicesMatchingConnectionStates(int[] states) { in getInputDevicesMatchingConnectionStates() argument 133 List<BluetoothDevice> devices = lookupInputDevicesMatchingStates(states); in getInputDevicesMatchingConnectionStates() 152 List<BluetoothDevice> lookupInputDevicesMatchingStates(int[] states) { in lookupInputDevicesMatchingStates() argument 157 for (int state : states) { in lookupInputDevicesMatchingStates()
|
D | BluetoothHealthProfileHandler.java | 310 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { in findChannelByStates() argument 314 for (int state : states) { in findChannelByStates() 546 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { in getHealthDevicesMatchingConnectionStates() argument 547 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states); in getHealthDevicesMatchingConnectionStates() 551 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { in lookupHealthDevicesMatchingStates() argument 556 for (int state : states) { in lookupHealthDevicesMatchingStates()
|
/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/widget/multiwaveview/ |
D | TargetDrawable.java | 109 int[] states = d.getState(); in isActive() local 110 for (int i = 0; i < states.length; i++) { in isActive() 111 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/frameworks/base/core/java/android/bluetooth/ |
D | IBluetooth.aidl | 99 List<BluetoothDevice> getInputDevicesMatchingConnectionStates(in int[] states); in getInputDevicesMatchingConnectionStates() argument 108 List<BluetoothDevice> getPanDevicesMatchingConnectionStates(in int[] states); in getPanDevicesMatchingConnectionStates() argument 122 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states); in getHealthDevicesMatchingConnectionStates() argument
|
D | BluetoothProfile.java | 142 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); in getDevicesMatchingConnectionStates() argument
|
D | BluetoothPan.java | 236 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 240 return mService.getPanDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
D | IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() argument
|
D | BluetoothInputDevice.java | 217 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { in getDevicesMatchingConnectionStates() argument 221 return mService.getInputDevicesMatchingConnectionStates(states); in getDevicesMatchingConnectionStates()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 117 public boolean clearMetaKeyStates(int states) { in clearMetaKeyStates() argument 118 return mTarget.clearMetaKeyStates(states); in clearMetaKeyStates()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 65 public boolean clearMetaKeyStates(int states) { in clearMetaKeyStates() argument 71 kl.clearMetaKeyState(mTextView, content, states); in clearMetaKeyStates()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 479 int[] states = KEY_STATE_NORMAL; in getCurrentDrawableState() local 483 states = KEY_STATE_PRESSED_ON; in getCurrentDrawableState() 485 states = KEY_STATE_NORMAL_ON; in getCurrentDrawableState() 490 states = KEY_STATE_PRESSED_OFF; in getCurrentDrawableState() 492 states = KEY_STATE_NORMAL_OFF; in getCurrentDrawableState() 496 states = KEY_STATE_PRESSED; in getCurrentDrawableState() 500 return states; in getCurrentDrawableState()
|