/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSBaseCompute.java | 76 protected Element getElement(RenderScript rs, Element.DataType dataType, int size) { in getElement() argument 79 if (dataType == Element.DataType.FLOAT_64) { in getElement() 81 } else if (dataType == Element.DataType.FLOAT_32) { in getElement() 83 } else if (dataType == Element.DataType.FLOAT_16) { in getElement() 85 } else if (dataType == Element.DataType.SIGNED_64) { in getElement() 87 } else if (dataType == Element.DataType.UNSIGNED_64) { in getElement() 89 } else if (dataType == Element.DataType.SIGNED_32) { in getElement() 91 } else if (dataType == Element.DataType.UNSIGNED_32) { in getElement() 93 } else if (dataType == Element.DataType.SIGNED_16) { in getElement() 95 } else if (dataType == Element.DataType.UNSIGNED_16) { in getElement() [all …]
|
/cts/tests/tests/neuralnetworks/java_test/jni/ |
D | android_neuralnetworks_cts_ModelAssetTest.cpp | 53 bool isQuantizedType(int dataType) { in isQuantizedType() argument 54 return dataType == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM || in isQuantizedType() 55 dataType == ANEURALNETWORKS_TENSOR_QUANT8_ASYMM_SIGNED; in isQuantizedType() 155 bool createAndCompileAddModel(JNIEnv* env, int dataType, const ANeuralNetworksMemory* memory, in createAndCompileAddModel() argument 157 ASSERT_OR_RETURN_FALSE(kDataTypeToElementSizeMap.count(dataType) > 0); in createAndCompileAddModel() 159 const uint32_t tensorSize = 1 * 256 * 256 * 4 * kDataTypeToElementSizeMap.at(dataType); in createAndCompileAddModel() 170 tensorType.type = dataType; in createAndCompileAddModel() 171 tensorType.scale = isQuantizedType(dataType) ? 1.0f : 0.0f; in createAndCompileAddModel() 292 for (const auto& [dataType, _] : kDataTypeToElementSizeMap) { in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile() 293 bool successWithAshmem = createAndCompileAddModel(env, dataType, memoryFromAshmem, device); in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile() [all …]
|
/cts/tests/tests/rsblas/assets/ |
D | blas_gen.py | 324 dataType = ['s', 'd', 'c', 'z']; 326 for dt in dataType: 348 dataType = ['s', 'd', 'c', 'z']; 350 for dt in dataType: 370 dataType = ['c', 'z']; 372 for dt in dataType: 392 dataType = ['s', 'd', 'c', 'z']; 394 for dt in dataType: 409 dataType = ['c', 'z']; 411 for dt in dataType: [all …]
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | CtsWearableSensingService.java | 84 int dataType, in onDataRequestObserverRegistered() argument 90 dataType, packageName, dataRequester, statusConsumer); in onDataRequestObserverRegistered() 93 sDataRequesters.put(dataType, dataRequester); in onDataRequestObserverRegistered() 101 int dataType, in onDataRequestObserverUnregistered() argument 107 dataType, packageName, dataRequester, statusConsumer); in onDataRequestObserverUnregistered() 110 sDataRequesters.remove(dataType, dataRequester); in onDataRequestObserverUnregistered() 250 public static Set<WearableSensingDataRequester> getDataRequesters(int dataType) { in getDataRequesters() argument 251 return sDataRequesters.get(dataType); in getDataRequesters()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SignalStrengthTest.java | 131 Class<? extends CellSignalStrength> dataType = in testSignalStrength() local 133 if (dataType != null) types.add(dataType); in testSignalStrength() 139 if (dataType == null && voiceType != null) { in testSignalStrength() 144 if (dataType != null && voiceType != null in testSignalStrength() 145 && dataType.equals(CellSignalStrengthLte.class) in testSignalStrength() 161 (dataType != null && !ss.getCellSignalStrengths(dataType).isEmpty()) in testSignalStrength()
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | ResourcesLoaderTestBase.kt | 69 open lateinit var dataType: DataType in <lambda>() variable in android.content.res.loader.cts.ResourcesLoaderTestBase 97 dataType: DataType, in <lambda>() 103 return when (dataType) { in <lambda>()
|
D | ResourcesLoaderValuesTest.kt | 230 parameter.dataTypes.map { dataType -> in <lambda>() method 231 arrayOf(dataType, parameter) in <lambda>() 239 override lateinit var dataType: DataType in <lambda>() variable in android.content.res.loader.cts.ResourcesLoaderValuesTest 250 private fun openOne() = PROVIDER_ONE.openProvider(dataType, in <lambda>() 252 private fun openTwo() = PROVIDER_TWO.openProvider(dataType, in <lambda>() 254 private fun openThree() = PROVIDER_THREE.openProvider(dataType, in <lambda>() 256 private fun openFour() = PROVIDER_FOUR.openProvider(dataType, in <lambda>()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilterTest.java | 152 final String dataType = "testdataType"; in testConstructor() local 154 new IntentFilter(ACTION, dataType); in testConstructor() 166 private void verifyContent(IntentFilter filter, String action, String dataType) { in verifyContent() argument 173 if (dataType != null) { in verifyContent() 175 assertEquals(dataType, filter.getDataType(0)); in verifyContent()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 442 String dataType = line.split(": ")[0]; in testGetPackageStorageStats() local 444 switch (dataType) { in testGetPackageStorageStats()
|