Home
last modified time | relevance | path

Searched refs:main (Results 1 – 25 of 927) sorted by relevance

12345678910>>...38

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java44 bots.main.openOverflowMenu(); in testRenameEnabled_SingleSelection()
45 bots.main.assertMenuEnabled(R.string.menu_rename, true); in testRenameEnabled_SingleSelection()
54 bots.main.openOverflowMenu(); in testNoRenameSupport_SingleSelection()
55 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testNoRenameSupport_SingleSelection()
66 bots.main.openOverflowMenu(); in testOneHasRenameSupport_MultipleSelection()
67 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testOneHasRenameSupport_MultipleSelection()
78 bots.main.openOverflowMenu(); in testRenameDisabled_MultipleSelection()
79 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testRenameDisabled_MultipleSelection()
92 bots.main.setDialogText(newName); in testRenameFile_OkButton()
95 bots.main.clickDialogOkButton(); in testRenameFile_OkButton()
[all …]
DSortDocumentUiTest.java101 bots.main.switchToListMode(); in testSortByName_Descending_listMode()
111 bots.main.switchToListMode(); in testSortBySize_Ascending_listMode()
121 bots.main.switchToListMode(); in testSortBySize_Descending_listMode()
131 bots.main.switchToListMode(); in testSortByModified_Ascending_listMode()
141 bots.main.switchToListMode(); in testSortByModified_Descending_listMode()
151 bots.main.switchToListMode(); in testSortByType_Ascending_listMode()
161 bots.main.switchToListMode(); in testSortByType_Descending_listMode()
171 bots.main.switchToGridMode(); in testSortByName_Descending_gridMode()
181 bots.main.switchToGridMode(); in testSortBySize_Ascending_gridMode()
191 bots.main.switchToGridMode(); in testSortBySize_Descending_gridMode()
[all …]
DFilesActivityUiTest.java64 bots.main.assertSearchBarShow(); in testClickRecent()
66 bots.main.assertWindowTitle("Recent"); in testClickRecent()
72 bots.main.assertWindowTitle("Images"); in testRootClick_SetsWindowTitle()
100 if (bots.main.inFixedLayout()) { in testNavigate_inFixedLayout_whileHasSelection()
117 bots.main.clickActionItem("Get info"); in testNavigationToInspector()
128 bots.main.switchToGridMode(); in testRootChange_UpdatesSortHeader()
130 bots.main.switchToListMode(); in testRootChange_UpdatesSortHeader()
136 if (bots.main.inFixedLayout()) { in testRootChange_UpdatesSortHeader()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp142 ASSERT_EQ(model.main.operations.size(), 1u); in expectMultinomialDistributionWithinTolerance()
143 ASSERT_EQ(model.main.operations[0].type, TestOperationType::RANDOM_MULTINOMIAL); in expectMultinomialDistributionWithinTolerance()
144 ASSERT_EQ(model.main.inputIndexes.size(), 1u); in expectMultinomialDistributionWithinTolerance()
145 ASSERT_EQ(model.main.outputIndexes.size(), 1u); in expectMultinomialDistributionWithinTolerance()
148 const auto& inputOperand = model.main.operands[model.main.inputIndexes[0]]; in expectMultinomialDistributionWithinTolerance()
149 const auto& outputOperand = model.main.operands[model.main.outputIndexes[0]]; in expectMultinomialDistributionWithinTolerance()
198 ASSERT_EQ(model.main.outputIndexes.size(), buffers.size()); in checkResults()
199 for (uint32_t i = 0; i < model.main.outputIndexes.size(); i++) { in checkResults()
200 const uint32_t outputIndex = model.main.outputIndexes[i]; in checkResults()
203 const auto& operand = model.main.operands[outputIndex]; in checkResults()
[all …]
DTestUtils.cpp121 Model::Subgraph mainSubgraph = createSubgraph(testModel.main, &operandValues, &memoryBuilder); in createModel()
136 return {.main = std::move(mainSubgraph), in createModel()
149 inputs.reserve(testModel.main.inputIndexes.size()); in createRequest()
151 for (uint32_t operandIndex : testModel.main.inputIndexes) { in createRequest()
152 const auto& op = testModel.main.operands[operandIndex]; in createRequest()
168 outputs.reserve(testModel.main.outputIndexes.size()); in createRequest()
170 for (uint32_t operandIndex : testModel.main.outputIndexes) { in createRequest()
171 const auto& op = testModel.main.operands[operandIndex]; in createRequest()
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp61 const bool looksEmpty = (model.main.operations.size() == 0); in invalid()
63 CHECK_EQ(looksEmpty, (model.main.operands.size() == 0)); in invalid()
72 if (model.main.outputIndexes.size() == 0) return true; in invalid()
246 const auto& origOperands = mModel.main.operands; in processOperations()
247 const auto& origOperations = mModel.main.operations; in processOperations()
248 auto& slicedOperands = slice->mModel.main.operands; in processOperations()
249 auto& slicedOperations = slice->mModel.main.operations; in processOperations()
329 extend(&slice->mModel.main.outputIndexes, slicedOperandIndex); in processOperations()
341 for (uint32_t i = 0; i < mModel.main.operations.size(); ++i) { in getNoncompliantOperations()
342 const auto& operation = mModel.main.operations[i]; in getNoncompliantOperations()
[all …]
DGraphDump.cpp165 for (unsigned i = 0, e = model.main.inputIndexes.size(); i < e; i++) { in graphDump()
166 modelIO.emplace(model.main.inputIndexes[i], i); in graphDump()
168 for (unsigned i = 0, e = model.main.outputIndexes.size(); i < e; i++) { in graphDump()
169 modelIO.emplace(model.main.outputIndexes[i], i); in graphDump()
179 for (unsigned i = 0, e = model.main.operands.size(); i < e; i++) { in graphDump()
185 const Operand& opnd = model.main.operands[i]; in graphDump()
239 for (unsigned i = 0, e = model.main.operations.size(); i < e; i++) { in graphDump()
240 const Operation& operation = model.main.operations[i]; in graphDump()
/packages/modules/NeuralNetworks/runtime/test/
DTestGenerated.cpp187 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequestWithDeviceMemories()
189 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequestWithDeviceMemories()
210 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequestWithDeviceMemories()
223 ASSERT_EQ(testModel.main.outputIndexes.size(), outputMemories.size()); in copyResultsFromDeviceMemories()
227 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in copyResultsFromDeviceMemories()
229 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in copyResultsFromDeviceMemories()
281 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in executeInternal()
283 const auto& output = testModel.main.operands[testModel.main.outputIndexes[i]]; in executeInternal()
319 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in validateCompilationMemoryPreferences()
328 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in validateCompilationMemoryPreferences()
[all …]
DSupportLibraryTestGenerated.cpp296 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in computeWithDeviceMemories()
298 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in computeWithDeviceMemories()
319 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in computeWithDeviceMemories()
331 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in computeWithDeviceMemories()
333 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in computeWithDeviceMemories()
375 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in executeWithCompilation()
377 const auto& output = testModel.main.operands[testModel.main.outputIndexes[i]]; in executeWithCompilation()
602 return !testModel.expectFailure && testModel.main.operations.size() == 1 && in __anonc55b0d030d02()
608 std::all_of(testModel.main.outputIndexes.begin(), testModel.main.outputIndexes.end(), in __anonc55b0d030e02()
610 return testModel.main.operands[index].data.size() > 0; in __anonc55b0d030e02()
[all …]
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp49 for (const auto& operand : testModel.main.operands) { in CreateModel()
75 for (const auto& operation : testModel.main.operations) { in CreateModel()
81 model.identifyInputsAndOutputs(testModel.main.inputIndexes, testModel.main.outputIndexes); in CreateModel()
108 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in CreateExecution()
109 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in CreateExecution()
117 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in CreateExecution()
118 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in CreateExecution()
DDriverFuzzTest.cpp141 V1_3::Subgraph mainSubgraph = createSubgraph(testModel.main, &constCopySize, &constCopies, in createModel()
171 return {.main = std::move(mainSubgraph), in createModel()
183 hidl_vec<V1_0::RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
185 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
186 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
200 hidl_vec<V1_0::RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
202 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
203 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
238 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
239 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
/packages/apps/Car/libs/car-ui-lib/
DAndroid.bp26 manifest: "car-ui-lib/src/main/AndroidManifest.xml",
27 srcs: ["car-ui-lib/src/main/java/**/*.java"],
29 "car-ui-lib/src/main/res",
30 "car-ui-lib/src/main/res-overlayable",
31 "car-ui-lib/src/main/res-private"
62 manifest: "car-ui-lib/src/main/AndroidManifest.xml",
112 manifest: "paintbooth/src/main/AndroidManifest.xml",
118 "paintbooth/src/main/res",
119 "paintbooth/src/main/res-overlayable",
120 "paintbooth/src/main/res-public",
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Dcast.example.cpp14 .main = { in get_test_model_float16_to_float16()
61 .main = { in get_test_model_float16_to_float16_all_inputs_as_internal()
142 .main = { in get_test_model_float16_to_float32()
189 .main = { in get_test_model_float16_to_float32_all_inputs_as_internal()
270 .main = { in get_test_model_float16_to_float32_relaxed()
317 .main = { in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal()
398 .main = { in get_test_model_float16_to_int32()
445 .main = { in get_test_model_float16_to_int32_all_inputs_as_internal()
526 .main = { in get_test_model_float16_to_quant8()
573 .main = { in get_test_model_float16_to_quant8_all_inputs_as_internal()
[all …]
Dl2_normalization_v1_2.example.cpp14 .main = { in get_test_model_dim4_axis3()
61 .main = { in get_test_model_dim4_axis3_all_inputs_as_internal()
142 .main = { in get_test_model_dim4_axis3_relaxed()
189 .main = { in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal()
270 .main = { in get_test_model_dim4_axis3_float16()
317 .main = { in get_test_model_dim4_axis3_float16_all_inputs_as_internal()
398 .main = { in get_test_model_dim4_axis3_quant8()
445 .main = { in get_test_model_dim4_axis3_quant8_all_inputs_as_internal()
526 .main = { in get_test_model_dim3_axis2()
573 .main = { in get_test_model_dim3_axis2_all_inputs_as_internal()
[all …]
Dl2_normalization_axis.example.cpp14 .main = { in get_test_model_dim4_axis0()
71 .main = { in get_test_model_dim4_axis0_all_inputs_as_internal()
162 .main = { in get_test_model_dim4_axis0_relaxed()
219 .main = { in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal()
310 .main = { in get_test_model_dim4_axis0_float16()
367 .main = { in get_test_model_dim4_axis0_float16_all_inputs_as_internal()
458 .main = { in get_test_model_dim4_axis0_quant8()
515 .main = { in get_test_model_dim4_axis0_quant8_all_inputs_as_internal()
606 .main = { in get_test_model_dim4_axis0_neg()
663 .main = { in get_test_model_dim4_axis0_neg_all_inputs_as_internal()
[all …]
Dexpand_dims.example.cpp14 .main = { in get_test_model()
71 .main = { in get_test_model_all_inputs_as_internal()
162 .main = { in get_test_model_relaxed()
219 .main = { in get_test_model_relaxed_all_inputs_as_internal()
310 .main = { in get_test_model_quant8()
367 .main = { in get_test_model_quant8_all_inputs_as_internal()
458 .main = { in get_test_model_int32()
515 .main = { in get_test_model_float16()
572 .main = { in get_test_model_float16_all_inputs_as_internal()
663 .main = { in get_test_model_2()
[all …]
Dsoftmax_v1_2.example.cpp14 .main = { in get_test_model()
71 .main = { in get_test_model_all_inputs_as_internal()
162 .main = { in get_test_model_dim1_axis0()
219 .main = { in get_test_model_dim1_axis0_all_inputs_as_internal()
310 .main = { in get_test_model_dim3_axis2()
367 .main = { in get_test_model_dim3_axis2_all_inputs_as_internal()
458 .main = { in get_test_model_relaxed()
515 .main = { in get_test_model_relaxed_all_inputs_as_internal()
606 .main = { in get_test_model_relaxed_dim1_axis0()
663 .main = { in get_test_model_relaxed_dim1_axis0_all_inputs_as_internal()
[all …]
Dchannel_shuffle.example.cpp14 .main = { in get_test_model_dim4_axis0()
81 .main = { in get_test_model_dim4_axis0_all_inputs_as_internal()
182 .main = { in get_test_model_dim4_axis0_neg()
249 .main = { in get_test_model_dim4_axis0_neg_all_inputs_as_internal()
350 .main = { in get_test_model_dim4_axis1()
417 .main = { in get_test_model_dim4_axis1_all_inputs_as_internal()
518 .main = { in get_test_model_dim4_axis1_neg()
585 .main = { in get_test_model_dim4_axis1_neg_all_inputs_as_internal()
686 .main = { in get_test_model_dim4_axis2()
753 .main = { in get_test_model_dim4_axis2_all_inputs_as_internal()
[all …]
Dgather.example.cpp14 .main = { in get_test_model()
81 .main = { in get_test_model_all_inputs_as_internal()
182 .main = { in get_test_model_relaxed()
249 .main = { in get_test_model_relaxed_all_inputs_as_internal()
350 .main = { in get_test_model_quant8()
417 .main = { in get_test_model_quant8_all_inputs_as_internal()
518 .main = { in get_test_model_int32()
585 .main = { in get_test_model_float16()
652 .main = { in get_test_model_float16_all_inputs_as_internal()
753 .main = { in get_test_model_2()
[all …]
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/
Dhard_swish.example.cpp14 .main = { in get_test_model_simple()
61 .main = { in get_test_model_simple_all_inputs_as_internal()
142 .main = { in get_test_model_simple_float16()
189 .main = { in get_test_model_simple_float16_all_inputs_as_internal()
270 .main = { in get_test_model_simple_relaxed()
317 .main = { in get_test_model_simple_relaxed_all_inputs_as_internal()
398 .main = { in get_test_model_simple_quant8()
445 .main = { in get_test_model_simple_quant8_all_inputs_as_internal()
526 .main = { in get_test_model_simple_quant8_signed()
573 .main = { in get_test_model_simple_quant8_signed_all_inputs_as_internal()
[all …]
Dl2_normalization_quant8_signed.example.cpp14 .main = { in get_test_model_dim4_axis0_quant8_signed()
71 .main = { in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal()
162 .main = { in get_test_model_dim4_axis0_neg_quant8_signed()
219 .main = { in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal()
310 .main = { in get_test_model_dim4_axis1_quant8_signed()
367 .main = { in get_test_model_dim4_axis1_quant8_signed_all_inputs_as_internal()
458 .main = { in get_test_model_dim4_axis1_neg_quant8_signed()
515 .main = { in get_test_model_dim4_axis1_neg_quant8_signed_all_inputs_as_internal()
606 .main = { in get_test_model_dim4_axis2_quant8_signed()
663 .main = { in get_test_model_dim4_axis2_quant8_signed_all_inputs_as_internal()
[all …]
Drank.example.cpp14 .main = { in get_test_model_1d()
61 .main = { in get_test_model_1d_all_inputs_as_internal()
142 .main = { in get_test_model_1d_int32()
189 .main = { in get_test_model_1d_float16()
236 .main = { in get_test_model_1d_float16_all_inputs_as_internal()
317 .main = { in get_test_model_1d_quant8()
364 .main = { in get_test_model_1d_quant8_all_inputs_as_internal()
445 .main = { in get_test_model_1d_quant8_signed()
492 .main = { in get_test_model_1d_quant8_signed_all_inputs_as_internal()
573 .main = { in get_test_model_1d_2()
[all …]
Dcast_identity.example.cpp14 .main = { in get_test_model_float16()
61 .main = { in get_test_model_float16_all_inputs_as_internal()
142 .main = { in get_test_model_float32()
189 .main = { in get_test_model_float32_all_inputs_as_internal()
270 .main = { in get_test_model_float32_relaxed()
317 .main = { in get_test_model_float32_relaxed_all_inputs_as_internal()
398 .main = { in get_test_model_int32()
445 .main = { in get_test_model_bool8()
492 .main = { in get_test_model_quant8_asymm()
539 .main = { in get_test_model_quant8_asymm_all_inputs_as_internal()
[all …]
Dpad_quant8_signed.example.cpp14 .main = { in get_test_model_quant8_signed()
71 .main = { in get_test_model_quant8_signed_all_inputs_as_internal()
162 .main = { in get_test_model_quant8_signed_all_tensors_as_inputs()
219 .main = { in get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal()
310 .main = { in get_test_model()
367 .main = { in get_test_model_all_inputs_as_internal()
458 .main = { in get_test_model_all_tensors_as_inputs()
515 .main = { in get_test_model_all_tensors_as_inputs_all_inputs_as_internal()
606 .main = { in get_test_model_2()
663 .main = { in get_test_model_all_inputs_as_internal_2()
[all …]
Dsoftmax_quant8_signed.example.cpp14 .main = { in get_test_model()
71 .main = { in get_test_model_all_inputs_as_internal()
162 .main = { in get_test_model_2()
219 .main = { in get_test_model_all_inputs_as_internal_2()
310 .main = { in get_test_model_quant8_signed()
367 .main = { in get_test_model_quant8_signed_all_inputs_as_internal()
458 .main = { in get_test_model_quant8_signed_dim1_axis0()
515 .main = { in get_test_model_quant8_signed_dim1_axis0_all_inputs_as_internal()
606 .main = { in get_test_model_quant8_signed_dim3_axis2()
663 .main = { in get_test_model_quant8_signed_dim3_axis2_all_inputs_as_internal()
[all …]

12345678910>>...38