Searched refs:newState (Results 1 - 25 of 52) sorted by relevance

123

/packages/services/Telephony/src/com/android/phone/
H A DCdmaPhoneCallState.java92 public void setCurrentCallState(PhoneCallState newState) { argument
94 mCurrentCallState = newState;
121 public void setThreeWayCallOrigState(boolean newState) { argument
122 mThreeWayCallOrigStateDialing = newState;
135 public void setAddCallMenuStateAfterCallWaiting(boolean newState) { argument
136 mAddCallMenuStateAfterCW = newState;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DDrawIdler.java29 void onStateChanged(DrawIdler idler, int newState); argument
57 private void setState(int newState) { argument
58 if (mState == newState) {
61 mState = newState;
63 mListener.onStateChanged(this, newState);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryListInterfaceState.java58 final State newState;
60 newState = null == state ? new State() : state;
61 newState.mOpen = true;
62 newState.mStatus = status;
63 mWordlistToState.put(wordlistId, newState);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIPolicyService.aidl22 void setAccountHoldFlag(long accountId, boolean newState);
H A DPolicyServiceProxy.java111 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { argument
113 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DJniCallbacks.java64 void bondStateChangeCallback(int status, byte[] address, int newState) { argument
65 mBondStateMachine.bondStateChangeCallback(status, address, newState);
68 void aclStateChangeCallback(int status, byte[] address, int newState) { argument
69 mRemoteDevices.aclStateChangeCallback(status, address, newState);
H A DBondStateMachine.java117 int newState = msg.arg1;
119 if (newState == BluetoothDevice.BOND_BONDING)
121 sendIntent(dev, newState, 0);
126 Log.e(TAG, "In stable state, received invalid newState: " + newState);
172 int newState = msg.arg1;
174 sendIntent(dev, newState, reason);
175 if(newState != BluetoothDevice.BOND_BONDING )
187 if (newState == BluetoothDevice.BOND_NONE)
192 else if (newState
253 sendIntent(BluetoothDevice device, int newState, int reason) argument
274 bondStateChangeCallback(int status, byte[] address, int newState) argument
[all...]
H A DAdapterState.java359 private void notifyAdapterStateChange(int newState) { argument
363 Log.e(TAG,"notifyAdapterStateChange after cleanup:" + newState);
368 adapterProperties.setState(newState);
369 infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState);
370 adapterService.updateAdapterState(oldState, newState);
H A DProfileService.java204 int profileId, int newState, int prevState) {
207 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
203 notifyProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) argument
H A DAdapterProperties.java382 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument
389 int newHashState = newState;
407 if (newState == currHashState) {
409 } else if (newState == BluetoothProfile.STATE_CONNECTED ||
410 (newState == BluetoothProfile.STATE_CONNECTING &&
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallPresenter.java226 InCallState newState = getPotentialStateFromCallList(callList);
227 newState = startOrFinishUi(newState);
231 if (!newState.isIncoming()) {
236 Log.i(this, "Phone switching state: " + mInCallState + " -> " + newState);
237 mInCallState = newState;
259 InCallState newState = startOrFinishUi(InCallState.INCOMING);
261 Log.i(this, "Phone switching state: " + mInCallState + " -> " + newState);
262 mInCallState = newState;
265 if (newState
548 startOrFinishUi(InCallState newState) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarBackupAgent.java39 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
47 super.onRestore(data, appVersionCode, newState);
/packages/apps/Email/src/com/android/email/service/
H A DPolicyService.java50 public void setAccountHoldFlag(long accountId, boolean newState) {
51 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);
/packages/apps/Settings/src/com/android/settings/
H A DNsdEnabler.java75 private void handleNsdStateChanged(int newState) { argument
76 switch (newState) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiver.java215 int newState = ss.getState();
216 if (newState != mServiceState) {
217 Log.d(TAG, "Service state changed! " + newState + " Full: " + ss);
218 mServiceState = newState;
219 if (newState == ServiceState.STATE_IN_SERVICE ||
220 newState == ServiceState.STATE_EMERGENCY_ONLY) {
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactModifierTests.java795 RawContactDelta newState = new RawContactDelta();
796 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
797 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
839 RawContactDelta newState = new RawContactDelta();
840 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
841 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
885 RawContactDelta newState = new RawContactDelta();
886 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
888 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
907 RawContactDelta newState
[all...]
/packages/apps/Settings/src/com/android/settings/nfc/
H A DNfcEnabler.java102 private void handleNfcStateChanged(int newState) { argument
103 switch (newState) {
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBackupAgent.java61 ParcelFileDescriptor newState) throws IOException {
82 writeBackupState(savedFileSize, savedCrc, newState);
92 ParcelFileDescriptor newState) throws IOException {
157 writeBackupState(tmpfile.length(), crc, newState);
60 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
91 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java79 ParcelFileDescriptor newState) throws IOException {
89 writeNewChecksums(stateChecksums, newState);
94 ParcelFileDescriptor newState) throws IOException {
123 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) argument
126 new FileOutputStream(newState.getFileDescriptor()));
78 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
93 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPaper.java123 int newState) {
128 mState = newState;
122 startAnimation(float start, float finish, long duration, int newState) argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDockEventReceiver.java86 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE,
102 if (newState == BluetoothProfile.STATE_DISCONNECTED &&
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DRawContactModifier.java970 RawContactDelta oldState, RawContactDelta newState,
979 migrateStructuredName(context, oldState, newState, kind);
986 newState.addEntry(ValuesDelta.fromAfter(values));
1003 migrateStructuredName(context, oldState, newState, kind);
1005 migratePostal(oldState, newState, kind);
1007 migrateEvent(oldState, newState, kind, null /* default Year */);
1009 migrateGenericWithoutTypeColumn(oldState, newState, kind);
1011 migrateGenericWithTypeColumn(oldState, newState, kind);
1021 * the number of entries (ValuesDelta) inside newState.
1023 private static ArrayList<ValuesDelta> ensureEntryMaxSize(RawContactDelta newState, argument
969 migrateStateForNewContact(Context context, RawContactDelta oldState, RawContactDelta newState, AccountType oldAccountType, AccountType newAccountType) argument
1041 migrateStructuredName( Context context, RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1145 migratePostal(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1256 migrateEvent(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind, Integer defaultYear) argument
1312 migrateGenericWithoutTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1329 migrateGenericWithTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMtpService.java97 public void onStorageStateChanged(String path, String oldState, String newState) {
99 Log.d(TAG, "onStorageStateChanged " + path + " " + oldState + " -> " + newState);
100 if (Environment.MEDIA_MOUNTED.equals(newState)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java177 if(DBG) Log.d(TAG, "MESSAGE_CONNECT_STATE_CHANGED newState:"+
562 // This method does not check for error conditon (newState == prevState)
563 private void broadcastConnectionState(BluetoothDevice device, int newState) { argument
567 if (prevState == newState) {
568 Log.w(TAG, "no state change: " + newState);
571 mInputDevices.put(device, newState);
576 log("Connection state " + device + ": " + prevState + "->" + newState);
578 newState, prevState);
581 intent.putExtra(BluetoothProfile.EXTRA_STATE, newState);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectSyncedCalendarsMultiAccountAdapter.java198 boolean newState;
202 newState = !mCalendarChanges.get(id);
205 newState = !initialState;
208 if (newState == initialState) {
211 mCalendarChanges.put(id, newState);
214 ((CheckBox) v.getTag(TAG_ID_SYNC_CHECKBOX)).setChecked(newState);
215 setText(v, R.id.status, newState ? mSyncedText : mNotSyncedText);

Completed in 539 milliseconds

123