Searched defs:code (Results 201 - 225 of 229) sorted by relevance

12345678910

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java756 public int code; field in class:CameraStreamer.Event
758 public Event(int code) { argument
759 this.code = code;
900 switch (event.code) {
1526 * {@code getLatestFrame()} method must be called from the client thread.
1603 * Specify {@code FACING_DONTCARE} (default) if you would like the CameraStreamer to choose
H A DGraphRunner.java103 public int code; field in class:GraphRunner.Event
106 public Event(int code, Object object) { argument
107 this.code = code;
131 switch (event.code) {
/frameworks/base/tools/aapt/
H A DBundle.h124 void setPlatformBuildVersionCode(const android::String8& code) { mPlatformVersionCode = code; } argument
H A DCommand.cpp329 ResXMLTree::event_code_t code; local
333 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
334 if (code == ResXMLTree::END_TAG) {
341 if (code != ResXMLTree::START_TAG) {
411 ResXMLTree::event_code_t code; local
412 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
413 if (code == ResXMLTree::END_TAG) {
426 } else if (code
715 ResXMLTree::event_code_t code; local
778 ResXMLTree::event_code_t code; local
1183 int32_t code = AaptXml::getIntegerAttribute(tree, MIN_SDK_VERSION_ATTR, &error); local
[all...]
H A DResource.cpp232 ResXMLTree::event_code_t code; local
233 while ((code=block.next()) != ResXMLTree::START_TAG
234 && code != ResXMLTree::END_DOCUMENT
235 && code != ResXMLTree::BAD_DOCUMENT) {
239 if (code != ResXMLTree::START_TAG) {
266 while ((code=block.next()) != ResXMLTree::END_DOCUMENT
267 && code != ResXMLTree::BAD_DOCUMENT) {
268 if (code == ResXMLTree::START_TAG) {
558 ResXMLTree::event_code_t code; local
559 while ((code
952 ResXMLTree::event_code_t code; local
1746 ResXMLTree::event_code_t code; local
2156 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local
2386 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local
2807 ResXMLTree::event_code_t code; local
2911 ResXMLTree::event_code_t code; local
[all...]
H A DResourceTable.cpp149 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n"
150 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."},
154 "an integer value, such as \"<code>100</code>\"." },
156 "a boolean value, either \"<code>true</code>\" or \"<code>false</code>\"
330 ResXMLTree::event_code_t code; local
844 ResXMLTree::event_code_t code; local
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java174 * @param swapCalls {@code true} if the foreground and background calls should be swapped
709 * @return {@code True} if the call is a multiparty call.
722 * Marks whether an IMS call is merged. This should be set {@code true} when the call merges
732 * @return {@code true} if the call recently merged into a conference call.
962 * @param reason reason code to reject an incoming call
994 * @param reason reason code to terminate a call
1154 // This code basically says, we need to explicitly hold before requesting a merge
1318 * Sends a DTMF code. According to <a href="http://tools.ietf.org/html/rfc2833">RFC 2833</a>,
1327 log("sendDtmf :: code=" + c);
1338 * Start a DTMF code
1875 throwImsException(Throwable t, int code) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java452 void notifySuppServiceFailed(SuppService code) { argument
453 mSuppServiceFailedRegistrants.notifyResult(code);
1950 * @param what User-defined message code
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java830 CommandException getCommandException(int code) { argument
831 Rlog.d(LOG_TAG, "getCommandException code=" + code);
834 switch(code) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h64 Int refSelectCode; /* enhancement layer reference select code */
441 unsigned int code; /* right justified */ member in struct:tagVLCtable
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2537 // because of code checking output when entering the function.
2937 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
2939 return BnAudioFlinger::onTransact(code, data, reply, flags);
2936 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/core/java/android/os/
H A DParcel.java188 private long mNativePtr; // used by native code
1424 int code = 0;
1426 code = EX_SECURITY;
1428 code = EX_BAD_PARCELABLE;
1430 code = EX_ILLEGAL_ARGUMENT;
1432 code = EX_NULL_POINTER;
1434 code = EX_ILLEGAL_STATE;
1436 code = EX_NETWORK_MAIN_THREAD;
1438 code = EX_UNSUPPORTED_OPERATION;
1440 writeInt(code);
1543 readException(int code, String msg) argument
[all...]
H A DBatteryStats.java441 * Returns the total time (in 1/100 sec) spent executing in user code.
448 * Returns the total time (in 1/100 sec) spent executing in system code.
612 * Return whether the command code is a delta data update.
946 public boolean updateState(int code, String name, int uid, int poolIdx) { argument
947 if ((code&HistoryItem.EVENT_FLAG_START) != 0) {
948 int idx = code&HistoryItem.EVENT_TYPE_MASK;
964 } else if ((code&HistoryItem.EVENT_FLAG_FINISH) != 0) {
965 int idx = code&HistoryItem.EVENT_TYPE_MASK;
989 public void removeEvents(int code) { argument
990 int idx = code
994 getStateForEvent(int code) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java270 * Set once the system is ready to run third party code.
869 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
872 return super.onTransact(code, data, reply, flags);
1261 // party code.
H A DMountService.java159 * Internal vold response code constants
424 Slog.i(TAG, "Unmount completed: " + path + ", result code: " + ret);
902 public boolean onCheckHoldWakeLock(int code) { argument
909 public boolean onEvent(int code, String raw, String[] cooked) { argument
922 if (code == VoldResponseCode.VolumeStateChange) {
931 } else if (code == VoldResponseCode.VolumeUuidChange) {
941 } else if (code == VoldResponseCode.VolumeUserLabelChange) {
951 } else if ((code == VoldResponseCode.VolumeDiskInserted) ||
952 (code == VoldResponseCode.VolumeDiskRemoved) ||
953 (code
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java236 * This should only be called by system code. One should only call this after the service
292 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
295 return super.onTransact(code, data, reply, flags);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1164 // make the default display current because the VirtualDisplayDevice code cannot
1166 // the code below can call glFlush() which is allowed (and does in some case) call
2731 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
2733 switch (code) {
2770 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags);
2782 switch (code) {
2891 /* The code below is here to handle b/8734824
2920 uint32_t code; member in class:android::GraphicProducerWrapper
2934 virtual status_t transact(uint32_t code, argument
2936 this->code
2730 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java756 * cause code returned as Integer in Message.obj.response
757 * Returns integer cause code defined in TS 24.008
1286 * @param statusCode Status code string. See <code>setOnUSSD</code>
1408 public void triggerSsn(int type, int code) { argument
1411 not.code = code;
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java120 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
122 switch (code) {
2369 return super.onTransact(code, data, reply, flags);
H A DActivityThread.java1238 String codeToString(int code) { argument
1240 switch (code) {
1292 return Integer.toString(code);
1681 "Requesting code from " + packageName
1717 String msg = "Requesting code from " + ai.packageName
1761 if (localLOGV) Slog.v(TAG, (includeCode ? "Loading code package "
4892 // code. Tell the activity manager about it now, to ensure
5195 public void report (int code, Object... list) { argument
5196 EventLog.writeEvent(code, list);
H A DIActivityManager.java92 public boolean finishActivity(IBinder token, int code, Intent data, boolean finishTask) argument
578 // sent by C++ code.
/frameworks/base/core/java/android/view/
H A DKeyEvent.java39 * Key events are generally accompanied by a key code ({@link #getKeyCode()}),
40 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}).
41 * Key code constants are defined in this class. Scan code constants are raw
69 * that single repeated key code or a sequence of characters to insert.
83 /** Key code constant: Unknown key code. */
85 /** Key code constant: Soft Left key.
90 /** Key code constant: Soft Right key.
95 /** Key code constan
1262 KeyEvent(int action, int code) argument
1282 KeyEvent(long downTime, long eventTime, int action, int code, int repeat) argument
1306 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState) argument
1333 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode) argument
1363 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags) argument
1395 KeyEvent(long downTime, long eventTime, int action, int code, int repeat, int metaState, int deviceId, int scancode, int flags, int source) argument
1497 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/native/services/inputflinger/tests/
H A DInputReader_test.cpp450 int32_t code, int32_t value) {
455 event.code = code;
460 setAbsoluteAxisValue(deviceId, code, value);
1184 ASSERT_EQ(KEY_A, event.code);
1270 << "Ignored device should return unknown key code state.";
1272 << "Ignored device should return unknown scan code state.";
1341 << "Should return unknown key code state when source not supported.";
1343 << "Should return unknown scan code state when source not supported.";
1434 int32_t code, int32_
449 enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
1433 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
2666 processKey( SingleTouchInputMapper* mapper, int32_t code, int32_t value) argument
3854 processKey( MultiTouchInputMapper* mapper, int32_t code, int32_t value) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.cpp611 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument
619 result = (device->*getStateFunc)(sourceMask, code);
629 int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
972 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld",
973 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value,
978 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
988 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
1032 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument
1040 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
1139 switch (rawEvent->code) {
[all...]
H A DInputReader.h518 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code);
519 int32_t getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code,
587 bool hasKey(int32_t code) { argument
588 return getEventHub()->hasScanCode(mId, code);
591 bool hasAbsoluteAxis(int32_t code) { argument
593 getEventHub()->getAbsoluteAxisInfo(mId, code, &info);
597 bool isKeyPressed(int32_t code) { argument
598 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN;
601 int32_t getAbsoluteAxisValue(int32_t code) { argument
603 getEventHub()->getAbsoluteAxisValue(mId, code,
[all...]

Completed in 9394 milliseconds

12345678910