Searched defs:data (Results 326 - 350 of 1246) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DBerTlv.java74 * @param data A byte array to decode from
78 public static BerTlv decode(byte[] data) throws ResultException { argument
80 int endIndex = data.length;
86 tag = data[curIndex++] & 0xff;
89 int temp = data[curIndex++] & 0xff;
93 temp = data[curIndex++] & 0xff;
126 "Command had extra data endIndex=" + endIndex + " curIndex=" + curIndex +
130 List<ComprehensionTlv> ctlvs = ComprehensionTlv.decodeMany(data,
149 // If the total lengths of the SIMPLE-TLV data objects are not
150 // consistent with the length given in the BER-TLV data objec
[all...]
H A DComprehensionTlv.java48 * @param data Byte array containing the value
49 * @param valueIndex Index in data at which the value starts
51 protected ComprehensionTlv(int tag, boolean cr, int length, byte[] data, argument
57 mRawValue = data;
83 * @param data A byte array containing data to be parsed
84 * @param startIndex Index in data at which to start parsing
88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) argument
91 int endIndex = data.length;
93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startInde
114 decode(byte[] data, int startIndex) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DInstallCarrierAppTrampolineActivity.java106 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument
107 super.onActivityResult(requestCode, resultCode, data);
/frameworks/rs/
H A DrsApiFileA3D.cpp71 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { argument
72 if (data == nullptr) {
81 fa3d->load(data, len);
H A DrsFifoSocket.cpp52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { argument
56 //ALOGE("writeAsync %p %i", data, bytes);
57 size_t ret = ::send(sv[0], data, bytes, 0);
60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret);
76 size_t FifoSocket::read(void *data, size_t bytes) { argument
81 //ALOGE("read %p %i", data, bytes);
82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL);
101 void FifoSocket::readReturn(const void *data, size_t bytes) { argument
102 ::send(sv[1], data, bytes, 0);
/frameworks/support/compat/src/main/java/androidx/core/view/inputmethod/
H A DInputConnectionCompat.java56 @NonNull Bundle data,
61 if (data == null) {
67 resultReceiver = data.getParcelable(COMMIT_CONTENT_RESULT_RECEIVER);
68 final Uri contentUri = data.getParcelable(COMMIT_CONTENT_CONTENT_URI_KEY);
69 final ClipDescription description = data.getParcelable(
71 final Uri linkUri = data.getParcelable(COMMIT_CONTENT_LINK_URI_KEY);
72 final int flags = data.getInt(COMMIT_CONTENT_FLAGS_KEY);
73 final Bundle opts = data.getParcelable(COMMIT_CONTENT_OPTS_KEY);
92 * @param opts optional bundle data. This can be {@code null}
164 * @param opts optional bundle data
54 handlePerformPrivateCommand( @ullable String action, @NonNull Bundle data, @NonNull OnCommitContentListener onCommitContentListener) argument
[all...]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentReceiveResultTest.java118 Intent data = new Intent();
121 mActivityRule.getActivity().onActivityResult(42, 43, data);
124 same(data));
127 mActivityRule.getActivity().onActivityResult(42, 43, data);
195 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument
199 mResultContent = data.getStringExtra(FragmentResultActivity.EXTRA_RESULT_CONTENT);
H A DLoaderTest.java147 * When a change is interrupted with stop, the data in the LoaderManager remains stale.
189 String data) {
190 activity.textViewB.setText(data);
249 public void onLoadFinished(@NonNull Loader<Boolean> loader, Boolean data) { argument
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/test/
H A DLoaderActivity.java71 public void onLoadFinished(@NonNull Loader<String> loader, String data) { argument
72 textView.setText(data);
124 public void onLoadFinished(@NonNull Loader<String> loader, String data) { argument
125 textView.setText(data);
/frameworks/support/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/
H A DSupport13Demos.java135 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
139 data.add(temp);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/
H A DSupport4Demos.java135 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
139 data.add(temp);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentReceiveResultSupport.java130 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument
148 // text in 'data' as its result.
153 if (data != null) {
154 text.append(data.getAction());
H A DLoaderCursorSupport.java43 * data in a fragment.
65 // This is the Adapter being used to display the list's data.
74 // Give some text to display if there is no data. In a real
81 // Create an empty adapter we will use to display the loaded data.
165 // creating a Cursor for the data being displayed.
173 public void onLoadFinished(@NonNull Loader<Cursor> loader, Cursor data) { argument
176 mAdapter.swapCursor(data);
H A DLoaderRetainedSupport.java43 * data in a fragment.
65 // This is the Adapter being used to display the list's data.
77 // Give some text to display if there is no data. In a real
84 // Create an empty adapter we will use to display the loaded data.
159 // creating a Cursor for the data being displayed.
167 public void onLoadFinished(@NonNull Loader<Cursor> loader, Cursor data) { argument
170 mAdapter.swapCursor(data);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/
H A DSupport7Demos.java136 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
140 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
H A DBrowseActivity.java136 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
140 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/
H A DSupportDesignDemos.java136 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
140 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportPercentDemos/src/main/java/com/example/android/support/percent/
H A DSupportPercentDemos.java136 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
140 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportPreferenceDemos/src/main/java/com/example/android/supportpreference/
H A DSupportPreferenceDemos.java135 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
139 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/
H A DSupportTransitionDemos.java133 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
137 data.add(temp);
/frameworks/support/frameworks/support/samples/SupportVectorDrawableDemos/src/main/java/com/example/android/support/vectordrawable/app/
H A DSupportVectorDrawableDemos.java140 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
144 data.add(temp);
/frameworks/support/frameworks/support/samples/ViewPager2Demos/src/main/java/com/example/androidx/viewpager2/
H A DBrowseActivity.java138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { argument
142 data.add(temp);
/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
H A DAnimatedVectorDrawableParameterizedTest.java63 public static Collection<Object[]> data() { method in class:AnimatedVectorDrawableParameterizedTest
/frameworks/support/loader/src/main/java/androidx/loader/app/
H A DLoaderManager.java66 * the last data that was supplied for this Loader. At this point
67 * you should remove all use of the old data (since it will be released
68 * soon), but should not do your own release of the data since its Loader
70 * management of its data so you don't have to. In particular:
73 * <li> <p>The Loader will monitor for changes to the data, and report
75 * data yourself. For example, if the data is a {@link android.database.Cursor}
85 * <li> The Loader will release the data once it knows the application
86 * is no longer using it. For example, if the data is
97 * @param data Th
100 onLoadFinished(@onNull Loader<D> loader, D data) argument
[all...]
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DTestMedia2DataSource.java39 // Read an asset fd into a new byte array data source. Closes afd.
44 byte[] data = new byte[(int) size];
48 numRead = in.read(data, writeIndex, size - writeIndex);
51 return new TestMedia2DataSource(data);
57 public TestMedia2DataSource(byte[] data) { argument
58 mData = data;
95 // Note: it's fine to keep using this data source after closing it.

Completed in 156 milliseconds

<<11121314151617181920>>