/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 194 static const char fn[] = "PeerToPeer::registerServer"; in registerServer() local 196 << StringPrintf("%s: enter; service name: %s JNI handle: %u", fn, in registerServer() 204 "%s: service name=%s already registered, handle: 0x%04x", fn, in registerServer() 218 "%s: added new p2p server index: %d handle: %u name: %s", fn, ii, in registerServer() 226 LOG(ERROR) << StringPrintf("%s: service name=%s no free entry", fn, in registerServer() 233 "%s: got new p2p server h=0x%X", fn, pSrv->mNfaP2pServerHandle); in registerServer() 236 LOG(ERROR) << StringPrintf("%s: invalid server handle", fn); in registerServer() 253 static const char fn[] = "PeerToPeer::removeServer"; in removeServer() local 261 fn, jniHandle, mServers[i]->mNfaP2pServerHandle, in removeServer() 268 LOG(ERROR) << StringPrintf("%s: unknown server jni handle: %u", fn, in removeServer() [all …]
|
D | RoutingManager.cpp | 68 static const char fn[] = "RoutingManager::RoutingManager()"; in RoutingManager() local 83 "%s: Active SE for Nfc-F is 0x%02X", fn, mDefaultFelicaRoute); in RoutingManager() 87 << StringPrintf("%s: default route is 0x%02X", fn, mDefaultEe); in RoutingManager() 131 static const char fn[] = "RoutingManager::initialize()"; in initialize() local 137 DLOG_IF(INFO, nfc_debug_enabled) << fn << ": try ee register"; in initialize() 140 LOG(ERROR) << StringPrintf("%s: fail ee register; error=0x%X", fn, in initialize() 151 LOG(INFO) << fn << "Waiting for EE info"; in initialize() 167 LOG(ERROR) << fn << "Failed to register wildcard AID for DH"; in initialize() 181 static const char fn[] = "RoutingManager::enableRoutingToHost()"; in enableRoutingToHost() local 192 LOG(ERROR) << fn << "Fail to set default proto routing for T3T"; in enableRoutingToHost() [all …]
|
D | NfcTag.cpp | 151 static const char fn[] = "NfcTag::setDeactivationState"; in setDeactivationState() local 156 << StringPrintf("%s: state=%u", fn, mActivationState); in setDeactivationState() 169 static const char fn[] = "NfcTag::setActivationState"; in setActivationState() local 173 << StringPrintf("%s: state=%u", fn, mActivationState); in setActivationState() 235 static const char fn[] = "NfcTag::IsSameKovio"; in IsSameKovio() local 236 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in IsSameKovio() 269 << StringPrintf("%s: exit, is same Kovio=%d", fn, rVal); in IsSameKovio() 286 static const char fn[] = "NfcTag::discoverTechnologies (activation)"; in discoverTechnologies() local 287 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in discoverTechnologies() 389 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: Kovio", fn); in discoverTechnologies() [all …]
|
D | PowerSwitch.cpp | 91 static const char fn[] = "PowerSwitch::initialize"; in initialize() local 96 "%s: level=%s (%u)", fn, powerLevelToString(level), level); in initialize() 101 "%s: desired screen-off state=%d", fn, mDesiredScreenOffPowerState); in initialize() 115 LOG(ERROR) << StringPrintf("%s: not handled", fn); in initialize() 149 static const char fn[] = "PowerSwitch::setLevel"; in setLevel() local 155 "%s: level=%s (%u)", fn, powerLevelToString(newLevel), newLevel); in setLevel() 162 LOG(ERROR) << StringPrintf("%s: unknown power level", fn); in setLevel() 172 << StringPrintf("%s: wait for deactivation", fn); in setLevel() 197 LOG(ERROR) << StringPrintf("%s: not handled", fn); in setLevel() 202 "%s: actual power level=%s", fn, powerLevelToString(mCurrLevel)); in setLevel() [all …]
|
D | RouteDataSet.cpp | 160 static const char fn[] = "RouteDataSet::import"; in import() local 161 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); in import() 172 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: fail parse", fn); in import() 178 LOG(ERROR) << StringPrintf("%s: fail root element", fn); in import() 182 << StringPrintf("%s: root=%s", fn, node1->name); in import() 192 << StringPrintf("%s: found SecElemSelectedRoutes", fn); in import() 206 << StringPrintf("%s: found DefaultRoutes", fn); in import() 227 << StringPrintf("%s: exit; return=%u", fn, retval); in import() 242 static const char fn[] = "RouteDataSet::saveToFile"; in saveToFile() local 252 LOG(ERROR) << StringPrintf("%s: fail to open file", fn); in saveToFile() [all …]
|
/packages/apps/Launcher3/ |
D | fill_screens.py | 34 def pull_file(fn): argument 35 print "pull_file: " + fn 38 + " " + fn); 43 def push_file(fn): argument 44 print "push_file: " + fn 46 + " " + fn 52 def process_file(fn): argument 53 print "process_file: " + fn 54 conn = sqlite3.connect(fn)
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | Futures2.java | 90 final AsyncFunction2<T1, T2, TResult> fn) { 106 return fn.apply(value1, value2); 120 final Function2<T1, T2, TResult> fn) { 121 return joinAll(f1, f2, new ImmediateAsyncFunction2<>(fn)); 134 final AsyncFunction3<T1, T2, T3, TResult> fn) { 152 return fn.apply(value1, value2, value3); 167 final Function3<T1, T2, T3, TResult> fn) { 168 return joinAll(f1, f2, f3, new ImmediateAsyncFunction3<>(fn)); 179 public ImmediateAsyncFunction2(Function2<T1, T2, TResult> fn) { 180 mFn = fn; [all …]
|
/packages/modules/adb/fdevent/ |
D | fdevent.cpp | 158 std::function<void()> fn; in FlushRunQueue() local 164 fn = std::move(this->run_queue_.front()); in FlushRunQueue() 167 fn(); in FlushRunQueue() 177 void fdevent_context::Run(std::function<void()> fn) { in Run() argument 180 run_queue_.push_back(std::move(fn)); in Run() 242 void fdevent_run_on_main_thread(std::function<void()> fn) { in fdevent_run_on_main_thread() argument 243 fdevent_get_ambient()->Run(std::move(fn)); in fdevent_run_on_main_thread()
|
D | fdevent.h | 116 void Run(std::function<void()> fn); 153 void fdevent_run_on_main_thread(std::function<void()> fn);
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/ |
D | InitialConfiguration.java | 218 public static <T> boolean any(Iterable<T> coll, Predicate<T> fn) { in any() argument 220 if (fn.test(t)) { in any() 230 public static <T> boolean all(Iterable<T> coll, Predicate<T> fn) { in all() argument 231 return !any(coll, not(fn)); in all() 237 public static <T> Predicate<T> not(Predicate<T> fn) { in not() argument 238 return (t) -> !fn.test(t); in not()
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
D | UnitBezier.java | 75 private float solve(float target, DerivableFloatFn fn) { in solve() argument 81 float value = fn.value(input) - target; in solve() 85 float derivative = fn.derivative(input); in solve() 105 float value = fn.value(input); in solve()
|
/packages/apps/Launcher3/tools/ |
D | print_db.py | 43 def pull_file(fn): argument 44 print "pull_file: " + fn 47 + " " + fn); 151 def process_file(fn): argument 153 print "process_file: " + fn 154 conn = sqlite3.connect(fn)
|
/packages/modules/NeuralNetworks/common/ |
D | DynamicCLDeps.cpp | 29 void* fn = dlsym(handle, name); in loadFunction() local 30 CHECK(fn != nullptr) << "Unable to open function " << name << ": " << dlerror(); in loadFunction() 31 return fn; in loadFunction()
|
D | SharedMemoryAndroid.cpp | 86 auto fn = [&maybeMemory](bool success, const hidl_memory& memory) { in allocateSharedMemory() local 91 allocator->allocate(size, fn); in allocateSharedMemory()
|
/packages/modules/adb/ |
D | adb_utils.h | 82 void PopAll(Fn fn) { in PopAll() argument 93 fn(t); in PopAll()
|
D | transport.cpp | 687 bool iterate_transports(std::function<bool(const atransport*)> fn) { in iterate_transports() argument 690 if (!fn(t)) { in iterate_transports() 695 if (!fn(t)) { in iterate_transports()
|
D | transport.h | 439 bool iterate_transports(std::function<bool(const atransport*)> fn);
|
/packages/modules/ExtServices/native/tests/ |
D | ImageHashManager_test.cpp | 40 std::string GetTestDataPath(const std::string& fn) { in GetTestDataPath() argument 42 return exec_dir + "/test_data/" + fn; in GetTestDataPath()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 2507 static <T> boolean any(Iterable<T> coll, Predicate<T> fn) { in any() argument 2509 if (fn.test(t)) { in any() 2516 static <T> boolean all(Iterable<T> coll, Predicate<T> fn) { in all() argument 2517 return !any(coll, not(fn)); in all() 2520 static <T> Predicate<T> not(Predicate<T> fn) { in not() argument 2521 return (t) -> !fn.test(t); in not() 2528 static <T> T find(Iterable<T> coll, Predicate<T> fn) { in find() argument 2530 if (fn.test(t)) { in find() 2537 static <T> List<T> findAll(Collection<T> coll, Predicate<T> fn) { in findAll() argument 2538 return coll.stream().filter(fn).collect(Collectors.toList()); in findAll()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 121 constexpr auto fn = [](SL_ANeuralNetworksOperandPerformanceInfo info, void* context) { in getCapabilities() local 130 device, static_cast<void*>(&capabilities.operandPerformance), fn); in getCapabilities() 163 constexpr auto fn = [](SL_ANeuralNetworksExtensionOperandTypeInformation info, in getVendorExtensions() local 173 device, vendorExtensionIndex, static_cast<void*>(&extension.operandTypes), fn); in getVendorExtensions()
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | Enumerator.cpp | 267 auto fn = mCameraDevices.hash_function(); in checkPermission() local 268 auto recordId = fn(cameraId) & 0xFF; in checkPermission() 371 auto fn = mCameraDevices.hash_function(); in checkPermission() local 372 auto recordId = fn(id) & 0xFF; in checkPermission()
|
/packages/modules/DnsResolver/ |
D | cbindgen.toml | 22 [fn]
|
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 393 public void mustFail(Runnable fn) { in mustFail() argument 395 fn.run(); in mustFail()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 356 static void mustFail(Runnable fn) { in mustFail() argument 358 fn.run(); in mustFail()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 635 static <A, B> Set<B> mapIntoSet(A[] in, Fn<A, B> fn) { in mapIntoSet() argument 639 out.add(fn.call(item)); in mapIntoSet()
|