Searched refs:unique (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/jni/
H A Dcom_android_internal_os_FuseAppLoop.cpp55 void OnLookup(uint64_t unique, uint64_t inode) override {
56 CallOnCommand(FUSE_LOOKUP, unique, inode, 0, 0, nullptr);
59 void OnGetAttr(uint64_t unique, uint64_t inode) override {
60 CallOnCommand(FUSE_GETATTR, unique, inode, 0, 0, nullptr);
63 void OnOpen(uint64_t unique, uint64_t inode) override {
65 mSelf, gOnOpenMethod, unique, inode));
75 void OnFsync(uint64_t unique, uint64_t inode) override {
76 CallOnCommand(FUSE_FSYNC, unique, inode, 0, 0, nullptr);
79 void OnRelease(uint64_t unique, uint64_t inode) override {
81 CallOnCommand(FUSE_RELEASE, unique, inod
110 CallOnCommand(jint command, jlong unique, jlong inode, jlong offset, jint size, jobject bytes) argument
130 com_android_internal_os_FuseAppLoop_replySimple( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint result) argument
137 com_android_internal_os_FuseAppLoop_replyOpen( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong fh) argument
144 com_android_internal_os_FuseAppLoop_replyLookup( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) argument
151 com_android_internal_os_FuseAppLoop_replyGetAttr( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) argument
159 com_android_internal_os_FuseAppLoop_replyWrite( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) argument
166 com_android_internal_os_FuseAppLoop_replyRead( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size, jbyteArray data) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DFuseAppLoop.java148 final long unique = args.unique;
159 native_replyLookup(mInstance, unique, inode, fileSize);
169 native_replyGetAttr(mInstance, unique, inode, fileSize);
180 native_replyRead(mInstance, unique, readSize, data);
189 native_replyWrite(mInstance, unique, writeSize);
198 native_replySimple(mInstance, unique, FUSE_OK);
207 native_replySimple(mInstance, unique, FUSE_OK);
219 replySimpleLocked(unique, getError(error));
229 private void onCommand(int command, long unique, lon argument
257 onOpen(long unique, long inode) argument
303 replySimpleLocked(long unique, int result) argument
313 native_replySimple(long ptr, long unique, int result) argument
314 native_replyOpen(long ptr, long unique, long fh) argument
315 native_replyLookup(long ptr, long unique, long inode, long size) argument
316 native_replyGetAttr(long ptr, long unique, long inode, long size) argument
317 native_replyWrite(long ptr, long unique, int size) argument
318 native_replyRead(long ptr, long unique, int size, byte[] bytes) argument
381 long unique; field in class:FuseAppLoop.Args
[all...]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DIndex.kt25 data class Index(val name: String, val unique: Boolean, val fields: List<Field>) :
33 return "$unique-$name-${fields.joinToString(",") { it.columnName }}"
37 val uniqueSQL = if (unique) {
50 fun toBundle(): IndexBundle = IndexBundle(name, unique, fields.map { it.columnName },
H A DEntity.kt91 index.unique
/frameworks/support/room/common/src/main/java/androidx/room/
H A DIndex.java69 * If set to true, this will be a unique index and any duplicates will be rejected.
71 * @return True if index is unique. False by default.
73 boolean unique() default false;
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DIndexBundle.java36 @SerializedName("unique")
43 public IndexBundle(String name, boolean unique, List<String> columnNames, argument
46 mUnique = unique;
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DIndexingTest.java49 @Index(value = {"field2", "mId"}, unique = true),
50 @Index(value = {"field2"}, unique = true, name = "customIndex"),
H A DForeignKeyTest.java111 @Entity(indices = {@Index(value = "name", unique = true),
112 @Index(value = {"name", "lastName"}, unique = true)})
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp157 // if image->unique() is true, then mRecorder.drawImage failed for some reason. It also means
160 if (!bitmap.isImmutable() && image.get() && !image->unique()) {
173 if (!bitmap.isImmutable() && image.get() && !image->unique()) {
189 if (!bitmap.isImmutable() && image.get() && !image->unique() && !srcRect.isEmpty() &&
236 if (!bitmap.isImmutable() && image.get() && !image->unique() && !dst.isEmpty()) {
/frameworks/base/libs/hwui/tests/unit/
H A DCacheManagerTests.cpp54 // create an image and pin it so that we have something with a unique key in the cache
67 ASSERT_TRUE(surfaces[i]->unique());
71 // unpin the image which should add a unique purgeable key to the cache
78 // UI hidden and make sure only some got purged (unique should remain)
H A DVectorDrawableTests.cpp397 EXPECT_TRUE(shader->unique());
401 EXPECT_FALSE(shader->unique());
406 EXPECT_TRUE(shader->unique());
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DEntityProcessorTest.kt358 unique = false,
374 unique = false,
394 unique = false,
416 unique = false,
419 unique = false,
428 "indices" to """@Index(value = {"foo", "id"}, unique = true)"""
440 unique = true,
460 unique = false,
481 unique = false,
602 unique
[all...]
/frameworks/base/libs/hwui/
H A DDisplayList.cpp67 if (path->unique() && Caches::hasInstance()) {
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DEntityProcessor.kt110 unique = false,
418 Index(name = input.name, unique = input.unique, fields = fields)
466 unique = it.unique,
514 val unique = getAnnotationValue(a, "unique").getAsBoolean(false)
522 return IndexInput(name, unique, fieldInput)
576 data class IndexInput(val name: String, val unique: Boolean, val columnNames: List<String>)
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
H A DMigrationDb.java44 @Entity(indices = {@Index(value = "name", unique = true)})
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
H A DTableInfo.java245 final int uniqueIndex = cursor.getColumnIndex("unique");
258 boolean unique = cursor.getInt(uniqueIndex) == 1;
259 Index index = readIndex(database, name, unique);
276 private static Index readIndex(SupportSQLiteDatabase database, String name, boolean unique) { argument
300 return new Index(name, unique, columns);
542 public final boolean unique; field in class:TableInfo.Index
545 public Index(String name, boolean unique, List<String> columns) { argument
547 this.unique = unique;
557 if (unique !
[all...]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
H A DTableInfoValidationWriter.kt90 index.unique,
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
H A DMigrationDbKotlin.kt40 @Entity(indices = arrayOf(Index(value = "name", unique = true)))
/frameworks/base/tools/aapt2/
H A DStringPool.h213 Ref MakeRefImpl(const android::StringPiece& str, const Context& context, bool unique);
H A DStringPool.cpp173 bool unique) {
174 if (unique) {
172 MakeRefImpl(const StringPiece& str, const Context& context, bool unique) argument
/frameworks/av/media/libstagefright/foundation/tests/
H A DAData_test.cpp108 std::unique_ptr<EventCounter> unique = std::move(md.get<std::unique_ptr<EventCounter>>()); local
114 md.emplace<std::unique_ptr<EventCounter>>(std::move(unique));
330 // the unique value should have been removed but still accessible as nullptr
395 EXPECT_TRUE(_shared.unique()); // now only _shared contains the object
484 // the unique value should have been removed but still accessible as nullptr
518 // test that unique pointer can be set and removed as base type (but removed as derived only
594 EXPECT_TRUE(_shared.unique()); // now only _shared contains the object
/frameworks/compile/slang/
H A Dslang_rs_context.h285 auto ReturnNewEndIter = std::unique(Return.begin(), Return.end(),
/frameworks/ml/nn/tools/test_generator/
H A Dtest_generator.py68 # Tracking objects inside a model with a not necessarily unique name and
69 # an unique number
290 # return all unique outputs in the original order
293 unique = [x for x in Output.__outputs if x not in saw and (saw.add(x) or True)]
294 return unique
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp41 // Purge entries from the HWUI path cache if this path's data is unique
42 if (obj->unique() && android::uirenderer::Caches::hasInstance()) {
/frameworks/base/tools/aapt/
H A DResourceTable.cpp4012 SortedVector<ConfigDescription> unique; local
4022 unique.add(configs.keyAt(j));
4025 return unique;

Completed in 452 milliseconds