Home
last modified time | relevance | path

Searched refs:EXTRA_INDEX (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp30WithBluetooth/src/android/permissionui/cts/usepermission/
DAccessBluetoothOnCommand.kt94 res.putInt(Intent.EXTRA_INDEX, Result.ERROR.ordinal) in call()
100 0 -> res.putInt(Intent.EXTRA_INDEX, Result.EMPTY.ordinal) in call()
101 1 -> res.putInt(Intent.EXTRA_INDEX, Result.FILTERED.ordinal) in call()
102 5 -> res.putInt(Intent.EXTRA_INDEX, Result.FULL.ordinal) in call()
103 else -> res.putInt(Intent.EXTRA_INDEX, Result.UNKNOWN.ordinal) in call()
107 res.putInt(Intent.EXTRA_INDEX, Result.EXCEPTION.ordinal) in call()
/packages/modules/Permission/tests/cts/permission/AppThatRequestBluetoothPermission30/src/android/permission/cts/appthatrequestpermission/
DAccessBluetoothOnCommand.java97 res.putInt(Intent.EXTRA_INDEX, Result.EMPTY.ordinal()); in call()
100 res.putInt(Intent.EXTRA_INDEX, Result.FILTERED.ordinal()); in call()
103 res.putInt(Intent.EXTRA_INDEX, Result.FULL.ordinal()); in call()
106 res.putInt(Intent.EXTRA_INDEX, Result.UNKNOWN.ordinal()); in call()
111 res.putInt(Intent.EXTRA_INDEX, Result.EXCEPTION.ordinal()); in call()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseActionFragment.java51 private static final String EXTRA_INDEX = "index"; field in BaseActionFragment
97 args.putInt(EXTRA_INDEX, index); in buildArgs()
106 int savedIndex = savedInstanceState.getInt(EXTRA_INDEX, -1); in onCreate()
117 int startIndex = mFragment.getArguments().getInt(EXTRA_INDEX, -1); in onCreate()
152 outState.putInt(EXTRA_INDEX, getScrollAdapterView().getSelectedItemPosition()); in onSaveInstanceState()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DQuickViewIntentBuilderTest.java116 assertThat(clip.getItemAt(intent.getIntExtra(Intent.EXTRA_INDEX, -1)).getUri()) in testBuild()
136 assertThat(clip.getItemAt(intent.getIntExtra(Intent.EXTRA_INDEX, -1)).getUri()) in testBuild_excludeFolder()
155 assertThat(clip.getItemAt(intent.getIntExtra(Intent.EXTRA_INDEX, -1)).getUri()) in testBuild_twoProfiles_containsOnlyPreviewDocument()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionTest30WithBluetooth.kt191 return BluetoothScanResult.values()[result!!.getInt(Intent.EXTRA_INDEX)] in scanForBluetoothDevices()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNearbyDevicesPermissionTest.java299 Result actual = Result.values()[res.getInt(Intent.EXTRA_INDEX)]; in assertScanBluetoothResult()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DQuickViewIntentBuilder.java149 intent.putExtra(Intent.EXTRA_INDEX, documentLocation - range.getLower()); in build()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java4655 return out.getLong(Intent.EXTRA_INDEX); in getGeneration()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java7060 res.putLong(Intent.EXTRA_INDEX, generation);