Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 175) sorted by relevance

1234567

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.kt27 class LevenshteinDistance(source: Array<Token?>?, target: Array<Token?>?) {
28 private val mSource: Array<Token?>?
29 private val mTarget: Array<Token?>?
30 private val mEditTypeTable: Array<IntArray>
31 private val mDistanceTable: Array<IntArray>
76 val targetOperations: Array<EditOperation?>
148 val editTab = Array(sourceSize + 1) { IntArray(targetSize + 1) } in <lambda>()
149 val distTab = Array(sourceSize + 1) { IntArray(targetSize + 1) } in <lambda>()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.kt37 val queryTokens: Array<Token?> = tokenize(mQuery) in formatSuggestion()
38 val suggestionTokens: Array<Token?> = tokenize(suggestion) in formatSuggestion()
74 fun findMatches(source: Array<Token?>?, target: Array<Token?>): IntArray { in findMatches()
79 val ops: Array<LevenshteinDistance.EditOperation?> = table.targetOperations in findMatches()
91 fun tokenize(seq: String?): Array<Token?> { in tokenize()
96 val tokens: Array<Token?> = arrayOfNulls<Token>(len) in tokenize()
112 val ret: Array<Token?> = arrayOfNulls<Token>(tokenCount) in tokenize()
DCursorBackedSuggestionExtras.kt20 import kotlin.Array
43 fun getCursorColumns(cursor: Cursor?): Array<String>? { in getCursorColumns()
54 val columns: Array<String>? = CursorBackedSuggestionExtras.Companion.getCursorColumns(cursor) in cursorContainsExtras()
67 val columns: Array<String> = in getExtraColumns()
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java53 import co.nstant.in.cbor.model.Array;
90 List<DataItem> respItems = ((Array) response).getDataItems(); in FetchEekResponse()
92 ((Array) respItems.get(EEK_AND_CURVE_INDEX)).getDataItems(); in FetchEekResponse()
94 List<DataItem> curveAndEekChain = ((Array) entry).getDataItems(); in FetchEekResponse()
225 List<DataItem> dataItems = ((Array) response).getDataItems(); in signCertificates()
228 DataItem leaf = ((Array) dataItems.get(UNIQUE_CERTIFICATES_INDEX)).getDataItems().get(0); in signCertificates()
298 Array mac0Message = buildMac0MessageForV1Csr(macedKeysToSign[0], csrTag); in generateCsr()
314 Array array = (Array) decodeCbor(csrBytes); in generateCsr()
320 Array buildMac0MessageForV1Csr(MacedPublicKey macedKeyToSign, byte[] csrTag) in buildMac0MessageForV1Csr()
322 DataItem macedPayload = ((Array) decodeCbor( in buildMac0MessageForV1Csr()
[all …]
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DTestContentProvider.kt27 projection: Array<out String>?, in query()
29 selectionArgs: Array<out String>?, in query()
36 override fun getStreamTypes(uri: Uri, mimeTypeFilter: String): Array<String>? { in getStreamTypes()
53 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int = 0 in insert()
59 selectionArgs: Array<out String>? in insert()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java40 import co.nstant.in.cbor.model.Array;
106 dataItems = ((Array) dataItems.get(RESPONSE_CERT_ARRAY_INDEX)).getDataItems(); in parseSignedCertificates()
120 Array uniqueCertificates = (Array) dataItems.get(UNIQUE_CERTIFICATES_INDEX); in parseSignedCertificates()
218 ((Array) dataItems.get(RESPONSE_CERT_ARRAY_INDEX)).getDataItems(); in parseGeekResponse()
230 ((Array) respItems.get(EEK_AND_CURVE_INDEX)).getDataItems(); in parseGeekResponse()
236 ((Array) curveAndEekChains.get(i)).getDataItems(); in parseGeekResponse()
305 Array protectedDataArray = (Array) decodeCbor(protectedData, "ProtectedData", in buildCertificateRequest()
307 Array macedKeysToSignArray = (Array) decodeCbor(macedKeysToSign, "MacedKeysToSign", in buildCertificateRequest()
355 Array cborMessage = (Array) decodeCbor(macedPublicKey.macedKey, "MacedPublicKeys", in extractRkpKeyFromMacedKey()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverterTest.java41 import co.nstant.in.cbor.model.Array;
294 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in testEncodeWithCbor_successfully()
334 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in testEncodeWithCbor_differentSizesShouldMatchUpperBound()
369 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in testEncodeWithCbor_valuesAtUpperBoundLimit()
413 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in testEncodeWithCbor_withAndWithoutSignedBits_ignoreSignedBits()
487 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in assertEncryptedPayload()
514 final Array payloadArray = (Array) payload.get(new UnicodeString("data")); in assertEncodedPayload()
/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h92 typedef Array<Eigen::half, kResultElementCount> ResultType;
116 typedef Array<bfloat16, kResultElementCount> ResultType;
140 typedef Array<float, kResultElementCount> ResultType;
164 typedef Array<double, kResultElementCount> ResultType;
188 typedef Array<int32, kResultElementCount> ResultType;
223 typedef Array<int64, kResultElementCount> ResultType;
344 typedef Array<Eigen::half, kResultElementCount> ResultType;
371 typedef Array<bfloat16, kResultElementCount> ResultType;
400 typedef Array<float, kResultElementCount> ResultType;
424 typedef Array<double, kResultElementCount> ResultType;
[all …]
/packages/apps/Contacts/src/com/android/contacts/sdn/
DSdnProvider.kt65 projection: Array<out String>?, in <lambda>()
67 selectionArgs: Array<out String>?, in <lambda>()
108 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int { in <lambda>()
116 selectionArgs: Array<out String>?, in <lambda>()
121 private fun handleDirectories(projection: Array<out String>): Cursor { in <lambda>()
142 private fun handleFilter(projection: Array<out String>, uri: Uri): Cursor? { in <lambda>()
173 projection: Array<out String>, in <lambda>()
233 projection: Array<out String>, in <lambda>()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DSystemInterface.java38 import co.nstant.in.cbor.model.Array;
126 Array macedKeys = new Array(); in generateCsr()
131 Array mac0Message = new Array() in generateCsr()
149 Array array = (Array) CborUtils.decodeCbor(csrBytes, "CSR request", in generateCsr()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionType.kt41 override fun newArray(size: Int): Array<DeletionTypeAllData?> { in describeContents()
69 override fun newArray(size: Int): Array<DeletionTypeHealthPermissionTypeData?> { in newArray()
91 override fun newArray(size: Int): Array<DeletionTypeCategoryData?> { in newArray()
114 override fun newArray(size: Int): Array<DeletionTypeAppData?> { in newArray()
148 override fun newArray(size: Int): Array<DeletionTypeAppData?> { in newArray()
177 override fun newArray(size: Int): Array<DeleteDataEntry?> { in newArray()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/searchindexables/
DHealthConnectSearchIndexablesProvider.kt46 override fun queryRawData(projection: Array<out String>?): Cursor { in queryRawData()
53 private fun createHomeIndex(): Array<String?> { in createHomeIndex()
65 private fun createDataAccessIndex(): Array<String?> { in createDataAccessIndex()
78 override fun queryXmlResources(projection: Array<out String>?): Cursor { in queryXmlResources()
83 override fun queryNonIndexableKeys(projection: Array<out String>?): Cursor { in queryNonIndexableKeys()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricSettingsProvider.kt32 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int { in delete()
46 projection: Array<out String>?, in query()
48 selectionArgs: Array<out String>?, in query()
58 selectionArgs: Array<out String>? in update()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeContentProvider.kt33 projection: Array<out String>?, in query()
35 selectionArgs: Array<out String>?, in query()
65 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<out String>?): Int { in delete()
73 selectionArgs: Array<out String>? in update()
/packages/modules/Virtualization/service_vm/comm/src/
Dcsr.rs41 let value = Value::Array(vec![ in into_cbor_vec()
51 let Value::Array(mut arr) = value else { in from_cbor_slice()
83 let value = Value::Array(vec![Value::Bytes(self.public_key), Value::Bytes(self.challenge)]); in into_cbor_vec()
90 let Value::Array(mut arr) = value else { in from_cbor_slice()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DStubProvider.kt101 projection: Array<String>?,
103 selectionArgs: Array<String>?,
115 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int = 0
124 selectionArgs: Array<String>?
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/
DDeletionType.kt52 override fun newArray(size: Int): Array<DeletionTypeHealthPermissionTypes?> { in <lambda>()
93 override fun newArray(size: Int): Array<DeletionTypeHealthPermissionTypesFromApp?> { in <lambda>()
118 override fun newArray(size: Int): Array<DeletionTypeEntries?> { in <lambda>()
141 override fun newArray(size: Int): Array<DeletionTypeAppData?> { in <lambda>()
162 override fun newArray(size: Int): Array<DeletionTypeAllData?> { in <lambda>()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DAppPairsControllerTest.kt91 @Captor lateinit var callbackCaptor: ArgumentCaptor<Consumer<Array<Task>>>
209 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldDoNothingWhenAppsAreAlreadyRunning()
233 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp2ToRightWhenApp1IsOnLeft()
257 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp2ToLeftWhenApp1IsOnRight()
281 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp1ToRightWhenApp2IsOnLeft()
305 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp1ToLeftWhenApp2IsOnRight()
329 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchAppPairNormallyWhenUnrelatedPairIsOnScreen()
353 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp2ToRightWhenApp1IsFullscreen()
377 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchApp1ToLeftWhenApp2IsFullscreen()
401 val callback: Consumer<Array<Task>> = callbackCaptor.value in handleAppPairLaunchInApp_shouldLaunchAppPairNormallyWhenUnrelatedSingleAppIsFullscreen()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSimpleMenuPreference.kt59 val entries: Array<CharSequence> = getEntries() in setSummary()
111 array: Array<CharSequence>, in restoreOriginalOrder()
119 private fun swapSelectedToFront(array: Array<CharSequence>, position: Int) { in swapSelectedToFront()
126 array: Array<CharSequence>, in setSelectedPosition()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestionProvider.kt66 projection: Array<String?>?, in query()
68 selectionArgs: Array<String?>?, in query()
105 selectionArgs: Array<String?>? in update()
111 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String?>?): Int { in delete()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/util/
DLazyStringResource.kt34 abstract val formatArgs: Array<out CharSequence>
139 override fun newArray(size: Int): Array<LazyStringResource?> = arrayOfNulls(size) in toString()
153 override val formatArgs: Array<out CharSequence> = emptyArray()
160 override val formatArgs: Array<out CharSequence> = emptyArray() in value()
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/
DRequestPermissionsActivity.kt51 permissions: Array<out String>, in onRequestPermissionsResult()
59 permissions: Array<out String>, in onRequestPermissionsResult()
67 permissions: Array<out String>, in handleResult()
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp30WithBluetooth/src/android/permissionui/cts/usepermission/
DAccessBluetoothOnCommand.kt126 projection: Array<String>?, in query()
128 selectionArgs: Array<String>?, in query()
142 override fun delete(uri: Uri, selection: String?, selectionArgs: Array<String>?): Int { in delete()
150 selectionArgs: Array<String>? in update()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsController.kt58 private var apps: Array<AppInfo>? = null in <lambda>()
94 fun setApps(apps: Array<AppInfo>?) { in <lambda>()
100 fun updateHotseatItemInfos(hotseatItems: Array<ItemInfo?>): Array<ItemInfo?> { in <lambda>()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DQuickResponseActivity.kt37 private var mResponses: Array<String?>? = null
56 val responses: Array<String> = Utils.getQuickResponses(this) in onCreate()
69 mResponses as Array<String?>)) in onCreate()

1234567