OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:oldState
(Results
1 - 25
of
118
) sorted by null
1
2
3
4
5
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
IFlyoutListener.java
20
* @param
oldState
the old state
23
void stateChanged(int
oldState
, int newState);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
ShiftKeyState.java
31
int
oldState
= mState;
32
if (
oldState
== PRESSING) {
34
} else if (
oldState
== PRESSING_ON_SHIFTED) {
38
Log.d(TAG, mName + ".onOtherKeyPressed: " + toString(
oldState
) + " > " + this);
42
int
oldState
= mState;
45
Log.d(TAG, mName + ".onPressOnShifted: " + toString(
oldState
) + " > " + this);
AlphabetShiftState.java
35
final int
oldState
= mState;
37
switch (
oldState
) {
49
switch (
oldState
) {
61
Log.d(TAG, "setShifted(" + newShiftState + "): " + toString(
oldState
) + " > " + this);
65
final int
oldState
= mState;
67
switch (
oldState
) {
79
Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(
oldState
)
84
final int
oldState
= mState;
87
Log.d(TAG, "setAutomaticShifted: " + toString(
oldState
) + " > " + this);
ModifierKeyState.java
37
final int
oldState
= mState;
40
Log.d(TAG, mName + ".onPress: " + toString(
oldState
) + " > " + this);
44
final int
oldState
= mState;
47
Log.d(TAG, mName + ".onRelease: " + toString(
oldState
) + " > " + this);
51
final int
oldState
= mState;
52
if (
oldState
== PRESSING)
55
Log.d(TAG, mName + ".onOtherKeyPressed: " + toString(
oldState
) + " > " + this);
/frameworks/base/core/java/android/os/storage/
MountServiceListener.java
37
* @param
oldState
The old state of the volume.
42
void onStorageStateChange(String path, String
oldState
, String newState) {
StorageEventListener.java
35
* @param
oldState
the old state as returned by {@link android.os.Environment#getExternalStorageState()}.
38
public void onStorageStateChanged(String path, String
oldState
, String newState) {
IMountServiceListener.java
80
String
oldState
;
81
oldState
= data.readString();
84
this.onStorageStateChanged(path,
oldState
, newState);
131
* @param
oldState
The old state of the volume.
136
public void onStorageStateChanged(String path, String
oldState
, String newState)
143
_data.writeString(
oldState
);
170
* @param
oldState
The old state of the volume.
174
public void onStorageStateChanged(String path, String
oldState
, String newState)
/frameworks/base/core/java/android/app/backup/
BackupHelper.java
40
* Based on <code>
oldState
</code>, determine which of the files from the
48
* {@code
oldState
} descriptor points to the beginning of the state data
53
* <strong>Note:</strong> The helper should not close or seek either the {@code
oldState
} or
56
* @param
oldState
An open, read-only {@link android.os.ParcelFileDescriptor} pointing to the
69
public void performBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
BackupAgentHelper.java
64
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
66
mDispatcher.performBackup(
oldState
, data, newState);
FullBackupAgent.java
31
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
AbsoluteFileBackupHelper.java
53
* Based on
oldState
, determine which of the files from the application's data directory
57
public void performBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
60
performBackup_checked(
oldState
, data, newState, mFiles, mFiles);
FileBackupHelperBase.java
53
static void performBackup_checked(ParcelFileDescriptor
oldState
, BackupDataOutput data,
70
FileDescriptor oldStateFd =
oldState
!= null ?
oldState
.getFileDescriptor() : null;
121
native private static int performBackup_native(FileDescriptor
oldState
,
BackupHelperDispatcher.java
45
public void performBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
55
if (
oldState
!= null) {
56
oldStateFD =
oldState
.getFileDescriptor();
62
doOneBackup(
oldState
, data, newState, header, helper);
76
doOneBackup(
oldState
, data, newState, header, helper);
80
private void doOneBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
95
helper.performBackup(
oldState
, data, newState);
FileBackupHelper.java
62
* Based on <code>
oldState
</code>, determine which of the files from the
65
* now. When <code>
oldState
</code> is <code>null</code>, all the files will
73
public void performBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
85
performBackup_checked(
oldState
, data, newState, fullPaths, files);
SharedPreferencesBackupHelper.java
95
public void performBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
112
performBackup_checked(
oldState
, data, newState, files, prefGroups);
/frameworks/base/core/tests/coretests/src/android/os/storage/
StorageListener.java
34
public void onStorageStateChanged(String path, String
oldState
, String newState) {
35
if (localLOGV) Log.i(TAG, "Storage state changed from " +
oldState
+ " to " + newState);
/hardware/qcom/audio/legacy/alsa_sound/
AudioPolicyManagerALSA.cpp
72
int
oldState
= mPhoneState;
77
if (!isStateInCall(
oldState
) && isStateInCall(state)) {
82
} else if (isStateInCall(
oldState
) && !isStateInCall(state)) {
87
} else if (isStateInCall(state) && (state !=
oldState
)) {
104
if (isStateInCall(
oldState
) && newDevice == AUDIO_DEVICE_NONE) {
112
if (isStateInCall(state) &&
oldState
== AudioSystem::MODE_RINGTONE) {
139
if (state == AudioSystem::MODE_IN_CALL &&
oldState
== AudioSystem::MODE_RINGTONE) {
152
if (
oldState
== AudioSystem::MODE_RINGTONE) {
/development/samples/BackupRestore/src/com/example/android/backuprestore/
FileHelperExampleAgent.java
77
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
81
super.onBackup(
oldState
, data, newState);
ExampleAgent.java
86
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
107
boolean doBackup = (
oldState
== null);
109
doBackup = compareStateFile(
oldState
);
145
boolean compareStateFile(ParcelFileDescriptor
oldState
) {
146
FileInputStream instream = new FileInputStream(
oldState
.getFileDescriptor());
/frameworks/base/libs/storage/
IMountServiceListener.cpp
41
String16
oldState
= data.readString16();
43
onStorageStateChanged(path,
oldState
, newState);
/frameworks/base/include/storage/
IMountServiceListener.h
31
const String16&
oldState
, const String16& newState) = 0;
/cts/tests/tests/app/src/android/app/backup/cts/
BackupAgentTest.java
38
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
/frameworks/base/core/java/android/app/
IBackupAgent.aidl
33
* @param
oldState
Read-only file containing the description blob of the
51
void doBackup(in ParcelFileDescriptor
oldState
,
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
HugeAgent.java
87
public void onBackup(ParcelFileDescriptor
oldState
, BackupDataOutput data,
108
boolean doBackup = (
oldState
== null);
110
doBackup = compareStateFile(
oldState
);
157
boolean compareStateFile(ParcelFileDescriptor
oldState
) {
158
FileInputStream instream = new FileInputStream(
oldState
.getFileDescriptor());
/frameworks/base/core/jni/
android_backup_FileBackupHelperBase.cpp
41
performBackup_native(JNIEnv* env, jobject clazz, jobject
oldState
, int data,
47
int oldStateFD =
oldState
!= NULL ? jniGetFDFromFileDescriptor(env,
oldState
) : -1;
Completed in 386 milliseconds
1
2
3
4
5