Searched defs:code (Results 26 - 50 of 201) sorted by last modified time

123456789

/frameworks/native/opengl/libagl/
H A Ddxt.cpp130 * contains a transparent pixel (color0 < color1, code == 3). This
295 int code = bits & 0x3; local
298 blockRowPtr[x] = c[code];
404 int code = bits & 0x3; local
407 blockRowPtr[x] = c[code] | (a << 28) | (a << 24);
561 int code = bits & 0x3; local
564 blockRowPtr[x] = c[code] | (a[acode] << 24);
/frameworks/native/services/surfaceflinger/
H A DClient.cpp91 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
107 return BnSurfaceComposerClient::onTransact(code, data, reply, flags);
90 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DSurfaceFlinger.cpp2415 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
2417 switch (code) {
2452 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags);
2464 switch (code) {
2414 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DFragmentShader.java51 public Builder setShader(String code) { argument
52 mBuilder.setShader(code);
H A DVertexShader.java47 public Builder setShader(String code) { argument
48 mBuilder.setShader(code);
/frameworks/base/tools/aapt/
H A DCommand.cpp392 ResXMLTree::event_code_t code; local
396 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
397 if (code == ResXMLTree::END_TAG) {
404 if (code != ResXMLTree::START_TAG) {
558 ResXMLTree::event_code_t code; local
560 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
561 if (code == ResXMLTree::END_TAG) {
565 if (code !
611 ResXMLTree::event_code_t code; local
844 int32_t code = getIntegerAttribute(tree, MIN_SDK_VERSION_ATTR, &error); local
[all...]
H A DResource.cpp215 ResXMLTree::event_code_t code; local
216 while ((code=block.next()) != ResXMLTree::START_TAG
217 && code != ResXMLTree::END_DOCUMENT
218 && code != ResXMLTree::BAD_DOCUMENT) {
222 if (code != ResXMLTree::START_TAG) {
244 while ((code=block.next()) != ResXMLTree::END_DOCUMENT
245 && code != ResXMLTree::BAD_DOCUMENT) {
246 if (code == ResXMLTree::START_TAG) {
553 ResXMLTree::event_code_t code; local
554 while ((code
1350 ResXMLTree::event_code_t code; local
1634 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local
1883 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 local
2320 ResXMLTree::event_code_t code; local
2423 ResXMLTree::event_code_t code; local
[all...]
H A DResourceTable.cpp132 "a reference to another resource, in the form \"<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>\"\n"
133 "or to a theme attribute in the form \"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>\"."},
137 "an integer value, such as \"<code>100</code>\"." },
139 "a boolean value, either \"<code>true</code>\" or \"<code>false</code>\"
313 ResXMLTree::event_code_t code; local
799 ResXMLTree::event_code_t code; local
[all...]
H A DXMLNode.cpp200 ResXMLTree::event_code_t code; local
201 while ((code=inXml->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
203 if (code == ResXMLTree::TEXT) {
223 } else if (code == ResXMLTree::START_TAG) {
283 } else if (code == ResXMLTree::END_TAG) {
350 } else if (code == ResXMLTree::START_NAMESPACE) {
355 if (code == ResXMLTree::BAD_DOCUMENT) {
421 ResXMLTree::event_code_t code; local
423 while ((code
[all...]
/frameworks/base/voip/java/android/net/sip/
H A DSipAudioCall.java159 * @param errorCode error code of this error
615 * timed out if the call is not established within {@code timeout} seconds
622 * SIP protocol) is used if {@code timeout} is zero or negative.
665 * within {@code timeout} seconds and
670 * SIP protocol) is used if {@code timeout} is zero or negative.
688 * established within {@code timeout} seconds and
693 * SIP protocol) is used if {@code timeout} is zero or negative.
715 * out if the call is not established within {@code timeout} seconds and
720 * SIP protocol) is used if {@code timeout} is zero or negative.
888 * Sends a DTMF code
896 sendDtmf(int code) argument
910 sendDtmf(int code, Message result) argument
[all...]
/frameworks/base/services/input/
H A DEventHub.h42 #define BTN_FIRST 0x100 // first button code
43 #define BTN_LAST 0x15f // last button code
61 int32_t code; member in struct:android::RawEvent
H A DInputReader.cpp599 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, argument
607 result = (device->*getStateFunc)(sourceMask, code);
617 int32_t currentResult = (device->*getStateFunc)(sourceMask, code);
959 ALOGD("Input event: device=%d type=0x%04x code=0x%04x value=0x%08x when=%lld",
960 rawEvent->deviceId, rawEvent->type, rawEvent->code, rawEvent->value,
965 if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
975 } else if (rawEvent->type == EV_SYN && rawEvent->code == SYN_DROPPED) {
1018 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { argument
1026 int32_t currentResult = (mapper->*getStateFunc)(sourceMask, code);
1125 switch (rawEvent->code) {
[all...]
H A DInputReader.h486 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code);
487 int32_t getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code,
553 bool hasKey(int32_t code) { argument
554 return getEventHub()->hasScanCode(mId, code);
557 bool hasAbsoluteAxis(int32_t code) { argument
559 getEventHub()->getAbsoluteAxisInfo(mId, code, &info);
563 bool isKeyPressed(int32_t code) { argument
564 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN;
567 int32_t getAbsoluteAxisValue(int32_t code) { argument
569 getEventHub()->getAbsoluteAxisValue(mId, code,
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp440 int32_t code, int32_t value) {
445 event.code = code;
450 setAbsoluteAxisValue(deviceId, code, value);
1168 ASSERT_EQ(KEY_A, event.code);
1252 << "Ignored device should return unknown key code state.";
1254 << "Ignored device should return unknown scan code state.";
1323 << "Should return unknown key code state when source not supported.";
1325 << "Should return unknown scan code state when source not supported.";
1415 int32_t code, int32_
439 enqueueEvent(nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
1414 process(InputMapper* mapper, nsecs_t when, int32_t deviceId, int32_t type, int32_t code, int32_t value) argument
2626 processKey( SingleTouchInputMapper* mapper, int32_t code, int32_t value) argument
3790 processKey( MultiTouchInputMapper* mapper, int32_t code, int32_t value) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DClipboardService.java108 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
111 return super.onTransact(code, data, reply, flags);
H A DINativeDaemonConnectorCallbacks.java23 boolean onEvent(int code, String raw, String[] cooked); argument
H A DInputMethodManagerService.java262 * Set once the system is ready to run third party code.
819 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
822 return super.onTransact(code, data, reply, flags);
1195 // party code.
H A DMountService.java138 * Internal vold response code constants
756 public boolean onEvent(int code, String raw, String[] cooked) { argument
769 if (code == VoldResponseCode.VolumeStateChange) {
778 } else if ((code == VoldResponseCode.VolumeDiskInserted) ||
779 (code == VoldResponseCode.VolumeDiskRemoved) ||
780 (code == VoldResponseCode.VolumeBadRemoval)) {
806 if (code == VoldResponseCode.VolumeDiskInserted) {
820 } else if (code == VoldResponseCode.VolumeDiskRemoved) {
835 } else if (code == VoldResponseCode.VolumeBadRemoval) {
845 Slog.e(TAG, String.format("Unknown code {
[all...]
H A DNativeDaemonEvent.java38 private NativeDaemonEvent(int cmdNumber, int code, String message, String rawEvent) { argument
40 mCode = code;
104 private static boolean isClassUnsolicited(int code) { argument
105 return code >= 600 && code < 700;
109 * Verify this event matches the given code.
113 public void checkCode(int code) { argument
114 if (mCode != code) {
115 throw new IllegalStateException("Expected " + code + " but was: " + this);
133 final int code;
[all...]
H A DNetworkManagementService.java402 public boolean onEvent(int code, String raw, String[] cooked) { argument
403 switch (code) {
H A DNsdService.java392 handleNativeEvent(event.code, event.raw,
486 int code; field in class:NsdService.NativeEvent
489 NativeEvent(int code, String raw) { argument
490 this.code = code;
500 public boolean onEvent(int code, String raw, String[] cooked) { argument
503 NativeEvent event = new NativeEvent(code, raw);
509 private void handleNativeEvent(int code, String raw, String[] cooked) { argument
524 switch (code) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java444 * Which uses have been started, so are allowed to run code.
1647 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
1649 if (code == SYSPROPS_TRANSACTION) {
1675 return super.onTransact(code, data, reply, flags);
2729 * @param resultCode Result code, if any, from this Activity.
5535 // Only system code can grant URI permissions on behalf
7043 // going to the content provider to open the file. Later, in the code
7361 // TODO: Unify this code with ActivityRecord.keyDispatchingTimedOut().
7760 // execute our code without the lock.
8051 // processes run critical code
[all...]
H A DPendingIntentRecord.java190 public int send(int code, Intent intent, String resolvedType, argument
192 return sendInner(code, intent, resolvedType, finishedReceiver,
196 int sendInner(int code, Intent intent, String resolvedType, argument
262 key.who, key.requestCode, code, finalIntent);
270 finishedReceiver, code, null, null,
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java303 // Directory containing the private parts (e.g. code and non-resource assets) of forward-locked
883 state.setVerifierResponse(response.callerUid, response.code);
894 response.code, state.getInstallArgs().getUser());
1092 // code, so don't dexopt it to avoid the resulting log spew.
1145 // Find base frameworks (resource packages without code).
1361 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
1364 return super.onTransact(code, data, reply, flags);
1378 Slog.w(TAG, "Unable to remove old code file: " + ps.codePath);
1383 Slog.w(TAG, "Unable to remove old code file: " + ps.resourcePath);
1894 int code
[all...]
H A DPackageVerificationResponse.java20 public final int code; field in class:PackageVerificationResponse
24 public PackageVerificationResponse(int code, int callerUid) { argument
25 this.code = code;

Completed in 282 milliseconds

123456789