/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 117 int newState = msg.arg1; in processMessage() local 119 if (newState == BluetoothDevice.BOND_BONDING) in processMessage() 121 sendIntent(dev, newState, 0); in processMessage() 126 Log.e(TAG, "In stable state, received invalid newState: " + newState); in processMessage() 172 int newState = msg.arg1; in processMessage() local 174 sendIntent(dev, newState, reason); in processMessage() 175 if(newState != BluetoothDevice.BOND_BONDING ) in processMessage() 187 if (newState == BluetoothDevice.BOND_NONE) in processMessage() 192 else if (newState == BluetoothDevice.BOND_BONDED) in processMessage() 253 private void sendIntent(BluetoothDevice device, int newState, int reason) { in sendIntent() argument [all …]
|
D | JniCallbacks.java | 64 void bondStateChangeCallback(int status, byte[] address, int newState) { in bondStateChangeCallback() argument 65 mBondStateMachine.bondStateChangeCallback(status, address, newState); in bondStateChangeCallback() 68 void aclStateChangeCallback(int status, byte[] address, int newState) { in aclStateChangeCallback() argument 69 mRemoteDevices.aclStateChangeCallback(status, address, newState); in aclStateChangeCallback()
|
D | AdapterState.java | 324 private void notifyAdapterStateChange(int newState) { in notifyAdapterStateChange() argument 326 mAdapterProperties.setState(newState); in notifyAdapterStateChange() 327 infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState); in notifyAdapterStateChange() 328 mAdapterService.updateAdapterState(oldState, newState); in notifyAdapterStateChange()
|
D | AdapterProperties.java | 382 private void updateProfileConnectionState(int profile, int newState, int oldState) { in updateProfileConnectionState() argument 389 int newHashState = newState; in updateProfileConnectionState() 407 if (newState == currHashState) { in updateProfileConnectionState() 409 } else if (newState == BluetoothProfile.STATE_CONNECTED || in updateProfileConnectionState() 410 (newState == BluetoothProfile.STATE_CONNECTING && in updateProfileConnectionState()
|
D | ProfileService.java | 202 int profileId, int newState, int prevState) { in notifyProfileConnectionStateChanged() argument 205 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState); in notifyProfileConnectionStateChanged()
|
/packages/apps/Phone/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 | 218 int newState = ss.getState(); in onServiceStateChanged() local 219 if (newState != mServiceState) { in onServiceStateChanged() 220 Log.d(TAG, "Service state changed! " + newState + " Full: " + ss); in onServiceStateChanged() 221 mServiceState = newState; in onServiceStateChanged() 222 if (newState == ServiceState.STATE_IN_SERVICE || in onServiceStateChanged() 223 newState == ServiceState.STATE_EMERGENCY_ONLY) { in onServiceStateChanged()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RawContactModifierTests.java | 793 RawContactDelta newState = new RawContactDelta(); in testMigrateWithDisplayNameFromGoogleToExchange1() local 794 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithDisplayNameFromGoogleToExchange1() 795 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange1() 837 RawContactDelta newState = new RawContactDelta(); in testMigrateWithDisplayNameFromGoogleToExchange2() local 838 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithDisplayNameFromGoogleToExchange2() 839 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange2() 883 RawContactDelta newState = new RawContactDelta(); in testMigrateWithStructuredNameFromExchangeToGoogle() local 884 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); in testMigrateWithStructuredNameFromExchangeToGoogle() 886 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE); in testMigrateWithStructuredNameFromExchangeToGoogle() 905 RawContactDelta newState = new RawContactDelta(); in testMigratePostalFromGoogleToExchange() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 955 RawContactDelta oldState, RawContactDelta newState, in migrateStateForNewContact() argument 964 migrateStructuredName(context, oldState, newState, kind); in migrateStateForNewContact() 971 newState.addEntry(ValuesDelta.fromAfter(values)); in migrateStateForNewContact() 988 migrateStructuredName(context, oldState, newState, kind); in migrateStateForNewContact() 990 migratePostal(oldState, newState, kind); in migrateStateForNewContact() 992 migrateEvent(oldState, newState, kind, null /* default Year */); in migrateStateForNewContact() 994 migrateGenericWithoutTypeColumn(oldState, newState, kind); in migrateStateForNewContact() 996 migrateGenericWithTypeColumn(oldState, newState, kind); in migrateStateForNewContact() 1008 private static ArrayList<ValuesDelta> ensureEntryMaxSize(RawContactDelta newState, in ensureEntryMaxSize() argument 1027 Context context, RawContactDelta oldState, RawContactDelta newState, in migrateStructuredName() argument [all …]
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectSyncedCalendarsMultiAccountAdapter.java | 173 boolean newState; in onClick() 177 newState = !mCalendarChanges.get(id); in onClick() 180 newState = !initialState; in onClick() 183 if (newState == initialState) { in onClick() 186 mCalendarChanges.put(id, newState); in onClick() 189 ((CheckBox) v.getTag(TAG_ID_SYNC_CHECKBOX)).setChecked(newState); in onClick() 190 setText(v, R.id.status, newState ? mSyncedText : mNotSyncedText); in onClick()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | ThreePaneLayout.java | 337 private boolean changePaneState(int newState, boolean animate) { in changePaneState() argument 338 if (!isPaneCollapsible() && (newState == STATE_MIDDLE_EXPANDED)) { in changePaneState() 339 newState = STATE_RIGHT_VISIBLE; in changePaneState() 345 mInitialPaneState = newState; in changePaneState() 348 if (newState == mPaneState) { in changePaneState() 357 mPaneState = newState; in changePaneState()
|
/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
|
D | AutoFillSettingsFragment.java | 264 boolean newState = (mFullNameEdit.getText().toString().length() > 0 || in updateSaveMenuItemState() 275 if (currentState != newState) { in updateSaveMenuItemState() 276 mSaveMenuItem.setEnabled(newState); in updateSaveMenuItemState()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | DictionaryBackupAgent.java | 77 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 87 writeNewChecksums(stateChecksums, newState); in onBackup() 92 ParcelFileDescriptor newState) throws IOException { in onRestore() argument 121 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) in writeNewChecksums() argument 124 new FileOutputStream(newState.getFileDescriptor())); in writeNewChecksums()
|
/packages/apps/Email/src/com/android/email/service/ |
D | PolicyService.java | 46 public void setAccountHoldFlag(long accountId, boolean newState) { 47 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);
|
/packages/apps/Settings/src/com/android/settings/ |
D | NsdEnabler.java | 75 private void handleNsdStateChanged(int newState) { in handleNsdStateChanged() argument 76 switch (newState) { in handleNsdStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 563 private void broadcastConnectionState(BluetoothDevice device, int newState) { in broadcastConnectionState() argument 567 if (prevState == newState) { in broadcastConnectionState() 568 Log.w(TAG, "no state change: " + newState); in broadcastConnectionState() 571 mInputDevices.put(device, newState); in broadcastConnectionState() 576 log("Connection state " + device + ": " + prevState + "->" + newState); in broadcastConnectionState() 578 newState, prevState); in broadcastConnectionState() 581 intent.putExtra(BluetoothProfile.EXTRA_STATE, newState); in broadcastConnectionState()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | PolicyServiceProxy.java | 107 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { in setAccountHoldFlag() argument 109 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState); in setAccountHoldFlag()
|
D | IPolicyService.aidl | 22 void setAccountHoldFlag(long accountId, boolean newState); in setAccountHoldFlag() argument
|
/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/apps/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 102 private void handleNfcStateChanged(int newState) { in handleNfcStateChanged() argument 103 switch (newState) { in handleNfcStateChanged()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpService.java | 87 public void onStorageStateChanged(String path, String oldState, String newState) { 89 Log.d(TAG, "onStorageStateChanged " + path + " " + oldState + " -> " + newState); 90 if (Environment.MEDIA_MOUNTED.equals(newState)) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 123 int newState) { in startAnimation() argument 128 mState = newState; in startAnimation()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DockEventReceiver.java | 86 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, in onReceive() local 102 if (newState == BluetoothProfile.STATE_DISCONNECTED && in onReceive()
|
D | LocalBluetoothProfileManager.java | 225 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); in onReceive() local 227 if (newState == BluetoothProfile.STATE_DISCONNECTED && in onReceive() 232 cachedDevice.onProfileStateChanged(mProfile, newState); in onReceive()
|