/packages/apps/InCallUI/src/com/android/incallui/ |
D | InCallPresenter.java | 401 InCallState newState = getPotentialStateFromCallList(callList); in onCallListChange() local 403 newState = startOrFinishUi(newState); in onCallListChange() 406 Log.i(this, "Phone switching state: " + oldState + " -> " + newState); in onCallListChange() 407 mInCallState = newState; in onCallListChange() 429 InCallState newState = startOrFinishUi(InCallState.INCOMING); in onIncomingCall() local 432 Log.i(this, "Phone switching state: " + oldState + " -> " + newState); in onIncomingCall() 433 mInCallState = newState; in onIncomingCall() 462 InCallState newState = InCallState.NO_CALLS; in getPotentialStateFromCallList() local 465 return newState; in getPotentialStateFromCallList() 468 newState = InCallState.INCOMING; in getPotentialStateFromCallList() [all …]
|
D | VideoCallPresenter.java | 283 InCallPresenter.InCallState newState, Call call) { in onIncomingCall() argument 285 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall() 296 InCallPresenter.InCallState newState, CallList callList) { in onStateChange() argument 302 if (newState == InCallPresenter.InCallState.NO_CALLS) { in onStateChange() 308 if (newState == InCallPresenter.InCallState.INCOMING) { in onStateChange() 310 } else if (newState == InCallPresenter.InCallState.OUTGOING) { in onStateChange() 312 } else if (newState == InCallPresenter.InCallState.INCALL) { in onStateChange()
|
D | CallButtonPresenter.java | 75 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument 78 if (newState == InCallState.OUTGOING) { in onStateChange() 80 } else if (newState == InCallState.INCALL) { in onStateChange() 94 } else if (newState == InCallState.INCOMING) { in onStateChange() 102 updateUi(newState, mCall); in onStateChange() 122 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() argument 123 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall()
|
D | CallCardPresenter.java | 154 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() argument 156 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall() 160 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument 161 Log.d(this, "onStateChange() " + newState); in onStateChange() 170 if (newState == InCallState.INCOMING) { in onStateChange() 172 } else if (newState == InCallState.PENDING_OUTGOING || newState == InCallState.OUTGOING) { in onStateChange() 181 } else if (newState == InCallState.INCALL) { in onStateChange()
|
D | ConferenceManagerPresenter.java | 58 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { in onStateChange() argument 60 Log.v(this, "onStateChange" + newState); in onStateChange() 61 if (newState == InCallState.INCALL) { in onStateChange() 97 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { in onIncomingCall() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 119 int newState = msg.arg1; in processMessage() local 121 if (newState == BluetoothDevice.BOND_BONDING) in processMessage() 123 sendIntent(dev, newState, 0); in processMessage() 128 Log.e(TAG, "In stable state, received invalid newState: " + newState); in processMessage() 178 int newState = msg.arg1; in processMessage() local 180 sendIntent(dev, newState, reason); in processMessage() 181 if(newState != BluetoothDevice.BOND_BONDING ) in processMessage() 193 if (newState == BluetoothDevice.BOND_NONE) in processMessage() 202 else if (newState == BluetoothDevice.BOND_BONDED) in processMessage() 305 private void sendIntent(BluetoothDevice device, int newState, int reason) { in sendIntent() argument [all …]
|
D | AdapterState.java | 359 private void notifyAdapterStateChange(int newState) { in notifyAdapterStateChange() argument 363 Log.e(TAG,"notifyAdapterStateChange after cleanup:" + newState); in notifyAdapterStateChange() 368 adapterProperties.setState(newState); in notifyAdapterStateChange() 369 infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState); in notifyAdapterStateChange() 370 adapterService.updateAdapterState(oldState, newState); in notifyAdapterStateChange()
|
D | JniCallbacks.java | 65 void bondStateChangeCallback(int status, byte[] address, int newState) { in bondStateChangeCallback() argument 66 mBondStateMachine.bondStateChangeCallback(status, address, newState); in bondStateChangeCallback() 69 void aclStateChangeCallback(int status, byte[] address, int newState) { in aclStateChangeCallback() argument 70 mRemoteDevices.aclStateChangeCallback(status, address, newState); in aclStateChangeCallback()
|
D | AdapterProperties.java | 432 private void updateProfileConnectionState(int profile, int newState, int oldState) { in updateProfileConnectionState() argument 439 int newHashState = newState; in updateProfileConnectionState() 457 if (newState == currHashState) { in updateProfileConnectionState() 459 } else if (newState == BluetoothProfile.STATE_CONNECTED || in updateProfileConnectionState() 460 (newState == BluetoothProfile.STATE_CONNECTING && in updateProfileConnectionState()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactModifierTests.java | 795 RawContactDelta newState = new RawContactDelta(); in testMigrateWithDisplayNameFromGoogleToExchange1() local 796 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithDisplayNameFromGoogleToExchange1() 797 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange1() 839 RawContactDelta newState = new RawContactDelta(); in testMigrateWithDisplayNameFromGoogleToExchange2() local 840 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithDisplayNameFromGoogleToExchange2() 841 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange2() 885 RawContactDelta newState = new RawContactDelta(); in testMigrateWithStructuredNameFromExchangeToGoogle() local 886 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithStructuredNameFromExchangeToGoogle() 888 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithStructuredNameFromExchangeToGoogle() 907 RawContactDelta newState = new RawContactDelta(); in testMigratePostalFromGoogleToExchange() local [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 970 RawContactDelta oldState, RawContactDelta newState, in migrateStateForNewContact() argument 979 migrateStructuredName(context, oldState, newState, kind); in migrateStateForNewContact() 986 newState.addEntry(ValuesDelta.fromAfter(values)); in migrateStateForNewContact() 1003 migrateStructuredName(context, oldState, newState, kind); in migrateStateForNewContact() 1005 migratePostal(oldState, newState, kind); in migrateStateForNewContact() 1007 migrateEvent(oldState, newState, kind, null /* default Year */); in migrateStateForNewContact() 1009 migrateGenericWithoutTypeColumn(oldState, newState, kind); in migrateStateForNewContact() 1011 migrateGenericWithTypeColumn(oldState, newState, kind); in migrateStateForNewContact() 1023 private static ArrayList<ValuesDelta> ensureEntryMaxSize(RawContactDelta newState, in ensureEntryMaxSize() argument 1042 Context context, RawContactDelta oldState, RawContactDelta newState, in migrateStructuredName() argument [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | CdmaPhoneCallState.java | 92 public void setCurrentCallState(PhoneCallState newState) { in setCurrentCallState() argument 94 mCurrentCallState = newState; in setCurrentCallState() 121 public void setThreeWayCallOrigState(boolean newState) { in setThreeWayCallOrigState() argument 122 mThreeWayCallOrigStateDialing = newState; in setThreeWayCallOrigState() 135 public void setAddCallMenuStateAfterCallWaiting(boolean newState) { in setAddCallMenuStateAfterCallWaiting() argument 136 mAddCallMenuStateAfterCW = newState; in setAddCallMenuStateAfterCallWaiting()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 59 int newState = serviceState.getState(); in onReceiveWithPrivilege() local 60 if (newState != mServiceState) { in onReceiveWithPrivilege() 61 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState + in onReceiveWithPrivilege() 63 mServiceState = newState; in onReceiveWithPrivilege() 64 if (((newState == ServiceState.STATE_IN_SERVICE) || in onReceiveWithPrivilege() 65 (newState == ServiceState.STATE_EMERGENCY_ONLY)) && in onReceiveWithPrivilege()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | DrawIdler.java | 29 void onStateChanged(DrawIdler idler, int newState); in onStateChanged() argument 57 private void setState(int newState) { in setState() argument 58 if (mState == newState) { in setState() 61 mState = newState; in setState() 63 mListener.onStateChanged(this, newState); in setState()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryListInterfaceState.java | 56 final State newState; in setOpen() local 58 newState = null == state ? new State() : state; in setOpen() 59 newState.mOpen = true; in setOpen() 60 newState.mStatus = status; in setOpen() 61 mWordlistToState.put(wordlistId, newState); in setOpen()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectSyncedCalendarsMultiAccountAdapter.java | 198 boolean newState; in onClick() 202 newState = !mCalendarChanges.get(id); in onClick() 205 newState = !initialState; in onClick() 208 if (newState == initialState) { in onClick() 211 mCalendarChanges.put(id, newState); in onClick() 214 ((CheckBox) v.getTag(TAG_ID_SYNC_CHECKBOX)).setChecked(newState); in onClick() 215 setText(v, R.id.status, newState ? mSyncedText : mNotSyncedText); in onClick()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 136 boolean newState = false; in toggleState() 139 newState = false; in toggleState() 142 newState = true; in toggleState() 146 newState = !mIntendedState; in toggleState() 150 mIntendedState = newState; in toggleState() 159 requestStateChange(context, newState); in toggleState() 262 protected final void setCurrentState(Context context, int newState) { in setCurrentState() argument 264 switch (newState) { in setCurrentState()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 211 Call.State newState = mOriginalConnection.getState(); in updateState() local 212 if (VERBOSE) log("updateState, " + mOriginalConnectionState + " -> " + newState); in updateState() 213 if (force || mOriginalConnectionState != newState) { in updateState() 214 mOriginalConnectionState = newState; in updateState() 215 switch (newState) { in updateState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 597 private void broadcastConnectionState(BluetoothDevice device, int newState) { in broadcastConnectionState() argument 601 if (prevState == newState) { in broadcastConnectionState() 602 Log.w(TAG, "no state change: " + newState); in broadcastConnectionState() 605 mInputDevices.put(device, newState); in broadcastConnectionState() 610 log("Connection state " + device + ": " + prevState + "->" + newState); in broadcastConnectionState() 612 newState, prevState); in broadcastConnectionState() 615 intent.putExtra(BluetoothProfile.EXTRA_STATE, newState); in broadcastConnectionState()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 80 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 90 writeNewChecksums(stateChecksums, newState); in onBackup() 95 ParcelFileDescriptor newState) throws IOException { in onRestore() argument 124 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) in writeNewChecksums() argument 127 new FileOutputStream(newState.getFileDescriptor())); in writeNewChecksums()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 255 int newState; in handleMessage() local 256 newState = convertHalChannelState(channelStateEvent.mState); in handleMessage() 257 if (newState == BluetoothHealth.STATE_CHANNEL_DISCONNECTED && in handleMessage() 270 newState = convertHalChannelState(channelStateEvent.mState); in handleMessage() 271 if (newState == BluetoothHealth.STATE_CHANNEL_CONNECTED) { in handleMessage() 283 callHealthChannelCallback(chan.mConfig, chan.mDevice, newState, in handleMessage() 285 chan.mState = newState; in handleMessage()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ConferenceParticipantConnection.java | 63 public void updateState(int newState) { in updateState() argument 65 Connection.stateToString(newState)); in updateState() 66 if (newState == getState()) { in updateState() 70 switch (newState) { in updateState()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneStateBroadcaster.java | 44 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument 45 if ((newState == CallState.DIALING || newState == CallState.ACTIVE in onCallStateChanged() 46 || newState == CallState.ON_HOLD) && !CallsManager.getInstance().hasRingingCall()) { in onCallStateChanged()
|
/packages/apps/Nfc/nci/jni/ |
D | PowerSwitch.cpp | 222 bool PowerSwitch::setScreenOffPowerState (ScreenOffPowerState newState) in setScreenOffPowerState() argument 225 screenOffPowerStateToString(newState), newState); in setScreenOffPowerState() 228 mDesiredScreenOffPowerState = (int) newState; in setScreenOffPowerState()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserBackupAgent.java | 61 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 82 writeBackupState(savedFileSize, savedCrc, newState); in onBackup() 92 ParcelFileDescriptor newState) throws IOException { in onRestore() argument 157 writeBackupState(tmpfile.length(), crc, newState); in onRestore() local
|