HomeSort by relevance Sort by last modified time
    Searched defs:opCode (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/base/telephony/java/android/telephony/
LocationAccessPolicy.java 77 final int opCode = AppOpsManager.permissionToOpCode(
79 if (opCode != AppOpsManager.OP_NONE && context.getSystemService(AppOpsManager.class)
80 .noteOpNoThrow(opCode, uid, pkgName) != AppOpsManager.MODE_ALLOWED) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
TelephonyPermissions.java 207 int opCode = AppOpsManager.permissionToOpCode(android.Manifest.permission.READ_SMS);
208 if (opCode != AppOpsManager.OP_NONE) {
209 return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;
219 int opCode = AppOpsManager.permissionToOpCode(
221 if (opCode != AppOpsManager.OP_NONE) {
222 return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;
  /frameworks/native/libs/binder/
IAppOpsService.cpp 206 const int32_t opCode = permissionToOpCode(permission);
208 reply->writeInt32(opCode);
  /frameworks/native/libs/gui/tests/
SurfaceParcelable_test.cpp 123 uint32_t opCode = GetParam();
126 status_t error = mService->transact(opCode, data, &reply);
  /external/skia/tools/
remote_demo.cpp 44 enum class OpCode : int32_t {
54 Op(OpCode opCode, SkFontID typefaceId, const SkScalerContextRec& rec)
55 : opCode{opCode}
58 const OpCode opCode;
82 Op* op = this->createOp(OpCode::kFontMetrics, tf, rec);
92 Op* op = this->createOp(OpCode::kGlyphMetrics, tf, rec);
104 Op* op = this->createOp(OpCode::kGlyphImage, tf, rec)
    [all...]
  /frameworks/base/media/native/midi/
midi.cpp 72 * + OpCode (AMIDI_OPCODE_DATA)
184 message->opcode = readBuffer[0];
186 if (message->opcode == AMIDI_OPCODE_DATA && readCount >= AMIDI_PACKET_OVERHEAD) {
262 uint8_t opCode = AMIDI_OPCODE_FLUSH;
264 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes);
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/SPIRV/
disassemble.cpp 116 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
177 // Instruction wordCount and opcode
180 Op opCode = (Op)(firstWord & OpCodeMask);
193 if (InstructionDesc[opCode].hasType()) {
200 if (InstructionDesc[opCode].hasResult()) {
213 disassembleInstruction(resultId, typeId, opCode, numOperands);
332 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands)
334 // Process the opcode
336 out << (OpcodeString(opCode) + 2); // leave out the "Op"
338 if (opCode == OpLoopMerge || opCode == OpSelectionMerge
    [all...]
SPVRemapper.cpp 61 // hash opcode, with special handling for OpExtInst
64 const spv::Op opCode = asOpCode(word);
68 switch (opCode) {
75 return opCode * 19 + offset; // 19 = small prime
78 spirvbin_t::range_t spirvbin_t::literalRange(spv::Op opCode) const
82 switch (opCode) {
97 spirvbin_t::range_t spirvbin_t::typeRange(spv::Op opCode) const
101 if (isConstOp(opCode))
104 switch (opCode) {
118 spirvbin_t::range_t spirvbin_t::constRange(spv::Op opCode) cons
    [all...]
spvIR.h 91 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { }
92 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { }
124 Op getOpCode() const { return opCode; }
143 out.push_back(((wordCount) << WordCountShift) | opCode);
158 Op opCode;
SpvBuilder.cpp 621 Id Builder::findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned value) const
626 if (constant->getOpCode() == opcode &&
636 Id Builder::findScalarConstant(Op typeClass, Op opcode, Id typeId, unsigned v1, unsigned v2) const
641 if (constant->getOpCode() == opcode &&
651 // Return true if consuming 'opcode' means consuming a constant.
654 bool Builder::isConstantOpCode(Op opcode) const
656 switch (opcode) {
675 // Return true if consuming 'opcode' means consuming a specialization constant.
676 bool Builder::isSpecConstantOpCode(Op opcode) const
678 switch (opcode) {
694 Op opcode = specConstant ? (b ? OpSpecConstantTrue : OpSpecConstantFalse) : (b ? OpConstantTrue : OpConstantFalse); local
721 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
742 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
767 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
792 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
821 Op opcode = specConstant ? OpSpecConstant : OpConstant; local
879 Op opcode = specConstant ? OpSpecConstantComposite : OpConstantComposite; local
    [all...]
GlslangToSpv.cpp     [all...]
  /external/capstone/arch/PowerPC/
PPCInstPrinter.c 746 const char *opCode;
756 opCode = "b%s";
759 opCode = "b%sa";
762 opCode = "b%sctr";
765 opCode = "b%sctrl";
768 opCode = "b%sl";
771 opCode = "b%sla";
774 opCode = "b%slr";
777 opCode = "b%slrl";
785 SStream_concat(&ss, opCode, "dnzf")
    [all...]
  /frameworks/base/services/net/java/android/net/util/
ConnectivityPacketSummary.java 129 final int opCode = asUint(mPacket.getShort());
136 if (opCode == ARP_REQUEST) {
138 } else if (opCode == ARP_REPLY) {
141 sj.add("unknown opcode").add(asString(opCode));
  /packages/services/Telecomm/src/com/android/server/telecom/
TelecomServiceImpl.java     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
mxdc.h 50 ULONG opCode;
  /external/python/cpython2/Mac/Modules/cg/
CFMLateImport.c 267 // Given a pointer to the start of an opcode (inOpStart), work out the
268 // count argument for that opcode (*outCount). Returns the number of
269 // bytes consumed by the opcode and count combination.
276 // Simple case, count encoded in opcode.
292 UInt8 opCode;
312 opCode = packedData[offset];
314 switch (PEFPkDataOpcode(opCode)) {
414 DebugStr("\pUnpackPEFDataSection: Unexpected data opcode");
    [all...]
  /external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
NanoWSD.java 53 import fi.iki.elonen.NanoWSD.WebSocketFrame.OpCode;
71 private WebSocketFrame.OpCode continuousOpCode = null;
191 if (frame.getOpCode() != OpCode.Continuation) {
218 if (frame.getOpCode() == OpCode.Close) {
220 } else if (frame.getOpCode() == OpCode.Ping) {
221 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload()));
222 } else if (frame.getOpCode() == OpCode.Pong) {
224 } else if (!frame.isFin() || frame.getOpCode() == OpCode.Continuation) {
228 } else if (frame.getOpCode() == OpCode.Text || frame.getOpCode() == OpCode.Binary)
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BroadcastQueue.java 535 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission);
536 if (opCode != AppOpsManager.OP_NONE
537 && mService.mAppOpsService.noteOperation(opCode, r.callingUid,
    [all...]
ActiveServices.java     [all...]
ActivityStackSupervisor.java     [all...]
  /frameworks/native/services/sensorservice/
SensorService.cpp     [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
FrameParser.java 326 int opCode = getUnsignedShort(data);
327 switch (opCode) {
335 mTypeString = "Operation " + opCode;
  /packages/apps/DocumentsUI/src/com/android/documentsui/
Metrics.java 580 @FileOp int opCode = FILEOP_OTHER_ERROR;
583 opCode = FILEOP_COPY_ERROR;
586 opCode = FILEOP_COMPRESS_ERROR;
589 opCode = FILEOP_EXTRACT_ERROR;
592 opCode = FILEOP_DELETE_ERROR;
595 opCode = FILEOP_MOVE_ERROR;
599 logHistogram(context, COUNT_FILEOP_SYSTEM, opCode);
602 logHistogram(context, COUNT_FILEOP_EXTERNAL, opCode);
    [all...]
  /frameworks/base/core/java/android/app/
AppOpsManager.java     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmInstructionTests.cpp 22 * \brief SPIR-V Assembly Tests for Instructions (special opcode/operand)
288 const char* opCode;
293 , opCode (_opCode)
297 #define ADD_OPFUNORD_CASE(NAME, OPCODE, OPERATOR) \
300 cases.push_back(OpFUnordCase(#NAME, OPCODE, compare_##NAME::compare)); \
360 "%result = ${OPCODE} %bool %inval1 %inval2\n"
383 specializations["OPCODE"] = cases[caseNdx].opCode;
    [all...]

Completed in 447 milliseconds

1 2