Home
last modified time | relevance | path

Searched defs:op (Results 1 – 25 of 111) sorted by relevance

12345

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServerTest.java176 Operation op = mock(Operation.class); in makeOperation() local
235 Operation op = makeOperation(null, mOutputStream); in testOnGetNoHeaders() local
246 Operation op = makeOperation(mRequest, mOutputStream); in testOnGetBadType() local
257 Operation op = makeOperation(mRequest, mOutputStream); in testOnGetNoType() local
270 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithValidHandle() local
282 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithValidUnstoredHandle() local
295 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithInvalidHandle() local
308 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithNullHandle() local
321 Operation op = makeOperation(mRequest, mOutputStream); in testGetImagePropertiesWithValidHandle() local
333 Operation op = makeOperation(mRequest, mOutputStream); in testGetImagePropertiesWithValidUnstoredHandle() local
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DConcatSplit.cpp24 static void concatConstructor(uint32_t numInputs, bool isV1_0, uint32_t rank, RandomOperation* op) { in concatConstructor()
56 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
69 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
81 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
94 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
105 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
117 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
122 static void splitConstructor(uint32_t numSplits, uint32_t rank, RandomOperation* op) { in splitConstructor()
154 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
167 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
[all …]
DElementwise.cpp23 static void elementwiseOpConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in elementwiseOpConstructor()
56 #define DEFINE_ELEMENTWISE_SIGNATURE(op, ver, ...) \ argument
84 #define DEFINE_ELEMENTWISE_SIGNATURE_WITH_RANK5(op, ver, ...) \ argument
113 #define DEFINE_ELEMENTWISE_WITH_QUANT_OUTPUT_SIGNATURE(op, ver, s, z, ...) \ argument
134 static void castingOpConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in castingOpConstructor()
147 #define DEFINE_QUANTIZATION_OP_SIGNATURE(op, ver, outType, ...) \ argument
DBroadcast.cpp25 static void broadcastOpConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in broadcastOpConstructor()
84 #define DEFINE_BROADCAST_WITH_ACT_SIGNATURE(op, ver, ...) \ argument
116 #define DEFINE_BROADCAST_SIGNATURE(op, ver, ...) \ argument
145 #define DEFINE_COMPARISON_SIGNATURE(op, ver, ...) \ argument
DSelection.cpp27 static void embeddingLookupConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in embeddingLookupConstructor()
38 static void embeddingLookupFinalizer(RandomOperation* op) { in embeddingLookupFinalizer()
64 static void hashtableLookupConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in hashtableLookupConstructor()
79 static void hashtableLookupFinalizer(RandomOperation* op) { in hashtableLookupFinalizer()
115 static void gatherConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in gatherConstructor()
138 static void gatherFinalizer(RandomOperation* op) { in gatherFinalizer()
165 static void selectConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in selectConstructor()
188 static void topKConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in topKConstructor()
225 static void sliceConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in sliceConstructor()
237 static void sliceFinalizer(RandomOperation* op) { in sliceFinalizer()
[all …]
DResize.cpp23 static void resizeOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in resizeOpConstructor()
73 #define DEFINE_RESIZE_WITHOUT_LAYOUT_SIGNATURE(op, ver, ...) \ argument
89 #define DEFINE_RESIZE_OP_SIGNATURE(op, ver, ...) \ argument
119 #define DEFINE_RESIZE_OP_WITH_OPTIONAL_FLAGS_SIGNATURE(op, ver, ...) \ argument
DReduce.cpp23 static void reduceOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in reduceOpConstructor()
78 #define DEFINE_REDUCE_SIGNATURE(op, ver, ...) \ argument
102 static void singleAxisReduceOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in singleAxisReduceOpConstructor()
115 #define DEFINE_ARGMIN_MAX_SIGNATURE(op, ver, ...) \ argument
DReshape.cpp26 static void spaceToDepthConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in spaceToDepthConstructor()
81 static void depthToSpaceConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in depthToSpaceConstructor()
137 static void reshapeConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in reshapeConstructor()
169 static void batchToSpaceConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in batchToSpaceConstructor()
227 static void spaceToBatchConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in spaceToBatchConstructor()
306 static void padConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in padConstructor()
375 static void transposeConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in transposeConstructor()
393 static void transposeOmittedConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in transposeOmittedConstructor()
425 RandomOperation* op) { in channelShuffleConstructor()
451 static void squeezeConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in squeezeConstructor()
[all …]
DBoundingBox.cpp28 static void roiTensorConstructor(TestOperandType dataType, uint32_t, RandomOperand* op) { in roiTensorConstructor()
42 static void roiConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in roiConstructor()
75 inline void fillRoiTensor(uint32_t numRois, T maxH, T maxW, RandomOperand* op) { in fillRoiTensor()
88 static void roiFinalizer(RandomOperation* op) { in roiFinalizer()
182 static void heatmapMaxKeypointConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in heatmapMaxKeypointConstructor()
211 static void heatmapMaxKeypointFinalizer(RandomOperation* op) { in heatmapMaxKeypointFinalizer()
DPoolings.cpp24 static void poolingExplicitOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in poolingExplicitOpConstructor()
66 static void poolingImplicitOpConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in poolingImplicitOpConstructor()
101 #define DEFINE_POOLING_SIGNATURE(op, ver, ...) \ argument
150 #define DEFINE_POOLING_WITH_LAYOUT_SIGNATURE(op, ver, ...) \ argument
DConvolutions.cpp26 RandomOperation* op) { in conv2DExplicitConstructor()
81 RandomOperation* op) { in conv2DImplicitConstructor()
265 RandomOperation* op) { in depthwiseConv2DExplicitConstructor()
321 RandomOperation* op) { in depthwiseConv2DImplicitConstructor()
518 static void groupedConv2DExplicitConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in groupedConv2DExplicitConstructor()
573 static void groupedConv2DImplicitConstructor(TestOperandType, uint32_t rank, RandomOperation* op) { in groupedConv2DImplicitConstructor()
672 RandomOperation* op) { in transposeConv2DExplicitConstructor()
719 RandomOperation* op) { in transposeConv2DImplicitConstructor()
DNormalization.cpp23 static void softmaxConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in softmaxConstructor()
91 static void l2normConstructor(TestOperandType dataType, uint32_t rank, RandomOperation* op) { in l2normConstructor()
159 RandomOperation* op) { in localResponseNormConstructor()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServer.java131 public int onGet(final Operation op) { in onGet()
159 public int onPut(final Operation op) { in onPut()
200 private int handleGetImageThumbnail(Operation op)throws IOException { in handleGetImageThumbnail()
232 private int handleGetImageProperties(Operation op) throws IOException { in handleGetImageProperties()
270 private int handleGetImage(Operation op) throws IOException { in handleGetImage()
320 private int sendResponse(Operation op, HeaderSet replyHeaders, byte[] bytes) { in sendResponse()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DUpdateInteractAcrossProfilesAppOpTask.java89 final String op = in grantNewConfigurableDefaultCrossProfilePackages() local
122 final String op = AppOpsManager.permissionToOp( in getUidsWithNonDefaultMode() local
151 final String op = AppOpsManager.permissionToOp( in reapplyCrossProfileAppsPermissionForUid() local
158 private int getConsolidatedModeForPackagesInUid(int uid, String[] packages, String op) { in getConsolidatedModeForPackagesInUid()
202 private boolean appOpIsChangedFromDefault(String op, int uid, String packageName) { in appOpIsChangedFromDefault()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp91 for (const auto& op : operation.inputs) { in RandomOperation() local
94 for (const auto& op : operation.outputs) { in RandomOperation() local
172 for (const auto& op : ops) { in generateValue() local
299 for (auto& op : operation.inputs) { in createTestModel() local
303 for (auto& op : operation.outputs) { in createTestModel() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java91 SaveOperation op = new SaveOperation(); in save() local
111 UpdateOperation op = new UpdateOperation(); in update() local
132 SaveOperation op = (SaveOperation) msg.obj; in processSave() local
144 UpdateOperation op = (UpdateOperation) msg.obj; in processUpdate() local
/packages/modules/NeuralNetworks/tools/test_generator/
Dspec_visualizer.py74 def GetOperandInfo(op): argument
90 def FormatOperand(op): argument
111 def AddToTopologicalOrder(op): argument
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp103 std::back_inserter(operations), [](const TestOperation& op) -> Operation { in createSubgraph()
152 const auto& op = testModel.main.operands[operandIndex]; in createRequest() local
171 const auto& op = testModel.main.operands[operandIndex]; in createRequest() local
DTestHarness.cpp62 uint32_t getNumberOfElements(const TestOperand& op) { in getNumberOfElements()
68 void expectNear(const TestOperand& op, const TestBuffer& result, const AccuracyCriterion& criterion, in expectNear()
115 void expectBooleanNearlyEqual(const TestOperand& op, const TestBuffer& result, in expectBooleanNearlyEqual()
279 [](const TestOperand& op) { in checkResults()
700 static TestOperand convertOperandToFloat32(const TestOperand& op) { in convertOperandToFloat32()
745 auto convert = [&testModel, &operation](const TestOperand& op, uint32_t index) { in convertToFloat32Model()
795 static void setDataFromFloat32Buffer(const TestBuffer& fpBuffer, TestOperand* op) { in setDataFromFloat32Buffer()
820 auto& op = model->main.operands[outputIndex]; in setExpectedOutputsFromFloat32Results() local
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp67 const auto& op = testSubgraph.operands[i]; in createSubgraph() local
113 operations.begin(), [](const TestOperation& op) -> V1_3::Operation { in createSubgraph()
186 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local
203 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest() local
239 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java240 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp()
241 mOps.put(op.getOp(), op); in addOp() local
245 public boolean hasOp(int op) { in hasOp()
249 public AppOpEntry getOpSwitch(int op) { in getOpSwitch()
316 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry()
326 private static void addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) { in addOp()
344 public void addOp(AppOpsManager.OpEntry op) { in addOp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantController.java82 String op = AppOpsManager.permissionToOp(Manifest.permission.INTERACT_ACROSS_PROFILES); in checkCrossProfileAppsPermissions() local
92 private boolean appOpIsChangedFromDefault(String op, String packageName) { in appOpIsChangedFromDefault()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java798 final ContentProviderOperation.Builder op; in visitFile() local
902 private void addPending(ContentProviderOperation op) { in addPending()
1024 private static void withGenericValues(ContentProviderOperation.Builder op, in withGenericValues()
1065 private static void withRetrieverValues(ContentProviderOperation.Builder op, in withRetrieverValues()
1112 private static void withXmpValues(ContentProviderOperation.Builder op, in withXmpValues()
1137 private static void withOptionalValue(@NonNull ContentProviderOperation.Builder op, in withOptionalValue()
1155 private static void withOptionalMimeTypeAndMediaType( in withOptionalMimeTypeAndMediaType()
1170 private static void withResolutionValues( in withResolutionValues()
1187 private static void withBitmapResolutionValues( in withBitmapResolutionValues()
1206 final ContentProviderOperation.Builder op = newUpsert(volumeName, existingId); in scanItemDirectory() local
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java321 public int onPut(final Operation op) { in onPut()
395 public int onGet(Operation op) { in onGet()
761 private int sendVcardListingXml(AppParamValue appParamValue, Operation op, int needSendBody, in sendVcardListingXml()
904 private int pushHeader(final Operation op, final HeaderSet reply) { in pushHeader()
931 private int pushBytes(Operation op, final String vcardString) { in pushBytes()
958 Operation op, String name) { in handleAppParaForResponse()
1116 Operation op, String name) { in pullVcardListing()
1182 private int pullVcardEntry(byte[] appParam, AppParamValue appParamValue, Operation op, in pullVcardEntry()
1246 Operation op, final String name) { in pullPhonebook()
1344 public static boolean closeStream(final OutputStream out, final Operation op) { in closeStream()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMnsObexServer.java100 public int onGet(final Operation op) { in onGet()
108 public int onPut(final Operation op) { in onPut()

12345