Home
last modified time | relevance | path

Searched refs:Unit (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/cmds/idmap2/idmap2/
DCommands.h25 android::idmap2::Result<android::idmap2::Unit> Create(const std::vector<std::string>& args);
26 android::idmap2::Result<android::idmap2::Unit> CreateMultiple(const std::vector<std::string>& args);
27 android::idmap2::Result<android::idmap2::Unit> Dump(const std::vector<std::string>& args);
28 android::idmap2::Result<android::idmap2::Unit> Lookup(const std::vector<std::string>& args);
29 android::idmap2::Result<android::idmap2::Unit> Scan(const std::vector<std::string>& args);
DCommandUtils.cpp29 using android::idmap2::Unit;
31 Result<Unit> Verify(const std::string& idmap_path, const std::string& target_path, in Verify()
48 return Unit{}; in Verify()
DDump.cpp37 using android::idmap2::Unit;
39 Result<Unit> Dump(const std::vector<std::string>& args) { in Dump()
67 return Unit{}; in Dump()
DCreate.cpp39 using android::idmap2::Unit;
47 Result<Unit> Create(const std::vector<std::string>& args) { in Create()
120 return Unit{}; in Create()
DCreateMultiple.cpp43 using android::idmap2::Unit;
49 Result<Unit> CreateMultiple(const std::vector<std::string>& args) { in CreateMultiple()
145 return Unit{}; in CreateMultiple()
DMain.cpp33 using android::idmap2::Unit;
36 std::map<std::string, std::function<Result<Unit>(const std::vector<std::string>&)>>;
DScan.cpp44 using android::idmap2::Unit;
127 Result<Unit> Scan(const std::vector<std::string>& args) { in Scan()
256 return Unit{}; in Scan()
DCommandUtils.h23 android::idmap2::Result<android::idmap2::Unit> Verify(const std::string& idmap_path,
DLookup.cpp60 using android::idmap2::Unit;
174 Result<Unit> Lookup(const std::vector<std::string>& args) { in Lookup()
258 return Unit{}; in Lookup()
/frameworks/base/tools/codegen/src/com/android/codegen/
DPrinter.kt97 operator fun Unit.plus(s: String) { in <lambda>()
136 operator fun String.invoke(block: SELF.() -> Unit) { in <lambda>()
165 fun indentedBy(level: Int, block: SELF.() -> Unit) { in <lambda>()
177 fun Iterable<FieldInfo>.forEachTrimmingTrailingComma(b: FieldInfo.() -> Unit) { in <lambda>()
DUtils.kt19 inline fun <T> Iterable<T>.forEachApply(block: T.() -> Unit) = forEach(block) in <lambda>()
32 inline infix fun Int.times(action: () -> Unit) { in Char()
70 inline fun <T> List<T>.forEachLastAware(f: (T, Boolean) -> Unit) { in forEachLastAware()
108 inline fun <T> List<T>.forEachSequentialPair(action: (T, T?) -> Unit) { in forEachSequentialPair()
146 inline fun <T> buildList(init: MutableList<T>.() -> Unit) = mutableListOf<T>().apply(init)
/frameworks/libs/modules-utils/
DTEST_MAPPING5 // Unit tests for service-wifi.jar
9 // Unit tests for framework-wifi.jar
/frameworks/base/core/java/android/annotation/
DDimension.java40 @Unit
49 @interface Unit {} annotation
/frameworks/base/tests/net/integration/src/android/net/
DTestNetworkStackClient.kt37 override fun addToServiceManager(service: IBinder) = Unit in <lambda>()
38 override fun checkCallerUid() = Unit in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt86 val fileNamesAndPostProcess: Map<String, () -> Unit>
112 private fun getPPControlsFile(context: Context): () -> Unit { in getPPControlsFile()
/frameworks/base/tests/net/common/java/android/net/
DCaptivePortalDataTest.kt111 private fun CaptivePortalData.mutate(mutator: (CaptivePortalData.Builder) -> Unit) = in mutate()
114 private fun assertNotEqualsAfterChange(mutator: (CaptivePortalData.Builder) -> Unit) { in assertNotEqualsAfterChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHost.kt23 private var visibleChangedListeners: ArraySet<(Boolean) -> Unit> = ArraySet() in <lambda>()
61 fun addVisibilityChangeListener(listener: (Boolean) -> Unit) { in <lambda>()
188 var changedListener: (() -> Unit)? = null in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
DActionReceiver.kt47 private val registerAction: BroadcastReceiver.(IntentFilter) -> Unit,
48 private val unregisterAction: BroadcastReceiver.() -> Unit,
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt56 override fun enforceNetworkStackCallingPermission() = Unit in enforceNetworkStackCallingPermission()
62 override fun sendNetworkConditionsBroadcast(context: Context, broadcast: Intent) = Unit in enforceNetworkStackCallingPermission()
/frameworks/base/packages/SettingsLib/tests/robotests/
Dreadme.md1 Unit test suite for SettingsLib using Robolectric.
/frameworks/base/tests/net/integration/util/com/android/server/
DTestNetIdManager.kt37 override fun releaseNetId(id: Int) = Unit
/frameworks/base/services/core/java/com/android/server/compat/
DTEST_MAPPING3 // Unit tests
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHub.kt34 val onClick: () -> Unit
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DConvenienceExtensions.kt44 inline fun PrintWriter.indentIfPossible(block: PrintWriter.() -> Unit) { in indentIfPossible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogBuffer.kt115 initializer: LogMessage.() -> Unit, in log()
133 initializer: LogMessage.() -> Unit, in document()

1234