Searched defs:code (Results 126 - 150 of 243) sorted by last modified time

12345678910

/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java28 * IPC, application code should use the Cursor interface.
57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
60 switch (code) {
130 return super.onTransact(code, data, reply, flags);
H A DDatabaseUtils.java83 int code = 0;
86 code = 1;
89 code = 2;
91 code = 3;
93 code = 4;
95 code = 5;
97 code = 6;
99 code = 7;
101 code = 8;
103 code
162 readExceptionFromParcel(Parcel reply, String msg, int code) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java88 * @param primaryCode the code of the key that was released
96 * with the primary code being the first. If the primary key code is
557 * codes for adjacent keys. When disabled, only the primary key code will be
814 int code = key.codes[0];
826 code = key.codes[mTapCount];
828 mKeyboardActionListener.onKey(code, codes);
829 mKeyboardActionListener.onRelease(code);
978 private void sendAccessibilityEventForUnicodeCharacter(int eventType, int code) { argument
991 switch (code) {
[all...]
/frameworks/base/core/java/android/net/
H A DVpnService.java105 * is an example of declaring a VPN service in {@code AndroidManifest.xml}:
135 * Prepare to establish a VPN connection. This method returns {@code null}
207 * @return {@code true} on success.
216 * @return {@code true} on success.
227 * @return {@code true} on success.
248 * @return {@code true} on success.
279 * @return {@code true} on success.
300 * to a {@code Network} using APIs such as {@link Network#bindSocket(Socket)} or
302 * the set of {@code Network}s it is using changes.
304 * <p>{@code network
368 onTransact(int code, Parcel data, Parcel reply, int flags) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DErrorCodes.java28 public static boolean isError(int code) { argument
29 if (code < 0) {
36 public static String asString(int code) { argument
37 switch (code) {
/frameworks/base/core/java/android/os/
H A DBatteryStats.java372 * specified state <code>type</code>.
516 * Returns the total time (in milliseconds) spent executing in user code.
523 * Returns the total time (in milliseconds) spent executing in system code.
1070 * Return whether the command code is a delta data update.
1442 public boolean updateState(int code, String name, int uid, int poolIdx) { argument
1443 if ((code&HistoryItem.EVENT_FLAG_START) != 0) {
1444 int idx = code&HistoryItem.EVENT_TYPE_MASK;
1460 } else if ((code&HistoryItem.EVENT_FLAG_FINISH) != 0) {
1461 int idx = code
1485 removeEvents(int code) argument
1490 getStateForEvent(int code) argument
[all...]
H A DBinder.java57 * a broadcast) that will not involve re-creating the activity and thus run its code
77 /* mObject is used by native code, do not remove or rename */
150 * native-only code on Dalvik.
282 protected boolean onTransact(int code, Parcel data, Parcel reply, argument
284 if (code == INTERFACE_TRANSACTION) {
287 } else if (code == DUMP_TRANSACTION) {
381 public final boolean transact(int code, Parcel data, Parcel reply, argument
383 if (false) Log.v("Binder", "Transact: " + code + " to " + this);
387 boolean r = onTransact(code, data, reply, flags);
415 static void checkParcel(IBinder obj, int code, Parce argument
442 execTransact(int code, long dataObj, long replyObj, int flags) argument
501 transact(int code, Parcel data, Parcel reply, int flags) argument
507 transactNative(int code, Parcel data, Parcel reply, int flags) argument
[all...]
H A DCommonClock.java316 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
318 switch (code) {
329 return super.onTransact(code, data, reply, flags);
H A DIBinder.java87 * The first transaction code available for user commands.
91 * The last transaction code available for user commands.
96 * IBinder protocol transaction code: pingBinder().
101 * IBinder protocol transaction code: dump internal state.
106 * IBinder protocol transaction code: interrogate the recipient side
112 * IBinder protocol transaction code: send a tweet to the target
119 * across the platform. To support older code, the default implementation
130 * IBinder protocol transaction code: tell an app asynchronously that the
212 * @param code The action to perform. This should
223 public boolean transact(int code, Parce argument
[all...]
H A DParcel.java192 private long mNativePtr; // used by native code
1498 int code = 0;
1500 code = EX_SECURITY;
1502 code = EX_BAD_PARCELABLE;
1504 code = EX_ILLEGAL_ARGUMENT;
1506 code = EX_NULL_POINTER;
1508 code = EX_ILLEGAL_STATE;
1510 code = EX_NETWORK_MAIN_THREAD;
1512 code = EX_UNSUPPORTED_OPERATION;
1514 writeInt(code);
1617 readException(int code, String msg) argument
[all...]
H A DServiceManagerNative.java52 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
55 switch (code) {
170 // The result code that is returned by the C++ code can
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java1357 public boolean onTransact(int code, Parcel data, Parcel reply, argument
1359 switch (code) {
1903 return super.onTransact(code, data, reply, flags);
2054 * This value implies {@code force}.
2084 * @return a numerical value. See {@code ENCRYPTION_STATE_*} for possible values.
2119 * @return path to filesystem or {@code null} if it's not found
H A DIMountServiceListener.java61 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
63 switch (code) {
124 return super.onTransact(code, data, reply, flags);
H A DIMountShutdownObserver.java60 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
62 switch (code) {
76 return super.onTransact(code, data, reply, flags);
H A DIObbActionListener.java61 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
63 switch (code) {
81 return super.onTransact(code, data, reply, flags);
133 * @param status status code as defined in {@link OnObbStateChangeListener}
/frameworks/base/core/java/android/view/
H A DKeyEvent.java38 * Key events are generally accompanied by a key code ({@link #getKeyCode()}),
39 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}).
40 * Key code constants are defined in this class. Scan code constants are raw
68 * that single repeated key code or a sequence of characters to insert.
82 /** Key code constant: Unknown key code. */
84 /** Key code constant: Soft Left key.
89 /** Key code constant: Soft Right key.
94 /** Key code constan
1285 KeyEvent(int action, int code) argument
1305 KeyEvent(long downTime, long eventTime, int action, int code, int repeat) argument
1329 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument
1356 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument
1386 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1418 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1520 obtain(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source, String characters) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DPluginData.java28 * status code. The PluginData class is the container for all these
54 * The associated HTTP response code.
65 * @param length The HTTP response status code.
76 int code) {
80 mStatusCode = code;
129 * Returns the HTTP status code for the response.
131 * @return The HTTP statue code, e.g 200.
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
/frameworks/av/camera/
H A DICamera.cpp278 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
280 switch(code) {
419 return BBinder::onTransact(code, data, reply, flags);
277 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICameraClient.cpp87 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
89 switch(code) {
125 return BBinder::onTransact(code, data, reply, flags);
86 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICameraRecordingProxy.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
78 switch(code) {
102 return BBinder::onTransact(code, data, reply, flags);
75 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICameraRecordingProxyListener.cpp55 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
57 switch(code) {
68 return BBinder::onTransact(code, data, reply, flags);
54 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICameraService.cpp71 // Binder should be handling this code inside Parcel::readException
341 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
343 switch(code) {
528 return BBinder::onTransact(code, data, reply, flags);
340 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICameraServiceListener.cpp78 status_t BnCameraServiceListener::onTransact(uint32_t code, const Parcel& data, Parcel* reply, argument
80 switch(code) {
102 return BBinder::onTransact(code, data, reply, flags);
H A DICameraServiceProxy.cpp52 status_t BnCameraServiceProxy::onTransact(uint32_t code, const Parcel& data, Parcel* reply, argument
54 switch(code) {
69 return BBinder::onTransact(code, data, reply, flags);
/frameworks/av/camera/camera2/
H A DICameraDeviceCallbacks.cpp115 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
117 ALOGV("onTransact - code = %d", code);
118 switch(code) {
184 return BBinder::onTransact(code, data, reply, flags);
114 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument

Completed in 226 milliseconds

12345678910