Searched defs:opCode (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appops/
H A DAppOpsServiceTest.java200 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, argument
210 if (opCode != opEntry.getOp()) {
/frameworks/native/libs/binder/
H A DIAppOpsService.cpp206 const int32_t opCode = permissionToOpCode(permission); local
208 reply->writeInt32(opCode);
/frameworks/base/obex/javax/obex/
H A DClientSession.java449 * @param opCode the type of request to send to the client
459 public boolean sendRequest(int opCode, byte[] head, HeaderSet header, argument
472 if (opCode == ObexHelper.OBEX_OPCODE_PUT) {
475 } else if (opCode == ObexHelper.OBEX_OPCODE_GET) {
479 } else if (opCode == ObexHelper.OBEX_OPCODE_GET_FINAL) {
489 out.write((byte)opCode);
521 if (opCode == ObexHelper.OBEX_OPCODE_CONNECT) {
562 if (opCode == ObexHelper.OBEX_OPCODE_ABORT) {
598 return sendRequest(opCode, sendHeaders, header, privateInput, false);
H A DClientOperation.java436 * @param opCode the request code to send to the client
441 private boolean sendRequest(int opCode) throws IOException { argument
489 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput, false)) {
512 opCode |= ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK;
537 && ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) != 0)) {
555 if ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) == 0) {
568 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput, mSrmActive)) {
576 && (!mParent.sendRequest(opCode, out.toByteArray(),
/frameworks/native/libs/gui/tests/
H A DSurfaceParcelable_test.cpp123 uint32_t opCode = GetParam(); local
126 status_t error = mService->transact(opCode, data, &reply);
/frameworks/rs/rsov/compiler/spirit/
H A Dinstructions.h48 Instruction(uint32_t opCode) : mCodeAndCount(opCode) {} argument
49 Instruction(uint32_t opCode, uint32_t fixedWordCount) argument
50 : mCodeAndCount(opCode), mFixedWordCount(fixedWordCount) {}
/frameworks/base/media/native/midi/
H A Dmidi.cpp262 uint8_t opCode = AMIDI_OPCODE_FLUSH; local
264 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes);
/frameworks/ml/nn/runtime/test/
H A DTestValidateOperations.cpp38 OperationTestBase(ANeuralNetworksOperationType opCode, argument
41 : mOpCode(opCode),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
H A DEuiccCard.java1231 @OperationCode int opCode)
1235 throw new EuiccCardErrorException(opCode, root.getChild(Tags.TAG_CTX_1).asInteger());
1230 parseResponseAndCheckSimpleError(byte[] response, @OperationCode int opCode) argument
/frameworks/native/services/sensorservice/
H A DSensorService.cpp1569 const int32_t opCode = sensor.getRequiredAppOp(); local
1570 if (opCode >= 0) {
1572 if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName)
1575 operation, sensor.getName().string(), opCode);

Completed in 265 milliseconds