Searched refs:userData (Results 1 – 7 of 7) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | CompositeUserDataTest.java | 87 final CompositeUserData userData = new CompositeUserData(null, mEmptyPackageUserData); in testMerge_nullGenericUserData() local 89 final String[] categoryIds = userData.getCategoryIds(); in testMerge_nullGenericUserData() 93 final String[] values = userData.getValues(); in testMerge_nullGenericUserData() 97 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testMerge_nullGenericUserData() 98 assertThat(userData.getDefaultFieldClassificationArgs()).isNull(); in testMerge_nullGenericUserData() 103 final CompositeUserData userData = new CompositeUserData(mEmptyGenericUserData, in testMerge_bothEmpty() local 106 final String[] categoryIds = userData.getCategoryIds(); in testMerge_bothEmpty() 111 final String[] values = userData.getValues(); in testMerge_bothEmpty() 116 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testMerge_bothEmpty() 117 assertThat(userData.getDefaultFieldClassificationArgs()).isNull(); in testMerge_bothEmpty() [all …]
|
D | UserDataTest.java | 147 final UserData userData = mBuilder.setFieldClassificationAlgorithm("algo_mas", null) in testSetFcAlgorithm() local 149 assertThat(userData.getFieldClassificationAlgorithm()).isEqualTo("algo_mas"); in testSetFcAlgorithm() 160 final UserData userData = mBuilder.setFieldClassificationAlgorithmForCategory( in testSetFcAlgorithmForCateogry() local 162 assertThat(userData.getFieldClassificationAlgorithmForCategory(mCategoryId)).isEqualTo( in testSetFcAlgorithmForCateogry() 168 final UserData userData = mBuilder.build(); in testBuild_valid() local 169 assertThat(userData).isNotNull(); in testBuild_valid() 170 assertThat(userData.getId()).isEqualTo(mId); in testBuild_valid() 171 assertThat(userData.getFieldClassificationAlgorithmForCategory(mCategoryId)).isNull(); in testBuild_valid() 176 final UserData userData = mBuilder.setFieldClassificationAlgorithm("algo_mas", null) in testGetFcAlgorithmForCategory_invalid() local 178 assertThrows(NullPointerException.class, () -> userData in testGetFcAlgorithmForCategory_invalid()
|
D | FieldsClassificationTest.java | 126 final UserData userData = mAfm.getUserData(); in testUserData() local 127 assertThat(userData.getId()).isEqualTo("user_data_id"); in testUserData() 128 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testUserData() 129 assertThat(userData.getFieldClassificationAlgorithms()).isNull(); in testUserData() 288 final UserData.Builder userData = new UserData.Builder("id", "FULLY", "myId"); in simpleHitTest() local 290 userData.setFieldClassificationAlgorithm(algorithm, null); in simpleHitTest() 292 mAfm.setUserData(userData.build()); in simpleHitTest()
|
D | CannedFillResponse.java | 486 public Builder setUserData(UserData userData) { in setUserData() argument 488 mUserData = userData; in setUserData()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_callback.cpp | 109 static void MyErrorCallbackProc(AAudioStream *stream, void *userData, aaudio_result_t error); 122 AAudioStream* /*stream*/, void *userData, aaudio_result_t error) { in MyErrorCallbackProc() argument 123 AAudioCallbackTestData *myData = static_cast<AAudioCallbackTestData*>(userData); in MyErrorCallbackProc() 133 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 137 AAudioStream* /*stream*/, void *userData, void* /*audioData*/, int32_t numFrames) { in MyDataCallbackProc() argument 138 AAudioCallbackTestData *myData = static_cast<AAudioCallbackTestData*>(userData); in MyDataCallbackProc() 222 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 227 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames) { in MyDataCallbackProc() argument 238 AAudioCallbackTestData *myData = static_cast<AAudioCallbackTestData*>(userData); in MyDataCallbackProc()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | utilities.cpp | 32 void SampleClassOnDestroy(void* userData) { in SampleClassOnDestroy() argument 33 SampleData* data = static_cast<SampleData*>(userData); in SampleClassOnDestroy()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsMessageTest.java | 235 byte[] userData = sms.getUserData(); in testGetUserData() 236 assertNotNull(userData); in testGetUserData()
|