OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:newstate
(Results
1 - 25
of
213
) sorted by null
1
2
3
4
5
6
7
8
9
/hardware/invensense/mlsdk/mllite/
mlstates.c
110
* @brief Perform a transition from the current state to
newState
.
115
* @param
newState
state we are transitioning to.
118
inv_error_t inv_state_transition(unsigned char
newState
)
122
if (
newState
== INV_STATE_SERIAL_CLOSED) {
124
} else if (
newState
== INV_STATE_SERIAL_OPENED) {
126
} else if (((
newState
== INV_STATE_DMP_OPENED) &&
130
((
newState
== INV_STATE_DMP_STARTED) &&
137
inv_state_name(
newState
));
145
inv_state_name(
newState
)));
146
result = inv_run_state_callbacks(
newState
);
[
all
...]
mlstates.h
46
typedef inv_error_t(*state_change_callback_t) (unsigned char
newState
);
49
inv_error_t inv_state_transition(unsigned char
newState
);
53
inv_error_t inv_run_state_callbacks(unsigned char
newState
);
/external/chromium/chrome/common/extensions/docs/examples/api/idle/idle_simple/
background.html
17
chrome.idle.onStateChanged.addListener(function(
newstate
) {
22
history_log.unshift({'state':
newstate
, 'time':time});
/external/webkit/LayoutTests/http/tests/appcache/resources/
fail-on-update.php
6
function setState($
newState
, $file)
8
file_put_contents($file, $
newState
);
fail-on-update-2.php
6
function setState($
newState
, $file)
8
file_put_contents($file, $
newState
);
/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
);
38
if (mTargetState.equals(
newState
)) {
/external/webkit/Source/WebCore/history/mac/
HistoryItemMac.mm
40
id
newState
= [statePList copy];
41
m_viewState =
newState
;
42
[
newState
release];
/frameworks/base/core/java/android/app/backup/
AbsoluteFileBackupHelper.java
54
* need to be backed up, write them to the data stream, and fill in
newState
with the
58
ParcelFileDescriptor
newState
) {
60
performBackup_checked(oldState, data,
newState
, mFiles, mFiles);
BackupHelperDispatcher.java
46
ParcelFileDescriptor
newState
) throws IOException {
53
FileDescriptor newStateFD =
newState
.getFileDescriptor();
62
doOneBackup(oldState, data,
newState
, header, helper);
76
doOneBackup(oldState, data,
newState
, header, helper);
81
ParcelFileDescriptor
newState
, Header header, BackupHelper helper)
84
FileDescriptor newStateFD =
newState
.getFileDescriptor();
95
helper.performBackup(oldState, data,
newState
);
106
ParcelFileDescriptor
newState
)
139
helper.writeNewStateDescription(
newState
);
BackupHelper.java
42
* <code>data</code>, and fill in <code>
newState
</code> with the state as it
49
* written during this helper's previous backup operation, and the {@code
newState
}
54
* the {@code
newState
} file descriptors.</p>
64
* @param
newState
An open, read/write {@link android.os.ParcelFileDescriptor} pointing to an
70
ParcelFileDescriptor
newState
);
97
* <strong>Note:</strong> The helper should not close or seek the {@code
newState
}
100
* @param
newState
A {@link android.os.ParcelFileDescriptor} to which the new state will be
103
public void writeNewStateDescription(ParcelFileDescriptor
newState
);
FullBackupAgent.java
32
ParcelFileDescriptor
newState
) throws IOException {
37
public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor
newState
)
BackupAgentHelper.java
65
ParcelFileDescriptor
newState
) throws IOException {
66
mDispatcher.performBackup(oldState, data,
newState
);
73
public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor
newState
)
75
mDispatcher.performRestore(data, appVersionCode,
newState
);
/frameworks/base/core/java/android/bluetooth/
BluetoothHealthCallback.java
56
* @param
newState
The new state of the channel.
62
BluetoothDevice device, int prevState, int
newState
, ParcelFileDescriptor fd,
65
"prevState:" + prevState + "
newState
:" +
newState
+ "ParcelFd:" + fd +
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)) {
IBluetoothHealthCallback.aidl
30
in BluetoothDevice device, int prevState, int
newState
, in
/frameworks/base/telephony/java/com/android/internal/telephony/
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|5)
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|5)
IccCardApplication.java
130
AppState
newState
;
133
case 0:
newState
= AppState.APPSTATE_UNKNOWN; break;
134
case 1:
newState
= AppState.APPSTATE_DETECTED; break;
135
case 2:
newState
= AppState.APPSTATE_PIN; break;
136
case 3:
newState
= AppState.APPSTATE_PUK; break;
137
case 4:
newState
= AppState.APPSTATE_SUBSCRIPTION_PERSO; break;
138
case 5:
newState
= AppState.APPSTATE_READY; break;
143
return
newState
;
/cts/tests/tests/app/src/android/app/backup/cts/
BackupAgentTest.java
39
ParcelFileDescriptor
newState
) throws IOException {
44
ParcelFileDescriptor
newState
) throws IOException {
/external/icu4c/layout/
ContextualGlyphSubstProc.cpp
42
ByteOffset
newState
= SWAPW(entry->newStateOffset);
72
return
newState
;
/frameworks/base/core/java/android/os/storage/
IMountServiceListener.java
82
String
newState
;
83
newState
= data.readString();
84
this.onStorageStateChanged(path, oldState,
newState
);
132
* @param
newState
The new state of the volume. Note: State is one
136
public void onStorageStateChanged(String path, String oldState, String
newState
)
144
_data.writeString(
newState
);
171
* @param
newState
The new state of the volume. Note: State is one of the
174
public void onStorageStateChanged(String path, String oldState, String
newState
)
MountServiceListener.java
38
* @param
newState
The new state of the volume.
42
void onStorageStateChange(String path, String oldState, String
newState
) {
StorageEventListener.java
36
* @param
newState
the old state as returned by {@link android.os.Environment#getExternalStorageState()}.
38
public void onStorageStateChanged(String path, String oldState, String
newState
) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothToggleActivity.java
126
int
newState
= intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1);
127
Log.i(TAG, "Previous state: " + previousState + " New state: " +
newState
);
129
if (BluetoothAdapter.STATE_OFF ==
newState
135
if (BluetoothAdapter.STATE_ON ==
newState
141
if (BluetoothAdapter.STATE_OFF ==
newState
) {
/development/samples/BackupRestore/src/com/example/android/backuprestore/
FileHelperExampleAgent.java
78
ParcelFileDescriptor
newState
) throws IOException {
81
super.onBackup(oldState, data,
newState
);
91
ParcelFileDescriptor
newState
) throws IOException {
95
super.onRestore(data, appVersionCode,
newState
);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IPolicyService.aidl
24
void setAccountHoldFlag(long accountId, boolean
newState
);
Completed in 3078 milliseconds
1
2
3
4
5
6
7
8
9