/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothProfileState.java | 66 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); 67 if (mProfile == HFP && (newState == BluetoothProfile.STATE_CONNECTED || 68 newState == BluetoothProfile.STATE_DISCONNECTED)) { 72 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); 73 if (mProfile == A2DP && (newState == BluetoothProfile.STATE_CONNECTED || 74 newState == BluetoothProfile.STATE_DISCONNECTED)) { 78 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); 79 if (mProfile == HID && (newState == BluetoothProfile.STATE_CONNECTED || 80 newState == BluetoothProfile.STATE_DISCONNECTED)) {
|
D | BluetoothHealthCallback.java | 62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, in onHealthChannelStateChange() argument 65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd + in onHealthChannelStateChange()
|
D | BluetoothDeviceProfileState.java | 134 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); 137 if (newState == BluetoothHeadset.STATE_CONNECTED) { 140 mA2dpState = newState; 142 newState == BluetoothA2dp.STATE_DISCONNECTED) { 145 if (newState == BluetoothProfile.STATE_CONNECTED || 146 newState == BluetoothProfile.STATE_DISCONNECTED) { 150 int newState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, 0); 153 if (newState == BluetoothHeadset.STATE_CONNECTED) { 156 mHeadsetState = newState; 158 newState == BluetoothHeadset.STATE_DISCONNECTED) { [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupHelperDispatcher.java | 46 ParcelFileDescriptor newState) throws IOException { in performBackup() argument 53 FileDescriptor newStateFD = newState.getFileDescriptor(); in performBackup() 62 doOneBackup(oldState, data, newState, header, helper); in performBackup() 76 doOneBackup(oldState, data, newState, header, helper); in performBackup() 81 ParcelFileDescriptor newState, Header header, BackupHelper helper) in doOneBackup() argument 84 FileDescriptor newStateFD = newState.getFileDescriptor(); in doOneBackup() 95 helper.performBackup(oldState, data, newState); in doOneBackup() 106 ParcelFileDescriptor newState) in performRestore() argument 139 helper.writeNewStateDescription(newState); in performRestore()
|
D | BackupAgentHelper.java | 65 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 66 mDispatcher.performBackup(oldState, data, newState); in onBackup() 73 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument 75 mDispatcher.performRestore(data, appVersionCode, newState); in onRestore()
|
D | BackupHelper.java | 70 ParcelFileDescriptor newState); in performBackup() argument 103 public void writeNewStateDescription(ParcelFileDescriptor newState); in writeNewStateDescription() argument
|
D | FullBackupAgent.java | 32 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 37 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument
|
D | FileBackupHelperBase.java | 54 ParcelFileDescriptor newState, String[] files, String[] keys) { in performBackup_checked() argument 71 FileDescriptor newStateFd = newState.getFileDescriptor(); in performBackup_checked() 122 int data, FileDescriptor newState, String[] files, String[] keys); in performBackup_native() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IccCardApplication.java | 130 AppState newState; in AppStateFromRILInt() local 133 case 0: newState = AppState.APPSTATE_UNKNOWN; break; in AppStateFromRILInt() 134 case 1: newState = AppState.APPSTATE_DETECTED; break; in AppStateFromRILInt() 135 case 2: newState = AppState.APPSTATE_PIN; break; in AppStateFromRILInt() 136 case 3: newState = AppState.APPSTATE_PUK; break; in AppStateFromRILInt() 137 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break; in AppStateFromRILInt() 138 case 5: newState = AppState.APPSTATE_READY; break; in AppStateFromRILInt() 143 return newState; in AppStateFromRILInt()
|
D | EventLogTags.logtags | 46 50113 gsm_data_state_change (oldState|3), (newState|3) 49 50114 gsm_service_state_change (oldState|1|5), (oldGprsState|1|5), (newState|1|5), (newGprsState|1|… 52 50115 cdma_data_state_change (oldState|3), (newState|3) 55 50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1…
|
D | IccCard.java | 425 State oldState, newState; in handleIccCardStatus() local 429 newState = getIccCardState(); in handleIccCardStatus() 430 mState = newState; in handleIccCardStatus() 435 (oldState != State.PIN_REQUIRED && newState == State.PIN_REQUIRED) in handleIccCardStatus() 436 || (oldState != State.PUK_REQUIRED && newState == State.PUK_REQUIRED)); in handleIccCardStatus() 437 transitionedIntoAbsent = (oldState != State.ABSENT && newState == State.ABSENT); in handleIccCardStatus() 439 && newState == State.NETWORK_LOCKED); in handleIccCardStatus() 441 && newState == State.PERM_DISABLED); in handleIccCardStatus() 443 oldState.iccCardExist() && newState == State.ABSENT); in handleIccCardStatus() 445 newState != null && newState.iccCardExist()); in handleIccCardStatus() [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountServiceListener.java | 82 String newState; in onTransact() local 83 newState = data.readString(); in onTransact() 84 this.onStorageStateChanged(path, oldState, newState); in onTransact() 136 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument 144 _data.writeString(newState); in onStorageStateChanged() 174 public void onStorageStateChanged(String path, String oldState, String newState) in onStorageStateChanged() argument
|
D | StorageManager.java | 88 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument 91 mListeners.get(i).sendStorageStateChanged(path, oldState, newState); in onStorageStateChanged() 235 public String newState; field in StorageManager.StorageStateChangedStorageEvent 241 newState = newS; in StorageStateChangedStorageEvent() 264 … mStorageEventListener.onStorageStateChanged(ev.path, ev.oldState, ev.newState); in ListenerDelegate() 281 void sendStorageStateChanged(String path, String oldState, String newState) { in sendStorageStateChanged() argument 282 … StorageStateChangedStorageEvent e = new StorageStateChangedStorageEvent(path, oldState, newState); in sendStorageStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 119 …ublic void onStorageStateChanged(final String path, final String oldState, final String newState) { in onStorageStateChanged() argument 123 onStorageStateChangedAsync(path, oldState, newState); in onStorageStateChanged() 128 private void onStorageStateChangedAsync(String path, String oldState, String newState) { in onStorageStateChangedAsync() argument 130 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState)); in onStorageStateChangedAsync() 131 if (newState.equals(Environment.MEDIA_SHARED)) { in onStorageStateChangedAsync() 143 } else if (newState.equals(Environment.MEDIA_CHECKING)) { in onStorageStateChangedAsync() 153 } else if (newState.equals(Environment.MEDIA_MOUNTED)) { in onStorageStateChangedAsync() 160 } else if (newState.equals(Environment.MEDIA_UNMOUNTED)) { in onStorageStateChangedAsync() 199 } else if (newState.equals(Environment.MEDIA_NOFS)) { in onStorageStateChangedAsync() 213 } else if (newState.equals(Environment.MEDIA_UNMOUNTABLE)) { in onStorageStateChangedAsync() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiMonitor.java | 512 int newState = -1; in handleSupplicantStateChange() local 535 newState = value; in handleSupplicantStateChange() 539 if (newState == -1) return; in handleSupplicantStateChange() 543 if (state.ordinal() == newState) { in handleSupplicantStateChange() 549 Log.w(TAG, "Invalid supplicant state: " + newState); in handleSupplicantStateChange() 555 private void handleNetworkStateChange(NetworkInfo.DetailedState newState, String data) { in handleNetworkStateChange() argument 558 if (newState == NetworkInfo.DetailedState.CONNECTED) { in handleNetworkStateChange() 571 notifyNetworkStateChange(newState, BSSID, networkId); in handleNetworkStateChange() 584 void notifyNetworkStateChange(NetworkInfo.DetailedState newState, String BSSID, int netId) { in notifyNetworkStateChange() argument 585 if (newState == NetworkInfo.DetailedState.CONNECTED) { in notifyNetworkStateChange() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { in onStorageStateChanged() argument 35 if (localLOGV) Log.i(TAG, "Storage state changed from " + oldState + " to " + newState); in onStorageStateChanged() 38 if (mTargetState.equals(newState)) { in onStorageStateChanged()
|
/frameworks/base/services/java/com/android/server/ |
D | WiredAccessoryObserver.java | 130 int newState = mHeadsetState; in init() local 140 newState = Integer.valueOf((new String(buffer, 0, len)).trim()); in init() 147 if (newState > 0) { in init() 148 updateState(newName, newState); in init() 159 private synchronized final void update(String newName, int newState) { in update() argument 161 int headsetState = newState & SUPPORTED_HEADSETS; in update() 172 if (LOG) Slog.v(TAG, "newState = "+newState+", headsetState = "+headsetState+"," in update()
|
D | SystemBackupAgent.java | 56 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 68 super.onBackup(oldState, data, newState); in onBackup() 89 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument 98 super.onRestore(data, appVersionCode, newState); in onRestore()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmCall.java | 148 State newState; in update() local 151 newState = stateFromDCState(dc.state); in update() 153 if (newState != state) { in update() 154 state = newState; in update()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaCall.java | 152 State newState; in update() local 155 newState = stateFromDCState(dc.state); in update() 157 if (newState != state) { in update() 158 state = newState; in update()
|
/frameworks/base/services/sensorservice/ |
D | SensorFusion.cpp | 98 const bool newState = mClients.size() != 0; in activate() local 99 if (newState != mEnabled) { in activate() 100 mEnabled = newState; in activate() 101 if (newState) { in activate()
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 436 Call.State newState = makeCallWait ? State.WAITING : State.INCOMING; in initIncomingCall() local 437 c.initIncomingCall(sipAudioCall, newState); in initIncomingCall() 439 setState(newState); in initIncomingCall() 558 protected void setState(State newState) { in setState() argument 559 if (state != newState) { in setState() 561 + " --> " + newState + ": " + this + ": on phone " in setState() 564 if (newState == Call.State.ALERTING) { in setState() 565 state = newState; // need in ALERTING to enable ringback in setState() 570 state = newState; in setState() 656 Call.State newState = getCallStateFrom(call); [all …]
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 88 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 147 writeStateFile(newState); in onBackup() 221 ParcelFileDescriptor newState) throws IOException { in onRestore() argument 259 writeStateFile(newState); in onRestore()
|
/frameworks/base/core/java/android/app/ |
D | IBackupAgent.aidl | 53 in ParcelFileDescriptor newState, in doBackup() argument 80 in ParcelFileDescriptor newState, int token, IBackupManager callbackBinder); in doRestore() argument
|
/frameworks/base/libs/storage/ |
D | IMountServiceListener.cpp | 42 String16 newState = data.readString16(); in onTransact() local 43 onStorageStateChanged(path, oldState, newState); in onTransact()
|