Home
last modified time | relevance | path

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

12345678910>>...69

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DRenameDocumentUiTest.java43 bots.main.openOverflowMenu(); in testRenameEnabled_SingleSelection()
44 bots.main.assertMenuEnabled(R.string.menu_rename, true); in testRenameEnabled_SingleSelection()
53 bots.main.openOverflowMenu(); in testNoRenameSupport_SingleSelection()
54 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testNoRenameSupport_SingleSelection()
65 bots.main.openOverflowMenu(); in testOneHasRenameSupport_MultipleSelection()
66 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testOneHasRenameSupport_MultipleSelection()
77 bots.main.openOverflowMenu(); in testRenameDisabled_MultipleSelection()
78 bots.main.assertMenuEnabled(R.string.menu_rename, false); in testRenameDisabled_MultipleSelection()
91 bots.main.setDialogText(newName); in testRenameFile_OkButton()
94 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()
DCancelFromNotificationUiTest.java159 bots.main.clickToolbarOverflowItem(context.getResources().getString(R.string.menu_copy)); in testCopyDocument_Cancel()
162 bots.main.clickDialogCancelButton(); in testCopyDocument_Cancel()
177 bots.main.clickToolbarOverflowItem(context.getResources().getString(R.string.menu_copy)); in testCopyDocument_CancelFromNotification()
181 bots.main.clickDialogOkButton(); in testCopyDocument_CancelFromNotification()
211 bots.main.clickToolbarOverflowItem(context.getResources().getString(R.string.menu_move)); in testMoveDocument_Cancel()
214 bots.main.clickDialogCancelButton(); in testMoveDocument_Cancel()
232 bots.main.clickToolbarOverflowItem(context.getResources().getString(R.string.menu_move)); in ignored_testMoveDocument_CancelFromNotification()
236 bots.main.clickDialogOkButton(); in ignored_testMoveDocument_CancelFromNotification()
DGestureSelectionUiTest.java38 bots.main.switchToGridMode(); in testGridGestureSelect_twoFiles()
45 bots.main.switchToGridMode(); in testGridGestureSelect_multipleFiles()
53 bots.main.switchToListMode(); in testListGestureSelect_twoFiles()
61 bots.main.switchToListMode(); in testListGestureSelect_multipleFiles()
DFileManagementUiTest.java67 bots.main.openOverflowMenu(); in testCreateDirectory()
70 bots.main.clickToolbarOverflowItem("New folder"); in testCreateDirectory()
73 bots.main.setDialogText("Kung Fu Panda"); in testCreateDirectory()
84 bots.main.clickToolbarItem(R.id.action_menu_delete); in testDeleteDocument()
86 bots.main.clickDialogOkButton(); in testDeleteDocument()
130 bots.main.clickToolbarItem(R.id.action_menu_delete); in testDeleteDocument_Cancel()
132 bots.main.clickDialogCancelButton(); in testDeleteDocument_Cancel()
/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.cpp129 NN_TRY(createSubgraph(testModel.main, &operandValues, &memoryBuilder)); in createModel()
143 return Model{.main = std::move(mainSubgraph), in createModel()
153 inputs.reserve(testModel.main.inputIndexes.size()); in createRequest()
154 for (uint32_t operandIndex : testModel.main.inputIndexes) { in createRequest()
155 NN_RET_CHECK_LT(operandIndex, testModel.main.operands.size()) in createRequest()
157 << " exceeds number of operands " << testModel.main.operands.size(); in createRequest()
159 const auto& op = testModel.main.operands[operandIndex]; in createRequest()
176 outputs.reserve(testModel.main.outputIndexes.size()); in createRequest()
178 for (uint32_t operandIndex : testModel.main.outputIndexes) { in createRequest()
179 NN_RET_CHECK_LT(operandIndex, testModel.main.operands.size()) in createRequest()
[all …]
/packages/modules/Bluetooth/system/stack/mmc/
DREADME.md13 …t [MMC Interface](https://cs.android.com/android/platform/superproject/main/+/main:packages/module…
20 …mmc_config.proto](https://cs.android.com/android/platform/superproject/main/+/main:packages/module…
26 …o [`ConfigParam`](https://cs.android.com/android/platform/superproject/main/+/main:packages/module…
30 … in [`CodecInit`](https://cs.android.com/android/platform/superproject/main/+/main:packages/module…
32 …a [`CodecClient`](https://cs.android.com/android/platform/superproject/main/+/main:packages/module…
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/
Dgradle.properties19 # Matches http://cs/h/android/platform/superproject/main/+/main:prebuilts/sdk/tools/linux/bin/sourc…
25 # http://cs/h/android/platform/superproject/main/+/main:external/protobuf/version.json
28 # http://cs/h/android/platform/superproject/main/+/main:external/protobuf/javanano/pom.xml?q=Export…
31 # http://cs/h/android/platform/superproject/main/+/main:external/dagger2/METADATA?l=14
33 # http://cs/h/android/platform/superproject/main/+/main:external/kotlinx.coroutines/METADATA?l=8
35 # http://cs/h/android/platform/superproject/main/+/main:prebuilts/sdk/current/androidx/m2repository…
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/RobolectricLib/
Dbuild.gradle15 main {
18 "${ANDROID_TOP}/external/robolectric/utils/src/main/java/",
19 "${ANDROID_TOP}/external/robolectric/resources/src/main/java/",
20 "${ANDROID_TOP}/external/robolectric/nativeruntime/src/main/java/",
21 "${ANDROID_TOP}/external/robolectric/sandbox/src/main/java/",
22 "${ANDROID_TOP}/external/robolectric/robolectric/src/main/java/",
24 "${ANDROID_TOP}/external/robolectric/shadows/framework/src/main/java/",
26 "${ANDROID_TOP}/test/robolectric-extensions/plugins/src/main/java/"
61 sourceSets.main.java.srcDir generateBuildConfig.outputDir
/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()
247 const auto& origOperands = mModel.main.operands; in processOperations()
248 const auto& origOperations = mModel.main.operations; in processOperations()
249 auto& slicedOperands = slice->mModel.main.operands; in processOperations()
250 auto& slicedOperations = slice->mModel.main.operations; in processOperations()
330 extend(&slice->mModel.main.outputIndexes, slicedOperandIndex); in processOperations()
342 for (uint32_t i = 0; i < mModel.main.operations.size(); ++i) { in getNoncompliantOperations()
343 const auto& operation = mModel.main.operations[i]; in getNoncompliantOperations()
[all …]
DModelUtils.cpp80 std::vector<bool> used(model.main.operands.size(), false); in identifyUsedOperands()
85 for (const auto& operation : model.main.operations) { in identifyUsedOperands()
89 markUsed(model.main.inputIndexes); in identifyUsedOperands()
90 CHECK_EQ(used.size(), model.main.operands.size()); in identifyUsedOperands()
136 identifyUsedSubgraphs(model.main.operands, model.referenced, &used); in identifyUsedSubgraphs()
157 identifyUsedPools(model.main, &used); in identifyUsedPools()
218 fixOperandDataLocations(&model->main.operands, &model->operandValues, operandValues, in fixOperandDataLocations()
242 collectPrefixes(model.main); in identifyUsedExtensions()
263 keepSelectedElements(&model->main.operands, operandsUsed); in removeDeadOperands()
267 for (auto& operation : model->main.operations) { in removeDeadOperands()
[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.cpp190 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequestWithDeviceMemories()
192 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequestWithDeviceMemories()
213 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequestWithDeviceMemories()
226 ASSERT_EQ(testModel.main.outputIndexes.size(), outputMemories.size()); in copyResultsFromDeviceMemories()
230 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in copyResultsFromDeviceMemories()
232 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in copyResultsFromDeviceMemories()
284 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in executeInternal()
286 const auto& output = testModel.main.operands[testModel.main.outputIndexes[i]]; in executeInternal()
322 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in validateCompilationMemoryPreferences()
331 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in validateCompilationMemoryPreferences()
[all …]
DSupportLibraryTestGenerated.cpp304 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in computeWithDeviceMemories()
306 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in computeWithDeviceMemories()
329 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in computeWithDeviceMemories()
343 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in computeWithDeviceMemories()
345 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in computeWithDeviceMemories()
392 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in executeWithCompilation()
394 const auto& output = testModel.main.operands[testModel.main.outputIndexes[i]]; in executeWithCompilation()
624 return !testModel.expectFailure && testModel.main.operations.size() == 1 && in __anon9bdf8d9c0d02()
630 std::all_of(testModel.main.outputIndexes.begin(), testModel.main.outputIndexes.end(), in __anon9bdf8d9c0e02()
632 return testModel.main.operands[index].data.size() > 0; in __anon9bdf8d9c0e02()
[all …]
/packages/apps/AvatarPicker/
DAndroid.bp23 "src/main/java/com/android/avatarpicker/data/*.kt",
24 "src/main/java/com/android/avatarpicker/data/**/*.kt",
25 "src/main/java/com/android/avatarpicker/domain/*.kt",
26 "src/main/java/com/android/avatarpicker/ui/*.kt",
27 "src/main/java/com/android/avatarpicker/ui/**/*.kt",
28 "src/main/java/com/android/avatarpicker/AvatarProviderApp.kt"],
30 resource_dirs: ["src/main/res-export"],
67 resource_dirs: ["src/main/res"],
119 resource_dirs: ["src/main/res", "src/tests/common/res"],
151 resource_dirs: ["src/main/res", "src/tests/common/res"],
/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp73 const size_t count = model.main.operations.size(); in getSupportedOperationsFloat()
76 const Operation& operation = model.main.operations[i]; in getSupportedOperationsFloat()
78 const Operand& firstOperand = model.main.operands[operation.inputs[0]]; in getSupportedOperationsFloat()
86 const size_t count = model.main.operations.size(); in getSupportedOperationsMinimal()
91 const Operation& operation = model.main.operations[i]; in getSupportedOperationsMinimal()
96 const Operand& firstOperand = model.main.operands[operation.inputs[0]]; in getSupportedOperationsMinimal()
115 const size_t count = model.main.operations.size(); in getSupportedOperationsQuant()
118 const Operation& operation = model.main.operations[i]; in getSupportedOperationsQuant()
120 const Operand& firstOperand = model.main.operands[operation.inputs[0]]; in getSupportedOperationsQuant()
123 const Operand& secondOperand = model.main.operands[operation.inputs[1]]; in getSupportedOperationsQuant()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Dcast.example.cpp11 .main = { in get_test_model_float16_to_float16()
58 .main = { in get_test_model_float16_to_float16_all_inputs_as_internal()
139 .main = { in get_test_model_float16_to_float32()
186 .main = { in get_test_model_float16_to_float32_all_inputs_as_internal()
267 .main = { in get_test_model_float16_to_float32_relaxed()
314 .main = { in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal()
395 .main = { in get_test_model_float16_to_int32()
442 .main = { in get_test_model_float16_to_int32_all_inputs_as_internal()
523 .main = { in get_test_model_float16_to_quant8()
570 .main = { in get_test_model_float16_to_quant8_all_inputs_as_internal()
[all …]
Dl2_normalization_v1_2.example.cpp11 .main = { in get_test_model_dim4_axis3()
58 .main = { in get_test_model_dim4_axis3_all_inputs_as_internal()
139 .main = { in get_test_model_dim4_axis3_relaxed()
186 .main = { in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal()
267 .main = { in get_test_model_dim4_axis3_float16()
314 .main = { in get_test_model_dim4_axis3_float16_all_inputs_as_internal()
395 .main = { in get_test_model_dim4_axis3_quant8()
442 .main = { in get_test_model_dim4_axis3_quant8_all_inputs_as_internal()
523 .main = { in get_test_model_dim3_axis2()
570 .main = { in get_test_model_dim3_axis2_all_inputs_as_internal()
[all …]
Dl2_normalization_axis.example.cpp11 .main = { in get_test_model_dim4_axis0()
68 .main = { in get_test_model_dim4_axis0_all_inputs_as_internal()
159 .main = { in get_test_model_dim4_axis0_relaxed()
216 .main = { in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal()
307 .main = { in get_test_model_dim4_axis0_float16()
364 .main = { in get_test_model_dim4_axis0_float16_all_inputs_as_internal()
455 .main = { in get_test_model_dim4_axis0_quant8()
512 .main = { in get_test_model_dim4_axis0_quant8_all_inputs_as_internal()
603 .main = { in get_test_model_dim4_axis0_neg()
660 .main = { in get_test_model_dim4_axis0_neg_all_inputs_as_internal()
[all …]
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/
Dhard_swish.example.cpp11 .main = { in get_test_model_simple()
58 .main = { in get_test_model_simple_all_inputs_as_internal()
139 .main = { in get_test_model_simple_float16()
186 .main = { in get_test_model_simple_float16_all_inputs_as_internal()
267 .main = { in get_test_model_simple_relaxed()
314 .main = { in get_test_model_simple_relaxed_all_inputs_as_internal()
395 .main = { in get_test_model_simple_quant8()
442 .main = { in get_test_model_simple_quant8_all_inputs_as_internal()
523 .main = { in get_test_model_simple_quant8_signed()
570 .main = { in get_test_model_simple_quant8_signed_all_inputs_as_internal()
[all …]
Drank.example.cpp11 .main = { in get_test_model_1d()
58 .main = { in get_test_model_1d_all_inputs_as_internal()
139 .main = { in get_test_model_1d_int32()
186 .main = { in get_test_model_1d_float16()
233 .main = { in get_test_model_1d_float16_all_inputs_as_internal()
314 .main = { in get_test_model_1d_quant8()
361 .main = { in get_test_model_1d_quant8_all_inputs_as_internal()
442 .main = { in get_test_model_1d_quant8_signed()
489 .main = { in get_test_model_1d_quant8_signed_all_inputs_as_internal()
570 .main = { in get_test_model_1d_2()
[all …]
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DFuzzTest.cpp67 const auto& subgraph = index == 0 ? testModel.main : testModel.referenced[index - 1]; in areSubgraphsAcyclic()
92 subgraphIndex == 0 ? testModel.main : testModel.referenced[subgraphIndex - 1]; in CreateSubgraph()
170 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in CreateExecution()
171 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in CreateExecution()
179 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in CreateExecution()
180 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in CreateExecution()
/packages/modules/Virtualization/encryptedstore/
DREADME.md29 [vm_payload_api]: https://cs.android.com/android/platform/superproject/main/+/main:packages/modules…
30 [updatable_vm]: https://cs.android.com/android/platform/superproject/main/+/main:packages/modules/V…
31 [sk_hal]: https://cs.android.com/android/platform/superproject/main/+/main:system/secretkeeper/READ…

12345678910>>...69