Searched defs:newState (Results 1 - 25 of 26) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/
H A DNsdEnabler.java75 private void handleNsdStateChanged(int newState) { argument
76 switch (newState) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DPolicyServiceProxy.java107 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { argument
109 new PolicyServiceProxy(context).setAccountHoldFlag(account.mId, newState);
/packages/apps/Phone/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/Settings/src/com/android/settings/nfc/
H A DNfcEnabler.java102 private void handleNfcStateChanged(int newState) { argument
103 switch (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 DAdapterState.java324 private void notifyAdapterStateChange(int newState) { argument
326 mAdapterProperties.setState(newState);
327 infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState);
328 mAdapterService.updateAdapterState(oldState, 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 DProfileService.java202 int profileId, int newState, int prevState) {
205 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
201 notifyProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) argument
H A DRemoteDevices.java400 void aclStateChangeCallback(int status, byte[] address, int newState) { argument
409 if (newState == AbstractionLayer.BT_ACL_STATE_CONNECTED) {
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 &&
H A DAdapterService.java151 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument
155 m.arg2 = newState;
162 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { argument
164 (newState == BluetoothProfile.STATE_CONNECTED)){
172 binder.sendConnectionStateChange(device, profileId, newState,prevState);
323 void updateAdapterState(int prevState, int newState){ argument
329 mCallbacks.getBroadcastItem(i).onBluetoothStateChange(prevState,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
H A DUrlInputView.java186 private void changeState(int newState) { argument
187 mState = newState;
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java77 ParcelFileDescriptor newState) throws IOException {
87 writeNewChecksums(stateChecksums, newState);
92 ParcelFileDescriptor newState) throws IOException {
121 private void writeNewChecksums(long[] checksums, ParcelFileDescriptor newState) argument
124 new FileOutputStream(newState.getFileDescriptor()));
76 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
91 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
/packages/apps/Email/src/com/android/email/
H A DSecurityPolicy.java501 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) { argument
504 setAccountHoldFlag(context, account, newState);
514 * @param newState true = security hold, false = free to sync
516 public static void setAccountHoldFlag(Context context, Account account, boolean newState) { argument
517 if (newState) {
/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/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpStateMachine.java677 // This method does not check for error conditon (newState == prevState)
678 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) { argument
680 int delay = mAudioManager.setBluetoothA2dpDeviceConnectionState(device, newState);
686 newState,
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactModifier.java955 RawContactDelta oldState, RawContactDelta newState,
964 migrateStructuredName(context, oldState, newState, kind);
971 newState.addEntry(ValuesDelta.fromAfter(values));
988 migrateStructuredName(context, oldState, newState, kind);
990 migratePostal(oldState, newState, kind);
992 migrateEvent(oldState, newState, kind, null /* default Year */);
994 migrateGenericWithoutTypeColumn(oldState, newState, kind);
996 migrateGenericWithTypeColumn(oldState, newState, kind);
1006 * the number of entries (ValuesDelta) inside newState.
1008 private static ArrayList<ValuesDelta> ensureEntryMaxSize(RawContactDelta newState, argument
954 migrateStateForNewContact(Context context, RawContactDelta oldState, RawContactDelta newState, AccountType oldAccountType, AccountType newAccountType) argument
1026 migrateStructuredName( Context context, RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1130 migratePostal(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1241 migrateEvent(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind, Integer defaultYear) argument
1297 migrateGenericWithoutTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
1314 migrateGenericWithTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverTransfer.java238 void updateStateAndNotification(int newState) { argument
239 this.mState = 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/Email/src/com/android/email/activity/setup/
H A DAccountCheckSettingsFragment.java211 * @param newState The new progress state being reported
213 private void reportProgress(int newState, MessagingException ex) { argument
214 mState = newState;
221 switch (newState) {
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java136 boolean newState = false;
139 newState = false;
142 newState = true;
146 newState = !mIntendedState;
150 mIntendedState = newState;
159 requestStateChange(context, newState);
259 * @param newState one of STATE_DISABLED, STATE_ENABLED, STATE_TURNING_ON,
262 protected final void setCurrentState(Context context, int newState) { argument
264 switch (newState) {
/packages/apps/Email/src/com/android/email/activity/
H A DThreePaneLayout.java337 private boolean changePaneState(int newState, boolean animate) { argument
338 if (!isPaneCollapsible() && (newState == STATE_MIDDLE_EXPANDED)) {
339 newState = STATE_RIGHT_VISIBLE;
345 mInitialPaneState = newState;
348 if (newState == mPaneState) {
357 mPaneState = newState;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachine.java1237 // This method does not check for error conditon (newState == prevState)
1238 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) { argument
1239 log("Connection state " + device + ": " + prevState + "->" + newState);
1249 newState, prevState);
1252 intent.putExtra(BluetoothProfile.EXTRA_STATE, newState);
1257 private void broadcastAudioState(BluetoothDevice device, int newState, int prevState) { argument
1265 intent.putExtra(BluetoothProfile.EXTRA_STATE, newState);
1268 log("Audio state " + device + ": " + prevState + "->" + newState);
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DGlowPadView.java946 private void setGrabbedState(int newState) { argument
947 if (newState != mGrabbedState) {
948 if (newState != OnTriggerListener.NO_HANDLE) {
951 mGrabbedState = newState;
953 if (newState == OnTriggerListener.NO_HANDLE) {
958 mOnTriggerListener.onGrabbedStateChange(this, newState);

Completed in 8280 milliseconds

12